添加图标和页面

This commit is contained in:
zhengw
2025-12-26 17:26:32 +08:00
parent 3e53beb7bb
commit 55523a761f
22 changed files with 768 additions and 7 deletions

View File

@@ -0,0 +1,31 @@
// pages/components/popup-plugin/index.ts
Component({
/**
* 组件的属性列表
*/
properties: {
visible: null,
placement: null,
title: null,
},
/**
* 组件的初始数据
*/
data: {},
/**
* 组件的方法列表
*/
methods: {
onVisibleChange(e: any) {
console.log(e.detail.visible);
this.setData({
open: e.detail.visible,
});
if (!e.detail.visible) {
this.triggerEvent("close");
}
},
},
});