Browse Source

禾雅堂页面修改

yuwenjun1997 2 năm trước cách đây
mục cha
commit
fae1594132

+ 4 - 11
layouts/app-hyt.vue

@@ -86,8 +86,7 @@ export default {
       meta: [
       meta: [
         {
         {
           name: 'viewport',
           name: 'viewport',
-          content:
-            'width=device-width,initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no',
+          content: 'width=device-width,initial-scale=1.0,minimum-scale=1.0, maximum-scale=1.0, user-scalable=no',
         },
         },
       ],
       ],
     }
     }
@@ -135,11 +134,7 @@ export default {
       this.drawer = false
       this.drawer = false
       const hasLogin = this.$store.getters.accessToken
       const hasLogin = this.$store.getters.accessToken
       // 保存登录重定向路由
       // 保存登录重定向路由
-      this.$setStorage(
-        this.routePrefix,
-        'login_redicret',
-        this.routePrefix + item.path
-      )
+      this.$setStorage(this.routePrefix, 'login_redicret', this.routePrefix + item.path)
       if (item.id > 2 && !hasLogin) {
       if (item.id > 2 && !hasLogin) {
         this.$toast({ message: '请先登录', duration: 1000 })
         this.$toast({ message: '请先登录', duration: 1000 })
         this.formType = 'login'
         this.formType = 'login'
@@ -215,8 +210,7 @@ export default {
     // 个人中心
     // 个人中心
     onUserCenter() {
     onUserCenter() {
       // const path = `${this.routePrefix}/center`
       // const path = `${this.routePrefix}/center`
-      window.location.href =
-        window.location.origin + `${this.routePrefix}/center`
+      window.location.href = window.location.origin + `${this.routePrefix}/center`
     },
     },
 
 
     // 响应页面宽度变化
     // 响应页面宽度变化
@@ -573,8 +567,7 @@ export default {
           display: block;
           display: block;
           width: 5.6vw;
           width: 5.6vw;
           height: 5.6vw;
           height: 5.6vw;
-          background: url(~assets/theme-images/common/h5-icon-collapse.png)
-            no-repeat center;
+          background: url(~assets/theme-images/common/h5-icon-collapse.png) no-repeat center;
           background-size: 5.6vw;
           background-size: 5.6vw;
         }
         }
       }
       }

+ 11 - 24
pages/_template/hyt/center/club-detail.vue

@@ -63,10 +63,7 @@
         <div class="row block">
         <div class="row block">
           <div class="col label">医疗许可证:</div>
           <div class="col label">医疗许可证:</div>
           <div class="col content">
           <div class="col content">
-            <el-image
-              :src="clubInfo.medicalLicenseImage"
-              v-if="clubInfo.medicalLicenseImage"
-            ></el-image>
+            <el-image :src="clubInfo.medicalLicenseImage" v-if="clubInfo.medicalLicenseImage"></el-image>
           </div>
           </div>
         </div>
         </div>
         <div class="row">
         <div class="row">
@@ -81,12 +78,7 @@
         <SimpleAMap ref="aMap" :lnglat="lnglat" />
         <SimpleAMap ref="aMap" :lnglat="lnglat" />
         <div class="position-select-footer">
         <div class="position-select-footer">
           <div class="lnglat">当前经纬度:{{ clubInfo.lngAndLat }}</div>
           <div class="lnglat">当前经纬度:{{ clubInfo.lngAndLat }}</div>
-          <div
-            class="position-confirm postion-control"
-            @click="mapVisiable = false"
-          >
-            确定
-          </div>
+          <div class="position-confirm postion-control" @click="mapVisiable = false">确定</div>
         </div>
         </div>
       </div>
       </div>
     </div>
     </div>
@@ -110,15 +102,11 @@ export default {
     },
     },
     firstClubTypeName() {
     firstClubTypeName() {
       if (!this.clubInfo.firstClubType) return '其他'
       if (!this.clubInfo.firstClubType) return '其他'
-      return ['医美', '生美', '项目公司', '个人', '其他'][
-        this.clubInfo.firstClubType - 1
-      ]
+      return ['医美', '生美', '项目公司', '个人', '其他'][this.clubInfo.firstClubType - 1]
     },
     },
     secondClubTypeName() {
     secondClubTypeName() {
       if (!this.clubInfo.secondClubType) return '其他'
       if (!this.clubInfo.secondClubType) return '其他'
-      return ['诊所', '门诊', '医院', '其他', '美容院', '养生馆', '其他'][
-        this.clubInfo.secondClubType - 1
-      ]
+      return ['诊所', '门诊', '医院', '其他', '美容院', '养生馆', '其他'][this.clubInfo.secondClubType - 1]
     },
     },
     lnglat() {
     lnglat() {
       return this.clubInfo.lngAndLat ? this.clubInfo.lngAndLat.split(',') : null
       return this.clubInfo.lngAndLat ? this.clubInfo.lngAndLat.split(',') : null
@@ -159,6 +147,7 @@ export default {
   .page {
   .page {
     display: flex;
     display: flex;
     justify-content: center;
     justify-content: center;
+    background: #fff;
   }
   }
 
 
   .position-select {
   .position-select {
@@ -223,8 +212,8 @@ export default {
   }
   }
 
 
   .page-content {
   .page-content {
-    max-width: 760px;
-    padding-bottom: 167px;
+    max-width: 800px;
+    padding-bottom: 120px;
     .title {
     .title {
       font-size: 24px;
       font-size: 24px;
       color: #282828;
       color: #282828;
@@ -244,7 +233,7 @@ export default {
     .btn {
     .btn {
       width: 98px;
       width: 98px;
       height: 36px;
       height: 36px;
-      background: #BC1724;
+      background: #bc1724;
       border-radius: 4px;
       border-radius: 4px;
       text-align: center;
       text-align: center;
       line-height: 36px;
       line-height: 36px;
@@ -298,8 +287,7 @@ export default {
             display: inline-block;
             display: inline-block;
             width: 16px;
             width: 16px;
             height: 16px;
             height: 16px;
-            background: url(~assets/theme-images/common/icon-position.png)
-              no-repeat center;
+            background: url(~assets/theme-images/common/icon-position.png) no-repeat center;
             background-size: 16px 16px;
             background-size: 16px 16px;
           }
           }
         }
         }
@@ -396,7 +384,7 @@ export default {
     .btn {
     .btn {
       width: 36vw;
       width: 36vw;
       height: 8.8vw;
       height: 8.8vw;
-      background: #BC1724;
+      background: #bc1724;
       border-radius: 0.4vw;
       border-radius: 0.4vw;
       text-align: center;
       text-align: center;
       line-height: 8.8vw;
       line-height: 8.8vw;
@@ -456,8 +444,7 @@ export default {
             display: inline-block;
             display: inline-block;
             width: 3.58vw;
             width: 3.58vw;
             height: 3.58vw;
             height: 3.58vw;
-            background: url(~assets/theme-images/common/icon-position.png)
-              no-repeat center;
+            background: url(~assets/theme-images/common/icon-position.png) no-repeat center;
             background-size: 3.58vw;
             background-size: 3.58vw;
           }
           }
         }
         }