Fix:4109 【商城小程序】删除送礼寄语的功能:(送礼包页面、礼包领取页面、我的礼品卡页面)

This commit is contained in:
linxi
2025-07-31 11:00:13 +08:00
parent 2a20c45a4e
commit 2882b54e16
4 changed files with 1736 additions and 1731 deletions
+1721 -1716
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -14,7 +14,7 @@
</view> </view>
<view class="auto-text-color"> <view class="auto-text-color">
{{ card.message || '礼笺轻启,礼藏心意' }} <!-- {{ card.message || '礼笺轻启,礼藏心意' }} -->
</view> </view>
</view> </view>
+12 -12
View File
@@ -6,7 +6,7 @@
<view></view> <view></view>
<view class="v12-font-28 v12-secondary-dark-text v12-d-flex"> <view class="v12-font-28 v12-secondary-dark-text v12-d-flex">
<u-icon :name="webUrl + '/icon/gift-primary.png'"></u-icon> <u-icon :name="webUrl + '/icon/gift-primary.png'"></u-icon>
送礼寄语 <!-- 送礼寄语 -->
</view> </view>
</view> </view>
<view class="v12-primary-text v12-font-26 v12-d-flex v12-align-center"> <view class="v12-primary-text v12-font-26 v12-d-flex v12-align-center">
@@ -19,7 +19,7 @@
</view> </view>
</view> </view>
</view> </view>
<view class="v12-px-2"> <!-- <view class="v12-px-2">
<view class="line"></view> <view class="line"></view>
</view> </view>
<view class="v12-pa-2 "> <view class="v12-pa-2 ">
@@ -34,7 +34,7 @@
cols="30" cols="30"
@input="messageChange" @input="messageChange"
rows="10"></u-textarea> rows="10"></u-textarea>
</view> </view> -->
</view> </view>
<view class="gift-good-card"> <view class="gift-good-card">
<view class="v12-align-center v12-justify-start"> <view class="v12-align-center v12-justify-start">
@@ -86,7 +86,7 @@
</view> </view>
<u-divider v-if="isPayOk"></u-divider> <u-divider v-if="isPayOk"></u-divider>
<view class="v12-font-26 v12-secondary-dark-text" v-if="isPayOk"> <view class="v12-font-26 v12-secondary-dark-text" v-if="isPayOk">
赠言:{{ message || '礼笺轻启,礼藏心意'}} <!-- 赠言:{{ message || '礼笺轻启,礼藏心意'}} -->
</view> </view>
</view> </view>
<view class="act-box" v-if="!isPayOk"> <view class="act-box" v-if="!isPayOk">
@@ -288,13 +288,13 @@ export default {
imageUrl: this.giftImage imageUrl: this.giftImage
} }
}, },
onReady() { // onReady() {
this.$nextTick(() => { // this.$nextTick(() => {
this.$refs.textarea.setFormatter(val => { // this.$refs.textarea.setFormatter(val => {
return val.length > 30 ? val.substring(0, 30) : val // return val.length > 30 ? val.substring(0, 30) : val
}) // })
}) // })
}, // },
methods: { methods: {
showCouponsPopup() { showCouponsPopup() {
this.showPopup = !this.showPopup this.showPopup = !this.showPopup
@@ -634,7 +634,7 @@ export default {
padding: 10rpx 20rpx; padding: 10rpx 20rpx;
} }
.top-card{ .top-card{
height: 280rpx; // height: 280rpx;
background: #fff; background: #fff;
border-radius: 16rpx; border-radius: 16rpx;
} }
+2 -2
View File
@@ -52,7 +52,7 @@
</view> </view>
<view class="gift-bottom"> <view class="gift-bottom">
<view class="gift-txt"> <view class="gift-txt">
赠言:{{ item.message || '' }} <!-- 赠言:{{ item.message || '' }} -->
</view> </view>
<!-- 状态 0-待领取 1-已全部领取 2-已失效 --> <!-- 状态 0-待领取 1-已全部领取 2-已失效 -->
<button v-if="item.status === 0" @click="tuikuan(item)" class="btn1">退款</button> <button v-if="item.status === 0" @click="tuikuan(item)" class="btn1">退款</button>
@@ -153,7 +153,7 @@
</view> </view>
<view class="gift-bottom"> <view class="gift-bottom">
<view class="gift-txt"> <view class="gift-txt">
赠言:{{ item.message || '' }} <!-- 赠言:{{ item.message || '' }} -->
</view> </view>
<view <view
:class="{ :class="{