Commit 1fffff4f by 李伟康

commit 修改样式

1 parent 49b3948a
/* components/Goods/Goods.wxss */
/* @import '../Coupon/Coupon.wxss'; */
.coupon-box {
width: calc(100% + 64rpx);
/* width: calc(100% + var(--fontSize64)); */
height: 100%;
margin-left: -32rpx;
/* margin-left: -var(--fontSize32); */
}
.coupon {
height: calc(100% - 104rpx);
height: calc(100% - var(--fontSize104));
}
.box {
border-bottom: 2rpx solid #EBEDF0;
padding-left: 72rpx;
border-bottom: var(--fontSize2) solid #EBEDF0;
padding-left: var(--fontSize72);
}
.title {
padding: 18rpx 0 0 32rpx;
font-size: 32rpx;
padding: var(--fontSize18) 0 0 var(--fontSize32);
font-size: var(--fontSize32);
color: #333333;
height: 88rpx;
height: var(--fontSize88);
box-sizing: border-box;
}
......@@ -29,13 +29,13 @@
.item {
box-sizing: border-box;
padding: 23rpx 0;
border-top: 2rpx solid #EBEDF0;
padding: var(--fontSize23) 0;
border-top: var(--fontSize2) solid #EBEDF0;
/* height: 84rpx; */
display: flex;
/* align-items: center; */
align-items: start;
font-size: 28rpx;
font-size: var(--fontSize28);
color: #888888;
position: relative;
}
......@@ -59,11 +59,11 @@
.item .icon {
display: none;
width: 32rpx;
height: 32rpx;
width: var(--fontSize32);
height: var(--fontSize32);
position: absolute;
top: 28rpx;
left: -52rpx;
top: var(--fontSize28);
left: calc(var(--fontSize52) * -1);
/* transform: translateY(-50%); */
}
......@@ -76,23 +76,23 @@
}
.nothing {
padding: 100rpx;
padding: var(--fontSize100);
text-align: center;
color: #999;
}
.item {
justify-content: space-between;
padding-right: 32rpx;
padding-right: var(--fontSize32);
}
.title .tips {
font-size: 24rpx;
font-size: var(--fontSize24);
color: #999999;
}
.item .value {
/* width: calc(100% - 180rpx); */
/* width: calc(100% - var(--fontSize180)); */
width: 100%;
display: flex;
/* flex-direction: ; */
......@@ -100,7 +100,7 @@
}
.item .labelWidth {
width: calc(100% - 180rpx);
width: calc(100% - var(--fontSize180));
/* display: flex; */
}
......@@ -110,8 +110,8 @@
.item .value .name .warning_text {
color: #F24724;
margin-left: 10rpx;
font-size: 22rpx;
margin-left: var(--fontSize10);
font-size: var(--fontSize22);
}
.item .value .textWidth {
......@@ -125,7 +125,7 @@
.item .value .price {
/* color: #347BFF; */
font-weight: 500;
font-size: 28rpx;
font-size: var(--fontSize28);
color: #EB4E4E;
}
......@@ -136,25 +136,25 @@
.item .control .minus,
.item .control .add {
width: 44rpx;
height: 44rpx;
width: var(--fontSize44);
height: var(--fontSize44);
color: #347BFF;
background: #F7F7F7;
border-radius: 6rpx;
border-radius: var(--fontSize6);
display: flex;
align-items: center;
justify-content: center;
font-size: 32rpx;
font-size: var(--fontSize32);
font-weight: 700;
}
.item .control .input {
width: 72rpx;
height: 40rpx;
width: var(--fontSize72);
height: var(--fontSize40);
text-align: center;
font-size: 28rpx;
font-size: var(--fontSize28);
color: #333333;
margin: 0 5rpx;
margin: 0 var(--fontSize5);
}
.disableSelect {
......@@ -168,13 +168,13 @@
.item .icon .arc {
width: 100%;
height: 100%;
border: 2rpx solid #979797;
border: var(--fontSize2) solid #979797;
border-radius: 100%;
box-sizing: border-box;
}
.nothing {
padding: 100rpx;
padding: var(--fontSize100);
text-align: center;
color: #999;
}
......@@ -199,12 +199,12 @@
.goodsItem {
box-sizing: border-box;
padding: 24rpx 24rpx 24rpx 48rpx;
padding: var(--fontSize24) var(--fontSize24) var(--fontSize24) var(--fontSize48);
/* width: 558rpx; */
width: 100%;
/* height: 208rpx; */
background: #F7F7F7;
border-radius: 4rpx;
border-radius: var(--fontSize4);
display: flex;
flex-wrap: wrap;
/* flex-direction: column; */
......@@ -222,11 +222,11 @@
.goodsItem .goodsListName::before {
content: '';
position: absolute;
left: -24rpx;
left: -var(--fontSize24);
top: 50%;
transform: (0, -50%);
border-radius: 6rpx;
width: 12rpx;
height: 12rpx;
border-radius: var(--fontSize6);
width: var(--fontSize12);
height: var(--fontSize12);
background: #347BFF;
}
\ No newline at end of file
......@@ -89,7 +89,7 @@
.label {
font-weight: 500;
font-size: var(--fontSize32);
line-height: var(--fontSize32);
}
}
.remark {
......
......@@ -87,7 +87,7 @@
.label {
font-weight: 500;
font-size: var(--fontSize32);
line-height: var(--fontSize32);
}
}
......
......@@ -153,9 +153,10 @@ page {
}
.input {
text-align: center;
text-align: right;
font-size: var(--fontSize28);
height: 100%;
padding-right: var(--fontSize40);
}
.placeholder-class {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!