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.

139 lines
2.8 KiB

1 year ago
<template>
1 year ago
<view class="container">
<image class="bkg" mode="aspectFill" src="~@/static/me/bkg.png"></image>
<view class="top">
1 year ago
<image class="avatar" mode="aspectFit" :src="vuex_user.headimgurl || vuex_default_icon"></image>
1 year ago
<view class="info">
1 year ago
<view class="info-name">{{ vuex_user.nickname || '微信用户' }}</view>
<view class="info-mobile">手机号{{ vuex_user.mobile || '' }}</view>
1 year ago
</view>
</view>
1 year ago
<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">
1 year ago
<view class="row" @click="share">
<u-icon class="row__icon" name="share"></u-icon>
1 year ago
<view>我要分享</view>
</view>
1 year ago
<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>
1 year ago
</view>
1 year ago
<tabbar />
</view>
</template>
<script>
import Tabbar from "@/component/Tabbar/Tabbar.vue";
export default {
components: {
Tabbar
},
data() {
1 year ago
return {
};
},
methods: {
},
onLoad() {
},
1 year ago
}
</script>
<style lang="scss">
1 year ago
.container {
1 year ago
min-height: 100vh;
1 year ago
position: relative;
1 year ago
background: #f4efef;
1 year ago
.bkg {
width: 100vw;
z-index: 0;
height: 550rpx;
position: absolute;
top: 0;
left: 0;
}
1 year ago
1 year ago
.top {
1 year ago
display: flex;
align-items: center;
position: relative;
padding: 4vh 25rpx 0;
1 year ago
.avatar {
1 year ago
width: 80rpx;
height: 80rpx;
1 year ago
border-radius: 100%;
background: #fff;
1 year ago
padding: 20rpx;
1 year ago
object-fit: cover;
1 year ago
filter: drop-shadow(4rpx 6rpx 10rpx #ba534c);
1 year ago
}
.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;
1 year ago
border-bottom: 2rpx #dee2e6 solid;
1 year ago
1 year ago
&__icon {
margin-right: 20rpx;
1 year ago
color: $uni-color-primary;
font-size: 36rpx;
1 year ago
}
1 year ago
}
}
}
1 year ago
</style>