Showing
3 changed files
with
46 additions
and
11 deletions

2.08 KB
@@ -109,7 +109,7 @@ const routes = [{ | @@ -109,7 +109,7 @@ const routes = [{ | ||
109 | path: '/analysis', | 109 | path: '/analysis', |
110 | name: 'analysis', | 110 | name: 'analysis', |
111 | // component: () => myImport('views/analysis/components/addIndex/index') | 111 | // component: () => myImport('views/analysis/components/addIndex/index') |
112 | - component: () => myImport('views/analysis/components/add/index') | 112 | + component: () => myImport('views/analysis/index') |
113 | } | 113 | } |
114 | ]; | 114 | ]; |
115 | 115 |
1 | -<!DOCTYPE html> | ||
2 | -<html lang="en"> | ||
3 | -<head> | ||
4 | - <meta charset="UTF-8"> | ||
5 | - <title>Title</title> | ||
6 | -</head> | ||
7 | -<body> | ||
8 | - | ||
9 | -</body> | ||
10 | -</html> | ||
1 | +<div class="container" :style="{'height':height+'px','max-height':height+'px'}"> | ||
2 | + <div style="margin:0 0 5px 20px;font-size: 16px;color:#337ab7"> | ||
3 | + 比对分析场景 | ||
4 | + </div> | ||
5 | + <div class="drop"> | ||
6 | + <template slot-scope="scope"> | ||
7 | + <router-link :to="'/example/edit/'" class="link-type"> | ||
8 | + <img src="../../assets/images/analysis/icon-add.png"></img> | ||
9 | + <div class="el-upload__text"> | ||
10 | + <em>点击添加对比分析</em> | ||
11 | + </div> | ||
12 | + </router-link> | ||
13 | + </template> | ||
14 | + </div> | ||
15 | +</div> | ||
16 | +<style type="text/css"> | ||
17 | + img { | ||
18 | + padding-top: 30px; | ||
19 | + } | ||
20 | + .drop{ | ||
21 | + border: 2px dashed #0a93be; | ||
22 | + width: 600px; | ||
23 | + height: 160px; | ||
24 | + line-height: 160px; | ||
25 | + margin: 0 auto; | ||
26 | + font-size: 16px; | ||
27 | + border-radius: 5px; | ||
28 | + text-align: center; | ||
29 | + color: #bbb; | ||
30 | + position: relative; | ||
31 | + } | ||
32 | + .el-upload__text{ | ||
33 | + height: 50px; | ||
34 | + line-height: 50px; | ||
35 | + em { | ||
36 | + color: #0C4493; | ||
37 | + font-style: normal; | ||
38 | + } | ||
39 | + } | ||
40 | + .link-type, | ||
41 | + .link-type:focus { | ||
42 | + color: #337ab7; | ||
43 | + cursor: pointer; | ||
44 | + } | ||
45 | +</style> |
-
Please register or login to post a comment