first add files
This commit is contained in:
1
ProjectLiaisonForm/pages/tabs/with-badge/index.js
Normal file
1
ProjectLiaisonForm/pages/tabs/with-badge/index.js
Normal file
@@ -0,0 +1 @@
|
||||
Component({});
|
||||
7
ProjectLiaisonForm/pages/tabs/with-badge/index.json
Normal file
7
ProjectLiaisonForm/pages/tabs/with-badge/index.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"t-tabs": "tdesign-miniprogram/tabs/tabs",
|
||||
"t-tab-panel": "tdesign-miniprogram/tab-panel/tab-panel"
|
||||
}
|
||||
}
|
||||
5
ProjectLiaisonForm/pages/tabs/with-badge/index.wxml
Normal file
5
ProjectLiaisonForm/pages/tabs/with-badge/index.wxml
Normal file
@@ -0,0 +1,5 @@
|
||||
<t-tabs defaultValue="{{0}}">
|
||||
<t-tab-panel label="选项" value="0" badge-props="{{ { dot: true, offset: ['4px', '4px'] } }}" />
|
||||
<t-tab-panel label="选项" value="1" badge-props="{{ { count: 8, offset: ['8px', '8px'] } }}" />
|
||||
<t-tab-panel label="选项" value="2" />
|
||||
</t-tabs>
|
||||
0
ProjectLiaisonForm/pages/tabs/with-badge/index.wxss
Normal file
0
ProjectLiaisonForm/pages/tabs/with-badge/index.wxss
Normal file
Reference in New Issue
Block a user