Pārlūkot izejas kodu

Merge branch 'master' of http://git.shengws.com/xmg123/micro_vue

xiaoming_global 5 gadus atpakaļ
vecāks
revīzija
a85741ff15
1 mainītis faili ar 60 papildinājumiem un 51 dzēšanām
  1. 60 51
      src/scrm_pages/micro/micro.vue

+ 60 - 51
src/scrm_pages/micro/micro.vue Parādīt failu

@@ -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 == "联系我们"){  
@@ -836,20 +839,26 @@
836 839
     .button{
837 840
        position: fixed;
838 841
        width: 100%;
839
-       height: 40px; 
842
+       height: 60px; 
843
+       padding: 5px 4%;
840 844
        /* border: solid 1px red; */
841 845
        background-color:white;
842 846
        z-index: 999999;
843 847
        bottom: 0px;  
848
+       display: flex;
849
+       border-top:solid 1px #efefef;
844 850
     }
845 851
     .buttonone{
846 852
         /* position: absolute; */
847
-        width: 30px;
853
+        flex: 1;
848 854
         height: 30px;
855
+        text-align: center;
849 856
         /* border: solid 1px red; */
850
-        margin-top: 5px;
851
-        margin-left: 50px;
852
-        display: inline-block;
857
+    }
858
+
859
+    .buttonone span {
860
+      display: block;
861
+      color: #909090;
853 862
     }
854 863
 
855 864
     .buttontwo{
@@ -897,9 +906,11 @@
897 906
     }
898 907
    .kefont{
899 908
      font-size: 14px;
900
-     color: red;
901
-     margin-left: 8px;
902
-     margin-top: -20px;
909
+     color: #4d4a4a;
910
+     margin-left: 18px;
911
+     margin-top: -25px;
912
+     font-weight: bold;
913
+     line-height: 25px;
903 914
   }
904 915
 .more{
905 916
   position: absolute;
@@ -921,8 +932,7 @@
921 932
      display: -webkit-box;
922 933
     -webkit-line-clamp: 6;
923 934
     -webkit-box-orient: vertical; 
924
-    margin-top: 5px;
925
-    margin-left: 5px;
935
+    padding: 10px 3% 10px 3%;
926 936
     /* border: solid 1px red; */
927 937
     overflow: hidden;
928 938
   }
@@ -930,8 +940,7 @@
930 940
     .xcontent{
931 941
       height:auto!important; 
932 942
       min-height:200px;
933
-      margin-top: 5px;
934
-      margin-left: 5px;
943
+      padding: 10px 3% 10px 3%;
935 944
       font-size: 14px;
936 945
       overflow: hidden;
937 946
       text-overflow: ellipsis;
@@ -1080,36 +1089,36 @@
1080 1089
       position: relative;
1081 1090
       width: 100%;
1082 1091
       height:100%;
1092
+      margin-top:20px;
1083 1093
       /* border:solid 1px red;  */
1084 1094
     }
1085 1095
 
1086 1096
       .block{
1087
-      width: 70px;
1097
+      width: 25%;
1088 1098
       display: inline-block;
1089 1099
       /* border:solid 1px blue; */
1090 1100
       height: 80px;
1091
-      margin-left:15px;
1092
-      margin-right: 2px;
1093 1101
       vertical-align: top;
1094
-      margin-top: 5px;
1095 1102
     }
1096 1103
     .macimg{
1097
-      width: 46px;
1104
+      width: 100%;
1098 1105
       height: 50px;
1099 1106
       /* border:solid 1px red; */
1100
-      margin-top: 2px;
1101 1107
       margin-bottom: 5px;
1102
-      margin-left: 30px;
1108
+      text-align: center;
1103 1109
     }
1110
+    .macimg img{
1111
+      width: 50px;
1112
+      height: 50px;
1113
+    }
1114
+
1104 1115
     #macimgtwo{
1105
-      width:58px;
1116
+      width:100%;
1106 1117
       height:18px;
1107 1118
       font-size:14px;
1108
-      position:absolute;
1109 1119
        /* overflow:hidden; */
1110 1120
        /* border: solid 1px red; */
1111 1121
       text-align: center;
1112
-      margin-left: 22px;
1113 1122
     }
1114 1123
 
1115 1124
     .showindex{