first add files

This commit is contained in:
2025-08-15 14:05:08 +08:00
parent c58f74bcc0
commit b6216570d9
2451 changed files with 29056 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
Component({
/**
* 组件的初始数据
*/
data: {
checked: true,
},
/**
* 组件的方法列表
*/
methods: {
changeChecked(e) {
this.setData({
checked: e.detail.checked,
});
},
},
});

View File

@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"t-checkbox-group": "tdesign-miniprogram/checkbox-group/checkbox-group",
"t-checkbox": "tdesign-miniprogram/checkbox/checkbox"
}
}

View File

@@ -0,0 +1,5 @@
<t-checkbox-group t-class="theme-card" default-value="{{['1', '2']}}">
<t-checkbox value="1" label="多选" />
<t-checkbox value="2" label="多选" />
<t-checkbox value="3" label="多选标题多行多选标题多行多选标题多行多选标题多行多选标题多行多选标题" />
</t-checkbox-group>

View File

@@ -0,0 +1,5 @@
.theme-card {
border-radius: 24rpx;
margin: 32rpx;
overflow: hidden;
}