Browse Source

样式修改

张保健 5 years ago
parent
commit
3af23c970d
1 changed files with 60 additions and 51 deletions
  1. 60 51
      src/scrm_pages/micro/micro.vue

+ 60 - 51
src/scrm_pages/micro/micro.vue View File

16
                        </div> 
16
                        </div> 
17
                        <!-- 医院介绍 -->
17
                        <!-- 医院介绍 -->
18
                        <div class="modetwo" v-if="item.mode_type == 2">
18
                        <div class="modetwo" v-if="item.mode_type == 2">
19
-                          <img src="static\images\u.png" style="width:5px;height:20px;">
19
+                          <img src="static\images\u.png" style="width:5px;height:25px;margin-left:10px;">
20
                           <div class="kefont"><span >{{item.title}}</span></div>   
20
                           <div class="kefont"><span >{{item.title}}</span></div>   
21
-                         <div class="more" @click="hispitalmore(item.id,item.user_org_id)">查看更多</div>
22
-                          <div class="logo"><img src="static\images\u216.png"></div>  
23
-                         <div class="hoscontent">
21
+                         <!-- <div class="more" @click="hispitalmore(item.id,item.user_org_id)">查看更多</div> -->
22
+                          <!-- <div class="logo"><img src="static\images\u216.png"></div>   -->
23
+                         <div class="hoscontent" @click="hispitalmore(item.id,item.user_org_id)">
24
                            <span v-html="item.Hospitals.introduction" id="content" ></span>
24
                            <span v-html="item.Hospitals.introduction" id="content" ></span>
25
                           </div>   
25
                           </div>   
26
                            <div class="box"></div>                                                       
26
                            <div class="box"></div>                                                       
27
                        </div>                   
27
                        </div>                   
28
                     <!-- 科室介绍 -->
28
                     <!-- 科室介绍 -->
29
                     <div v-if="item.mode_type == 3" class="modethree">   
29
                     <div v-if="item.mode_type == 3" class="modethree">   
30
-                       <img src="static\images\u.png" style="width:5px;height:20px;">
30
+                       <img src="static\images\u.png" style="width:5px;height:25px;margin-left:10px;">
31
                        <div class="kefont"><span >{{item.title}}</span></div>   
31
                        <div class="kefont"><span >{{item.title}}</span></div>   
32
-                       <div class="more" @click="officemore(item.id,item.user_org_id)">查看更多</div>
33
-                       <div class="logo"><img src="static\images\u216.png"></div>  
34
-                       <div class="xcontent">
32
+                       <!-- <div class="more" @click="officemore(item.id,item.user_org_id)">查看更多</div> -->
33
+                       <!-- <div class="logo"><img src="static\images\u216.png"></div>   -->
34
+                       <div class="xcontent" @click="officemore(item.id,item.user_org_id)">
35
                           <span  v-html="item.Offices.introduction" id="ycontent"></span>
35
                           <span  v-html="item.Offices.introduction" id="ycontent"></span>
36
                        </div>
36
                        </div>
37
                        <div class="box"></div>
37
                        <div class="box"></div>
39
                     
39
                     
40
                       <!-- 名医介绍 -->
40
                       <!-- 名医介绍 -->
41
                      <div v-if="item.mode_type == 4" class="modefour">
41
                      <div v-if="item.mode_type == 4" class="modefour">
42
-                       <img src="static\images\u.png" style="width:5px;height:20px;">
43
-                         <div class="kefont"><span >{{item.title}}</span></div> 
44
-                           <div class="more" @click="docmore(item.id,item.user_org_id)">查看更多</div>
45
-                              <div class="logo"><img src="static\images\u216.png"></div>
42
+                       <img src="static\images\u.png" style="width:5px;height:25px;margin-left:10px;">
43
+                         <div class="kefont"  @click="docmore(item.id,item.user_org_id)"><span >{{item.title}}</span></div> 
44
+                           <!-- <div class="more" @click="docmore(item.id,item.user_org_id)">查看更多</div> -->
45
+                              <!-- <div class="logo"><img src="static\images\u216.png"></div> -->
46
                                 <div class="docborde">
46
                                 <div class="docborde">
47
                                  <div class="docheart" v-for="doc in item.Editdoctor" :key="doc.id">
