mirror of
https://github.com/youzan/vant.git
synced 2025-10-19 18:14:13 +00:00
add GoodsAction component
This commit is contained in:
@@ -103,6 +103,7 @@
|
||||
line-height: 50px;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
font-size: 16px;
|
||||
color: $bottom-action-button-default-color;
|
||||
background-color: $bottom-action-button-default-background-color;
|
||||
|
||||
|
@@ -13,6 +13,7 @@ $c-yellow-light: #fcff00;
|
||||
$c-orange: #f60;
|
||||
$c-orange-dark: #f15a0c;
|
||||
$c-blue: #38f;
|
||||
$c-active: #e8e8e8;
|
||||
|
||||
$c-background: #f8f8f8;
|
||||
|
||||
|
40
packages/vant-css/src/goods-action.css
Normal file
40
packages/vant-css/src/goods-action.css
Normal file
@@ -0,0 +1,40 @@
|
||||
@import './common/var.css';
|
||||
|
||||
.van-goods-action {
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
position: fixed;
|
||||
|
||||
&__mini-btn {
|
||||
color: #666;
|
||||
display: flex;
|
||||
height: 50px;
|
||||
font-size: 10px;
|
||||
min-width: 15%;
|
||||
text-align: center;
|
||||
background-color: #fff;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
|
||||
&::after {
|
||||
@mixin border-retina (top, right), #cacaca;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
&::after {
|
||||
border-right-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
&:active {
|
||||
background-color: $c-active;
|
||||
}
|
||||
}
|
||||
|
||||
&__mini-btn-icon {
|
||||
font-size: 20px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
@@ -36,3 +36,4 @@
|
||||
@import './pay-order.css';
|
||||
@import './order-goods.css';
|
||||
@import './invalid-goods.css';
|
||||
@import './goods-action.css';
|
||||
|
@@ -1,4 +1,4 @@
|
||||
@import "./mixins/ellipsis";
|
||||
@import "./mixins/ellipsis.css";
|
||||
|
||||
$van-invalid-goods-photo-size: 90px;
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
@import "./mixins/border_retina";
|
||||
@import "./mixins/border_retina.css";
|
||||
|
||||
.van-order-goods {
|
||||
background-color: #fff;
|
||||
|
Reference in New Issue
Block a user