47 lines
955 B
JavaScript
47 lines
955 B
JavaScript
var t = getApp();
|
|
|
|
t.requirejs("core");
|
|
|
|
Page({
|
|
data: {
|
|
type: 0,
|
|
url: "",
|
|
search: "",
|
|
jflg: !1,
|
|
approot: t.globalData.approot
|
|
},
|
|
onLoad: function(e) {
|
|
e.type || wx.switchTab({
|
|
url: "/pages/member/index/index"
|
|
}), this.setData({
|
|
type: e.type
|
|
});
|
|
var a = t.getCache("transfer_account", "");
|
|
"" != a && this.setData({
|
|
set: a
|
|
}), wx.setNavigationBarTitle({
|
|
title: e.text + a.texts.transfer_text
|
|
});
|
|
},
|
|
onShow: function() {
|
|
this.setData({
|
|
search: ""
|
|
});
|
|
},
|
|
blur: function(t) {
|
|
this.setData({
|
|
search: t.detail.value
|
|
});
|
|
},
|
|
focus: function(t) {},
|
|
setjflg: function() {
|
|
this.setData({
|
|
jflg: !0
|
|
});
|
|
},
|
|
disflg: function() {
|
|
this.setData({
|
|
jflg: !1
|
|
});
|
|
}
|
|
}); |