浏览代码

上传样式修改

zhouna 5 年之前
父节点
当前提交
ee1ec920c6
共有 1 个文件被更改,包括 7 次插入6 次删除
  1. 7 6
      src/common/UploadImg.vue

+ 7 - 6
src/common/UploadImg.vue

@@ -210,8 +210,9 @@ export default {
   background:#fff;
   background:#fff;
   width:100%;
   width:100%;
   box-shadow: 0 0 30px -10px rgba(104, 124, 189, 0.25);
   box-shadow: 0 0 30px -10px rgba(104, 124, 189, 0.25);
+  padding-top: .4rem;
   .upload-imgs {
   .upload-imgs {
-    margin:0 1rem 0.2rem;
+    margin:0 1rem;
     height: 3.5rem;
     height: 3.5rem;
     .upload{
     .upload{
       width: 1.5rem;
       width: 1.5rem;
@@ -249,15 +250,15 @@ export default {
       position: relative;
       position: relative;
       vertical-align: top;
       vertical-align: top;
       border-radius: 0.08rem;
       border-radius: 0.08rem;
-      margin: 0 0 0.3rem 0.3rem;
+      margin: 0 0 0.3rem 0.4rem;
       .close {
       .close {
-        width: 0.54rem;
-        height: 0.54rem;
+        width: 0.3rem;
+        height: 0.3rem;
         background: url(../images/closeimg.png) no-repeat;
         background: url(../images/closeimg.png) no-repeat;
         background-size: cover;
         background-size: cover;
         position: absolute;
         position: absolute;
-        top: -0.27rem;
-        right: -0.27rem;
+        top: -0.17rem;
+        right: -0.17rem;
         z-index: 3;
         z-index: 3;
       }
       }
     }
     }