Vue2.0 实现移动端图片上传功能

2020-06-13 10:15:01易采站长站整理
3.CSS样式代码块,仅供参考

太太懒了,没有一一区分


.app-bg >>>img{
width: 100%;
height: 100%;
-webkit-transform: scale(1.03);
-moz-transform: scale(1.03);
-ms-transform: scale(1.03);
-o-transform: scale(1.03);
transform: scale(1.03);
}
textarea {
padding: 10px;
}
.text-length {
font-size: 14px;
z-index: 999;
width: 100%;
text-align: right;
margin-bottom: 10px;
color: #e4e4e4;
}
.warning {
color: #fe9900;
}
.add-img {
width: 100%;
padding: 10px;
}
.add-img p {
color: #999;
}
.mui-content {
padding-bottom: 60px;
}
.mui-content .idea {
margin-top: 8px;
background-color: #FFFFFF;
}
.good-item {
text-align: center;
width: 33%;
max-width: 100%;
overflow: hidden;
padding-right: 10px;
padding-bottom: 10px;
float: left;
}
.good-item span {
font-size: 15px;
height: 30px;
line-height: 30px;
border-radius: 50px;
display: block;
width: 100%;
color: #333;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
border: 1px solid #CCCCCC;
}
.mui-table {
padding-top: 10px;
color: #333;
padding-left: calc(0.5% + 10px);
}
.h-line-behind {
line-height: 40px;
padding-left: 10px;
}
.question {
border: 0;
margin-bottom: 10px;
}
.add {
display: inline-block;
margin-bottom: 20px;
}
.add-image {
padding-top: 15px;
margin-left: 10px;
width: 80px;
top: 20px;
height: 80px;
border: 1px dashed rgba(0, 0, 0, .2);
}
.add-image .icon-camera {
font-size: 24px;
}
.good-item .choose {
color: #fff;
background-color: #87582E;
color: #FFF;
border: 0;
}
.mui-btn-block {
border: 0;
border-radius: 0;
background-color: #87582E;
color: #fff;
margin-bottom: 0;
bottom: 0;
}
.mui-buttom {
position: fixed;
width: 100%;
bottom: 0;
z-index: 999;
}
/*九宫格*/
.img-list {
overflow: hidden;
}
.img-list > li {
float: left;
width: 32%;
text-align: center;
padding-top: 31%;
margin-left: 1%;
margin-top: 1%;
position: relative;
}
.img-list > li > div {
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
.img-list > li > div .app-bg {
width: 100%;
height: 100%;
}
.mui-fullscreen {
z-index: 9999;
}
.del {
position: absolute;
width: 18px;