Mike 7 éve
szülő
commit
ebd21c0134

+ 2 - 2
wechat/pages/goods/goods.wxss

xqd xqd
@@ -178,7 +178,7 @@ view{
 .cart-nav{
     position: fixed;
     /* top:32rpx; */
-    bottom: 135rpx;
+    bottom: 155rpx;
     right: 60rpx;
     /* background: rgba(255,255,255,.5); */
     /* font-size: 0; */
@@ -194,7 +194,7 @@ view{
 }
 .cart-nav .budge{
     position: fixed;
-    bottom: 193rpx;
+    bottom: 213rpx;
     right: 55rpx;
     border-radius: 100%;
     z-index: 100;

+ 12 - 0
wechat/pages/order-refund/order-refund.js

xqd
@@ -37,6 +37,18 @@ Page({
             },
             success: function (res) {
                 if (res.code == 0) {
+                  console.log()
+                  if (res.data.is_send==1){
+                      page.setData({
+                        switch_tab_1: "active",
+                        switch_tab_2: "",
+                      });
+                  }else{
+                      page.setData({
+                        switch_tab_1: "",
+                        switch_tab_2: "active",
+                      });
+                  }
                     page.setData({
                         goods: res.data,
                     });

+ 2 - 2
wechat/pages/order-refund/order-refund.wxml

xqd
@@ -17,14 +17,14 @@
             </view>
         </view>
     </view>
-     <view class="flex-row bg-white switch-tab mb-20">
+     <!-- <view class="flex-row bg-white switch-tab mb-20">
         <view style='justify-content: center;' class="flex-grow-1 flex-x-center" bindtap="switchTab" data-id="1">
             <text class="flex-y-center {{switch_tab_1}}">退货</text>
         </view>
         <view style='justify-content: center;' class="flex-grow-1 flex-x-center" bindtap="switchTab" data-id="2">
             <text class="flex-y-center {{switch_tab_2}}">退款</text>
         </view>
-    </view> 
+    </view>  -->
     <view class="switch-body {{switch_tab_1}}">
         <view class="bg-white mb-20">
             <view class='reason-item' style='border-bottom: 1px solid #EEEEEE;'>