shish пре 7 месеци
родитељ
комит
9e1e0d3a63
2 измењених фајлова са 20 додато и 2 уклоњено
  1. 10 1
      ghsApp/src/admin/home/me.vue
  2. 10 1
      hdApp/src/admin/home/me.vue

+ 10 - 1
ghsApp/src/admin/home/me.vue

@@ -152,7 +152,7 @@
               <view class="tui-title">更多设置</view>
             </tui-list-cell>
 
-            <tui-list-cell @click="pageTo({ url: '/admin/delivery/deliveryManage' })" class="line-cell" :hover="false" :arrow="true">
+            <tui-list-cell @click="handleDeliveryManage()" class="line-cell" :hover="false" :arrow="true">
               <view class="tui-title">绑定跑腿</view>
             </tui-list-cell>
 
@@ -618,6 +618,15 @@ export default {
         }
       })
     },
+    handleDeliveryManage() {
+      // #ifdef MP-WEIXIN
+      this.$msg('请使用 APP 操作')
+      return
+      // #endif
+      // #ifdef APP-PLUS
+      this.$util.pageTo({ url: '/admin/delivery/deliveryManage' })
+      // #endif
+    }
   },
 };
 </script>

+ 10 - 1
hdApp/src/admin/home/me.vue

@@ -78,7 +78,7 @@
             <tui-list-cell @click="pageTo({ url: '/admin/shop/sk' })" class="line-cell" :hover="false" :arrow="true">
               <view class="tui-title">更多设置</view>
             </tui-list-cell>
-            <tui-list-cell @click="pageTo({ url: '/admin/delivery/deliveryManage' })" class="line-cell" :hover="false" :arrow="true" >
+            <tui-list-cell @click="handleDeliveryManage()" class="line-cell" :hover="false" :arrow="true" >
               <view class="tui-title">绑定跑腿</view>
             </tui-list-cell>
 
@@ -371,6 +371,15 @@ export default {
           this.$msg('修改成功')
         }
       })
+    },
+    handleDeliveryManage() {
+      // #ifdef MP-WEIXIN
+      this.$msg('请使用 APP 操作')
+      return
+      // #endif
+      // #ifdef APP-PLUS
+      this.$util.pageTo({ url: '/admin/delivery/deliveryManage' })
+      // #endif
     }
   },
 };