iot-ui-app/pages/my/personal-data.vue

82 lines
1.5 KiB
Vue
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view id="personal-data">
<nav-bar :is-back="true" title="个人资料"></nav-bar>
<view class="list-box">
<view class="item">
<view class="item-left">
<text>用户账号</text>
</view>
<text>{{infoData.userName}}</text>
</view>
<view class="item">
<view class="item-left">
<text>手机号码</text>
</view>
<text>{{infoData.phonenumber}}</text>
</view>
<view class="item">
<view class="item-left">
<text>公司名称</text>
</view>
<text>中海创科技福建集团有限公司</text>
</view>
<view class="item">
<view class="item-left">
<text>邮箱</text>
</view>
<text>{{infoData.email}}</text>
</view>
</view>
</view>
</template>
<script>
import NavBar from '@/common/components/navbar/NavBar.vue'
export default {
data() {
return {
infoData:{},
}
},
components: {
NavBar
},
onLoad() {
this.infoData = uni.getStorageSync('info');
},
onShow() {
},
methods: {
}
}
</script>
<style scoped lang="less">
#personal-data{
.list-box{
padding: 0 20rpx;
.item{
padding: 0 12rpx;
height: 100rpx;
border-bottom: 1px solid #E5E5E5;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 28rpx;
.item-left{
box-sizing: border-box;
// width: 294rpx;
display: flex;
align-items: center;
color: #666;
}
>text{
color: #444;
}
}
}
}
</style>