xiaoming_global 5 gadus atpakaļ
vecāks
revīzija
ab7663b1e0

+ 35 - 12
src/router/index.js Parādīt failu

@@ -71,20 +71,43 @@ var _constant_router_map = [{
71 71
 //   }]
72 72
 // },
73 73
 {
74
-  path: '',
74
+  path: '/qrcode',
75 75
   component: ()=>import('@/scrm_pages/micro/micro'),
76
-  redirect: '/qrcode',
77
-  children: [{
78
-    path: '/qrcode',
79
-    component: () => import('@/scrm_pages/micro/micro'),
80
-    name: 'qrcode',
81
-    meta: {
82
-      title: 'qrcode',
83
-      icon: 'dashboard',
84
-      noCache: true
85
-    }
86
-  }]
76
+  // children: [{
77
+
78
+  //   path: '/qrcode',
79
+  //   component: () => import('@/scrm_pages/micro/micro'),
80
+  //   name: 'qrcode',
81
+  //   meta: {
82
+  //     title: 'qrcode',
83
+  //     icon: 'dashboard',
84
+  //     noCache: true
85
+  //   }
86
+  // },]
87
+},
88
+
89
+{
90
+  path: '/rotation',
91
+  component: () => import('@/scrm_pages/rotation/rotation'),
92
+  name: 'rotation',
93
+
87 94
 },
95
+// {
96
+//    path:'qrcode/rotation',
97
+//    component:()=>import('@/scrm_pages/rotation/rotation'),
98
+//    redirct: '/rotation',
99
+//    children: [{
100
+//      path: '/rotation',
101
+//      component: () => import('@/scrm_pages/rotation/rotation'),
102
+//      name: 'rotation',
103
+//      meta: {
104
+//        title:'rotation',
105
+//        icon: 'dashboard',
106
+//        noCache: true
107
+//      }
108
+//    }]
109
+
110
+// },
88 111
 {
89 112
   path: '/activity/preview',
90 113
   component: () => import('@/scrm_pages/marketing_tool/activity_preview'),

+ 6 - 2
src/scrm_pages/micro/micro.vue Parādīt failu

@@ -6,7 +6,7 @@
6 6
                  <div class="swiper-slide">      
7 7
                    <div v-for="item in this.patientModels" :key="item.id" v-show="modelshow">                    
8 8
                       <!-- 轮播图 -->
9
-                       <div class="modeone" v-if="item.mode_type == 1">
9
+                       <div class="modeone" v-if="item.mode_type == 1" @click="rotationlink()">
10 10
                           <mt-swipe :auto="2000" class="swipertwo">
11 11
                           <mt-swipe-item v-for="it in item.PatientEditpiclink" :key="it.id">
12 12
                              <img :src="it.images" style="width:100%;height:230px">
@@ -63,7 +63,7 @@
63 63
                             <div class="logo"><img src="static\images\u216.png"></div>
64 64
                             <div class="swiperimages">
65 65
                                <div class="swiper-container swiperthree" >
66
-                                 <div class="swiper-wrapper" id="wrappert" >
66
+                                 <div class="swiper-wrapper" id="wrappert">
67 67
                                     <div class="swiper-slide"  v-for="itms in item.Enviroimages" :key="itms.id">
68 68
                                       <img :src="itms.enviroimages" style="width:150px;height:140px;border-radius:5px"/>
69 69
                                      </div>
@@ -722,6 +722,10 @@
722 722
                   console.log("activitys",activitys)
723 723
                 }
724 724
              })
725
+           },
726
+
727
+           rotationlink(){
728
+             this.$router.push({path:'/#/rotation'})
725 729
            }
726 730
         },
727 731
       destroyed(){

+ 13 - 0
src/scrm_pages/rotation/rotation.vue Parādīt failu

@@ -0,0 +1,13 @@
1
+<template>
2
+
3
+</template>
4
+
5
+<script>
6
+    export default {
7
+        name: "rotation"
8
+    }
9
+</script>
10
+
11
+<style scoped>
12
+
13
+</style>