Browse Source

隐藏图标

yuanyuan 3 years ago
parent
commit
e565ea35d0
2 changed files with 4 additions and 7 deletions
  1. 2 5
      src/views/Mine.vue
  2. 2 2
      src/views/account/Security.vue

+ 2 - 5
src/views/Mine.vue

@@ -15,21 +15,18 @@
                 fit="cover"
                 class="top-img"
             />
-            <template v-if="publishShow">
+            <!-- <template v-if="publishShow">
                 <div class="yinsi" v-if="userInfo.isPublicShow" @click="turnOffPrivacy = true">
                     <img src="@assets/icon-kaiqiyinsi@3x.png" alt="" />
-                    <!-- <span>开启隐私</span> -->
                 </div>
                 <div class="yinsi" v-else @click="turnPrivacy = true">
                     <img src="@assets/icon-guanbiyinsi@3x.png" alt="" />
-                    <!-- <span>关闭隐私</span> -->
                 </div>
             </template>
 
             <div class="edit-btn" @click="$router.push('/setting')">
                 <img src="../assets/icon-bi@3x.png" alt="" />
-                <!-- <span>编辑</span> -->
-            </div>
+            </div> -->
             <div class="userInfo-content">
                 <div class="userInfo-top">
                     <van-image

+ 2 - 2
src/views/account/Security.vue

@@ -225,7 +225,7 @@ export default {
         display: flex;
         justify-content: space-between;
         .wrapper_btn_left {
-            width: calc(50vw - 83.5px);
+            width: calc(50vw - 26.5px);
             height: 38px;
             border-radius: 22px;
             border: 1px solid #939599;
@@ -238,7 +238,7 @@ export default {
             text-align: center;
         }
         .wrapper_btn_right {
-            width: calc(50vw - 83.5px);
+            width: calc(50vw - 26.5px);
             height: 38px;
             background: #3ab200;
             border-radius: 22px;