freight-web/src/pages/profile/baseinfo.vue

37 lines
830 B
Vue
Raw Normal View History

2024-03-04 07:10:11 +00:00
<template>
<view class="baseinfo">
<view class="box">
<view> 用户名 {{ profile.userName }} </view>
<view> 手机号码 {{ profile.phone }} </view>
</view>
</view>
</template>
<script setup lang="ts">
import { useMemberStore } from '@/store/index'
const store = useMemberStore()
const profile = store.profile.userInfo
</script>
<style lang="scss">
.baseinfo {
background: #f8f8f8;
height: 100vh;
padding: 26.28rpx 25.64rpx;
.box {
padding: 0rpx 18.59rpx;
background: #ffffff;
box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(5, 68, 37, 0.12);
border-radius: 13rpx;
font-size: 27rpx;
font-family: Source Han Sans CN;
font-weight: 400;
color: #000000;
> view {
line-height: 80rpx;
}
view+view {
border-top: 1px solid #E9E9E9;
}
}
}
</style>