Commit 1fffff4f by 李伟康

commit 修改样式

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