mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 17:05:55 +08:00
微信登录版
This commit is contained in:
20
wechat_v2/miniprogram_npm/@vant/weapp/icon/index.wxml
Normal file
20
wechat_v2/miniprogram_npm/@vant/weapp/icon/index.wxml
Normal file
@@ -0,0 +1,20 @@
|
||||
<wxs src="./index.wxs" module="computed" />
|
||||
|
||||
<view
|
||||
class="{{ computed.rootClass({ classPrefix, name }) }}"
|
||||
style="{{ computed.rootStyle({ customStyle, color, size }) }}"
|
||||
bindtap="onClick"
|
||||
>
|
||||
<van-info
|
||||
wx:if="{{ info !== null || dot }}"
|
||||
dot="{{ dot }}"
|
||||
info="{{ info }}"
|
||||
custom-class="van-icon__info"
|
||||
/>
|
||||
<image
|
||||
wx:if="{{ computed.isImage(name) }}"
|
||||
src="{{ name }}"
|
||||
mode="aspectFit"
|
||||
class="van-icon__image"
|
||||
/>
|
||||
</view>
|
||||
Reference in New Issue
Block a user