xiaoming_global 5 anos atrás
pai
commit
7a069a91eb

+ 21 - 0
package-lock.json Ver arquivo

@@ -14242,6 +14242,22 @@
14242 14242
       "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==",
14243 14243
       "dev": true
14244 14244
     },
14245
+    "v-viewer": {
14246
+      "version": "1.4.2",
14247
+      "resolved": "https://registry.npmjs.org/v-viewer/-/v-viewer-1.4.2.tgz",
14248
+      "integrity": "sha512-WEslW+dKPHg10f9jl1v0ilH0uk4ZFOz4vUp4wJjomwl+VQEnsWLjSzHCeFoayxjE9KyZspVu9lYLNxk+o3xzkw==",
14249
+      "requires": {
14250
+        "throttle-debounce": "^2.0.1",
14251
+        "viewerjs": "^1.3.2"
14252
+      },
14253
+      "dependencies": {
14254
+        "throttle-debounce": {
14255
+          "version": "2.1.0",
14256
+          "resolved": "https://registry.npmjs.org/throttle-debounce/-/throttle-debounce-2.1.0.tgz",
14257
+          "integrity": "sha512-AOvyNahXQuU7NN+VVvOOX+uW6FPaWdAOdRP5HfwYxAfCzXTFKRMoIMk+n+po318+ktcChx+F1Dd91G3YHeMKyg=="
14258
+        }
14259
+      }
14260
+    },
14245 14261
     "validate-npm-package-license": {
14246 14262
       "version": "3.0.4",
14247 14263
       "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz",
@@ -14275,6 +14291,11 @@
14275 14291
         "extsprintf": "^1.2.0"
14276 14292
       }
14277 14293
     },
