Commit bf7fa7fb authored by Xuguangxing's avatar Xuguangxing

feat: fix

parent 9c9fb9da
...@@ -43,6 +43,18 @@ ...@@ -43,6 +43,18 @@
.goods { .goods {
&-share-button{
width: 40px;
height: 40px;
position: fixed;
right: 0;
bottom: 120px;
z-index: 3;
/deep/ img {
width: 40px;
height: 40px;
}
}
&-container { &-container {
padding-bottom: 60px; padding-bottom: 60px;
box-sizing: border-box; box-sizing: border-box;
......
<template> <template>
<div v-if="showPage" class="goods" style="height: 100%"> <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"> <div class="goods-container">
<!-- 轮播图 --> <!-- 轮播图 -->
......
...@@ -124,7 +124,7 @@ import { ...@@ -124,7 +124,7 @@ import {
import { import {
pay, pay,
prepay, prepay,
// getCoupon, getCoupon,
ocrFaceId, ocrFaceId,
queryPayInfo, queryPayInfo,
kaGetNextUrl, kaGetNextUrl,
...@@ -380,22 +380,22 @@ export default { ...@@ -380,22 +380,22 @@ export default {
} }
}, },
/* 获取优惠券信息 */ /* 获取优惠券信息 */
// async getCouponList(orderNo) { async getCouponList(orderNo) {
// const [data] = await getCoupon({ orderNo: orderNo }); const [data] = await getCoupon({ orderNo: orderNo });
// this.payCouponList = []; this.payCouponList = [];
// if (data && data.coupons) { if (data && data.coupons) {
// data.coupons.forEach(item => { data.coupons.forEach(item => {
// // 享花券 // 享花券
// if (item.couponCategory === 21) { if (item.couponCategory === 21) {
// this.payCouponList.push({ this.payCouponList.push({
// ...item, ...item,
// id: item.pickupId, id: item.pickupId,
// pickupAble: 1 pickupAble: 1
// }); });
// } }
// }); });
// } }
// }, },
nextAction: throttle(function() { nextAction: throttle(function() {
const trackParams = { const trackParams = {
order_id: this.orderNo, 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