mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-26 03:26:35 +08:00
[improvement] Area: update style (#701)
This commit is contained in:
parent
391534e142
commit
37adb4b77e
@ -10,15 +10,15 @@
|
|||||||
&__toolbar {
|
&__toolbar {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
height: 40px;
|
height: 44px;
|
||||||
font-size: 16px;
|
line-height: 44px;
|
||||||
line-height: 40px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
&__cancel,
|
&__cancel,
|
||||||
&__confirm {
|
&__confirm {
|
||||||
padding: 0 15px;
|
|
||||||
color: @blue;
|
color: @blue;
|
||||||
|
padding: 0 15px;
|
||||||
|
font-size: 14px;
|
||||||
|
|
||||||
&:active {
|
&:active {
|
||||||
background-color: @active-color;
|
background-color: @active-color;
|
||||||
@ -27,6 +27,8 @@
|
|||||||
|
|
||||||
&__title {
|
&__title {
|
||||||
max-width: 50%;
|
max-width: 50%;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 500;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -58,7 +60,8 @@
|
|||||||
color: @gray-dark;
|
color: @gray-dark;
|
||||||
|
|
||||||
&--selected {
|
&--selected {
|
||||||
color: @black;
|
font-weight: 500;
|
||||||
|
color: @text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
&--disabled {
|
&--disabled {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<view class="van-picker">
|
<view class="van-picker">
|
||||||
<view class="van-picker__toolbar">
|
<view class="van-picker__toolbar van-hairline--bottom">
|
||||||
<view class="van-picker__cancel" bindtap="onCancel">取消</view>
|
<view class="van-picker__cancel" bindtap="onCancel">取消</view>
|
||||||
<view class="van-picker__title">{{ title }}</view>
|
<view class="van-picker__title">{{ title }}</view>
|
||||||
<view class="van-picker__confirm" bindtap="onConfirm">确定</view>
|
<view class="van-picker__confirm" bindtap="onConfirm">确定</view>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user