mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[improvement] SubmitBar: optimzie code (#771)
This commit is contained in:
parent
60fbdfaded
commit
960ae69be3
@ -40,9 +40,5 @@
|
|||||||
button {
|
button {
|
||||||
width: 110px;
|
width: 110px;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--disabled button {
|
|
||||||
border: none !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -14,14 +14,14 @@
|
|||||||
</block>
|
</block>
|
||||||
</view>
|
</view>
|
||||||
<van-button
|
<van-button
|
||||||
type="{{ buttonType }}"
|
|
||||||
disabled="{{ disabled }}"
|
|
||||||
loading="{{ loading }}"
|
|
||||||
bind:click="onSubmit"
|
|
||||||
square
|
square
|
||||||
size="large"
|
size="large"
|
||||||
class="van-submit-bar__button {{ disabled ? 'van-submit-bar__button--disabled' : '' }}"
|
type="{{ buttonType }}"
|
||||||
|
loading="{{ loading }}"
|
||||||
|
disabled="{{ disabled }}"
|
||||||
|
class="van-submit-bar__button"
|
||||||
custom-class="button-class"
|
custom-class="button-class"
|
||||||
|
bind:click="onSubmit"
|
||||||
>
|
>
|
||||||
{{ loading ? '' : buttonText }}
|
{{ loading ? '' : buttonText }}
|
||||||
</van-button>
|
</van-button>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user