Skip to content

Commit 7d30e9d

Browse files
committed
Add upload css
1 parent bd76470 commit 7d30e9d

File tree

2 files changed

+28
-2
lines changed

2 files changed

+28
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@
1010
},
1111
"dependencies": {
1212
"axios": "^0.15.3",
13-
"element-ui": "^1.2.1",
13+
"element-ui": "^1.2.2",
1414
"vue": "^2.1.10",
15-
"vue-bulma-chartjs": "^1.0.4",
1615
"vue-core-image-upload": "^2.0.5",
1716
"vue-datasource": "^1.0.4",
1817
"vue-echarts-v3": "^1.0.3",

src/components/page/Upload.vue

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,31 @@
9797
.g-core-image-corp-container .info-aside{
9898
height:45px;
9999
}
100+
.el-upload--text {
101+
background-color: #fff;
102+
border: 1px dashed #d9d9d9;
103+
border-radius: 6px;
104+
box-sizing: border-box;
105+
width: 360px;
106+
height: 180px;
107+
text-align: center;
108+
cursor: pointer;
109+
position: relative;
110+
overflow: hidden;
111+
}
112+
.el-upload--text .el-icon-upload {
113+
font-size: 67px;
114+
color: #97a8be;
115+
margin: 40px 0 16px;
116+
line-height: 50px;
117+
}
118+
.el-upload--text {
119+
color: #97a8be;
120+
font-size: 14px;
121+
text-align: center;
122+
}
123+
.el-upload--text em {
124+
color: #20a0ff;
125+
font-style: normal;
126+
}
100127
</style>

0 commit comments

Comments
 (0)