main
liudan 1 year ago
parent 8feb7a4f5e
commit 83392f9c37
  1. 4
      manifest.json
  2. 12
      pages/user/info.vue

@ -2,8 +2,8 @@
"name" : "蓝鲸鲜森",
"appid" : "__UNI__EDA2611",
"description" : "蓝鲸鲜森",
"versionName" : "1.6.0",
"versionCode" : 160,
"versionName" : "1.8.0",
"versionCode" : 180,
"transformPx" : false,
"app-plus" : {
"optimization" : {

@ -77,6 +77,9 @@
<button hover-class="hover-logout-btn" class="u-reset-button logout-btn" @tap="showModal = true">
退出登录
</button>
<button hover-class="hover-logout-btn" class="u-reset-button logout-btn" @tap="logoutShow=true">
注销账号
</button>
</view>
</view>
@ -96,6 +99,9 @@
<!-- modal -->
<u-modal ref="uModal" v-model="showModal" :show-cancel-button="true" confirm-color="#F54141"
cancel-color="#666666" @confirm="confirmLogOut" content="确定退出登录?"></u-modal>
<u-modal ref="uModal" v-model="logoutShow" :show-cancel-button="true" confirm-color="#F54141"
cancel-color="#666666" @confirm="logoutHandle" content="确定注销账号?"></u-modal>
<u-modal v-model="show" content="申请已提交等待审核" :show-cancel-button="false" @confirm="show=false"></u-modal>
</view>
</template>
@ -112,6 +118,8 @@ export default {
userData: {},
showCalendar: false,
showModal: false,
show:false,
logoutShow:false,
editInfoDisabled: true,
thirdOauthInfo: null //
};
@ -130,6 +138,10 @@ export default {
this.userData.birthday = `${e.year}-${e.month}-${e.day}`;
this.editInfoDisabled = this.userData.birthday == this.userInfo.birthday;
},
//
logoutHandle(){
this.show = true;
},
//
changePwd() {
this.showAuthModal("changePwd");

Loading…
Cancel
Save