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.
296 lines
6.0 KiB
296 lines
6.0 KiB
2 years ago
|
//引入全局配置
|
||
|
@import "c/conf";
|
||
|
@import "c/mx";
|
||
|
@import "c/f";
|
||
|
@import "a/c";
|
||
|
|
||
|
page {
|
||
|
background-color: $bgc1;
|
||
|
}
|
||
|
|
||
|
.m-fm {
|
||
|
.link {
|
||
|
position: fixed;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
width: 100%;
|
||
|
text-align: center;
|
||
|
font-size: 26rpx;
|
||
|
color: $fc3;
|
||
|
line-height: 80rpx;
|
||
|
}
|
||
|
|
||
|
.fm {
|
||
|
box-sizing: border-box;
|
||
|
margin: 20rpx auto;
|
||
|
width: 710rpx;
|
||
|
border-radius: 10rpx;
|
||
|
padding: 20rpx;
|
||
|
background-color: #ffffff;
|
||
|
|
||
|
&.fm-2 {
|
||
|
padding: 5rpx 20rpx;
|
||
|
}
|
||
|
.item {
|
||
|
@include cs;
|
||
|
line-height: 40rpx;
|
||
|
padding: 25rpx 0;
|
||
|
border-top: 1rpx solid #eee;
|
||
|
|
||
|
&:first-child {
|
||
|
border-top: none;
|
||
|
}
|
||
|
|
||
|
.field {
|
||
|
float: left;
|
||
|
font-size: 32rpx;
|
||
|
font-family: Source Han Serif SC;
|
||
|
font-weight: 500;
|
||
|
color: $fc1;
|
||
|
.z-stress {
|
||
|
color: rgba(230, 0, 0, 1);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.input {
|
||
|
float: right;
|
||
|
width: 500rpx;
|
||
|
|
||
|
input {
|
||
|
display: block;
|
||
|
width: 500rpx;
|
||
|
height: 40rpx;
|
||
|
line-height: 40rpx;
|
||
|
min-height: 40rpx;
|
||
|
text-align: right;
|
||
|
border: none;
|
||
|
background-color: #fff;
|
||
|
font-size: 28rpx;
|
||
|
font-family: Source Han Serif SC;
|
||
|
color: $fc1;
|
||
|
.z-placeholder {
|
||
|
color: $fc3;
|
||
|
}
|
||
|
}
|
||
|
&.z-small {
|
||
|
width: 300rpx;
|
||
|
input {
|
||
|
width: 300rpx;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.radio {
|
||
|
@include cs;
|
||
|
float: right;
|
||
|
width: 500rpx;
|
||
|
height: 40rpx;
|
||
|
|
||
|
.radio-item {
|
||
|
position: relative;
|
||
|
float: right;
|
||
|
margin-left: 10rpx;
|
||
|
top: -10rpx;
|
||
|
padding: 0 20rpx;
|
||
|
height: 60rpx;
|
||
|
line-height: 60rpx;
|
||
|
background: #f7f7f7;
|
||
|
text-align: center;
|
||
|
font-size: 26rpx;
|
||
|
border-radius: 10rpx;
|
||
|
overflow: hidden;
|
||
|
color: $fc3;
|
||
|
transition: all $ad1 ease-in-out;
|
||
|
|
||
|
image {
|
||
|
display: block;
|
||
|
position: absolute;
|
||
|
bottom: 0;
|
||
|
right: 0;
|
||
|
opacity: 0;
|
||
|
width: 32rpx;
|
||
|
height: 32rpx;
|
||
|
transition: opacity $ad1 ease-in-out;
|
||
|
}
|
||
|
|
||
|
&.z-on {
|
||
|
color: #e60000;
|
||
|
box-shadow: 0 0 0 2rpx #e60000 inset;
|
||
|
background: #fff4f4;
|
||
|
|
||
|
image {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
.position-input {
|
||
|
padding-bottom: 20rpx;
|
||
|
display: block;
|
||
|
margin: 0 auto auto;
|
||
|
width: 100%;
|
||
|
height: 50rpx;
|
||
|
line-height: 50rpx;
|
||
|
font-size: 13px;
|
||
|
font-family: Source Han Serif SC;
|
||
|
color: $fc1;
|
||
|
}
|
||
|
.position-hint {
|
||
|
padding-top: 20rpx;
|
||
|
border-top: 1rpx solid #eee;
|
||
|
line-height: 50rpx;
|
||
|
font-size: 13px;
|
||
|
font-family: Source Han Serif SC;
|
||
|
color: rgba(153, 153, 153, 1);
|
||
|
|
||
|
image {
|
||
|
position: relative;
|
||
|
top: -3rpx;
|
||
|
width: 32rpx;
|
||
|
height: 39rpx;
|
||
|
margin-right: 12rpx;
|
||
|
vertical-align: middle;
|
||
|
}
|
||
|
}
|
||
|
textarea {
|
||
|
box-sizing: border-box;
|
||
|
display: block;
|
||
|
margin: 0 auto auto;
|
||
|
padding: 5rpx 0;
|
||
|
width: 100%;
|
||
|
height: 250rpx;
|
||
|
line-height: 45rpx;
|
||
|
border-radius: 20rpx;
|
||
|
background-color: #fff;
|
||
|
font-size: 14px;
|
||
|
font-family: Source Han Serif SC;
|
||
|
color: $fc1;
|
||
|
.z-placeholder {
|
||
|
@include wwb;
|
||
|
}
|
||
|
}
|
||
|
.input-hint {
|
||
|
box-sizing: border-box;
|
||
|
line-height: 80rpx;
|
||
|
text-align: right;
|
||
|
font-family: Source Han Serif SC;
|
||
|
font-weight: 500;
|
||
|
color: rgba(153, 153, 153, 1);
|
||
|
font-size: 13px;
|
||
|
}
|
||
|
|
||
|
.img-list {
|
||
|
@include cs;
|
||
|
position: relative;
|
||
|
box-sizing: border-box;
|
||
|
display: block;
|
||
|
margin: 25rpx auto auto;
|
||
|
width: 660rpx;
|
||
|
|
||
|
.img-item {
|
||
|
position: relative;
|
||
|
box-sizing: border-box;
|
||
|
float: left;
|
||
|
margin-right: 44rpx;
|
||
|
margin-bottom: 5rpx;
|
||
|
width: 190rpx;
|
||
|
height: 190rpx;
|
||
|
border-radius: 10rpx;
|
||
|
background-color: #f3f4f5;
|
||
|
|
||
|
&.z-unvalid {
|
||
|
.img-primary {
|
||
|
border: 3px solid #f44;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&:nth-child(3n) {
|
||
|
margin-right: 0;
|
||
|
}
|
||
|
|
||
|
.i-del {
|
||
|
position: absolute;
|
||
|
display: block;
|
||
|
width: 50rpx;
|
||
|
height: 60rpx;
|
||
|
top: -20rpx;
|
||
|
right: -36rpx;
|
||
|
}
|
||
|
|
||
|
.img-primary {
|
||
|
box-sizing: border-box;
|
||
|
display: block;
|
||
|
width: 190rpx;
|
||
|
height: 190rpx;
|
||
|
border-radius: 10rpx;
|
||
|
}
|
||
|
|
||
|
&.img-item-add {
|
||
|
// border: 2px dashed rgba(#000, 0.04);
|
||
|
.i-add {
|
||
|
position: absolute;
|
||
|
display: block;
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
width: 55rpx;
|
||
|
height: 55rpx;
|
||
|
margin: auto;
|
||
|
|
||
|
&:after,
|
||
|
&:before {
|
||
|
content: "";
|
||
|
position: absolute;
|
||
|
display: block;
|
||
|
top: 0;
|
||
|
bottom: 0;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
margin: auto;
|
||
|
background-color: #ccc;
|
||
|
}
|
||
|
|
||
|
&:before {
|
||
|
width: 55rpx;
|
||
|
height: 5rpx;
|
||
|
}
|
||
|
|
||
|
&:after {
|
||
|
width: 5rpx;
|
||
|
height: 55rpx;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.btn {
|
||
|
margin: 120rpx auto;
|
||
|
width: 400rpx;
|
||
|
height: 80rpx;
|
||
|
line-height: 80rpx;
|
||
|
background: $c1;
|
||
|
border-radius: 40rpx;
|
||
|
font-size: $fz7;
|
||
|
font-family: Source Han Serif SC;
|
||
|
font-weight: 500;
|
||
|
text-align: center;
|
||
|
color: #ffffff;
|
||
|
|
||
|
&.z-disabled {
|
||
|
background-color: lighten($c1, 20);
|
||
|
|
||
|
&:active {
|
||
|
background-color: lighten($c1, 15);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
&:active {
|
||
|
background-color: darken($c1, 10);
|
||
|
}
|
||
|
}
|
||
|
}
|