shish преди 2 години
родител
ревизия
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="module-com content_box user-open_bx">
           <view class="input-line-wrap">
           <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>
 
 
             <tui-list-cell @click="pageTo({ url: '/admin/shop/changeShop' })" class="line-cell" :hover="false" :arrow="true" v-if="getLoginInfo.lookAllShop && getLoginInfo.lookAllShop == 1" >
             <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
     // #endif
   },
   },
   methods: {
   methods: {
-    getVideo(){
+    getCityVideo(){
 			const that = this;
 			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(){
     goAdmin(){
       this.$util.pageTo({ url: '/admin/staff/admin'})
       this.$util.pageTo({ url: '/admin/staff/admin'})