mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
parent
fdfda6ba9a
commit
baf1c91a75
@ -5,10 +5,10 @@
|
|||||||
border: none !important;
|
border: none !important;
|
||||||
|
|
||||||
&__content {
|
&__content {
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
line-height: 1;
|
height: 100%;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
|
line-height: 1;
|
||||||
color: @gray-darker;
|
color: @gray-darker;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
@ -4,6 +4,8 @@ import { button } from '../mixins/button';
|
|||||||
import { openType } from '../mixins/open-type';
|
import { openType } from '../mixins/open-type';
|
||||||
|
|
||||||
VantComponent({
|
VantComponent({
|
||||||
|
classes: ['icon-class', 'text-class'],
|
||||||
|
|
||||||
mixins: [link, button, openType],
|
mixins: [link, button, openType],
|
||||||
|
|
||||||
props: {
|
props: {
|
||||||
|
@ -26,7 +26,8 @@
|
|||||||
name="{{ icon }}"
|
name="{{ icon }}"
|
||||||
info="{{ info }}"
|
info="{{ info }}"
|
||||||
class="van-goods-action-icon__icon"
|
class="van-goods-action-icon__icon"
|
||||||
|
custom-class="icon-class"
|
||||||
/>
|
/>
|
||||||
{{ text }}
|
<text class="text-class">{{ text }}</text>
|
||||||
</view>
|
</view>
|
||||||
</van-button>
|
</van-button>
|
||||||
|
@ -119,6 +119,19 @@ Page({
|
|||||||
|-----------|-----------|-----------|
|
|-----------|-----------|-----------|
|
||||||
| click | 按钮点击事件回调 | - |
|
| click | 按钮点击事件回调 | - |
|
||||||
|
|
||||||
|
### GoodsActionIcon 外部样式类
|
||||||
|
|
||||||
|
| 类名 | 说明 |
|
||||||
|
|-----------|-----------|
|
||||||
|
| icon-class | 图标样式类 |
|
||||||
|
| text-class | 文字样式类 |
|
||||||
|
|
||||||
|
### GoodsActionButton 外部样式类
|
||||||
|
|
||||||
|
| 类名 | 说明 |
|
||||||
|
|-----------|-----------|
|
||||||
|
| custom-class | 根节点样式类 |
|
||||||
|
|
||||||
### 更新日志
|
### 更新日志
|
||||||
|
|
||||||
| 版本 | 类型 | 内容 |
|
| 版本 | 类型 | 内容 |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user