Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Registrati
Accedi
zhangzl
/
nsgk_wechat
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
payee。js
master
yujk
3 anni fa
parent
80a6af8545
commit
ce39d10569
1 ha cambiato i file
con
80 aggiunte
e
0 eliminazioni
Visualizzazione separata
Opzioni Diff
Mostra statistiche
Scarica il file Patch
Scarica il file Diff
+80
-0
pages/payee/index.js
+ 80
- 0
pages/payee/index.js
Vedi File
@@ -0,0 +1,80 @@
// pages/payee/index.js
const app = getApp();
Page({
/**
* 页面的初始数据
*/
data: {
isIPX: app.globalData.isIPX,
list: ['a', 'b', 'c'],
result: ['a', 'b'],
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
onChange(event) {
this.setData({
result: event.detail,
});
},
toggle(event) {
const { index } = event.currentTarget.dataset;
const checkbox = this.selectComponent(`.checkboxes-${index}`);
checkbox.toggle();
},
noop() {},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})
Scrivi
Anteprima
Caricamento…
Annulla
Salva