From 7e541d9f2c17ee9e938fd017c483910186412348 Mon Sep 17 00:00:00 2001
From: 石广澎 <shiguangpeng@163.com>
Date: 星期五, 13 九月 2024 18:23:42 +0800
Subject: [PATCH] feat(支付): 日志输出

---
 pay/paySuccess.vue |   46 ++++++++++++++--------------------------------
 1 files changed, 14 insertions(+), 32 deletions(-)

diff --git a/pay/paySuccess.vue b/pay/paySuccess.vue
index 97dde6f..3afcd17 100644
--- a/pay/paySuccess.vue
+++ b/pay/paySuccess.vue
@@ -7,10 +7,10 @@
 					<view class="u-font-32 font-bold u-m-t-10" style="color: #14AF0D;">鏀粯鎴愬姛</view>
 				</view>
 				<view class="shop-info">
-					<view class="u-text-center u-font-32 color-666">{{youHuiInfo.shopName}}娴嬭瘯闂ㄥ簵</view>
-					<view class="u-flex u-col-top u-row-center">
-						<view class="u-font-24 lh-1">锟�</view>
-						<view class="u-font-money lh-1">{{$u.priceFormat(youHuiInfo.payMoney/100, 2)}}</view>
+					<view class="u-text-center u-font-32 color-666">{{youHuiInfo.shopName}}</view>
+					<view class="u-text-center u-m-t-20">
+						<text class="u-font-30 lh-1">锟�</text>
+						<text class="u-font-money lh-1">{{$u.priceFormat(youHuiInfo.payMoney/100, 2)}}</text>
 					</view>
 				</view>
 				<view class="u-flex u-m-t-30 u-font-30">
@@ -19,15 +19,15 @@
 					</view>
 					<view class="u-flex-1 u-text-right">锟{$u.priceFormat(youHuiInfo.money/100, 2)}}</view>
 				</view>
-				<view class="u-flex u-m-t-16 u-font-30">
+<!--				<view class="u-flex u-m-t-16 u-font-30">
 					<view class="color-999 u-flex">
 						<view class="label" style="color: #F69249;">浣跨敤绉垎</view>
 					</view>
 					<view class="u-flex-1 u-text-right" style="color: #F69249;">{{youHuiInfo.score}}绉垎<text
 							v-if="youHuiInfo.score>0">鎶垫墸{{$u.priceFormat(youHuiInfo.scoreDkPrice/100, 2)}}鍏�</text>
 					</view>
-				</view>
-				<view class="u-flex u-m-t-16 u-font-30">
+				</view>-->
+				<view v-if="youHuiInfo.couponDkPrice!=0" class="u-flex u-m-t-16 u-font-30">
 					<view class="color-999 u-flex">
 						<view class="label">浼樻儬鍒�</view>
 					</view>
@@ -80,15 +80,15 @@
 					</view>
 					<view class="u-flex-1">锟{$u.priceFormat(orderInfo.orderPrice/100, 2)}}</view>
 				</view>
-				<view class="u-flex u-m-t-30 u-font-30">
+<!--				<view class="u-flex u-m-t-30 u-font-30">
 					<view class="color-999 u-flex">
 						<view class="label">浣跨敤绉垎</view>锛�
 					</view>
 					<view class="u-flex-1">{{orderInfo.payIntegral}}绉垎<text
 							v-if="orderInfo.payIntegral>0">鎶垫墸{{$u.priceFormat(orderInfo.integralMoney/100, 2)}}鍏�</text>
 					</view>
-				</view>
-				<view class="u-flex u-m-t-30 u-font-30">
+				</view>-->
+				<view  class="u-flex u-m-t-30 u-font-30">
 					<view class="color-999 u-flex">
 						<view class="label">浼樻儬鍒�</view>锛�
 					</view>
@@ -111,17 +111,12 @@
 
 <script>
 	import {
-		getPayCompleteUrl,
 		getWxOrderInfo,
-	} from '@/common/api/index'
-	import {
-		activityInfo,
-		myBrushDetail,
-		orderRefBrushNode
-	} from '@/common/api/shuaka'
+	} from 'common/api/index'
 	export default {
 		data() {
 			return {
+        plat: this.$utils.getPlat(),
 				info: {
 					bankCardName: '',
 					totalDiscount: 0,
@@ -152,33 +147,20 @@
 			};
 		},
 		onLoad(opt) {
-			activityInfo().then(res => {
-				this.info = res
-			})
-			myBrushDetail().then(res => {
-				if (res) {
-					this.join = true
-				} else {
-					this.join = false
-				}
-			})
 			if (uni.getStorageSync("bankCardStyle")) {
 				this.bankCardStyle = uni.getStorageSync("bankCardStyle")
 			}
 
-			getPayCompleteUrl().then(res => {
-				this.jumpUrl = res
-			})
 			if (opt.youHuiInfo) {
 				this.youHuiInfo = JSON.parse(opt.youHuiInfo)
 			}
 			if (opt.orderId) {
 				this.orderId = opt.orderId
-				orderRefBrushNode({
+				/*orderRefBrushNode({
 					orderId: this.orderId
 				}).then(res => {
 					this.couponList = res.coupIdsMap || []
-				})
+				})*/
 			}
 		},
 		onReady() {

--
Gitblit v1.9.1