xiaoming_global 5 år sedan
förälder
incheckning
c7c3bac03d

+ 2 - 0
src/scrm_pages/contact/contact.vue Visa fil

@@ -5,7 +5,9 @@
5 5
         <div class="swiper-container">
6 6
           <div class="swiper-wrapper">
7 7
             <div class="swiper-slide" v-for="it in item.Conrotation" :key="it.id">
8
+              <a :href="it.linkaddress.length > 0 ? it.linkaddress: 'javascript:;' ">
8 9
               <img class="imgtwo" :src="it.images" />
10
+              </a>
9 11
             </div>
10 12
           </div>
11 13
           <!-- 如果需要分页器 -->

+ 26 - 30
src/scrm_pages/contact/contactus.vue Visa fil

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
   <div class="page_home">
3
-         <!-- <iframe  :src = this.customUrl width="100%" height="100%" marginwidth="0" frameborder="no" scrolling="no"></iframe> -->
4
-      <div v-for="item in this.ordmodel" :key="item.id">
3
+
4
+      <div v-for="item in this.ordmodel" :key="item.id" class="modeone"> 
5 5
        <div class="focusImg" v-if="item.mode_type == 1">
6 6
         <div class="swiper-container">
7 7
           <div class="swiper-wrapper">
@@ -9,12 +9,12 @@
9 9
               <img class="imgtwo" :src="it.images" />
10 10
             </div>
11 11
           </div>
12
-          <!-- 如果需要分页器 -->
13
-          <div class="swiper-pagination"></div>
12
+  
13
+          <!-- <div class="swiper-pagination"></div> -->
14 14
         </div>
15 15
       </div>
16
-      <!-- <div class="detail"> -->
17
-      <div class="row one detail" v-if="item.mode_type == 2">
16
+      
17
+      <div class="row" v-if="item.mode_type == 2">
18 18
         <p class="title">{{item.title}}:</p>
19 19
         <p class="msg">{{item.Hosaddress.address}}</p>
20 20
       </div>
@@ -29,7 +29,7 @@
29 29
         <p class="title">{{item.title}}:</p>
30 30
         <p class="msg">{{item.Worktime.worktime}}</p>
31 31
       </div>
32
-      <div class="row one" v-if="item.mode_type == 5">
32
+      <div class="row" v-if="item.mode_type == 5">
33 33
         <p class="title">{{item.title}}:</p>
34 34
         <p class="msg">{{item.Rideway.ride_way}}</p>
35 35
       </div>
