project init
This commit is contained in:
29
pages/bill/index.js
Normal file
29
pages/bill/index.js
Normal file
@@ -0,0 +1,29 @@
|
||||
Page({
|
||||
data: {
|
||||
showDeleteConfirm: false,
|
||||
title : "账单名称",
|
||||
money : "2000"
|
||||
},
|
||||
onLoad: function (options) {
|
||||
|
||||
},
|
||||
editBill() {
|
||||
wx.navigateTo({
|
||||
url: './edit/index'
|
||||
})
|
||||
},
|
||||
deleteBill() {
|
||||
this.setData({
|
||||
showDeleteConfirm: true
|
||||
})
|
||||
},
|
||||
onConfirm (e) {
|
||||
wx.navigateBack();
|
||||
this.closeDialog()
|
||||
},
|
||||
closeDialog() {
|
||||
this.setData({
|
||||
showDeleteConfirm: false
|
||||
})
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user