Files
MiniProgram/ProjectLiaisonForm/pages/switch/label/index.wxml

8 lines
292 B
Plaintext
Raw Normal View History

2025-08-15 14:05:08 +08:00
<t-cell title="带文字开关">
<t-switch bindchange="handleChange" value="{{defaultVal}}" label="{{['开', '关']}}" slot="note" />
</t-cell>
<t-cell title="带图标开关" bordered="{{false}}">
<t-switch defaultValue="{{true}}" icon="{{['check', 'close']}}" slot="note" />
</t-cell>