14294
+    "viewerjs": {
14295
+      "version": "1.3.7",
14296
+      "resolved": "https://registry.npmjs.org/viewerjs/-/viewerjs-1.3.7.tgz",
14297
+      "integrity": "sha512-I7iD166zrqxocoNn1c23nwERzMXXxnlJw8eWLsK28DSAhGWSue1ZPaxV2qr7LC4lbhom1OUa7Z/glWsnGaa3bw=="
14298
+    },
14278 14299
     "vm-browserify": {
14279 14300
       "version": "0.0.4",
14280 14301
       "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-0.0.4.tgz",

+ 1 - 0
package.json Ver arquivo

@@ -68,6 +68,7 @@
68 68
     "sortablejs": "1.7.0",
69 69
     "spark-md5": "^3.0.0",
70 70
     "swiper": "^4.5.1",
71
+    "v-viewer": "^1.4.2",
71 72
     "vue": "2.5.16",
72 73
     "vue-baidu-map": "^0.21.22",
73 74
     "vue-count-to": "1.0.13",

+ 13 - 0
src/api/micro/micro.js Ver arquivo

@@ -1,5 +1,6 @@
1 1
 import request from '@/utils/request'
2 2
 import org from '../../router/modules/org';
3
+import { link } from 'fs';
3 4
 
4 5
 export function getHospitaldata(orgid,params){
5 6
     return request({
@@ -168,4 +169,16 @@ export function singleDoctorInfo(id,orgid){
168 169
        Get:"Get",
169 170
        params:params,
170 171
    })
172
+}
173
+
174
+export function GetRotationLinkAddress(linkid,orgid){
175
+    const params = {
176
+        linkid:linkid,
177
+        orgid:orgid,
178
+    }
179
+     return request({
180
+         url:'/api/site/getrotationlinkaddress',
181
+         Get:"Get",
182
+         params:params,
183
+     })
171 184
 }

+ 10 - 0
src/main.js Ver arquivo

@@ -32,6 +32,16 @@ Vue.use(Mint);
32 32
 
33 33
 import { read } from 'fs';
34 34
 import BaiduMap from 'vue-baidu-map'
35
+
36
+import Viewer from 'v-viewer'
37
+import 'viewerjs/dist/viewer.css'
38
+ 
39
+//Vue.use(Viewer) 默认配置写法
40
+Vue.use(Viewer, {
41
+    defaultOptions: {
42
+        zIndex: 9999
43
+    }
44
+})
35 45
 Vue.use(Element, {
36 46
   size: 'medium', // set element-ui default size
37 47
   i18n: (key, value) => i18n.t(key, value)

+ 5 - 47
src/router/index.js Ver arquivo

@@ -14,7 +14,7 @@ import marketing_tool from './modules/marketing_tool'
14 14
 import system from './modules/system'
15 15
 import site from './modules/site'
16 16
 import kefu from './modules/kefu'
17
-
17
+ 
18 18
 /** note: submenu only apppear when children.length>=1
19 19
  *   detail see  https://panjiachen.github.io/vue-element-admin-site/guide/essentials/router-and-nav.html
20 20
  **/
@@ -55,65 +55,23 @@ var _constant_router_map = [{
55 55
   component: () => import('@/views/errorPage/401'),
56 56
   hidden: true
57 57
 },
58
-// {
59
-//   path: '',
60
-//   component: ()=>import('@/scrm_pages/qrcode/qrcode'),
61
-//   redirect: '/qrcode',
62
-//   children: [{
63
-//     path: '/qrcode',
64
-//     component: () => import('@/scrm_pages/qrcode/qrcode'),
65
-//     name: 'qrcode',
66
-//     meta: {
67
-//       title: 'qrcode',
68
-//       icon: 'dashboard',
69
-//       noCache: true
70
-//     }
71
-//   }]
72
-// },
73 58
 {
74 59
   path: '/qrcode',
75 60
   component: ()=>import('@/scrm_pages/micro/micro'),
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 61
 },
88 62
 
89 63
 {
90
-  path: '/rotation',
91
-  component: () => import('@/scrm_pages/rotation/rotation'),
92
-  name: 'rotation',
64
+  path: '/hospital',
65
+  component: () => import('@/scrm_pages/hospital/hospital'),
66
+  name: 'hospital',
93 67
 
94 68
 },
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
-// },
111 69
 {
112 70
   path: '/activity/preview',
113 71
   component: () => import('@/scrm_pages/marketing_tool/activity_preview'),
114 72
   hidden: true
115 73
 }
116
-  // service
74
+
117 75
 ]
118 76
 
119 77
 var _asy_router_map = [

+ 5 - 0
src/router/modules/hosiptal.js Ver arquivo

@@ -0,0 +1,5 @@
1
+import Layout from '@/views/layout/Layout'
2
+
3
+export default{
4
+    
5
+}

+ 17 - 0
src/scrm_pages/hospital/hospital.vue Ver arquivo

@@ -0,0 +1,17 @@
1
+<template>
2
+  <div>
3
+    <el-input v-model='msg' placeholder='输入'></el-input>
4
+    <p>{{ msg }}</p>
5
+  </div>
6
+</template>
7
+
8
+<script>
9
+export default {
10
+  name: 'hospital',
11
+  data: function() {
12
+    return {
13
+      msg: ''
14
+    }
15
+  }
16
+}
17
+</script>

+ 172 - 109
src/scrm_pages/micro/micro.vue Ver arquivo

@@ -6,10 +6,12 @@
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" @click="rotationlink()">
9
+                       <div class="modeone" v-if="item.mode_type == 1">
10 10
                           <mt-swipe :auto="2000" class="swipertwo">
11 11
                           <mt-swipe-item v-for="it in item.PatientEditpiclink" :key="it.id">
12
+                            <a :href="it.linkaddress.length > 0 ? it.linkaddress: 'javascript:;' " style="width:100%;height:230px">
12 13
                              <img :src="it.images" style="width:100%;height:230px">
14
+                             </a>
13 15
                            </mt-swipe-item>
14 16
                          </mt-swipe>  
15 17
                          <div class="box"></div>                                                           
@@ -44,14 +46,14 @@
44 46
                            <!-- <div class="more" @click="docmore(item.id,item.user_org_id)">查看更多</div> -->
45 47
                               <!-- <div class="logo"><img src="static\images\u216.png"></div> -->
46 48
                                 <div class="docborde">
47
-                                 <div class="docheart" v-for="doc in item.Editdoctor" :key="doc.id">
49
+                                 <div class="docheart" v-for="doc in item.Editdoctor" :key="doc.id"  @click="docClick(doc.id,doc.user_org_id)">
48 50
                                    <div class="docimage">
49 51
                                     <img :src="doc.dochead" style="height:80px;width:80px">
50 52
                                    </div>
51 53
                                  <div class="doctitle"><span class="docnamefont">{{doc.doc_name}}</span></div>
52 54
                                  <div class="doccontent"><span class="xxcontent" v-html="doc.docintroduction"></span></div>
53 55
                                 </div>
54
-                           </div>
56
+                            </div>
55 57
                            <div class="box"></div>
56 58
                         </div>
57 59
 
@@ -65,7 +67,9 @@
65 67
                                <div class="swiper-container swiperthree" >
66 68
                                  <div class="swiper-wrapper" id="wrappert">
67 69
                                     <div class="swiper-slide"  v-for="itms in item.Enviroimages" :key="itms.id">
70
+                                      <viewer>
68 71
                                       <img :src="itms.enviroimages" style="width:150px;height:140px;border-radius:5px"/>
72
+                                      </viewer>
69 73
                                      </div>
70 74
                                 </div>
71 75
                               </div>
@@ -83,7 +87,7 @@
83 87
                                <div class="acthead">
84 88
                                    <img :src="it.imgs" style="width:80px;height:80px">
85 89
                                </div>
86
-                               <div class="actcontent">
90
+                               <div class="actcontent"  @click="clickTitle(it.id,it.user_org_id)">
87 91
                                   <div class="actname"><span>{{it.title}}</span></div>  
88 92
                                   <!-- <div class="actcomments">阅读:{{it.real_read_num}}|评论:{{it.comment_num}}|点赞:{{it.star_num}}</div> -->
89 93
                                </div> 
@@ -101,7 +105,7 @@
101 105
                                <div class="acthead">
102 106
                                    <img :src="it.poster_photo" style="width:80px;height:80px">
103 107
                                </div>
104
-                               <div class="actcontent">
108
+                               <div class="actcontent"  @click="clickActiles(it.id,it.user_org_id)">
105 109
                                   <div class="actname"><span>{{it.title}}</span></div>  
106 110
                                   <!-- <div class="actcomments">阅读:{{it.read_num}}|评论:{{it.comment_num}}|点赞:{{it.star_num}}</div>
107 111
                                   <div class="progress">
@@ -130,13 +134,13 @@
130 134
              </div>
131 135
          </div>
132 136
      </div>
133
-       <div class="scroll" v-show="defalutshow">暂无数据</div>q 
137
+       <div class="scroll" v-show="defalutshow">暂无数据</div>
134 138
        <!-- 医院介绍详情 -->
135
-       <div class="scroll" v-show="hosshow" style="padding:15px 4%;" v-html="hospitalform.introduction" id="target"></div>
139
+       <div class="scroll" v-show="hosshow" style="padding:15px 4%;" v-html="hospitalform.introduction"></div>
136 140
        <!-- 科室介绍详情 -->
137 141
       <div class="scroll" v-show="keshow" style="padding:15px 4%;"  v-html="officeform.introduction"></div>
138 142
       <!-- 名医介绍详情 -->
139
-       <div class="scroll" v-show="docshow" id="targetthree">
143
+       <div class="scroll" v-show="docshow" id="targetthree" style="padding:15px 4%">
140 144
            <div class="docone" v-for="item in this.editdocfrom" :key="item.id" @click="singleDoctorInfo(item.id,item.user_org_id)">
141 145
              <div class="doctwo">
142 146
               <img :src="item.dochead" style="width:80px;height:80px">
@@ -156,7 +160,9 @@
156 160
               <div class="swiper-container swiperfour" >
157 161
                  <div class="swiper-wrapper" id="wrappertwo" >
158 162
                      <div class="swiper-slide "  v-for="it in keEnvironmentImages" :key="it.id">
163
+                        <viewer>
159 164
                         <img :src="it.enviroimages" style="width:150px;height:140px;border-radius:5px;"/>
165
+                        </viewer>
160 166
                      </div>
161 167
                  </div>
162 168
              </div>                          
@@ -164,7 +170,7 @@
164 170
           </div>
165 171
 
166 172
              <!-- 文章列表详情 -->
167
-             <div class="scroll" v-show="ArticlelistShow" id="targetfive">
173
+             <div class="scroll" v-show="ArticlelistShow" id="targetfive"  style="padding:15px 4%;">
168 174
                 <div class="actilist" v-for="it in Articlelist" :key="it.id" @click="singleArticleInfo(it.id,it.user_org_id)">
169 175
                     <div class="acthead">
170 176
                        <img :src="it.imgs" style="width:80px;height:80px">
@@ -177,7 +183,7 @@
177 183
               </div>
178 184
 
179 185
               <!-- 活动列表详情 -->
180
-                 <div class="scroll" v-show="ActivitieslistShow" id="targetsix">
186
+                 <div class="scroll" v-show="ActivitieslistShow" id="targetsix" style="padding:15px 4%;">
181 187
                      <div class="actilist" v-for="it in Activitieslist" :key="it.id" @click="singleActivitInfo(it.id,it.user_org_id)">
182 188
                         <div class="acthead">
183 189
                             <img :src="it.poster_photo" style="width:80px;height:80px">
@@ -193,7 +199,7 @@
193 199
                     </div>
194 200
 
195 201
                     <!-- 联系我们页面 -->
196
-                    <div class="scroll" v-show="contactShow">
202
+                    <div class="scroll" v-show="contactShow" style="padding:15px 4%;">
197 203
                           <div v-for="item in this.ordmodel" :key="item.id">
198 204
                               <div v-if="item.mode_type == 1" class="contractmodeone">
199 205
                                   <mt-swipe :auto="4000" class="swipertwo">
@@ -208,8 +214,13 @@
208 214
                                   </div>
209 215
                                   <div  v-if="item.mode_type == 3">
210 216
                                     <div class="oldmodeone" v-for="it in Connectways" :key="it.id">
211
-                                       <span>{{it.title}}:&nbsp;&nbsp;{{it.content}}</span><br>
212
-                                      </div>
217
+                                       <div class="oldmodefive">
218
+                                          <span>{{it.title}}:&nbsp;&nbsp;{{it.content}}</span>
219
+                                       </div>
220
+                                       <div class="oldmodesix" @click="tallPhone(it.content)">
221
+                                           <img src="static/images/u318.png" style="width 100%;height:100%">
222
+                                       </div>
223
+                                     </div>
213 224
                                    </div>
214 225
                                    <div class="oldmodefour" v-if="item.mode_type == 4">
215 226
                                      <div><span>{{item.title}}:&nbsp;&nbsp;{{item.Worktime.worktime}}</span></div>
@@ -221,36 +232,35 @@
221 232
                     </div>
222 233
 
223 234
                     <!-- 单个名医介绍 -->
224
-                    <div class="scroll" v-show="singleDoctorshow">
235
+                    <div class="scroll" v-show="singleDoctorshow" style="padding:15px 4%;">
236
+                       
225 237
                         <div class="doctorInfo">
226
-                            <div class="doctorhead">
227
-                               <img :src="doctors.dochead" style="width:100%;height:100%">
228
-                            </div>
229
-                            <div class="doctorname">
230
-                               姓名:{{doctors.doc_name}}
231
-                            </div>
232
-                            <div class="doctorposition">
233
-                              职位:{{doctors.doc_postion}}
234
-                            </div>
235
-                        </div>
236
-                        <div class="doctorintroduction">医生简介:</div>
237
-                        <div class="doctorintro" v-html="doctors.docintroduction">
238
-                          
238
+                              <div class="doctorhead">
239
+                                  <img :src="doctors.dochead" style="width:100%;height:100%">
240
+                              </div>
241
+                              <div class="doctorname">
242
+                                  姓名:{{doctors.doc_name}}
243
+                              </div>
244
+                              <div class="doctorposition">
245
+                                职位:{{doctors.doc_postion}}
246
+                              </div>
239 247
                         </div>
248
+                         <div class="doctorintroduction">医生简介:</div>
249
+                         <div class="doctorintro" v-html="doctors.docintroduction"></div> 
240 250
                     </div>
241 251
 
242 252
                     <!-- 单个文章列表详情 -->
243
-                    <div class="scroll" v-show="singleArticleshow">
244
-                        <div class="artictitle">
245
-                            {{articles.title}}
246
-                       </div>
247
-                        <div class="articcontent" v-html="articles.content">
253
+                    <div class="scroll" v-show="singleArticleshow" style="padding:15px 4%;">                   
254
+                             <div class="artictitle">
255
+                               {{articles.title}}
256
+                             </div>
257
+                            <div class="articcontent" v-html="articles.content">
248 258
 
249
-                       </div>
259
+                            </div>                    
250 260
                     </div>
251 261
 
252 262
                     <!-- 单个活动列表详情 -->
253
-                    <div class="scroll" v-show="singleActiveshow">
263
+                    <div class="scroll" v-show="singleActiveshow" style="padding:15px 4%;">
254 264
                          <div class="activityImages">
255 265
                             <img :src="activitys.poster_photo" style="width:100%;height:100%">
256 266
                          </div>
@@ -307,18 +317,6 @@
307 317
              <img :src="item.navimages" style="width:30px; height:30px" @click="callPhone(item.navtitle,item.navaddress)">
308 318
              <span>{{item.navtitle}}</span>
309 319
           </div>
310
-           <!-- <div class="buttonone">
311
-             <img src="static/images/u309.png" style="width:30px; height:30px">
312
-          </div> -->
313
-          <!-- <div class="buttontwo">
314
-            <img src="static/images/u309.png" style="width:30px; height:30px">
315
-          </div>
316
-          <div class="buttonthree">
317
-           <img src="static/images/phone.png" style="width:30px;height:30px">
318
-          </div>
319
-          <div class="buttonfour">
320
-             <img src="static/images/u311.png" style="width:30px; height:30px">
321
-          </div> -->
322 320
       </div>
323 321
     </div> 
324 322
 </template>
@@ -332,7 +330,8 @@
332 330
      Vue.component(Swipe.name, Swipe);
333 331
      Vue.component(SwipeItem.name, SwipeItem);
334 332
      import { getHospitaldata,getArticlelist,getActivities,hispitalmore,officemore,docmore,kemore,articlemore,Activitiesmore,getDefalutNavigationData,getOrderModel,getAllConnecWay,
335
-     singleActivitInfo,singleArticleInfo,singleDoctorInfo} from '@/api/micro/micro'
333
+     singleActivitInfo,singleArticleInfo,singleDoctorInfo,GetRotationLinkAddress} from '@/api/micro/micro'
334
+import { link } from 'fs';
336 335
     export default {
337 336
         name: "micro",
338 337
         data(){
@@ -408,20 +407,24 @@
408 407
         }
409 408
        })
410 409
       },
411
-
412
-      hispitalmore(id,orgid){
413
-        hispitalmore(id,orgid).then(response=>{
414
-           if(response.data.state ==1){
415
-              var hospital =  response.data.data.hospital;
416
-              console.log("hospital",hospital)
417
-              this.hospitalform =  response.data.data.hospital;
418
-              this.modelshow = false;
419
-              this.hosshow = true;
420
-              this.showindex = true;
421
-              this.showtop = true;     
422
-           }
423
-        })
424
-      }, 
410
+       
411
+       hispitalmore(){
412
+          alert("aaa")
413
+          this.$router.push({path:'/hospital'});
414
+       },
415
+      // hispitalmore(id,orgid){
416
+      //   hispitalmore(id,orgid).then(response=>{
417
+      //      if(response.data.state ==1){
418
+      //         var hospital =  response.data.data.hospital;
419
+      //         console.log("hospital",hospital)
420
+      //         this.hospitalform =  response.data.data.hospital;
421
+      //         this.modelshow = false;
422
+      //         this.hosshow = true;
423
+      //         this.showindex = true;
424
+      //         this.showtop = true;     
425
+      //      }
426
+      //   })
427
+      // }, 
425 428
     //查看科室详情
426 429
     officemore(id,orgid){
427 430
       officemore(id,orgid).then(response=>{
@@ -503,13 +506,30 @@
503 506
           this.contactShow = false;
504 507
           this.keshow = false;
505 508
           this.hosshow = false;
506
-          this.getHospitaldata(this.$route.query.orgid);
509
+          this.docshow = false;
510
+          this.ActivitieslistShow = false;
511
+          this.ArticlelistShow = false;
512
+          this.OfficeEnviromentShow = false;
513
+          this.singleDoctorshow = false;
514
+          this.singleArticleshow = false;
515
+          this.singleActiveshow = false;
516
+          this.showindex = false;    
517
+          this.showtop = false;  
507 518
         }
508 519
 
509 520
         if(title == "联系我们"){  
521
+            this.singleDoctorshow = false;
522
+            this.singleArticleshow = false;
523
+            this.singleActiveshow = false;
524
+            this.ActivitieslistShow = false;
525
+            this.ArticlelistShow = false;
526
+            this.keshow = false;
527
+            this.hosshow = false;
528
+            this.docshow = false;
510 529
             this.modelshow = false;
511 530
            this.contactShow = true;
512 531
            this.getOrderModel(orgid);
532
+         
513 533
         }
514 534
         if(title == "在线客服"){
515 535
            window.location.href = 'tel://'+address+'';
@@ -521,6 +541,34 @@
521 541
         
522 542
       },
523 543
 
544
+      clickTitle(id,orgid){
545
+          this.modelshow = false;
546
+          this.singleArticleshow = true;
547
+          this.showindex = true;    
548
+          this.showtop = true;  
549
+         singleArticleInfo(id,orgid).then(response=>{
550
+             if(response.data.state == 1){
551
+                   var articles =  response.data.data.articles;
552
+                   this.articles = articles;
553
+               }
554
+         })
555
+         
556
+      },
557
+
558
+      clickActiles(id,orgid){
559
+         this.modelshow = false;
560
+         this.singleActiveshow = true;
561
+         this.showindex = true;    
562
+         this.showtop = true;  
563
+        singleActivitInfo(id,orgid).then(response=>{
564
+           if(response.data.state ==1){
565
+                 var activitys = response.data.data.activity;
566
+                this.activitys = activitys;
567
+                console.log("activitys",activitys)
568
+            }
569
+        })
570
+      },
571
+
524 572
         returnIndex(){
525 573
              this.defalutshow = false;
526 574
              this.modelshow = true;
@@ -537,31 +585,9 @@
537 585
              this.singleActiveshow = false;
538 586
          },  
539 587
         returntop(){
540
-         this.scrollToTopTimer();    
541
-        },
542
-        scrollToTop() {
543
-           this.scrollTop = document.getElementById('target').scrollTop;
544
-           console.log("这个是什么",this.scrollToTop)
588
+          document.documentElement.scrollTop = 0
545 589
         },
546
-       backTop() {
547
-          this.timer = setInterval(()=>{
548
-          this.scrollToTopTimer()
549
-          },20)
550
-         },
551
-       scrollToTopTimer() {
552
-         let scrollTop = this.scrollTop;
553
-         console.log("scrollTop是什么",scrollTop)
554
-         if(scrollTop > 0) {
555
-           scrollTop -= 100
556
-           if(scrollTop <= 0) {
557
-             scrollTop = 0
558
-             clearInterval(this.timer)
559
-            }
560
-           }
561
-          document.getElementById('target').scrollTop = scrollTop;
562
-          console.log("娃哈哈",scrollTop)
563
-         },
564
-
590
+  
565 591
          getDefalutNavigationData(orgid){
566 592
            getDefalutNavigationData(orgid).then(response=>{
567 593
              if(response.data.state == 1){
@@ -692,12 +718,26 @@
692 718
             }
693 719
            },
694 720
 
721
+           docClick(id,orgid){
722
+              this.modelshow = false;
723
+              this.singleDoctorshow = true;
724
+              this.showtop = true;
725
+              this.showindex = true;   
726
+              singleDoctorInfo(id,orgid).then(response=>{
727
+                 if(response.data.state ==1){
728
+                 var editdoctor = response.data.data.editdoctor;
729
+                 console.log("editdoctor",editdoctor)
730
+                 this.doctors = editdoctor;
731
+                }
732
+              })
733
+           },
734
+
695 735
            singleDoctorInfo(id,orgid){
696
-             this.docshow = false;
697
-             this.singleDoctorshow = true;
736
+              this.docshow = false;
737
+              this.singleDoctorshow = true;
698 738
              singleDoctorInfo(id,orgid).then(response=>{
699 739
                if(response.data.state ==1){
700
-                 var editdoctor =   response.data.data.editdoctor;
740
+                 var editdoctor =  response.data.data.editdoctor;
701 741
                  this.doctors = editdoctor;
702 742
                  console.log("editdoctor",editdoctor)
703 743
                }
@@ -727,14 +767,19 @@
727 767
              })
728 768
            },
729 769
 
730
-           rotationlink(){
731
-             this.$router.push({path:'/#/rotation'})
770
+           rotationlink(linkid,orgid){
771
+              GetRotationLinkAddress(linkid,orgid).then(response=>{
772
+                  if(response.data.state == 1){
773
+                     var linkaddress =  response.data.data.linkaddress;
774
+                     console.log("linkaddres是什么",linkaddress)
775
+                     window.location.href = linkaddress.defineaddress;
776
+                  }
777
+              })
778
+           },
779
+           tallPhone(content){
780
+               window.location.href = 'tel://'+content+'';
732 781
            }
733 782
         },
734
-      destroyed(){
735
-        clearInterval(this.timer)
736
-        document.getElementById('target').removeEventListener('scroll', this.scrollToTop);
737
-      }, 
738 783
        created(){
739 784
            const orgid = this.$route.query.orgid;
740 785
            console.log("机构id是",orgid)
@@ -816,14 +861,15 @@
816 861
              clickable: true,
817 862
             },
818 863
         });
819
-
820
-
821
-        // document.getElementById('target').addEventListener('scroll', this.scrollToTop)
822 864
        },
823 865
     }
824 866
 </script>
825 867
 
826 868
 <style scoped>
869
+
870
+    .swiper-slide{
871
+      margin-bottom: 60px;
872
+     }
827 873
     .scroll{
828 874
         width: 100%;
829 875
         height: 100%;
@@ -1265,9 +1311,24 @@
1265 1311
 
1266 1312
     .oldmodeone{
1267 1313
         width: 318px;
1268
-        height: 100%;
1314
+        min-height: 22px;
1269 1315
         /* border: solid 1px red; */
1270
-        margin-bottom: 8px;
1316
+        margin-bottom: 8px;       
1317
+    }
1318
+
1319
+    .oldmodesix{
1320
+       position: absolute;
1321
+       width: 50px;
1322
+       min-height: 20px;
1323
+       /* border: solid 1px blue; */
1324
+       margin-left: 200px;
1325
+       margin-top: -20px;
1326
+    }
1327
+
1328
+    .oldmodefive{
1329
+      width: 250px;
1330
+      min-height: 20px;
1331
+      /* border: solid 1px red; */
1271 1332
     }
1272 1333
 
1273 1334
   .oldmodefour{
@@ -1302,15 +1363,17 @@
1302 1363
   }
1303 1364
 
1304 1365
   .artictitle{
1305
-    width: 100%;
1366
+    /* position: absolute; */
1367
+    min-width: 300px;
1306 1368
     min-height: 20px;
1307 1369
     /* border:solid 1px red; */
1308 1370
     text-align: center;
1309 1371
   }
1310 1372
   
1311 1373
    .articcontent{
1374
+     /* position: relative; */
1312 1375
      width: 100%;
1313
-     height: 100%;
1376
+     min-height: 200px;
1314 1377
      /* border:solid 1px red; */
1315 1378
    }
1316 1379
    
@@ -1331,7 +1394,7 @@
1331 1394
   
1332 1395
    .doctorname{
1333 1396
      position: absolute;
1334
-     width: 100%;
1397
+     min-width: 100px;
1335 1398
      height: 20px;
1336 1399
      /* border: solid 1px red; */
1337 1400
      margin-left: 100px;
@@ -1340,7 +1403,7 @@
1340 1403
    }
1341 1404
    .doctorposition{
1342 1405
      position: absolute;
1343
-     width: 100%;
1406
+     min-width: 100px;
1344 1407
      height: 20px;
1345 1408
      /* border: solid 1px red; */
1346 1409
      margin-left: 100px;
@@ -1350,18 +1413,18 @@
1350 1413
 
1351 1414
    .doctorintroduction{
1352 1415
      /* position: absolute; */
1353
-     width: 100%;
1354
-     height: 20px;
1416
+     min-width: 100px;
1417
+     min-height: 20px;
1355 1418
      margin-left: 10px;
1356 1419
      /* border:solid 1px red; */
1357 1420
      font-size: 14px;
1358 1421
    }
1359 1422
    .doctorintro{
1360
-     position: absolute;
1423
+     /* position: absolute; */
1361 1424
      width: 100%;
1362
-     height: 100%;
1425
+     min-height: 200px;
1363 1426
      /* border:solid 1px red; */
1364 1427
      font-size: 14px;
1365
-     margin-left: 10px;
1428
+     /* margin-left: 10px; */
1366 1429
    }
1367 1430
 </style>

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 1137
src/scrm_pages/qrcode/qrcode.vue


+ 0 - 13
src/scrm_pages/rotation/rotation.vue Ver arquivo

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

BIN
static/images/u318.png Ver arquivo