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,15 @@
Component({
data: {
visible: true,
navigatorProps: {
url: '/pages/xxx/xxx',
},
},
methods: {
click(e) {
const { trigger } = e.detail;
console.log(`click on the ${trigger} area`);
},
},
});

View File

@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"t-notice-bar": "tdesign-miniprogram/notice-bar/notice-bar",
"t-link": "tdesign-miniprogram/link/link"
}
}

View File

@@ -0,0 +1,11 @@
<t-notice-bar visible="{{visible}}" suffixIcon="chevron-right" bind:click="click">
<view slot="content" class="inline"> 这是一条普通的通知信息 </view>
<t-link slot="operation" content="详情" theme="primary" underline="{{false}}" navigator-props="{{navigatorProps}}" />
</t-notice-bar>
<t-notice-bar
visible="{{visible}}"
suffixIcon="chevron-right"
content="这是一条普通的通知信息"
bind:click="click"
></t-notice-bar>

View File

@@ -0,0 +1,3 @@
.inline {
display: inline;
}