Commit 71875e6f by zqm

MM - 我的 - 订单有效期

parent 6a12717f
......@@ -205,7 +205,7 @@ Page({
if (item.smOrderDetails.length > 3) {
item.smOrderDetailsSlice3 = item.smOrderDetails.slice(0, 3)
}
item.expireTimeEnd = item.expireTime.substr(12)
item.expireTimeEnd = item.expireTime.length>30?item.expireTime.substr(19):item.expireTime
return item
})
......
......@@ -185,12 +185,11 @@
<image src="{{k.imgUrl}}" wx:for="{{item.smOrderDetails}}" wx:for-item="k" wx:key="{{index}}" wx:key="index">
</image>
</block>
<text wx:if="{{item.smOrderDetails.length == 1}}">{{item.smOrderDetails[0].name}}</text>
</view>
<view class="goods-footer row align-c con-b">
<text>{{item.expireTimeEnd === '' ? '' : '有效期' + item.expireTimeEnd}}</text>
<text>共{{item.smOrderDetails.length}}1件</text>
<text>共{{item.smOrderDetails.length}}件</text>
</view>
</view>
<!-- more -->
......
......@@ -52,7 +52,7 @@
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-describe">{{orderInfo.businessTime}}</text>
<text class="info-content-item-describe">{{orderInfo.expireTime}}</text>
</view>
<image class="seal-shot" src="{{resourcesBase+orderInfo.shopInfo.print}}"></image>
</view>
......@@ -66,7 +66,7 @@
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-describe">{{orderInfo.businessTime}}</text>
<text class="info-content-item-describe">{{orderInfo.expireTime}}</text>
</view>
<view class="info-content-item row">
......@@ -90,7 +90,7 @@
<view class="info-code col con-c align-c">
<text>{{orderInfo.commodity.length}}件商品可用</text>
<button bindtap="onFastScan" class="row con-c align-c">一键扫码</button>
<text>{{orderInfo.expireTime}}</text>
<!-- <text>{{orderInfo.expireTime}}</text> -->
</view>
</block>
</block>
......@@ -103,7 +103,7 @@
</view>
<view class="info-content-item row">
<text class="info-content-item-label"></text>
<text class="info-content-item-describe">{{orderInfo.businessTime}}</text>
<text class="info-content-item-describe">{{orderInfo.expireTime}}</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">订单信息</text>
......@@ -128,7 +128,7 @@
<text wx:if="{{orderInfo.commodityType === 4}}">{{'1件商品可用'}}</text>
<text wx:if="{{orderInfo.commodityType === 3}}">{{orderInfo.commodity.length}}张门票可用</text>
<button bindtap="onFastScan" class="row con-c align-c">一键扫码</button>
<text>{{orderInfo.expireTime}}</text>
<!-- <text>{{orderInfo.expireTime}}</text> -->
</view>
</block>
</block>
......@@ -143,7 +143,8 @@
</view>
<view class="info-content-item row">
<text class="info-content-item-label">活动时间</text>
<text class="info-content-item-describe">{{orderInfo.businessTime}}</text>
<text class="info-content-item-describe">{{orderInfo.expireTime}}</text>
<!-- <text class="info-content-item-describe">2020-09-30 00:00~ 2020-09-30 08:00</text> -->
</view>
<view class="info-content-item row">
<text class="info-content-item-label">活动地点</text>
......@@ -170,7 +171,7 @@
<view class="info-code col con-c align-c">
<text>{{orderInfo.commodity.length}}张门票可用</text>
<button bindtap="onFastScan" class="row con-c align-c">一键扫码</button>
<text>{{orderInfo.expireTime}}</text>
<!-- <text>{{orderInfo.expireTime}}</text> -->
</view>
</block>
</block>
......@@ -185,7 +186,7 @@
</view>
<view class="info-content-item row">
<text class="info-content-item-label">场次</text>
<text class="info-content-item-describe">{{orderInfo.businessTime}}</text>
<text class="info-content-item-describe">{{orderInfo.expireTime}}</text>
</view>
<view class="info-content-item row">
<text class="info-content-item-label">订单信息</text>
......@@ -208,7 +209,7 @@
<view class="info-code col con-c align-c">
<text>{{orderInfo.commodity.length}}张电影票可用</text>
<button bindtap="onFastScan" class="row con-c align-c">一键扫码</button>
<text>{{orderInfo.expireTime}}</text>
<!-- <text>{{orderInfo.expireTime}}</text> -->
</view>
</block>
......
......@@ -84,7 +84,8 @@
}
.info-content-item-describe {
height: 42rpx;
flex:1;
line-height: 42rpx;
font-size: 30rpx;
font-weight: 500;
line-height: 42rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment