shish 2 лет назад
Родитель
Сommit
979f0c14d8
1 измененных файлов с 12 добавлено и 14 удалено
  1. 12 14
      ghsApp/src/admin/home/me.vue

+ 12 - 14
ghsApp/src/admin/home/me.vue

@@ -71,8 +71,12 @@
         <view class="module-com content_box user-open_bx">
           <view class="input-line-wrap">
 
-            <tui-list-cell @click="getVideo()" class="line-cell" :hover="false" :arrow="true">
-              <view class="tui-title" style="color:green;font-weight:bold;">教学视频</view>
+            <tui-list-cell @click="getCityVideo()" class="line-cell" :hover="false" :arrow="true">
+              <view class="tui-title" style="color:green;">城市版视频</view>
+            </tui-list-cell>
+
+            <tui-list-cell @click="getDnVideo()" class="line-cell" :hover="false" :arrow="true">
+              <view class="tui-title" style="color:green;">斗南版视频</view>
             </tui-list-cell>
 
             <tui-list-cell @click="pageTo({ url: '/admin/shop/changeShop' })" class="line-cell" :hover="false" :arrow="true" v-if="getLoginInfo.lookAllShop && getLoginInfo.lookAllShop == 1" >
@@ -233,19 +237,13 @@ export default {
     // #endif
   },
   methods: {
-    getVideo(){
+    getCityVideo(){
 			const that = this;
-			uni.showActionSheet({
-				itemList: ['城市批发', '基地和昆明批发'],
-				success: e => {
-          if(e.tapIndex == 0){
-            that.$util.pageTo({ url: '/admin/book/index' })
-          }
-          if(e.tapIndex == 1){
-            that.$util.pageTo({ url: '/admin/book/jdIndex' })
-          }
-				}
-			})
+      that.$util.pageTo({ url: '/admin/book/index' })
+    },
+    getDnVideo(){
+			const that = this;
+      that.$util.pageTo({ url: '/admin/book/jdIndex' })
     },
     goAdmin(){
       this.$util.pageTo({ url: '/admin/staff/admin'})