47
                                  <div class="docheart" v-for="doc in item.Editdoctor" :key="doc.id">
48
                                    <div class="docimage">
48
                                    <div class="docimage">
57
 
57
 
58
                         <!-- 科室环境 -->
58
                         <!-- 科室环境 -->
59
                        <div v-if="item.mode_type == 5" class="modefive">
59
                        <div v-if="item.mode_type == 5" class="modefive">
60
-                            <img src="static\images\u.png" style="width:5px;height:20px;"> 
61
-                            <div class="kefont"><span >{{item.title}}</span></div> 
62
-                            <div class="more" @click="kemore(item.id,item.user_org_id)">查看更多</div>
63
-                            <div class="logo"><img src="static\images\u216.png"></div>
60
+                            <img src="static\images\u.png" style="width:5px;height:25px;margin-left:10px;"> 
61
+                            <div class="kefont" @click="kemore(item.id,item.user_org_id)"><span >{{item.title}}</span></div> 
62
+                            <!-- <div class="more" @click="kemore(item.id,item.user_org_id)">查看更多</div> -->
63
+                            <!-- <div class="logo"><img src="static\images\u216.png"></div> -->
64
                             <div class="swiperimages">
64
                             <div class="swiperimages">
65
                                <div class="swiper-container swiperthree" >
65
                                <div class="swiper-container swiperthree" >
66
                                  <div class="swiper-wrapper" id="wrappert" >
66
                                  <div class="swiper-wrapper" id="wrappert" >
75
 
75
 
76
                      <!--文章列表 -->
76
                      <!--文章列表 -->
77
                         <div v-if="item.mode_type == 6" class="modesix">
77
                         <div v-if="item.mode_type == 6" class="modesix">
78
-                              <img src="static\images\u.png" style="width:5px;height:20px">
79
-                              <div class="kefont"><span>{{item.title}}</span></div>
80
-                              <div class="more" @click="articlemore(item.id,item.user_org_id)">查看更多</div>
81
-                              <div class="logo"><img src="static\images\u216.png"></div>
78
+                              <img src="static\images\u.png" style="width:5px;height:25px;margin-left:10px;">
79
+                              <div class="kefont" @click="articlemore(item.id,item.user_org_id)"><span>{{item.title}}</span></div>
80
+                              <!-- <div class="more" @click="articlemore(item.id,item.user_org_id)">查看更多</div> -->
81
+                              <!-- <div class="logo"><img src="static\images\u216.png"></div> -->
82
                               <div class="actilist" v-for="it in Articlelist" :key="it.id">
82
                               <div class="actilist" v-for="it in Articlelist" :key="it.id">
83
                                <div class="acthead">
83
                                <div class="acthead">
84
                                    <img :src="it.imgs" style="width:80px;height:80px">
84
                                    <img :src="it.imgs" style="width:80px;height:80px">
93
 
93
 
94
                           <!-- 活动列表 -->
94
                           <!-- 活动列表 -->
95
                            <div v-if="item.mode_type == 7" class="modeseven">
95
                            <div v-if="item.mode_type == 7" class="modeseven">
96
-                             <img src="static\images\u.png" style="width:5px;height:20px;">
97
-                             <div class="kefont"><span>{{item.title}}</span></div>
98
-                             <div class="more" @click="Activitiesmore(item.id,item.user_org_id)">查看更多</div>
99
-                             <div class="logo"><img src="static\images\u216.png"></div>
96
+                             <img src="static\images\u.png" style="width:5px;height:25px;margin-left:10px;">
97
+                             <div class="kefont" @click="Activitiesmore(item.id,item.user_org_id)"><span>{{item.title}}</span></div>
98
+                             <!-- <div class="more" @click="Activitiesmore(item.id,item.user_org_id)">查看更多</div> -->
99
+                             <!-- <div class="logo"><img src="static\images\u216.png"></div> -->
100
                              <div class="actilist" v-for="it in Activitieslist" :key="it.id">
100
                              <div class="actilist" v-for="it in Activitieslist" :key="it.id">
101
                                <div class="acthead">
101
                                <div class="acthead">
102
                                    <img :src="it.poster_photo" style="width:80px;height:80px">
102
                                    <img :src="it.poster_photo" style="width:80px;height:80px">
