16 lines
444 B
JavaScript
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");
|
|
});
|
|
}
|
|
}); |