/**
|
* image picker
|
* @author Tevin
|
*/
|
|
@import "../../common/sassMixin";
|
|
.c-image-picker {
|
.at-input {
|
padding: 0;
|
}
|
.at-input__container {
|
.weui-input {
|
display: none;
|
}
|
.at-image-picker {
|
padding-bottom: 18px;
|
}
|
.at-image-picker__item:not(.at-image-picker__choose-btn) {
|
border: 1PX #f2f2f2 solid;
|
|
}
|
.at-image-picker__flex-box {
|
padding: 18px 18px 0 0;
|
}
|
.at-image-picker__preview-img {
|
position: relative;
|
background-color: #f2f2f2;
|
img {
|
display: block;
|
@include position(absolute, 50% 50% n n);
|
transform: translate(-50%, -50%);
|
}
|
}
|
.at-image-picker__choose-btn {
|
.add-bar {
|
display: none;
|
&:last-child {
|
display: inline-block;
|
}
|
width: 75px;
|
height: 75px;
|
font-family: iconfont;
|
font-style: normal;
|
font-weight: 400;
|
font-variant: normal;
|
text-transform: none;
|
text-rendering: auto;
|
line-height: 1;
|
font-size: 75px;
|
color: #cfe0ed;
|
-webkit-font-smoothing: antialiased;
|
vertical-align: middle;
|
background: none;
|
&::before {
|
content: "\e90f";
|
}
|
}
|
}
|
}
|
.at-input__icon {
|
display: none;
|
}
|
.c-image-picker-view {
|
.at-curtain__container {
|
width: 95%;
|
height: 100%;
|
}
|
.at-curtain__body {
|
height: 75%;
|
}
|
.img {
|
width: 100%;
|
height: 100%;
|
text-align: center;
|
@include flexbox(flex, center center);
|
}
|
}
|
}
|