Explorar o código

根据测试问题修改

ext.liuqiwen3 hai 2 semanas
pai
achega
8a3f37a4eb

+ 1 - 0
components/orderGoods/index.vue

@@ -189,6 +189,7 @@
 		.product-item{
 			display: flex;
 			width: 100%;
+      margin-bottom: 20rpx;
 			
 			.text{
 				flex: 1;

+ 2 - 0
pages/index/index.vue

@@ -1555,10 +1555,12 @@
 
 		.dianpu {
 			width: 32rpx;
+			height: 32rpx;
 		}
 
 		.zhankai {
 			width: 20rpx;
+			height: 20rpx;
 		}
 
 		.storeName {

+ 1 - 0
pages/order_addcart/order_addcart.vue

@@ -453,6 +453,7 @@ onLoad((options) => {
 });
 
 onShow(() => {
+  console.log('appStore.cartRefreshFlag',appStore.cartRefreshFlag)
   // 隐藏原生 tabBar
   uni.hideTabBar();
   if(appStore.cartRefreshFlag){

+ 1 - 0
pages/user/index.vue

@@ -740,6 +740,7 @@ function handleFaceDetect() {
 
 .vip-tag {
   width: 100rpx;
+  height: 36rpx;
   margin-left: 16rpx;
 }
 

+ 1 - 0
pages/users/order_confirm/index.vue

@@ -828,6 +828,7 @@ function computedPrice() {
 		// 调用创建订单API
 		orderCreate(data)
 			.then((res) => {
+        appStore.SET_CART_REFRESH(true)
 				// 订单创建成功
 				// 调用支付流程,传入订单号和成功提示
 				getOrderPay(res.data.orderNo, "支付成功");

BIN=BIN
static/images/shop/close@2x.png