Feat:盲盒模式的收礼界面-我也要送礼

This commit is contained in:
LinCyJang
2025-07-28 02:02:50 +08:00
parent 2640b049b5
commit 07618635f1
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -36,6 +36,7 @@
您已领取礼包 您已领取礼包
</view> </view>
<view class="info-btn v12-text-center v12-font-32 v12-mt-3">查看礼包详情>></view> <view class="info-btn v12-text-center v12-font-32 v12-mt-3">查看礼包详情>></view>
<view v-if="card.isBlind" class="info-btn v12-text-center v12-font-32 v12-mt-3" @click="searchGift">我也要送礼</view>
</view> </view>
<view v-if="isReceive && myGift.isCurrentUser !== 1" @click="toHome" style="z-index: 10; display: flex;flex-direction: column;align-items: center;"> <view v-if="isReceive && myGift.isCurrentUser !== 1" @click="toHome" style="z-index: 10; display: flex;flex-direction: column;align-items: center;">
<view class="address-btn v12-white-text v12-primary"> <view class="address-btn v12-white-text v12-primary">
@@ -122,7 +123,9 @@ export default {
} }
}, },
methods: { methods: {
searchGift() {
this.$yrouter.push('/pages/shop/GoodsList/index?s=' +'送礼' )
},
// 分享到微信好友 // 分享到微信好友
toShare() { toShare() {
// 分享到微信好友 // 分享到微信好友
+2 -2
View File
@@ -344,7 +344,7 @@ export default {
this.isLoad = false this.isLoad = false
giftCardReceiveList({ giftCardReceiveList({
page: 1, page: 1,
limit: 10 limit: 999
}).then(res => { }).then(res => {
const { success, data } = res const { success, data } = res
if (success) { if (success) {
@@ -360,7 +360,7 @@ export default {
this.isLoad = false this.isLoad = false
giftCardSendList({ giftCardSendList({
page: 1, page: 1,
limit: 10 limit: 999
}).then(res => { }).then(res => {
const { success, data } = res const { success, data } = res
if (success) { if (success) {