This commit is contained in:
hot777zz
2023-10-31 18:34:42 +08:00
parent 10de25984b
commit 6ea0c2f048
3 changed files with 53 additions and 5 deletions

View File

@@ -22,7 +22,7 @@
}, {
"path": "pages/my/my",
"style": {
"navigationBarTitleText": "",
"navigationBarTitleText": "我的",
"navigationBarTextStyle": "white",
"navigationBarBackgroundColor": "#12CA64",
"enablePullDownRefresh": false

View File

@@ -1,6 +1,24 @@
<template>
<view>
我的
<view class="my">
<view class="profile">
<image src="../../static/img/wo_bj_ll@2x.png" mode="aspectFit" class="profile-bgi"></image>
<view class="avator">
<u-avatar :src="src"></u-avatar>
</view>
<view class="username">用户名</view>
<view class="account">账号:132123123132</view>
</view>
<view class="publish">
<u-cell-group>
<u-cell icon="setting-fill" title="发布的店铺转让" is-link="true"></u-cell>
<u-cell icon="integral-fill" title="发布的找店选址" is-link="true"></u-cell>
<u-cell icon="integral-fill" title="发布的店铺出租" is-link="true"></u-cell>
<u-cell icon="integral-fill" title="发布的项目招商" is-link="true"></u-cell>
<u-cell icon="integral-fill" title="成功合伙人" is-link="true"></u-cell>
</u-cell-group>
</view>
</view>
</template>
@@ -8,7 +26,7 @@
export default {
data() {
return {
src: 'https://cdn.uviewui.com/uview/album/2.jpg'
}
},
onLoad() {
@@ -25,6 +43,36 @@
}
</script>
<style lang="scss">
<style lang="scss" scoped>
.profile{
color: #fff;
display: flex;
width: 100%;
height: auto;
margin-bottom: 36rpx;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 10rpx;
.profile-bgi{
position: absolute;
z-index: -1;
}
.avator{
margin-top: 20rpx;
}
.username{
font-size: 18px;
font-weight: 1rpx;
}
.account{
font-size: 15px;
font-weight: 1rpx;
}
}
</style>

BIN
static/img/wo_bj_ll@2x.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 KiB