70 lines
1.7 KiB
Vue
70 lines
1.7 KiB
Vue
<template>
|
|
<view>
|
|
<view class="u-m-t-34">
|
|
<view class="row-center">
|
|
<u-avatar :src="cloudPath + 'img/icon_avatar.png'" mode="square" size="142"></u-avatar>
|
|
</view>
|
|
<view class="nr text-default u-text-center u-m-t-16">
|
|
点击更换头像
|
|
</view>
|
|
</view>
|
|
|
|
<view class=" u-m-l-62 u-m-r-62">
|
|
<view class="nr row-between u-col-center u-m-t-48">
|
|
<view>昵称</view>
|
|
<view class="flex1 u-m-l-80 row u-row-between u-col-center">
|
|
<view>杨阳洋</view>
|
|
<view>
|
|
<u-image :src="cloudPath + 'img/icon_arrow_right.png'" width="44" height="44"></u-image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="nr row-between u-col-center u-m-t-48">
|
|
<view>手机号</view>
|
|
<view class="flex1 u-m-l-80 row u-row-between u-col-center">
|
|
<view>{{formatPhone()}}</view>
|
|
<view>
|
|
<u-image :src="cloudPath + 'img/icon_arrow_right.png'" width="44" height="44"></u-image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="fixed left-0 right-0 save">
|
|
<u-button @click="mpLogin" hover-class="none" :customStyle="{backgroundColor: themeColor, color: '#fff', border: 'none', padding: '16rpx 0'}" :hair-line="false" shape="circle">保存</u-button>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
formatPhone() {
|
|
const phone = '15005837859'
|
|
return phone.substring(0, 3) + '****' + phone.substring(7);
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
page{
|
|
background-color: #fff;
|
|
}
|
|
|
|
.save {
|
|
bottom: calc(52rpx + env(safe-area-inset-bottom));
|
|
height: 76rpx;
|
|
background-color: #212526;
|
|
color: #fff;
|
|
border-radius: 100rpx;
|
|
margin: 0 64rpx;
|
|
}
|
|
</style> |