Task:礼品赠送/送礼

This commit is contained in:
modendeveloper
2025-02-17 23:36:27 +08:00
parent 044c1a0863
commit 5dc1f5ad92
4 changed files with 159 additions and 2 deletions
+23 -2
View File
@@ -63,6 +63,15 @@
</view>
</view>
<view class="introduce bold">{{ storeInfo.storeName }}</view>
<view class="v12-primary v12-white-text v12-px-2 v12-py-1 v12-mt-2 v12-radius-20 v12-font-bold v12-justify-between v12-align-center">
<view class="v12-font-28 v12-align-center">
<img class="gift-img" :src="webUrl + '/orderIcon/gift.png'" mode="widthFix">
支持礼包赠送
</view>
<view @click="toGift" class="v12-white v12-dark-text v12-radius-20 v12-font-28 gift-btn">
送给朋友
</view>
</view>
<rich-text class="subInfo" :nodes="storeInfo.storeInfo" v-if="storeInfo.storeInfo"/>
</view>
@@ -482,9 +491,9 @@
</view>
</view>
<view class="mask" @touchmove.prevent @click="listenerActionClose" v-show="posters"></view>
<view class="posterCanvasWarp">
<!-- <view class="posterCanvasWarp">
<canvas class="posterCanvas" canvas-id="myCanvas"></canvas>
</view>
</view> -->
</view>
</view>
</view>
@@ -763,6 +772,11 @@ export default {
}
},
methods: {
toGift() {
uni.navigateTo({
url: '/pkg_user/views/gift/gift'
})
},
showService() {
this.$refs.serviceWin.show = true
},
@@ -2086,4 +2100,11 @@ export default {
margin-bottom: 10rpx;
box-sizing: border-box;
}
.gift-btn{
padding: 10rpx;
}
.gift-img{
width: 34rpx;
margin-right: 10rpx;
}
</style>