Commit bf7fa7fb authored by Xuguangxing's avatar Xuguangxing

feat: fix

parent 9c9fb9da
......@@ -43,6 +43,18 @@
.goods {
&-share-button{
width: 40px;
height: 40px;
position: fixed;
right: 0;
bottom: 120px;
z-index: 3;
/deep/ img {
width: 40px;
height: 40px;
}
}
&-container {
padding-bottom: 60px;
box-sizing: border-box;
......
<template>
<div v-if="showPage" class="goods" style="height: 100%">
<div class="goods-share-button">
<cr-image
src="@/assets/images/share-icon.png"
width=""
height=""
class="goods-share-button-img"
/>
</div>
<!-- 主体 -->
<div class="goods-container">
<!-- 轮播图 -->
......
......@@ -124,7 +124,7 @@ import {
import {
pay,
prepay,
// getCoupon,
getCoupon,
ocrFaceId,
queryPayInfo,
kaGetNextUrl,
......@@ -380,22 +380,22 @@ export default {
}
},
/* 获取优惠券信息 */
// async getCouponList(orderNo) {
// const [data] = await getCoupon({ orderNo: orderNo });
// this.payCouponList = [];
// if (data && data.coupons) {
// data.coupons.forEach(item => {
// // 享花券
// if (item.couponCategory === 21) {
// this.payCouponList.push({
// ...item,
// id: item.pickupId,
// pickupAble: 1
// });
// }
// });
// }
// },
async getCouponList(orderNo) {
const [data] = await getCoupon({ orderNo: orderNo });
this.payCouponList = [];
if (data && data.coupons) {
data.coupons.forEach(item => {
// 享花券
if (item.couponCategory === 21) {
this.payCouponList.push({
...item,
id: item.pickupId,
pickupAble: 1
});
}
});
}
},
nextAction: throttle(function() {
const trackParams = {
order_id: this.orderNo,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment