mirror of
https://github.com/ChuXunYu/warOfCoins.git
synced 2026-01-31 08:31:26 +00:00
Initial commit
This commit is contained in:
35
components/HistoryModal/HistoryModal.js
Normal file
35
components/HistoryModal/HistoryModal.js
Normal file
@@ -0,0 +1,35 @@
|
||||
Component({
|
||||
/**
|
||||
* 组件的属性列表
|
||||
*/
|
||||
properties: {
|
||||
show: {
|
||||
type: Boolean,
|
||||
value: false
|
||||
},
|
||||
historyCase: {
|
||||
type: Object,
|
||||
value: null
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的初始数据
|
||||
*/
|
||||
data: {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 组件的方法列表
|
||||
*/
|
||||
methods: {
|
||||
closeModal: function() {
|
||||
this.triggerEvent('close');
|
||||
},
|
||||
|
||||
preventBubble: function(e) {
|
||||
// 阻止冒泡,防止点击内容区域关闭模态框
|
||||
}
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user