Task:礼品功能

This commit is contained in:
linxi
2025-02-13 18:33:36 +08:00
parent 9d1a8916fc
commit fcab618a7e
2 changed files with 37 additions and 7 deletions
+22 -7
View File
@@ -43,6 +43,15 @@
<image :src="webUrl + '/icon/icon-qrcode.png'" class="code" /> <image :src="webUrl + '/icon/icon-qrcode.png'" class="code" />
<text class="code-txt">会员码</text> <text class="code-txt">会员码</text>
</view> </view>
<view class="v12-align-center v12-mt-2">
<image
:src="webUrl + '/icon/icon-setting.png'"
class="settings-img v12-mr-1"
/>
<text class="v12-font-30">
设置中心
</text>
</view>
</view> </view>
<view class="avatar-cont" @click="goPersonalData()"> <view class="avatar-cont" @click="goPersonalData()">
<image :src="userInfo.avatar" class="img" /> <image :src="userInfo.avatar" class="img" />
@@ -290,6 +299,12 @@ export default {
}, },
spreadPoster: {}, spreadPoster: {},
toolList: [ toolList: [
{
text: '我的礼包卡',
url: '/pkg_user/views/personalData',
icon: '/icon/gift.png',
allowEnter: true
},
{ {
text: '我的优惠券', text: '我的优惠券',
url: '/pkg_user/views/myCoupons', url: '/pkg_user/views/myCoupons',
@@ -337,12 +352,6 @@ export default {
url: '/pages/user/History/index', url: '/pages/user/History/index',
icon: '/icon/icon-help.png', icon: '/icon/icon-help.png',
allowEnter: true allowEnter: true
},
{
text: '设置中心',
url: '/pkg_user/views/personalData',
icon: '/icon/icon-setting.png',
allowEnter: true
} }
], ],
bannerBgUrl: '', bannerBgUrl: '',
@@ -591,6 +600,11 @@ export default {
padding-top: 20rpx; padding-top: 20rpx;
padding-bottom: 20rpx; padding-bottom: 20rpx;
} }
.settings-img{
width: 38rpx;
height: 38rpx;
filter: invert(100%) brightness(200%);
}
.my-wrapper { .my-wrapper {
padding: 30upx; padding: 30upx;
&.wrapper { &.wrapper {
@@ -609,7 +623,7 @@ export default {
width: 33.3333%; width: 33.3333%;
margin: 0 0 42rpx 0; margin: 0 0 42rpx 0;
align-items: center; align-items: center;
justify-content: center; justify-content: flex-start;
.img { .img {
width: 28px; width: 28px;
height: 28px; height: 28px;
@@ -646,6 +660,7 @@ export default {
z-index: 2; z-index: 2;
.bg { .bg {
width: 100%; width: 100%;
height: 335px !important;
} }
} }
.my-header-body { .my-header-body {
+15
View File
@@ -0,0 +1,15 @@
<template>
<view class="">
礼品卡
</view>
</template>
<script>
export default {
}
</script>
<style>
</style>