wpfw_ewei_wxapp/pages/order/express/index.js
2023-02-26 08:10:18 +08:00

16 lines
444 B
JavaScript

var t = getApp(), e = t.requirejs("core");
Page({
data: {},
onLoad: function(e) {
e.bundle = String.fromCharCode(e.bundle), this.setData({
options: e
}), t.url(e), this.get_list();
},
get_list: function() {
var t = this;
e.get("order/express", t.data.options, function(s) {
0 == s.error ? (s.show = !0, t.setData(s)) : e.toast(s.message, "loading");
});
}
});