oil-station/gasStation-uni/pagesMy/setup/index.vue
2023-11-27 09:24:16 +08:00

116 lines
2.2 KiB
Vue

<template>
<view class="content">
<view class="container">
<view class="my-header">
<view class="my-icons" @click="goback"> <uni-icons type="left" size="16"></uni-icons> </view>
<view class="my-text">设置</view>
<view class="my-icons"></view>
</view>
<!-- 顶部区域 -->
<view class="box-hang">
<view class="">头像</view>
<view class="touxiang"></view>
</view>
<view class="box-hang">
<view class="">昵称</view>
<view class="dis"> <text>修改昵称</text> <uni-icons type="right" size="16"></uni-icons> </view>
</view>
<view class="box-hang">
<view class="">手机号</view>
<view class="dis"> <text></text> <uni-icons type="right" size="16"></uni-icons> </view>
</view>
<view class="box-hang">
<view class="">会员卡号</view>
<view class="dis"> <text></text> <uni-icons type="right" size="16"></uni-icons> </view>
</view>
<view class="box-hang">
<view class="">车牌号</view>
<view class="dis"> <text></text> <uni-icons type="right" size="16"></uni-icons> </view>
</view>
<view class="box-hang">
<view class="">支付密码</view>
<view class="dis"> <text></text> <uni-icons type="right" size="16"></uni-icons> </view>
</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
title: '',
}
},
components: {
},
methods: {
goback() {
uni.navigateBack()
}
}
}
</script>
<style scoped lang="scss">
.content {
background: #f4f5f6;
}
.container {
width: 100%;
height: 100vh;
box-sizing: border-box;
padding-top: 88px;
}
.my-header {
width: 100%;
height: 88px;
background: #ffffff;
display: flex;
align-items: center;
justify-content: space-between;
color: #000;
box-sizing: border-box;
padding: 0px 15px;
padding-top: 40px;
.my-icons {
width: 20px;
}
position: fixed;
top: 0px;
}
.box-hang {
background-color: white;
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 15px 10px;
border-bottom: 1px solid #f4f5f6;
}
.touxiang {
width: 45px;
height: 45px;
border-radius: 50%;
overflow: hidden;
background-color: #f4f5f6;
}
.dis {
color: #a69999;
}
</style>