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.

109 lines
2.0 KiB

3 years ago
<template>
<view class="page">
<image class="bg" src="../../static/image/person-bg.png"></image>
<view class="wrap">
<view class="info">
<image class="avatar" src="../../static/image/avatar.png" mode=""></image>
<view class="text">
<view class="name">仲达</view>
<view class="phone">1356231564</view>
</view>
</view>
<view class="list">
<view class="item">
<view class="left">
<image class="icon" src="../../static/image/person1.png" mode=""></image>
<text class="name">我的收益</text>
</view>
<text class="val">231323</text>
</view>
<view class="item">
<view class="left">
<image class="icon" src="../../static/image/person2.png" mode=""></image>
<text class="name">团队收益</text>
</view>
<text class="val">231323</text>
</view>
<view class="item" @click="$util.to('../setting/setting')">
<view class="left">
<image class="icon" src="../../static/image/person3.png" mode=""></image>
<text class="name">设置</text>
</view>
</view>
</view>
</view>
3 years ago
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style scoped lang="scss">
.bg {
width: 100%;
height: 300rpx;
}
.wrap {
z-index: 2;
position: relative;
padding: 0 24rpx;
margin-top: -150rpx;
}
.info {
display: flex;
align-items: center;
padding: 26rpx 34rpx;
background-color: #fff;
border-radius: 16rpx;
.avatar {
width: 120rpx;
height: 120rpx;
margin-right: 28rpx;
}
.name {
margin-bottom: 10rpx;
font-size: 40rpx;
color: #333;
}
.phone {
font-size: 28rpx;
color: #333;
}
}
.list {
margin-top: 16rpx;
.item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 26rpx 28rpx;
margin-bottom: 16rpx;
background-color: #fff;
border-radius: 16rpx;
}
.left {
display: inline-flex;
align-items: center;
}
.icon {
width: 48rpx;
height: 48rpx;
margin-right: 16rpx;
}
text {
font-size: 28rpx;
color: #333;
}
}
3 years ago
</style>