You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
<template>
|
|
|
|
|
|
<view class="container">
|
|
|
|
|
|
<image class="bkg" mode="aspectFill" src="~@/static/me/bkg.png"></image>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="top">
|
|
|
|
|
|
<image class="avatar" mode="aspectFit" :src="vuex_user.headimgurl || vuex_default_icon"></image>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="info">
|
|
|
|
|
|
<view class="info-name">{{ vuex_user.nickname || '微信用户' }}</view>
|
|
|
|
|
|
<view class="info-mobile">手机号:{{ vuex_user.mobile || '' }}</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
<view class="panel panel1">
|
|
|
|
|
|
<view class="tab" v-for="i in 5">
|
|
|
|
|
|
<image class="tab__icon" mode="aspectFit" src="~@/static/index/jiuyifuwu.png"></image>
|
|
|
|
|
|
<view>陪诊订单</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="panel panel2">
|
|
|
|
|
|
<view class="row" @click="share">
|
|
|
|
|
|
<u-icon class="row__icon" name="share"></u-icon>
|
|
|
|
|
|
<view>我要分享</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="row">
|
|
|
|
|
|
<u-icon class="row__icon" name="man-add"></u-icon>
|
|
|
|
|
|
<view>加入我们</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="row">
|
|
|
|
|
|
<u-icon class="row__icon" name="heart"></u-icon>
|
|
|
|
|
|
<view>关注</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="row">
|
|
|
|
|
|
<u-icon class="row__icon" name="kefu-ermai"></u-icon>
|
|
|
|
|
|
<view>联系我们</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<tabbar />
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
import Tabbar from "@/component/Tabbar/Tabbar.vue";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
|
components: {
|
|
|
|
|
|
Tabbar
|
|
|
|
|
|
},
|
|
|
|
|
|
data() {
|
|
|
|
|
|
return {
|
|
|
|
|
|
};
|
|
|
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
|
|
|
},
|
|
|
|
|
|
onLoad() {
|
|
|
|
|
|
},
|
|
|
|
|
|
}
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
|
.container {
|
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
background: #f4efef;
|
|
|
|
|
|
|
|
|
|
|
|
.bkg {
|
|
|
|
|
|
width: 100vw;
|
|
|
|
|
|
z-index: 0;
|
|
|
|
|
|
height: 550rpx;
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
left: 0;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.top {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
padding: 4vh 25rpx 0;
|
|
|
|
|
|
|
|
|
|
|
|
.avatar {
|
|
|
|
|
|
width: 80rpx;
|
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
|
border-radius: 100%;
|
|
|
|
|
|
background: #fff;
|
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
|
filter: drop-shadow(4rpx 6rpx 10rpx #ba534c);
|
|
|
|
|
|
}
|
|
|
|
|
|
.info {
|
|
|
|
|
|
padding-left: 40rpx;
|
|
|
|
|
|
|
|
|
|
|
|
&-name {
|
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.panel {
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
background: #fff;
|
|
|
|
|
|
border-radius: 10rpx;
|
|
|
|
|
|
margin: 40rpx 25rpx 0;
|
|
|
|
|
|
padding: 28rpx 25rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
.panel1 {
|
|
|
|
|
|
display: grid;
|
|
|
|
|
|
grid-gap: 24rpx;
|
|
|
|
|
|
grid-template-columns: repeat(3, 1fr);
|
|
|
|
|
|
|
|
|
|
|
|
.tab {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
&__icon {
|
|
|
|
|
|
width: 80rpx;
|
|
|
|
|
|
height: 80rpx;
|
|
|
|
|
|
margin-bottom: 10rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
.panel2 {
|
|
|
|
|
|
.row {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
padding: 20rpx 10rpx;
|
|
|
|
|
|
border-bottom: 2rpx #dee2e6 solid;
|
|
|
|
|
|
|
|
|
|
|
|
&__icon {
|
|
|
|
|
|
margin-right: 20rpx;
|
|
|
|
|
|
color: $uni-color-primary;
|
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|