@@ -160,26 +160,6 @@ updated() {
160 160
 
161 161
 <style lang="scss" scoped>
162 162
 @import "../../assets/styles/mixin.scss";
163
-
164
-.page_home {
165
-  overflow: hidden;
166
-  display: flex;
167
-  flex-direction: column;
168
-  height: 100%;
169
-  > div:first-child {
170
-    flex: 1;
171
-    overflow: auto;
172
-  }
173
-  > div:first-child::-webkit-scrollbar {
174
-    width: 0;
175
-  }
176
-  // border:solid 1px red;
177
-}
178
-// .bugone{
179
-//   border: solid 1px red;
180
-// }
181
-
182
-
183 163
 .tabs {
184 164
   @include border-top;
185 165
   width: 100%;
@@ -211,8 +191,20 @@ updated() {
211 191
 .page_home {
212 192
   overflow: hidden;
213 193
   height: 100%;
194
+  display:flex;
195
+  flex-direction: column;
196
+  >div:first-child{
197
+    flex: 1;
198
+    overflow: auto;
199
+  }
214 200
   > div:nth-of-type(2) {
215
-    min-height: 5.125rem;
201
+    min-height: 3.0rem;
202
+  }
203
+  > div:nth-of-type(3) {
204
+    min-height: 3.125rem;
205
+  } 
206
+  > div:nth-of-type(4) {
207
+    min-height: 2.9rem;
216 208
   }
217 209
   .focusImg {
218 210
     width: 23.4375rem;
@@ -238,7 +230,6 @@ updated() {
238 230
     width: 21.125rem;
239 231
     margin: 0 1.25rem;
240 232
     // border: 1px solid #000;
241
-
242 233
     .title {
243 234
       float: left;
244 235
       width: 5rem;
@@ -254,13 +245,18 @@ updated() {
254 245
     }
255 246
   }
256 247
   .one {
257
-    min-height: 2.375rem;
248
+    min-height: 1.0rem;
258 249
     // line-height: 3rem;
259 250
   }
260 251
   .detail {
261 252
     width: 21.125rem;
262 253
     margin: 1.1875rem 1.25rem 0 1.25rem;
254
+
263 255
   }
264 256
 }
257
+.modeone{
258
+  min-height: 210px;
259
+  // border:solid 1px red;
260
+}
265 261
 </style>
266 262
 

+ 1 - 0
src/scrm_pages/contactus/contactus.vue Visa fil

@@ -3,6 +3,7 @@
3 3
           <!-- 联系我们页面 -->
4 4
          <div class="scroll"  style="padding:15px 4%;">
5 5
               <div v-for="item in this.ordmodel" :key="item.id">
6
+                
6 7
                      <div v-if="item.mode_type == 1" class="contractmodeone">
7 8
                         <mt-swipe :auto="4000" class="swipertwo">
8 9
                              <mt-swipe-item  v-for="it in item.Conrotation" :key="it.id">

+ 6 - 3
src/scrm_pages/microHome/microHome.vue Visa fil

@@ -7,7 +7,9 @@
7 7
           <div class="swiper-container bannerSwiper">
8 8
             <div class="swiper-wrapper">
9 9
               <div class="swiper-slide" v-for="it in item.PatientEditpiclink" :key="it.id">
10
-                <img class="imgtwo" :src="it.images" />
10
+                  <a :href="it.linkaddress.length > 0 ? it.linkaddress: 'javascript:;'">
11
+                  <img class="imgtwo" :src="it.images" />
12
+                  </a>
11 13
               </div>
12 14
             </div>
13 15
             <!-- 如果需要分页器 -->
@@ -254,7 +256,7 @@ export default {
254 256
         if (response.data.state == 1) {
255 257
           var articlelist = response.data.data.articlelists;
256 258
           this.Articlelist = response.data.data.articlelists;
257
-          console.log("文章列表", this.Articlelist);
259
+          console.log("文章列表", this.Articlelist);  
258 260
         }
259 261
       });
260 262
     },
@@ -359,6 +361,7 @@ export default {
359 361
     },
360 362
 
361 363
     CallPhone(linktype, address,orgid) {
364
+
362 365
       if (linktype == "2") {
363 366
         this.$router.push({
364 367
           path:"/contactus",
@@ -373,7 +376,7 @@ export default {
373 376
       if (linktype == "4") {
374 377
         // window.location.href = address;
375 378
         this.$router.push({
376
-          path:"custom",
379
+          path:"/custom",
377 380
           query:{
378 381
             orgid:orgid,
379 382
           }

+ 7 - 1
src/scrm_pages/newsDetail/newsDetail.vue Visa fil

@@ -4,7 +4,7 @@
4 4
     <div class="msg" v-html="articles.content" v-show="articleshow"></div>
5 5
      <div class="video" v-show="videoshow">            
6 6
           <video id="example_video_1" class="video-js vjs-default-skin"
7
-                 controls preload="auto" width="640" height="300"
7
+                 controls preload="auto" width="100%" height="100%"
8 8
                  poster="http://video-js.zencoder.com/oceans-clip.png"
9 9
                  data-setup='{"example_option":true}' ref="video">
10 10
                <source :src="articles.video_url" type='video/mp4' />
@@ -74,4 +74,10 @@
74 74
   line-height: 1.375rem;
75 75
   margin: 1.25rem 1.25rem 0 1.125rem;
76 76
 }
77
+
78
+.video{
79
+  width: 100%;
80
+  height: 250px;
81
+  // border: solid 1px red;
82
+}
77 83
 </style>