This commit is contained in:
2025-09-14 00:21:54 +08:00
commit d40b3bbd62
766 changed files with 36275 additions and 0 deletions

View File

@@ -0,0 +1,62 @@
const __templateJs = require("./templates.js");
const __mergePageOptions = require("../../util/mergePageOptions.js");
Page(__mergePageOptions({
onShareAppMessage() {
return {
title: 'icon',
path: 'page/component/pages/icon/icon'
};
},
data: {
color: 'red',
size: 30,
type: 'success',
iconList: [{
type: 'success',
title: '成功',
text: 'success',
description: '用于表示操作顺利完成<'
}, {
type: 'info',
text: 'info'
}, {
type: 'warn'
}, {
type: 'waiting'
}, {
type: 'success_no_circle'
}, {
type: 'circle'
}, {
type: 'download'
}, {
type: 'info_circle'
}, {
type: 'cancel'
}, {
type: 'search'
}],
iconSize: ['40', '34', '30', '24', '20', '18', '16']
},
changeType({
detail
}) {
this.setData({
type: detail.value
});
},
changeColor({
detail
}) {
this.setData({
color: detail.value
});
},
changeSize({
detail
}) {
this.setData({
size: detail.value
});
}
}, __templateJs));