dengjie commit : 我的页面及其绑定公司,浏览记录,我的收藏页面 的样式初步完成

This commit is contained in:
clay
2022-12-17 01:57:06 +08:00
parent 9c5d40cbb9
commit 76b6d9e557
19 changed files with 720 additions and 621 deletions

View File

@@ -18,8 +18,19 @@
<text>顾发航</text>
</view>
<view class="table">
<u-cell-group>
<u-cell size="large" title="绑定公司" icon="/static/my/wo_icon_bd.png" :isLink="true" value="未绑定公司"
@click="bindCompany()">
</u-cell>
<u-cell size="large" title="会员中心" icon="/static/my/wo_icon_hyzx.png" :isLink="true"></u-cell>
<u-cell size="large" title="浏览记录" icon="/static/my/wo_icon_lljl.png" :isLink="true"
@click="toBrowseHistory()"></u-cell>
<u-cell size="large" title="我的收藏" icon="/static/my/wo_icon_sc.png" :isLink="true"
@click="toMyCollect()"></u-cell>
<u-cell size="large" title="联系客服" icon="/static/my/wo_icon_lxkf.png" :isLink="true"></u-cell>
</u-cell-group>
</view>
</view>
</template>
<script>
@@ -29,11 +40,28 @@
show: false,
avatar: '/static/my/avatar.png',
normal: '/static/my/wo_icon_pthy.png',
VIP: '/static/my/wo_icon_vip.png'
VIP: '/static/my/wo_icon_vip.png',
}
},
methods: {
//跳转到绑定公司页面
bindCompany() {
uni.navigateTo({
url: '/pages/bindCompony/bindCompony'
})
},
//跳转到浏览记录页面
toBrowseHistory() {
uni.navigateTo({
url: '/pages/browseHistory/browseHistory?id=' + 1
})
},
//跳转到我的收藏页面
toMyCollect() {
uni.navigateTo({
url: '/pages/browseHistory/browseHistory?id=' + 2
})
}
}
}
</script>
@@ -51,7 +79,7 @@
color: #fff !important;
}
.u-icon__icon {
.uicon-arrow-left {
display: none !important;
}
@@ -73,4 +101,38 @@
}
}
.table {
background-color: #fff;
margin-top: 50rpx;
}
.u-line {
display: none !important;
}
.u-cell--clickable {
background-color: #fff !important;
}
.u-cell {
border-bottom: 1rpx solid #EEEEEE;
}
.u-icon__icon--info {
font-size: 28rpx !important;
}
.u-cell__title-text {
margin-left: 20rpx;
font-size: 24rpx !important;
color: #252421;
line-height: 33rpx !important;
}
.u-cell__value {
font-size: 24rpx !important;
color: #CCCCCC !important;
}
</style>