116
                                <div v-if="item.mode_type== 8" class="modeeight">  
116
                                <div v-if="item.mode_type== 8" class="modeeight">  
117
                                  <div class="block" v-for="it in item.Editmargin" :key="it.id" @click="NavigationClick(it.margtitle,it.marginaddress,it.user_org_id)">
117
                                  <div class="block" v-for="it in item.Editmargin" :key="it.id" @click="NavigationClick(it.margtitle,it.marginaddress,it.user_org_id)">
118
                                     <div class="macimg">
118
                                     <div class="macimg">
119
-                                      <img :src="it.margimage" style="width:100%;height:100%">
119
+                                      <img :src="it.margimage" >
120
                                     </div>
120
                                     </div>
121
                                     <div id="macimgtwo">
121
                                     <div id="macimgtwo">
122
                                        <!-- <span>{{it.margtitle}}</span> -->
122
                                        <!-- <span>{{it.margtitle}}</span> -->
130
              </div>
130
              </div>
131
          </div>
131
          </div>
132
      </div>
132
      </div>
133
-       <div class="scroll" v-show="defalutshow">暂无数据</div>
133
+       <div class="scroll" v-show="defalutshow">暂无数据</div>q 
134
        <!-- 医院介绍详情 -->
134
        <!-- 医院介绍详情 -->
135
-       <div class="scroll" v-show="hosshow" v-html="hospitalform.introduction" id="target"></div>
135
+       <div class="scroll" v-show="hosshow" style="padding:15px 4%;" v-html="hospitalform.introduction" id="target"></div>
136
        <!-- 科室介绍详情 -->
136
        <!-- 科室介绍详情 -->
137
-      <div class="scroll" v-show="keshow" v-html="officeform.introduction"></div>
137
+      <div class="scroll" v-show="keshow" style="padding:15px 4%;"  v-html="officeform.introduction"></div>
138
       <!-- 名医介绍详情 -->
138
       <!-- 名医介绍详情 -->
139
        <div class="scroll" v-show="docshow" id="targetthree">
139
        <div class="scroll" v-show="docshow" id="targetthree">
140
            <div class="docone" v-for="item in this.editdocfrom" :key="item.id" @click="singleDoctorInfo(item.id,item.user_org_id)">
140
            <div class="docone" v-for="item in this.editdocfrom" :key="item.id" @click="singleDoctorInfo(item.id,item.user_org_id)">
305
       <div class="button">
305
       <div class="button">
306
           <div class="buttonone" v-for="item in this.navigationdata" :key="item.id">
306
           <div class="buttonone" v-for="item in this.navigationdata" :key="item.id">
307
              <img :src="item.navimages" style="width:30px; height:30px" @click="callPhone(item.navtitle,item.navaddress)">
307
              <img :src="item.navimages" style="width:30px; height:30px" @click="callPhone(item.navtitle,item.navaddress)">
308
+             <span>{{item.navtitle}}</span>
308
           </div>
309
           </div>
309
            <!-- <div class="buttonone">
310
            <!-- <div class="buttonone">
310
              <img src="static/images/u309.png" style="width:30px; height:30px">
311
              <img src="static/images/u309.png" style="width:30px; height:30px">
500
         if(title == "首页"){
501
         if(title == "首页"){
501
           this.modelshow = true
502
           this.modelshow = true
502
           this.contactShow = false;
503
           this.contactShow = false;
503
-          this.getHospitaldata();
504
+          this.keshow = false;
505
+          this.hosshow = false;
506
+          this.getHospitaldata(this.$route.query.orgid);
504
         }
507
         }
505
 
508
 
