refactor: 重构模板叠加式编译产物
This commit is contained in:
1 parent
c46297b13b
commit
25d1fe983c
93 files changed
+870
-2467
No files matched your search
@@ -0,0 +1,138 @@
|
||||
.page {
|
||||
min-height: 100vh;
|
||||
padding: 24rpx 32rpx 60rpx;
|
||||
background: #fbf7f1;
|
||||
color: #2b2b2b;
|
||||
}
|
||||
.product {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20rpx;
|
||||
padding: 20rpx;
|
||||
background: #f4ebd9;
|
||||
border-radius: 16rpx;
|
||||
}
|
||||
.product-image {
|
||||
width: 220rpx;
|
||||
height: 180rpx;
|
||||
overflow: hidden;
|
||||
border-radius: 12rpx;
|
||||
flex: none;
|
||||
}
|
||||
.product-image image,
|
||||
.dish-placeholder {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
background: #c79555;
|
||||
}
|
||||
.product-copy {
|
||||
flex: 1;
|
||||
}
|
||||
.name {
|
||||
display: block;
|
||||
font-size: 34rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
.price {
|
||||
display: block;
|
||||
margin-top: 18rpx;
|
||||
color: #b54a2c;
|
||||
font-size: 38rpx;
|
||||
}
|
||||
.available {
|
||||
color: #7a4a2b;
|
||||
font-size: 26rpx;
|
||||
white-space: nowrap;
|
||||
align-self: flex-start;
|
||||
margin-top: 14rpx;
|
||||
}
|
||||
.quantity,
|
||||
.fulfillment {
|
||||
margin-top: 20rpx;
|
||||
padding: 28rpx;
|
||||
background: #f4ebd9;
|
||||
border-radius: 16rpx;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
.stepper {
|
||||
float: right;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 18rpx;
|
||||
}
|
||||
.stepper button {
|
||||
width: 56rpx;
|
||||
height: 56rpx;
|
||||
line-height: 52rpx;
|
||||
padding: 0;
|
||||
border-radius: 50%;
|
||||
background: #fff;
|
||||
color: #b54a2c;
|
||||
}
|
||||
.field-title {
|
||||
font-weight: 700;
|
||||
}
|
||||
.choices {
|
||||
display: flex;
|
||||
gap: 16rpx;
|
||||
margin-top: 18rpx;
|
||||
}
|
||||
.choice {
|
||||
flex: 1;
|
||||
border-radius: 12rpx;
|
||||
background: #7a4a2b;
|
||||
color: #fff;
|
||||
}
|
||||
.choice.active {
|
||||
background: #b54a2c;
|
||||
}
|
||||
.form {
|
||||
margin-top: 20rpx;
|
||||
background: #fff;
|
||||
border-radius: 16rpx;
|
||||
padding: 8rpx 28rpx;
|
||||
}
|
||||
.form label {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 20rpx;
|
||||
padding: 28rpx 0;
|
||||
border-bottom: 1rpx solid #eee;
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.form input,
|
||||
.form textarea {
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
}
|
||||
.form textarea {
|
||||
min-height: 100rpx;
|
||||
}
|
||||
.notice {
|
||||
margin: 20rpx 0;
|
||||
padding: 24rpx;
|
||||
background: #f4ebd9;
|
||||
border-radius: 16rpx;
|
||||
color: #7a4a2b;
|
||||
}
|
||||
.submit {
|
||||
background: #b54a2c;
|
||||
color: #fff;
|
||||
border-radius: 12rpx;
|
||||
font-size: 34rpx;
|
||||
}
|
||||
.stepper button {
|
||||
display: flex;
|
||||
width: 64rpx;
|
||||
height: 64rpx;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 16rpx;
|
||||
background: #fff;
|
||||
color: #b54a2c;
|
||||
font-size: 40rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
Reference in new issue
Block a user