93 lines
1.8 KiB
Vue
93 lines
1.8 KiB
Vue
<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"
|
|
|
|
export default {
|
|
props: {
|
|
},
|
|
computed: {
|
|
|
|
},
|
|
data() {
|
|
return {
|
|
queryOption: {
|
|
|
|
},
|
|
submitParam: {
|
|
|
|
}
|
|
}
|
|
},
|
|
onShareAppMessage() {
|
|
return {
|
|
// title: '',
|
|
// path: 'TODO'
|
|
}
|
|
},
|
|
onLoad(queryOption) {
|
|
this.queryOption = queryOption
|
|
this.initData();
|
|
},
|
|
onUnload() {
|
|
|
|
},
|
|
methods: {
|
|
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> |