فهرست منبع

Add upload css

lin-xin 9 سال پیش
والد
کامیت
7d30e9d5c1
2فایلهای تغییر یافته به همراه28 افزوده شده و 2 حذف شده
  1. 1 2
      package.json
  2. 27 0
      src/components/page/Upload.vue

+ 1 - 2
package.json

@@ -10,9 +10,8 @@
   },
   "dependencies": {
     "axios": "^0.15.3",
-    "element-ui": "^1.2.1",
+    "element-ui": "^1.2.2",
     "vue": "^2.1.10",
-    "vue-bulma-chartjs": "^1.0.4",
     "vue-core-image-upload": "^2.0.5",
     "vue-datasource": "^1.0.4",
     "vue-echarts-v3": "^1.0.3",

+ 27 - 0
src/components/page/Upload.vue

@@ -97,4 +97,31 @@
     .g-core-image-corp-container .info-aside{
         height:45px;
     }
+    .el-upload--text {
+        background-color: #fff;
+        border: 1px dashed #d9d9d9;
+        border-radius: 6px;
+        box-sizing: border-box;
+        width: 360px;
+        height: 180px;
+        text-align: center;
+        cursor: pointer;
+        position: relative;
+        overflow: hidden;
+    }
+    .el-upload--text .el-icon-upload {
+        font-size: 67px;
+        color: #97a8be;
+        margin: 40px 0 16px;
+        line-height: 50px;
+    }
+    .el-upload--text {
+        color: #97a8be;
+        font-size: 14px;
+        text-align: center;
+    }
+    .el-upload--text em {
+        color: #20a0ff;
+        font-style: normal;
+    }
 </style>