506
         if(title == "联系我们"){  
509
         if(title == "联系我们"){  
832
     .button{
835
     .button{
833
        position: fixed;
836
        position: fixed;
834
        width: 100%;
837
        width: 100%;
835
-       height: 40px; 
838
+       height: 60px; 
839
+       padding: 5px 4%;
836
        /* border: solid 1px red; */
840
        /* border: solid 1px red; */
837
        background-color:white;
841
        background-color:white;
838
        z-index: 999999;
842
        z-index: 999999;
839
        bottom: 0px;  
843
        bottom: 0px;  
844
+       display: flex;
845
+       border-top:solid 1px #efefef;
840
     }
846
     }
841
     .buttonone{
847
     .buttonone{
842
         /* position: absolute; */
848
         /* position: absolute; */
843
-        width: 30px;
849
+        flex: 1;
844
         height: 30px;
850
         height: 30px;
851
+        text-align: center;
845
         /* border: solid 1px red; */
852
         /* border: solid 1px red; */
846
-        margin-top: 5px;
847
-        margin-left: 50px;
848
-        display: inline-block;
853
+    }
854
+
855
+    .buttonone span {
856
+      display: block;
857
+      color: #909090;
849
     }
858
     }
850
 
859
 
851
     .buttontwo{
860
     .buttontwo{
893
     }
902
     }
894
    .kefont{
903
    .kefont{
895
      font-size: 14px;
904
      font-size: 14px;
896
-     color: red;
897
-     margin-left: 8px;
898
-     margin-top: -20px;
905
+     color: #4d4a4a;
906
+     margin-left: 18px;
907
+     margin-top: -25px;
908
+     font-weight: bold;
909
+     line-height: 25px;
899
   }
910
   }
900
 .more{
911
 .more{
901
   position: absolute;
912
   position: absolute;
917
      display: -webkit-box;
928
      display: -webkit-box;
918
     -webkit-line-clamp: 6;
929
     -webkit-line-clamp: 6;
919
     -webkit-box-orient: vertical; 
930
     -webkit-box-orient: vertical; 
920
-    margin-top: 5px;
921
-    margin-left: 5px;
931
+    padding: 10px 3% 10px 3%;
922
     /* border: solid 1px red; */
932
     /* border: solid 1px red; */
923
     overflow: hidden;
933
     overflow: hidden;
924
   }
934
   }
926
     .xcontent{
936
     .xcontent{
927
       height:auto!important; 
937
       height:auto!important; 
928
       min-height:200px;
938
       min-height:200px;
929
-      margin-top: 5px;
930
-      margin-left: 5px;
939
+      padding: 10px 3% 10px 3%;
931
       font-size: 14px;
940
       font-size: 14px;
932
       overflow: hidden;
941
       overflow: hidden;
933
       text-overflow: ellipsis;
942
       text-overflow: ellipsis;
1076
       position: relative;
1085
       position: relative;
1077
       width: 100%;
1086
       width: 100%;
1078
       height:100%;
1087
       height:100%;
1088
+      margin-top:20px;
1079
       /* border:solid 1px red;  */
1089
       /* border:solid 1px red;  */
1080
     }
1090
     }
1081
 
1091
 
1082
       .block{
1092
       .block{
1083
-      width: 70px;
1093
+      width: 25%;
1084
       display: inline-block;
1094
       display: inline-block;
1085
       /* border:solid 1px blue; */
1095
       /* border:solid 1px blue; */
1086
       height: 80px;
1096
       height: 80px;
1087
-      margin-left:15px;
1088
-      margin-right: 2px;
1089
       vertical-align: top;
1097
       vertical-align: top;
1090
-      margin-top: 5px;
1091
     }
1098
     }
1092
     .macimg{
1099
     .macimg{
1093
-      width: 46px;
1100
+      width: 100%;
1094
       height: 50px;
1101
       height: 50px;
1095
       /* border:solid 1px red; */
1102
       /* border:solid 1px red; */
1096
-      margin-top: 2px;
1097
       margin-bottom: 5px;
1103
       margin-bottom: 5px;
1098
-      margin-left: 30px;
1104
+      text-align: center;
1099
     }
1105
     }
1106
+    .macimg img{
1107
+      width: 50px;
1108
+      height: 50px;
1109
+    }
1110
+
1100
     #macimgtwo{
1111
     #macimgtwo{
1101
-      width:58px;
1112
+      width:100%;
1102
       height:18px;
1113
       height:18px;
1103
       font-size:14px;
1114
       font-size:14px;
1104
-      position:absolute;
1105
        /* overflow:hidden; */
1115
        /* overflow:hidden; */
1106
        /* border: solid 1px red; */
1116
        /* border: solid 1px red; */
1107
       text-align: center;
1117
       text-align: center;
1108
-      margin-left: 22px;
1109
     }
1118
     }
1110
 
1119
 
1111
     .showindex{
1120
     .showindex{