213 lines
3.4 KiB
Plaintext
213 lines
3.4 KiB
Plaintext
/* packageA/mycomponent/sweep_buy_goods/sweep_buy_goods.wxss */
|
|
@import "/mycss/iconfont.wxss";
|
|
|
|
page {
|
|
background: #f2f2f2;
|
|
}
|
|
|
|
view,
|
|
text {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.header {
|
|
width: 100%;
|
|
margin-bottom: -105rpx;
|
|
padding-bottom: 105rpx;
|
|
background-color: #feca12;
|
|
border-radius: 0 0 77rpx 77rpx;
|
|
}
|
|
|
|
.header .header-wrapper {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding-top: 51rpx;
|
|
padding-bottom: 51rpx;
|
|
}
|
|
|
|
.header .header-wrapper .logo,
|
|
.header .header-wrapper .logo image {
|
|
width: 70rpx;
|
|
height: 70rpx;
|
|
background-color: #ffffff;
|
|
border-radius: 4rpx;
|
|
}
|
|
|
|
.header .header-wrapper .name {
|
|
max-width: 500rpx;
|
|
margin-left: 22rpx;
|
|
font-size: 36rpx;
|
|
color: #333;
|
|
text-align: center;
|
|
}
|
|
|
|
.inputs {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
width: 710rpx;
|
|
height: 210rpx;
|
|
padding: 30rpx 31rpx;
|
|
margin: 0 auto;
|
|
text-align: left;
|
|
background-color: #ffffff;
|
|
border-radius: 10rpx;
|
|
}
|
|
|
|
.inputs .text {
|
|
font-size: 26rpx;
|
|
color: #4b4b4b;
|
|
}
|
|
|
|
.inputs .price-wrapper {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
padding-bottom: 10rpx;
|
|
font-weight: bold;
|
|
border-bottom: 2rpx solid #dfdfdf;
|
|
}
|
|
|
|
.inputs .price-wrapper .company {
|
|
font-size: 26rpx;
|
|
color: #1f1f1f;
|
|
}
|
|
|
|
.inputs .price-wrapper .price {
|
|
transform: translateY(13rpx);
|
|
margin-left: 32rpx;
|
|
font-size: 56rpx;
|
|
color: #2a2a2a;
|
|
}
|
|
|
|
.inputs .price-wrapper .price.notText {
|
|
color: #a4a4a4;
|
|
}
|
|
|
|
.inputs .price-wrapper .price .cursor::after {
|
|
content: "";
|
|
display: inline-block;
|
|
width: 4rpx;
|
|
height: 40rpx;
|
|
background-color: #323233;
|
|
animation: 1s van-cursor-flicker infinite;
|
|
}
|
|
|
|
.fixed-qrcode {
|
|
position: fixed;
|
|
right: 50%;
|
|
transform: translateX(352rpx);
|
|
bottom: 750rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.fixed-qrcode .iconfont {
|
|
font-size: 40rpx;
|
|
color: #fff;
|
|
}
|
|
|
|
.fixed-topping {
|
|
position: fixed;
|
|
right: 50%;
|
|
transform: translateX(352rpx);
|
|
bottom: 650rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 60rpx;
|
|
height: 60rpx;
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.fixed-topping .iconfont {
|
|
font-size: 44rpx;
|
|
color: #fff;
|
|
}
|
|
|
|
|
|
.fixed-bottom {
|
|
position: fixed;
|
|
bottom: 0;
|
|
padding-bottom: env(safe-area-inset-bottom);
|
|
background-color: #f2f3f5;
|
|
}
|
|
|
|
.numberDeleteWrapper {
|
|
flex: 1 !important;
|
|
}
|
|
|
|
.numberCloseWrapper {
|
|
flex: 3 !important;
|
|
/* background-color: #21bf63; */
|
|
}
|
|
|
|
.numberCloseText {
|
|
background-color: #21bf63 !important;
|
|
}
|
|
|
|
.numberCloseText-disabled {
|
|
background-color: #cbced0 !important;
|
|
}
|
|
|
|
.goods-details {
|
|
width: 710rpx;
|
|
margin: 20rpx auto;
|
|
padding-bottom: calc(488rpx + env(safe-area-inset-bottom));
|
|
background: #fff;
|
|
border-radius: 10rpx;
|
|
}
|
|
|
|
.goods-details .details-title {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #9a9a99;
|
|
padding: 32rpx 22rpx;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.goods-details .details-title .line {
|
|
background: #ced0d2;
|
|
width: 96rpx;
|
|
height: 2rpx;
|
|
}
|
|
|
|
.goods-details .details-title .dr {
|
|
margin-right: 25rpx;
|
|
}
|
|
|
|
.goods-details .details-title .dl {
|
|
margin-left: 25rpx;
|
|
}
|
|
|
|
.goods-details .wrapper {
|
|
padding: 16rpx;
|
|
text-align: left;
|
|
}
|
|
|
|
.goods-details .wrapper img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
|
|
@keyframes van-cursor-flicker {
|
|
0% {
|
|
opacity: 0;
|
|
}
|
|
|
|
50% {
|
|
opacity: 1;
|
|
}
|
|
|
|
100% {
|
|
opacity: 0;
|
|
}
|
|
} |