Authored by lea guo

yohood抽奖时间展示

... ... @@ -8,7 +8,7 @@ Component({
observer(product) {
const { end_time: endTime, start_time: startTime, status } = product;
let nextActivityTime = '';
if (status === 1 || status === 3) {
if (status === 1 || status >=3 ) {
nextActivityTime = `${formatTimeByDefined(
startTime,
'Y.M.D h:m',
... ...
... ... @@ -14,7 +14,7 @@
<view class="number-seprator" wx:if="{{index !== 2}}">:</view>
</view>
</view>
<view class="next-preview" wx:if="{{product.status === 1 || product.status === 3}}" hidden="{{ show }}">
<view class="next-preview" wx:if="{{product.status === 1 || product.status >= 3}}" hidden="{{ show }}">
<text class="next-tip">{{product.status === 1 ? '下一场活动时间' : '活动时间'}}</text>
<text class="next-time">{{nextActivityTime}}</text>
</view>
... ...
... ... @@ -183,7 +183,7 @@ Page(
mask: true,
});
const {product = {}} = this.data;
if(product.status === 3) {
if(product.status === ACTIVITY.END || product.status === ACTIVITY.LUCK) {
wx.navigateTo({url: '/pages/zeroSell/originalPriceSell'})
}else {
this._init({isPulldown: true}).then(() => {
... ...