From 30fba0f974e2d8970d8fd5e21cd1a0d9be278523 Mon Sep 17 00:00:00 2001 From: XiaoXinPro 14 IAH5R <568170040@qq.com> Date: Fri, 19 May 2023 17:58:09 +0800 Subject: [PATCH] upload --- pages/coupon/detail/index.js | 3 ++- pages/coupon/detail/index.wxml | 22 +++++++++++----------- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/pages/coupon/detail/index.js b/pages/coupon/detail/index.js index 7b960bb..a93841f 100644 --- a/pages/coupon/detail/index.js +++ b/pages/coupon/detail/index.js @@ -710,7 +710,8 @@ Page({ // title: res.data.title // }) that.setData({ - barTitle: res.data.title + barTitle: res.data.title, + activityStatus: res.data.activityStatus ? res.data.activityStatus : '' }) var EndTime = res.data.validStartDate; var NowTime = new Date().getTime(); diff --git a/pages/coupon/detail/index.wxml b/pages/coupon/detail/index.wxml index ff8cb26..0833703 100644 --- a/pages/coupon/detail/index.wxml +++ b/pages/coupon/detail/index.wxml @@ -29,8 +29,8 @@ - 距结束 : - 距开始 : + 距结束 : + 距开始 : 已经结束 @@ -166,26 +166,26 @@ 首页 - - + - + - + - + - + - + - + @@ -196,7 +196,7 @@ 首页 - +