You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
107 lines
1.6 KiB
107 lines
1.6 KiB
/* pages/create-supply/index.wxss */
|
|
.create-supply-container {
|
|
background-color: #f5f5f5;
|
|
min-height: 100vh;
|
|
padding: 20rpx;
|
|
}
|
|
|
|
.form-container {
|
|
background-color: #fff;
|
|
border-radius: 16rpx;
|
|
padding: 30rpx;
|
|
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.form-item {
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.label {
|
|
display: block;
|
|
font-size: 28rpx;
|
|
color: #333;
|
|
margin-bottom: 10rpx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.input {
|
|
width: 100%;
|
|
height: 80rpx;
|
|
border: 2rpx solid #e5e5e5;
|
|
border-radius: 12rpx;
|
|
padding: 0 20rpx;
|
|
font-size: 28rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.input:focus {
|
|
border-color: #FF6B81;
|
|
outline: none;
|
|
}
|
|
|
|
.image-upload-container {
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.image-list {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.image-item {
|
|
position: relative;
|
|
width: 180rpx;
|
|
height: 180rpx;
|
|
border-radius: 12rpx;
|
|
overflow: hidden;
|
|
border: 2rpx solid #e5e5e5;
|
|
}
|
|
|
|
.image-item image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.image-delete {
|
|
position: absolute;
|
|
top: -10rpx;
|
|
right: -10rpx;
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
background-color: rgba(255, 0, 0, 0.8);
|
|
color: #fff;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.image-upload {
|
|
width: 180rpx;
|
|
height: 180rpx;
|
|
border: 2rpx dashed #e5e5e5;
|
|
border-radius: 12rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #999;
|
|
font-size: 80rpx;
|
|
}
|
|
|
|
.create-btn {
|
|
margin-top: 40rpx;
|
|
width: 100%;
|
|
height: 90rpx;
|
|
border-radius: 45rpx;
|
|
font-size: 32rpx;
|
|
background-color: #FF6B81;
|
|
color: #fff;
|
|
border: none;
|
|
}
|
|
|
|
.create-btn::after {
|
|
border: none;
|
|
}
|