dingdong-master/pages/my/account-security.vue

37 lines
660 B
Vue

<template>
<view>
<!-- 顶部操作条 -->
<cu-custom :bgColor="'bg-main-color'" :isBack="true">
<block slot="backText">返回</block>
<block slot="content">帐号安全</block>
</cu-custom>
<view class="margin-top-sm bg-white">
<view class="cu-form-group">
<view class="title">绑定手机</view>
<view>{{curUserInfo.phone}}</view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
curUserInfo: {}
}
},
onLoad() {
this.loadData();
},
methods: {
async loadData() {
this.curUserInfo = await this.$request.getCurUserNoCache();
}
},
}
</script>
<style>
</style>