first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
// component/popup/popup.js
Component({
/**
* 组件的属性列表
*/
options:{
multipleSlots: true
},
properties: {
isPopup:{ //是否显示弹出层
type: Boolean,
value: true
},
backClick:{ // 点击背景是否关闭
type: Boolean,
value: true
}
},
/**
* 组件的初始数据
*/
data: {
},
/**
* 组件的方法列表
*/
methods: {
isBackClick () {
if(this.properties.backClick) return;
this.properties.isPopup = false
}
}
})