black a5a558eff3 新增Vant WeApp 组件库
- 添加 Vant WeApp 组件库的多个组件和工具文件
- 新增的组件包括 calendar、circle、collapse、dialog 等- 添加了常用的工具函数和样式文件
- 在 app.js 中集成了 Vant WeApp 组件库
2025-07-18 18:46:14 +08:00

21 lines
739 B
Plaintext

<wxs src="../wxs/utils.wxs" module="utils" />
<wxs src="./options.wxs" module="computed" />
<view class="{{ utils.bem('share-sheet__options', { border: showBorder }) }}">
<view
wx:for="{{ options }}"
wx:key="index"
class="van-share-sheet__option"
data-index="{{ index }}"
bindtap="onSelect"
>
<button class="van-share-sheet__button" open-type="{{ item.openType }}">
<image src="{{ computed.getIconURL(item.icon) }}" class="van-share-sheet__icon" />
<view wx:if="{{ item.name }}" class="van-share-sheet__name">{{ item.name }}</view>
<view wx:if="{{ item.description }}" class="van-share-sheet__option-description">
{{ item.description }}
</view>
</button>
</view>
</view>