feat: 整合 wot-design-uni 框架

This commit is contained in:
ray
2024-09-25 12:30:43 +08:00
parent 272d643744
commit a7757213f2
7 changed files with 106 additions and 16 deletions

View File

@@ -2,7 +2,19 @@
<view class="flex-center flex-col">
<image class="logo" src="/static/logo.png" />
<view>
<text class="text-red font-bold text-lg">{{ title }}</text>
<text class="text-blue font-bold text-lg">{{ title }}</text>
</view>
<view class="mt-5 flex-center">
<text class="text-green font-bold text-lg">测试 UnoCSS</text>
</view>
<view class="mt-5 flex-center">
<wd-button size="small">主要按钮</wd-button>
<wd-button type="success" size="small">成功按钮</wd-button>
<wd-button type="info" size="small">信息按钮</wd-button>
<wd-button type="warning" size="small">警告按钮</wd-button>
<wd-button type="error" size="small">危险按钮</wd-button>
</view>
</view>
</template>