From 06c7a41fe4680ae98d8ccd25b17d715b2a036532 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期一, 09 九月 2024 19:00:54 +0800
Subject: [PATCH] 1、 245-小程序-供应商-商品管理-回收站-平台或花农删除的商品全部到回收站,回收站增加恢复和删除的按钮,恢复可以将商品恢复到原来的状态,删除可以将此商品彻底删除 目前在回收站点击编辑上架等功能显示“商品未找到”点击删除也删不了商品 2、 255-小程序-供应商-增加同品类同等级价格排名,方便花农根据排名改价格(前后端修改) 3、252-小程序-花店-首页搜索、交易大厅搜索-1.点击分类显示下拉选择效果 2.热区扩大一些,点击<无法切换
---
sub_pages/customer/coupon/coupon-self.vue | 22 +++++++++++++++-------
1 files changed, 15 insertions(+), 7 deletions(-)
diff --git a/sub_pages/customer/coupon/coupon-self.vue b/sub_pages/customer/coupon/coupon-self.vue
index ab9131d..dacb1f9 100644
--- a/sub_pages/customer/coupon/coupon-self.vue
+++ b/sub_pages/customer/coupon/coupon-self.vue
@@ -6,23 +6,28 @@
</top-tabs>
</view>
<view class="">
+ <no-data v-if="!list||list.length==0" style="width: 100%;"></no-data>
+
<view v-for="(item,index) of list" :key="index" class="coupont-item" :class="[query.status]">
<view class="flex container img100">
<view class="info-price">
- <view class="price1">¥7.70</view>
- <view class="price2">满¥100可用</view>
+ <view class="price1">
+ {{item.maxDiscountAmount?(`${item.maxDiscountAmount}折`):(`¥${item.couponDiscountValue}`)}}
+ </view>
+ <view class="price2">{{item.minOrderAmount?(`满¥${item.minOrderAmount}可用`):'无门槛'}}</view>
</view>
<view class="info flex1">
<view class="title">
- 七夕专属福利券
+ {{item.couponName||'-'}}
</view>
<view class="time">
- 有效期至2024-07-26 09:58:30
+ {{item.usageEndDate&&('有效期至:'+item.usageEndDate) || '长久有效'}}
</view>
</view>
</view>
<view class="tip">
- <span class="t-red">*</span>此券每人限领1张。仅限用于花满芜鲜花交易平台鲜切花花款满额使用,不可与其他优惠同享、不可叠加使用
+ <span
+ class="t-red">*</span>{{item.couponDescription || '此券每人限领1张。仅限用于花满芜鲜花交易平台鲜切花花款满额使用,不可与其他优惠同享、不可叠加使用'}}
</view>
</view>
</view>
@@ -70,6 +75,7 @@
methods: {
changeTab(flg) {
+ this.flg = '' + flg
this.query.status = this.tabs[flg].status
this.listApi = '/api/v2/coupon/app' + `/mine/${this.query.status}/list`
this.refreshList()
@@ -95,7 +101,7 @@
</script>
<style lang="scss" scoped>
- @import './coupon.scss';
+ @import './coupon.scss';
.coupon-container {
@@ -109,7 +115,7 @@
}
}
-
+
.bottom-button {
width: 690rpx;
height: 90rpx;
@@ -124,6 +130,8 @@
color: #20613D;
text-align: center;
line-height: 90rpx;
+ z-index: 99;
+ background-color: #fbfbfb;
}
}
</style>
\ No newline at end of file
--
Gitblit v1.9.3