master
lion 4 years ago
parent be6cd4fb23
commit 8e0cb1aef7

@ -19,7 +19,7 @@
<view class="orderBoxInfoRow flex-row"> <view class="orderBoxInfoRow flex-row">
<text class="iconfont icon-youkexuzhi"></text> <text class="iconfont icon-youkexuzhi"></text>
<text class="orderBoxInfoRowTxt"> <text class="orderBoxInfoRowTxt">
订单信息{{timeFormat(item.activity.start_time, 'MM月DD日')}}{{getHm(item.activity.start_time)}}-{{getHm(item.activity.end_time)}}{{item.total}}位观众</text> 订单信息{{timeFormat(item.activity.created_at, 'MM月DD日')}}{{getHm(item.activity.start_time)}}-{{getHm(item.activity.end_time)}}{{item.total}}位观众</text>
</view> </view>
<view class="orderBoxInfoRow flex-row" v-if="item.type==1" style="margin-top: 20rpx;"> <view class="orderBoxInfoRow flex-row" v-if="item.type==1" style="margin-top: 20rpx;">

@ -211,7 +211,8 @@
api: '/api/mobile/user/my-visit-order-show', api: '/api/mobile/user/my-visit-order-show',
data: { data: {
id: id id: id
}, },
customLoading:true,
utilSuccess: function(res) { utilSuccess: function(res) {
that.info = res; that.info = res;
that.detailsinfo = res.details; that.detailsinfo = res.details;

@ -149,11 +149,11 @@ const request = options => {
}); });
} else { } else {
// 当前页面请求数量+1 // 当前页面请求数量+1
if (options.bindThis) { // if (options.bindThis) {
options.bindThis.setData({ // options.bindThis.setData({
//loadingCount: options.bindThis.data.loadingCount + 1 // //loadingCount: options.bindThis.data.loadingCount + 1
}); // });
} // }
} }
options.url = HOST + options.api; options.url = HOST + options.api;
@ -216,11 +216,11 @@ const request = options => {
} else { } else {
// 当前页面请求数量-1 // 当前页面请求数量-1
if (options.bindThis) { // if (options.bindThis) {
options.bindThis.setData({ // options.bindThis.setData({
loadingCount: options.bindThis.data.loadingCount - 1 // loadingCount: options.bindThis.data.loadingCount - 1
}); // });
} // }
} }
} }
}); });

Loading…
Cancel
Save