mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
16 lines
341 B
Markdown
16 lines
341 B
Markdown
## Panel 面板
|
|
|
|
### 使用指南
|
|
在 app.wxss 中引入组件库所有样式
|
|
```css
|
|
@import "path/to/zanui-weapp/dist/index.wxss";
|
|
```
|
|
|
|
### 代码演示
|
|
Panel 提供了一块白色的展示区域,直接在需要的元素上加上 zan-panel 类即可,使用方式如下
|
|
```html
|
|
<view class="zan-panel">
|
|
<view>内容</view>
|
|
</view>
|
|
```
|