张保健 5 lat temu
rodzic
commit
3af23c970d
1 zmienionych plików z 60 dodań i 51 usunięć
  1. 60 51
      src/scrm_pages/micro/micro.vue

+ 60 - 51
src/scrm_pages/micro/micro.vue Wyświetl plik

@@ -16,22 +16,22 @@
16 16
                        </div> 
17 17
                        <!-- 医院介绍 -->
18 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 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 24
                            <span v-html="item.Hospitals.introduction" id="content" ></span>
25 25
                           </div>   
26 26
                            <div class="box"></div>                                                       
27 27
                        </div>                   
28 28
                     <!-- 科室介绍 -->
29 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 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 35
                           <span  v-html="item.Offices.introduction" id="ycontent"></span>
36 36
                        </div>
37 37
                        <div class="box"></div>
@@ -39,10 +39,10 @@
39 39
                     
40 40
                       <!-- 名医介绍 -->
41 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 46
                                 <div class="docborde">
47 47
                                  <div class="docheart" v-for="doc in item.Editdoctor" :key="doc.id">
48 48
                                    <div class="docimage">
@@ -57,10 +57,10 @@
57 57
 
58 58
                         <!-- 科室环境 -->
59 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 64
                             <div class="swiperimages">
65 65
                                <div class="swiper-container swiperthree" >
66 66
                                  <div class="swiper-wrapper" id="wrappert" >
@@ -75,10 +75,10 @@
75 75
 
76 76
                      <!--文章列表 -->
77 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 82
                               <div class="actilist" v-for="it in Articlelist" :key="it.id">
83 83
                                <div class="acthead">
84 84
                                    <img :src="it.imgs" style="width:80px;height:80px">
@@ -93,10 +93,10 @@
93 93
 
94 94
                           <!-- 活动列表 -->
95 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 100
                              <div class="actilist" v-for="it in Activitieslist" :key="it.id">
101 101
                                <div class="acthead">
102 102
                                    <img :src="it.poster_photo" style="width:80px;height:80px">
@@ -116,7 +116,7 @@
116 116
                                <div v-if="item.mode_type== 8" class="modeeight">  
117 117
                                  <div class="block" v-for="it in item.Editmargin" :key="it.id" @click="NavigationClick(it.margtitle,it.marginaddress,it.user_org_id)">
118 118
                                     <div class="macimg">
119
-                                      <img :src="it.margimage" style="width:100%;height:100%">
119
+                                      <img :src="it.margimage" >
120 120
                                     </div>
121 121
                                     <div id="macimgtwo">
122 122
                                        <!-- <span>{{it.margtitle}}</span> -->
@@ -130,11 +130,11 @@
130 130
              </div>
131 131
          </div>
132 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 139
        <div class="scroll" v-show="docshow" id="targetthree">
140 140
            <div class="docone" v-for="item in this.editdocfrom" :key="item.id" @click="singleDoctorInfo(item.id,item.user_org_id)">
@@ -305,6 +305,7 @@
305 305
       <div class="button">
306 306
           <div class="buttonone" v-for="item in this.navigationdata" :key="item.id">
307 307
              <img :src="item.navimages" style="width:30px; height:30px" @click="callPhone(item.navtitle,item.navaddress)">
308
+             <span>{{item.navtitle}}</span>
308 309
           </div>
309 310
            <!-- <div class="buttonone">
310 311
              <img src="static/images/u309.png" style="width:30px; height:30px">
@@ -500,7 +501,9 @@
500 501
         if(title == "首页"){
501 502
           this.modelshow = true
502 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 509
         if(title == "联系我们"){  
@@ -832,20 +835,26 @@
832 835
     .button{
833 836
        position: fixed;
834 837
        width: 100%;
835
-       height: 40px; 
838
+       height: 60px; 
839
+       padding: 5px 4%;
836 840
        /* border: solid 1px red; */
837 841
        background-color:white;
838 842
        z-index: 999999;
839 843
        bottom: 0px;  
844
+       display: flex;
845
+       border-top:solid 1px #efefef;
840 846
     }
841 847
     .buttonone{
842 848
         /* position: absolute; */
843
-        width: 30px;
849
+        flex: 1;
844 850
         height: 30px;
851
+        text-align: center;
845 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 860
     .buttontwo{
@@ -893,9 +902,11 @@
893 902
     }
894 903
    .kefont{
895 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 911
 .more{
901 912
   position: absolute;
@@ -917,8 +928,7 @@
917 928
      display: -webkit-box;
918 929
     -webkit-line-clamp: 6;
919 930
     -webkit-box-orient: vertical; 
920
-    margin-top: 5px;
921
-    margin-left: 5px;
931
+    padding: 10px 3% 10px 3%;
922 932
     /* border: solid 1px red; */
923 933
     overflow: hidden;
924 934
   }
@@ -926,8 +936,7 @@
926 936
     .xcontent{
927 937
       height:auto!important; 
928 938
       min-height:200px;
929
-      margin-top: 5px;
930
-      margin-left: 5px;
939
+      padding: 10px 3% 10px 3%;
931 940
       font-size: 14px;
932 941
       overflow: hidden;
933 942
       text-overflow: ellipsis;
@@ -1076,36 +1085,36 @@
1076 1085
       position: relative;
1077 1086
       width: 100%;
1078 1087
       height:100%;
1088
+      margin-top:20px;
1079 1089
       /* border:solid 1px red;  */
1080 1090
     }
1081 1091
 
1082 1092
       .block{
1083
-      width: 70px;
1093
+      width: 25%;
1084 1094
       display: inline-block;
1085 1095
       /* border:solid 1px blue; */
1086 1096
       height: 80px;
1087
-      margin-left:15px;
1088
-      margin-right: 2px;
1089 1097
       vertical-align: top;
1090
-      margin-top: 5px;
1091 1098
     }
1092 1099
     .macimg{
1093
-      width: 46px;
1100
+      width: 100%;
1094 1101
       height: 50px;
1095 1102
       /* border:solid 1px red; */
1096
-      margin-top: 2px;
1097 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 1111
     #macimgtwo{
1101
-      width:58px;
1112
+      width:100%;
1102 1113
       height:18px;
1103 1114
       font-size:14px;
1104
-      position:absolute;
1105 1115
        /* overflow:hidden; */
1106 1116
        /* border: solid 1px red; */
1107 1117
       text-align: center;
1108
-      margin-left: 22px;
1109 1118
     }
1110 1119
 
1111 1120
     .showindex{