武田小程序
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.

364 lines
8.3 KiB

page {
background-color: rgba(246, 246, 246, 1);
}
.page {
padding: 24rpx 32rpx 200rpx;
.card {
margin-bottom: 24rpx;
padding: 32rpx;
background-color: #fff;
border-radius: 16rpx;
.card-title {
font-size: 32rpx;
color: rgba(20, 21, 21, 1);
line-height: 56rpx;
.limit {
color: rgba(153, 153, 153, 1);
}
.message-select {
float: right;
padding: 8rpx 24rpx;
font-size: 28rpx;
color: rgba(255, 255, 255, 1);
line-height: 40rpx;
background: #01b4c5;
border-radius: 60rpx 60rpx 60rpx 60rpx;
}
&.required {
&::before {
display: inline;
content: '*';
color: rgba(255, 87, 51, 1);
}
}
}
.image-files {
margin-top: 32rpx;
display: flex;
gap: 14rpx;
.upload-file {
width: 144rpx;
height: 144rpx;
background: #f6f6f6;
border-radius: 8rpx 8rpx 8rpx 8rpx;
display: flex;
align-items: center;
justify-content: center;
.add {
color: #cdcdcd;
font-size: 30px;
}
}
.photo {
position: relative;
width: 144rpx;
height: 144rpx;
border-radius: 8rpx 8rpx 8rpx 8rpx;
.p-img {
width: 100%;
height: 100%;
border-radius: inherit;
}
.del {
position: absolute;
top: 0;
right: 0;
z-index: 1;
color: #fff;
width: 32rpx;
height: 32rpx;
text-align: center;
line-height: 32rpx;
font-size: 20rpx;
border-radius: 8rpx;
background-color: rgba(0, 0, 0, 0.3);
}
.repeat {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: inherit;
background-color: rgba(0, 0, 0, 0.3);
.icon {
width: 36rpx;
height: 36rpx;
}
.r-title {
margin-top: 8rpx;
font-size: 20rpx;
color: rgba(237, 79, 57, 1);
}
}
}
}
.remark {
margin-top: 32rpx;
padding: 32rpx;
border-radius: 16rpx;
background-color: rgba(246, 246, 246, 1);
.textarea {
font-size: 28rpx;
line-height: 32rpx;
min-height: 200rpx;
color: #000;
}
.limit {
font-size: 28rpx;
color: rgba(205, 205, 205, 1);
line-height: 32rpx;
text-align: right;
}
}
.record {
margin: 24rpx -30rpx -30rpx;
height: 198rpx;
border-radius: 16rpx;
background: linear-gradient(to bottom, #fff 0%, #fff 34%, #f6f6f6 34%, #f6f6f6 100%);
.record-btn {
display: flex;
justify-content: center;
}
.r-title {
margin-top: 12rpx;
font-size: 28rpx;
color: rgba(133, 133, 133, 1);
text-align: center;
}
}
.none-file {
margin-top: 24rpx;
padding: 26rpx;
border-radius: 16rpx;
background-color: rgba(246, 246, 246, 1);
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.nf-icon {
width: 96rpx;
height: 66rpx;
}
.nf-title {
margin-top: 14rpx;
font-size: 24rpx;
color: rgba(205, 205, 205, 1);
}
}
.file-list {
margin-top: 8rpx;
.fl-row {
margin-top: 24rpx;
display: flex;
align-content: inherit;
justify-content: space-between;
.wrap {
flex: 1;
padding: 20rpx 24rpx;
border-radius: 16rpx;
background-color: rgba(246, 246, 246, 1);
display: flex;
align-items: center;
.icon {
width: 56rpx;
height: 56rpx;
}
.name {
margin-left: 30rpx;
font-size: 32rpx;
color: rgba(128, 128, 128, 1);
}
}
.option {
display: flex;
align-items: center;
.icon {
margin-left: 16rpx;
width: 36rpx;
height: 36rpx;
}
}
}
}
}
.tags {
margin-top: 24rpx;
padding: 22rpx 32rpx;
border-radius: 16rpx;
background-color: #fff;
display: flex;
.label {
padding-top: 8rpx;
flex-shrink: 0;
width: 3em;
font-size: 32rpx;
color: rgba(20, 21, 21, 1);
}
.wrap {
flex: 1;
.tag-wrap {
display: flex;
gap: 16rpx;
flex-wrap: wrap;
.tag {
padding: 10rpx 32rpx;
font-size: 32rpx;
line-height: 44rpx;
color: rgba(133, 133, 133, 1);
background: #f6f6f6;
border-radius: 84rpx 84rpx 84rpx 84rpx;
&.active {
color: #fff;
background-color: rgba(1, 180, 197, 1);
}
}
}
.sub-tag-wrap {
margin-top: 32rpx;
padding: 32rpx;
border-radius: 16rpx;
background-color: rgba(246, 250, 250, 1);
display: flex;
flex-wrap: wrap;
gap: 16rpx;
.sub-tag {
padding: 6rpx 32rpx;
border-radius: 8rpx;
font-size: 32rpx;
color: rgba(133, 133, 133, 1);
line-height: 44rpx;
border: 1px solid rgba(255, 255, 255, 1);
background-color: rgba(255, 255, 255, 1);
&.active {
border-color: rgba(1, 180, 197, 1);
color: rgba(1, 180, 197, 1);
}
}
}
}
}
.footer {
position: fixed;
bottom: 0;
left: 0;
padding: 32rpx 32rpx calc(env(safe-area-inset-bottom) + 32rpx);
width: 100%;
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: space-between;
background-color: #fff;
box-shadow: 0 -10rpx 20rpx rgba(0, 0, 0, 0.1);
.cancel {
width: 332rpx;
height: 84rpx;
text-align: center;
line-height: 88rpx;
font-size: 32rpx;
color: rgba(1, 180, 197, 1);
border-radius: 96rpx 96rpx 96rpx 96rpx;
border: 1rpx solid #01b4c5;
}
.submit {
width: 330rpx;
height: 88rpx;
text-align: center;
line-height: 88rpx;
font-size: 32rpx;
color: #fff;
background: linear-gradient(90deg, #00b4c5 0%, #54e2b4 100%);
border-radius: 96rpx;
}
}
}
.popup1 {
padding: 64rpx 52rpx 34rpx;
width: 580rpx;
box-sizing: border-box;
.title {
font-size: 36rpx;
color: rgba(29, 33, 41, 1);
font-weight: bold;
line-height: 56rpx;
text-align: center;
}
.btn1 {
margin-top: 24rpx;
padding: 14rpx;
font-size: 32rpx;
color: #fff;
line-height: 44rpx;
text-align: center;
background: linear-gradient(90deg, #00b4c5 0%, #54e2b4 100%);
border-radius: 60rpx 60rpx 60rpx 60rpx;
}
.btn2 {
margin-top: 24rpx;
padding: 12rpx 14rpx;
font-size: 32rpx;
color: rgba(1, 180, 197, 1);
line-height: 44rpx;
text-align: center;
border: 1px solid rgba(1, 180, 197, 1);
border-radius: 60rpx 60rpx 60rpx 60rpx;
}
.public {
margin-top: 32rpx;
.radio {
font-size: 28rpx;
color: rgba(153, 153, 153, 1);
.wx-radio-input {
flex-shrink: 0;
align-self: self-start;
transform: scale(0.7);
}
}
}
}
.popup2 {
padding: 64rpx 52rpx 34rpx;
width: 580rpx;
box-sizing: border-box;
.title {
font-size: 36rpx;
color: rgba(29, 33, 41, 1);
font-weight: bold;
line-height: 56rpx;
text-align: center;
}
.content {
margin-top: 12rpx;
font-size: 32rpx;
line-height: 48rpx;
color: rgba(78, 89, 105, 1);
.link {
color: rgba(1, 180, 197, 1);
}
}
.btn {
margin-top: 24rpx;
padding: 14rpx;
font-size: 32rpx;
color: #fff;
line-height: 44rpx;
text-align: center;
background: linear-gradient(90deg, #00b4c5 0%, #54e2b4 100%);
border-radius: 60rpx 60rpx 60rpx 60rpx;
}
.cancel {
margin-top: 24rpx;
padding: 14rpx;
font-size: 32rpx;
color: rgba(205, 205, 205, 1);
line-height: 44rpx;
text-align: center;
}
}