| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149 |
- <template>
- <bgImg />
- <view class="header">
- <view class="personal">
- <view class="picture">
- {{ userInfo?.realName }}
- </view>
- <view class="center">
- <view class="classname">{{ userInfo?.realName }}</view>
- <text class="text">岗位:{{ userInfo?.post }}</text>
- </view>
- <view style="margin-right: 18rpx;">
- <up-icon name="arrow-right" size="15"></up-icon>
- </view>
- </view>
- </view>
- <view class="content">
- <view class="cell">
- <view class="box">
- <image class="img" src="@/static/我的客户.png" mode=""></image>
- <text>我的客户</text>
- </view>
- <view style="margin-right: 18rpx;">
- <up-icon name="arrow-right" size="15"></up-icon>
- </view>
- </view>
- <view class="cell">
- <view class="box">
- <image class="img" src="@/static/SVG/意见反馈.svg" mode=""></image>
- <text>问题&建议</text>
- </view>
- <view style="margin-right: 18rpx;">
- <up-icon name="arrow-right" size="15"></up-icon>
- </view>
- </view>
- <view class="cell">
- <view class="box">
- <image class="img" src="@/static/SVG/设置.svg" mode=""></image>
- <text>设置</text>
- </view>
- <view style="margin-right: 18rpx;">
- <up-icon name="arrow-right" size="15"></up-icon>
- </view>
- </view>
- </view>
- </template>
- <script setup>
- import {
- ref,
- getCurrentInstance,
- reactive
- } from 'vue';
- import {
- onReady,
- onShow
- } from '@dcloudio/uni-app'
- const customStyle = reactive({
- padding: '10rpx 0',
- borderBottom: "2rpx solid #ecedef"
- })
- const userInfo = reactive(uni.getStorageSync('userInfo'))
- </script>
- <style lang="scss" scoped>
- .header {
- width: 100%;
- .personal {
- height: 140rpx;
- width: 92%;
- margin: auto;
- // background-color: red;
- display: flex;
- align-items: center;
- justify-content: space-between;
- // position: absolute;
- // z-index: 1;
- .picture {
- width: 120rpx;
- height: 120rpx;
- border-radius: 60rpx;
- background-color: #038CFF;
- color: white;
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .center {
- width: 70%;
- height: 70%;
- // background-color: green;
- display: flex;
- flex-wrap: wrap;
- // align-items: center;
- .classname {
- width: 100%;
- font-size: 32rpx;
- font-weight: bold;
- }
- .text {
- color: #98A4B2;
- font-size: 24rpx;
- }
- }
- }
- }
- .content {
- width: 95%;
- margin: 20rpx auto;
- font-weight: bold;
- .cell {
- height: 120rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 95%;
- margin: 0 auto;
- border-bottom: 2rpx solid #ecedef;
- }
- .box {
- display: flex;
- align-items: center;
- padding: 20rpx 0;
- }
- .img {
- width: 40rpx;
- height: 40rpx;
- margin-right: 20rpx;
- }
- }
- </style>
|