Ver Fonte

修改密码隐藏

Xiao_123 há 1 ano atrás
pai
commit
bce78fcbba

+ 2 - 2
pages/user/info.vue

@@ -88,7 +88,7 @@
           </uni-easyinput>
         </uni-forms-item>
 
-        <uni-forms-item name="password" label="登录密码" @tap="onSetPassword">
+        <!-- <uni-forms-item name="password" label="登录密码" @tap="onSetPassword">
           <uni-easyinput
             v-model="userInfo.password"
             placeholder="点击修改登录密码"
@@ -111,7 +111,7 @@
               </view>
             </template>
           </uni-easyinput>
-        </uni-forms-item>
+        </uni-forms-item> -->
       </view>
 
       <view class="bg-white ss-m-t-14">

+ 2 - 2
sheep/components/s-auth-modal/components/account-login.vue

@@ -24,9 +24,9 @@
       <uni-forms-item name="phone" label="账号">
         <uni-easyinput placeholder="请输入账号" v-model="state.model.phone" :inputBorder="false">
           <template v-slot:right>
-            <button class="ss-reset-button forgot-btn" @tap="showAuthModal('resetPassword')">
+            <!-- <button class="ss-reset-button forgot-btn" @tap="showAuthModal('resetPassword')">
               忘记密码
-            </button>
+            </button> -->
           </template>
         </uni-easyinput>
       </uni-forms-item>

+ 4 - 4
sheep/components/s-auth-modal/s-auth-modal.vue

@@ -13,13 +13,13 @@
       <sms-login v-if="authType === 'smsLogin'" :agreeStatus="state.protocol" @onConfirm="onConfirm" />
 
       <!-- 3. 忘记密码 resetPassword-->
-      <reset-password v-if="authType === 'resetPassword'" />
+      <!-- <reset-password v-if="authType === 'resetPassword'" /> -->
 
       <!-- 4. 绑定手机号 changeMobile -->
       <change-mobile v-if="authType === 'changeMobile'" />
 
       <!-- 5. 修改密码 changePassword-->
-      <changePassword v-if="authType === 'changePassword'" />
+      <!-- <changePassword v-if="authType === 'changePassword'" /> -->
 
       <!-- 6. 微信小程序授权 -->
       <mp-authorization v-if="authType === 'mpAuthorization'" />
@@ -101,9 +101,9 @@
   import sheep from '@/sheep';
   import accountLogin from './components/account-login.vue';
   import smsLogin from './components/sms-login.vue';
-  import resetPassword from './components/reset-password.vue';
+  // import resetPassword from './components/reset-password.vue';
   import changeMobile from './components/change-mobile.vue';
-  import changePassword from './components/change-password.vue';
+  // import changePassword from './components/change-password.vue';
   import mpAuthorization from './components/mp-authorization.vue';
   import { closeAuthModal, showAuthModal } from '@/sheep/hooks/useModal';