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

37 lines
830 B
Vue
Raw 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 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>