|
|
|
|
@ -8,13 +8,17 @@
|
|
|
|
|
|
|
|
|
|
<view class="orderBoxInfo flex-col">
|
|
|
|
|
<view class="orderBoxInfoRow flex-row" >
|
|
|
|
|
<text class="iconfont icon-youkexuzhi"></text>
|
|
|
|
|
<text class="orderBoxInfoRowTxt">活动名称:{{info.activity.name||"加载中..."}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="orderBoxInfoRow flex-row" style="margin-top: 20rpx;">
|
|
|
|
|
<text class="iconfont icon-shijian"></text>
|
|
|
|
|
<text
|
|
|
|
|
class="orderBoxInfoRowTxt">活动时间:{{timeFormat(info.activity.start_time, 'MM月DD日')}}{{getHm(info.activity.start_time)}}-{{getHm(info.activity.end_time)}}</text>
|
|
|
|
|
class="orderBoxInfoRowTxt">活动时间:{{timeFormat(tstart_time, 'MM月DD日')}}{{timeFormat(tstart_time,"HH:mm")}}-{{timeFormat(tend_time,"HH:mm")}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="orderBoxInfoRow flex-row" style="margin-top: 20rpx;">
|
|
|
|
|
<text class="iconfont icon-renshu"></text>
|
|
|
|
|
<text class="orderBoxInfoRowTxt">活动人数:{{info.total}}</text>
|
|
|
|
|
<text class="orderBoxInfoRowTxt">活动人数:{{info.total||""}}</text>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
@ -43,7 +47,8 @@
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <text class="ewminfo">{{isuse?'已使用':'请前往现场核销订单二维码'}}</text> -->
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="info.type==2" class="orderBoxInfo flex-col ewmcode" :key='index' v-for="(item,index) in detailsinfo">
|
|
|
|
|
<view v-if="info.type==2" class="orderBoxInfo flex-col ewmcode" :key='index'
|
|
|
|
|
v-for="(item,index) in detailsinfo">
|
|
|
|
|
<text>入场码:{{info.code}}-{{item.code}}</text>
|
|
|
|
|
<view>
|
|
|
|
|
<view class="imgs">
|
|
|
|
|
@ -124,6 +129,8 @@
|
|
|
|
|
optionid: "",
|
|
|
|
|
timers: "",
|
|
|
|
|
isused: false,
|
|
|
|
|
tstart_time:"",
|
|
|
|
|
tend_time:""
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
onLoad(options) {
|
|
|
|
|
@ -174,9 +181,12 @@
|
|
|
|
|
data: {
|
|
|
|
|
id: id
|
|
|
|
|
},
|
|
|
|
|
customLoading: true,
|
|
|
|
|
utilSuccess: function(res) {
|
|
|
|
|
that.info = res;
|
|
|
|
|
that.detailsinfo = res.details;
|
|
|
|
|
that.tstart_time=that.info.activity.start_time;
|
|
|
|
|
that.tend_time=that.info.activity.end_time;
|
|
|
|
|
if (res.status != 1) {
|
|
|
|
|
clearInterval(that.timers)
|
|
|
|
|
}
|
|
|
|
|
@ -208,13 +218,10 @@
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
getHm(val) {
|
|
|
|
|
if (val) {
|
|
|
|
|
return this.$moment(val).format("hh:MM")
|
|
|
|
|
} else return "";
|
|
|
|
|
},
|
|
|
|
|
timeFormat(time, format) {
|
|
|
|
|
if (time) {
|
|
|
|
|
return this.$moment(time).format(format)
|
|
|
|
|
} else return "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -344,6 +351,7 @@
|
|
|
|
|
display: inline-block;
|
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.imgs cover-image {
|
|
|
|
|
position: absolute;
|
|
|
|
|
width: 200rpx;
|
|
|
|
|
@ -353,19 +361,23 @@
|
|
|
|
|
right: 0rpx;
|
|
|
|
|
bottom: 0rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.imgs canvas {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.imgsname {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-left: 15rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.imgs text {
|
|
|
|
|
display: block;
|
|
|
|
|
/* margin-left: 40rpx; */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.imgs .isuse cover-view {
|
|
|
|
|
/* opacity: .4; */
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.6);
|
|
|
|
|
|