Authored by 王水玲

登录注册

@import 'suggest';
\ No newline at end of file
@import 'suggest';
... ...
... ... @@ -2,6 +2,7 @@
width: 100%;
height: auto;
/* 意见反馈头部 */
.suggest-header {
text-align: center;
color: #fff;
... ... @@ -21,7 +22,7 @@
}
}
/*意见反馈主体*/
/* 意见反馈主体 */
.suggest-content {
border-top: 1px solid #e0e0e0;
}
... ... @@ -84,22 +85,22 @@
text-align: left;
padding-left: 128px;
box-sizing: border-box;
}
&:nth-last-of-type(1) {
padding-left: 0;
padding-right: 128px;
text-align: right;
float: right;
> div:nth-last-of-type(1) {
padding-left: 0;
padding-right: 128px;
text-align: right;
float: right;
> span {
> span {
display: inline-block;
height: 100%;
overflow: hidden;
display: inline-block;
height: 100%;
overflow: hidden;
&:nth-of-type(1) {
transform: rotate(180deg);
}
&:nth-of-type(1) {
transform: rotate(180deg);
}
}
}
... ... @@ -119,7 +120,7 @@
}
}
/*发表意见*/
/* 发表意见 */
.create-new-suggest {
display: block;
width: 100%;
... ... @@ -131,7 +132,6 @@
border-bottom: 30px solid #f0f0f0;
position: relative;
.list-item {
padding: 0 35px;
}
... ... @@ -145,10 +145,11 @@
color: #444;
display: inline-block;
}
}
}
/*提交页面*/
/* 提交页面 */
.yoho-suggest-sub-page {
width: 100%;
background: #f0f0f0;
... ... @@ -175,86 +176,90 @@
outline: none;
resize: none;
}
}
.img-form {
padding: 0 30px;
padding-top: 40px;
overflow: hidden;
.upload-img-list {
float: left;
.img-form {
padding: 0 30px;
padding-top: 40px;
overflow: hidden;
> li {
display: block;
width: 130px;
height: 130px;
float: left;
margin-right: 30px;
background: resolve('common/loading.gif') center center no-repeat;
background-size: 50%;
position: relative;
> img {
display: block;
width: 100%;
height: 100%;
overflow: hidden;
}
> span {
display: block;
background: url("/me/suggest/sub_del.png");
width: 42px;
height: 42px;
position: absolute;
top: -21px;
right: -21px;
}
}
}
.upload-img-list {
float: left;
.img-add {
> li {
display: block;
width: 130px;
height: 130px;
border: 1px dashed #e0e0e0;
position: relative;
text-indent: -1000px;
float: left;
margin-right: 30px;
background: resolve('loading.gif') center center no-repeat;
background-size: 50%;
position: relative;
&:after {
content: '';
> img {
display: block;
background: url("/me/suggest/suggest-add.png");
width: 72px;
height: 72px;
position: absolute;
top: 50%;
left: 50%;
margin-top: -36px;
margin-left: -36px;
width: 100%;
height: 100%;
overflow: hidden;
}
input[type="file"] {
position: absolute;
opacity: 0.2;
border: none;
outline: none;
> span {
display: block;
width: 130px;
height: 130px;
top: 0;
left: 0;
background: url("/me/suggest/sub_del.png");
width: 42px;
height: 42px;
position: absolute;
top: -21px;
right: -21px;
}
}
}
.img-add {
display: block;
width: 130px;
height: 130px;
border: 1px dashed #e0e0e0;
position: relative;
text-indent: -1000px;
float: left;
&:after {
content: '';
display: block;
background: url("/me/suggest/suggest-add.png");
width: 72px;
height: 72px;
position: absolute;
top: 50%;
left: 50%;
margin-top: -36px;
margin-left: -36px;
}
input[type="file"] {
position: absolute;
opacity: 0.2;
border: none;
outline: none;
display: block;
width: 130px;
height: 130px;
top: 0;
left: 0;
}
}
}
}
/*dialog*/
/* dialog */
.dialog-wrapper {
background: hsla(0, 0%, 0%, .5);
background: hsla(0, 0%, 0%, 0.5);
position: fixed;
top: 0;
right: 0;
... ... @@ -265,7 +270,7 @@
.dialog-box {
width: 540px;
border-radius: 20px;
background: hsla(100, 100%, 100%, .8);
background: hsla(100, 100%, 100%, 0.8);
position: absolute;
left: 50%;
margin-left: -270px;
... ... @@ -292,7 +297,7 @@
&:nth-last-of-type(1) {
border-left: 1px solid #ccc;
color: #ee0011;
color: #e01;
}
}
... ...