[水感应客户端最新]

This commit is contained in:
2023-06-21 17:14:39 +08:00
commit b3b4d4dae7
187 changed files with 12997 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
/*
* 手太欠
* 愿这世界都如故事里一样 美好而动人~
*/
Page({
data: {
logisticArr : [],
expressData : '',
},
onLoad(options) {
const {
newData = {}
} = options;
const data = JSON.parse(decodeURIComponent(newData));
this.setData({
expressData: data
})
},
onShow() {
// 查看物流
this.h5url();
},
// 查看物流
h5url() {
wx.$api.order.kuaiDi({express_no: this.data.expressData.express_no}).then(res => {
this.setData({
logisticArr: res.data.data
})
}).catch(err => {})
// wx.request({
// url: 'http://shanhe.kim/api/za/kuaidi.php?id=' + this.data.expressData.express_no, //需更换需请求数据的接口
// success: res=> {
// this.setData({
// logisticArr: res.data.data
// })
// },
// });
}
})