AA
This commit is contained in:
@@ -63,6 +63,7 @@ Page({
|
||||
console.log("传递的item" + item);
|
||||
wx.navigateTo({
|
||||
url: "/pages/orderdetail/orderdetail?item=" + item,
|
||||
|
||||
});
|
||||
}
|
||||
},
|
||||
@@ -159,7 +160,7 @@ Page({
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
console.log("==页面上拉触底事件的处理函数==")
|
||||
this.getOrderList();
|
||||
// this.getOrderList();
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -176,7 +177,7 @@ Page({
|
||||
header: app.getRequestHeader(),
|
||||
method: 'GET',
|
||||
data: {
|
||||
pageNum: 1,
|
||||
pageNum: this.data.pageNum,
|
||||
pageSize: 30,
|
||||
status: that.data.status[that.data.currentType],
|
||||
usercId: wx.getStorageSync('uid')
|
||||
|
||||
@@ -40,13 +40,7 @@ Page({
|
||||
}
|
||||
],
|
||||
show: false,
|
||||
|
||||
|
||||
|
||||
|
||||
height: ''
|
||||
|
||||
|
||||
},
|
||||
// 确认支付
|
||||
confirm_pay: async function () {
|
||||
@@ -127,15 +121,18 @@ Page({
|
||||
statusBarHeight: statusBarHeight,
|
||||
height: 46 + statusBarHeight,
|
||||
});
|
||||
//条目点击进入详情页
|
||||
// this.setData({
|
||||
// order_id: e.id
|
||||
// })
|
||||
//条目点击进入详情页,调取接口获取详情页数据,除外都是通过列表传参的方式展示详情页数据。
|
||||
if (e.type = 3) {
|
||||
//从下单成功后的查看详情进入详情页
|
||||
this.setData({
|
||||
order_id: e.id
|
||||
})
|
||||
//从下单成功后的查看详情进入详情页,调取接口获取详情页数据,除外都是通过列表传参的方式展示详情页数据。
|
||||
console.log('e.type' + e.type);
|
||||
if (e.type == 3) {
|
||||
this.getOrderDetail();
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
var that = this;
|
||||
let item = JSON.parse(e.item);
|
||||
that.setData({
|
||||
@@ -422,7 +419,7 @@ Page({
|
||||
getOrderDetail: function () {
|
||||
var that = this;
|
||||
wx.request({
|
||||
url: app.globalData.url + '/system/view/getInfo',
|
||||
url: app.globalData.url + '/system/view/getInfo/',
|
||||
header: app.getRequestHeader(),
|
||||
method: 'get',
|
||||
data: {
|
||||
|
||||
@@ -133,9 +133,9 @@
|
||||
|
||||
|
||||
<!-- 待服务的订单点击取消的蒙层 -->
|
||||
<view class="mengceng" wx:if="{{mengcengfwz}}" bindtap="mengcengdfw"></view>
|
||||
<!-- <view class="mengceng" wx:if="{{mengcengfwz}}" bindtap="mengcengdfw"></view> -->
|
||||
<!-- 服务中的订单取消订单弹窗 -->
|
||||
<view class="qxdd" wx:if="{{dingdan_msg}}">
|
||||
<view class="qxdd" wx:if="{{dingdan_msgdfw}}">
|
||||
<view class="msg_title">
|
||||
服务人员正在赶来,确定要取消订单吗?
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user