xiebaomin 2 năm trước cách đây
mục cha
commit
dd986e574e
1 tập tin đã thay đổi với 40 bổ sung0 xóa
  1. 40 0
      pages/_template/ross/center/club-detail.vue

+ 40 - 0
pages/_template/ross/center/club-detail.vue

@@ -3,6 +3,9 @@
     <div class="page-top"></div>
     <div class="page-content">
       <div class="title">机构认证信息</div>
+      <div class="updated">
+        <el-button type="text" size="default" @click="editData">{{status ? '修改': '保存'}}</el-button>
+      </div>
       <template v-if="!isAuth">
         <div class="tip">抱歉,您暂未认证机构</div>
         <div class="btn" @click="toAuth">去认证</div>
@@ -101,6 +104,8 @@ export default {
     return {
       mapVisiable: false,
       clubInfo: {},
+      status: true,
+      clubData: {},
     }
   },
   computed: {
@@ -150,6 +155,11 @@ export default {
         this.$refs.aMap.init()
       })
     },
+    // 修该数据
+    editData () {
+      this.status = !this.status
+      if(!this.status) {}
+    }
   },
 }
 </script>
@@ -159,6 +169,7 @@ export default {
   .page {
     display: flex;
     justify-content: center;
+    position:relative;
   }
 
   .position-select {
@@ -225,6 +236,20 @@ export default {
   .page-content {
     max-width: 760px;
     padding-bottom: 167px;
+    .updated{
+      position: absolute;
+      top: 50px;
+      right:200px;
+      display:flex;
+      justify-center:center;
+      align-items:center;
+      ::v-deep .el-button--text {
+      color: blue;
+        font-size:24px;
+      }
+      ::v-deep .el-button--text::hover{
+      }
+    }
     .title {
       font-size: 24px;
       color: #282828;
@@ -311,6 +336,7 @@ export default {
 @media screen and (max-width: 768px) {
   .page {
     display: flex;
+    position:relative;
     justify-content: center;
   }
 
@@ -377,6 +403,20 @@ export default {
 
   .page-content {
     padding: 0 4vw;
+    .updated{
+      position: absolute;
+      top: 5vw;
+      right:4vw;
+      display:flex;
+      justify-center:center;
+      align-items:center;
+      ::v-deep .el-button--text {
+      color: blue;
+        font-size:4.2vw;
+      }
+      ::v-deep .el-button--text::hover{
+      }
+    }
     .title {
       font-size: 4.2vw;
       color: #282828;