uu
This commit is contained in:
parent
8b0b21b06a
commit
ff21084fc0
@ -57,6 +57,12 @@
|
|||||||
"navigationBarTitleText": "专属二维码"
|
"navigationBarTitleText": "专属二维码"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"path": "pages/user/updatePassword",
|
||||||
|
"style": {
|
||||||
|
"navigationBarTitleText": "修改密码"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/user/withdraw",
|
"path": "pages/user/withdraw",
|
||||||
"style": {
|
"style": {
|
||||||
|
|||||||
@ -63,7 +63,7 @@
|
|||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="blk-mdl">
|
<view class="blk-mdl">
|
||||||
<u-row custom-style="padding: 30rpx;" justify="between">
|
<u-row @click="handleCheckAppVersion" custom-style="padding: 30rpx;" justify="between">
|
||||||
<u-row>
|
<u-row>
|
||||||
<u-image :src="getCdnUrl(`mine/banbenup.png`)" height="34" width="34"></u-image>
|
<u-image :src="getCdnUrl(`mine/banbenup.png`)" height="34" width="34"></u-image>
|
||||||
<u-text margin="0 0 0 30rpx" text="版本更新" size="28" color="#333"></u-text>
|
<u-text margin="0 0 0 30rpx" text="版本更新" size="28" color="#333"></u-text>
|
||||||
@ -74,7 +74,7 @@
|
|||||||
</u-row>
|
</u-row>
|
||||||
</u-row>
|
</u-row>
|
||||||
<u-line></u-line>
|
<u-line></u-line>
|
||||||
<u-row custom-style="padding: 30rpx;" justify="between">
|
<u-row @click="handleClearCache()" custom-style="padding: 30rpx;" justify="between">
|
||||||
<u-row>
|
<u-row>
|
||||||
<u-image :src="getCdnUrl(`mine/qingchu.png`)" height="34" width="34"></u-image>
|
<u-image :src="getCdnUrl(`mine/qingchu.png`)" height="34" width="34"></u-image>
|
||||||
<u-text margin="0 0 0 30rpx" text="清空本地缓存" size="28" color="#333"></u-text>
|
<u-text margin="0 0 0 30rpx" text="清空本地缓存" size="28" color="#333"></u-text>
|
||||||
@ -94,7 +94,7 @@
|
|||||||
</u-row>
|
</u-row>
|
||||||
</u-row>
|
</u-row>
|
||||||
<u-line></u-line>
|
<u-line></u-line>
|
||||||
<u-row custom-style="padding: 30rpx;" justify="between">
|
<u-row @click="goto(`user/updatePassword`)" custom-style="padding: 30rpx;" justify="between">
|
||||||
<u-row>
|
<u-row>
|
||||||
<u-image :src="getCdnUrl(`mine/xiumima.png`)" height="34" width="34"></u-image>
|
<u-image :src="getCdnUrl(`mine/xiumima.png`)" height="34" width="34"></u-image>
|
||||||
<u-text margin="0 0 0 30rpx" text="修改密码" size="28" color="#333"></u-text>
|
<u-text margin="0 0 0 30rpx" text="修改密码" size="28" color="#333"></u-text>
|
||||||
@ -165,6 +165,13 @@
|
|||||||
async handleUnlogin() {
|
async handleUnlogin() {
|
||||||
await this.$store.dispatch(USERKEY.LOGOUT)
|
await this.$store.dispatch(USERKEY.LOGOUT)
|
||||||
this.goto(`login/login`, 2)
|
this.goto(`login/login`, 2)
|
||||||
|
},
|
||||||
|
handleCheckAppVersion() {
|
||||||
|
// TODO
|
||||||
|
},
|
||||||
|
handleClearCache() {
|
||||||
|
// TODO
|
||||||
|
this.showToast('清除成功')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
96
pages/user/updatePassword.vue
Normal file
96
pages/user/updatePassword.vue
Normal file
@ -0,0 +1,96 @@
|
|||||||
|
<template>
|
||||||
|
<tpx-page>
|
||||||
|
<tpx-layout>
|
||||||
|
<template v-slot:body>
|
||||||
|
<view class="com-jianju pos-rlt pb-30" style="padding-top: 2rpx;">
|
||||||
|
|
||||||
|
<view class="blcok-white radius-20">
|
||||||
|
<view class="">
|
||||||
|
|
||||||
|
<view class="">
|
||||||
|
<tpx-input type="password" v-model:value="submitParam.postCode" placeholder="原密码"></tpx-input>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="mt-30">
|
||||||
|
<tpx-input type="password" v-model:value="submitParam.postCode" placeholder="新密码"></tpx-input>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="mt-30">
|
||||||
|
<tpx-input type="password" v-model:value="submitParam.postCode" placeholder="新确认密码"></tpx-input>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
<template v-slot:footer>
|
||||||
|
<view class="blcok-white-noradius">
|
||||||
|
<u-button @click="handleSubmit()" type="primary" size="large" shape="circle"
|
||||||
|
custom-style="height:80rpx;font-size: 30rpx;"
|
||||||
|
>确定</u-button>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
</tpx-layout>
|
||||||
|
</tpx-page>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import * as apiService from "@/common/api"
|
||||||
|
import { addressNameCodeMap } from "@/common/enum"
|
||||||
|
import { getAddressDetail, setAddresModalParam } from "@/common/util"
|
||||||
|
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
queryOption: {
|
||||||
|
|
||||||
|
},
|
||||||
|
submitParam: {
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onShareAppMessage() {
|
||||||
|
return {
|
||||||
|
// title: '',
|
||||||
|
// path: 'TODO'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onLoad(queryOption) {
|
||||||
|
this.queryOption = queryOption
|
||||||
|
this.initData();
|
||||||
|
},
|
||||||
|
onUnload() {
|
||||||
|
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
getAddressDetail,
|
||||||
|
async initData() {
|
||||||
|
|
||||||
|
},
|
||||||
|
async handleSubmit() {
|
||||||
|
let params = { ...this.submitParam }
|
||||||
|
await apiService.TODO()
|
||||||
|
this.showToast("操作成功")
|
||||||
|
this.goBack()
|
||||||
|
},
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
@import '@/common/uni-nvue.scss';
|
||||||
|
|
||||||
|
page {
|
||||||
|
background-color: #F6F6F6;
|
||||||
|
height: 100% !important;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
<style scoped lang="scss">
|
||||||
|
|
||||||
|
</style>
|
||||||
Loading…
Reference in New Issue
Block a user