Authored by 陈峰

Merge branch 'feature/iview' into feature/login

@@ -16,8 +16,10 @@ @@ -16,8 +16,10 @@
16 </Submenu> 16 </Submenu>
17 </Menu> 17 </Menu>
18 <div class="layout-menu-foot"> 18 <div class="layout-menu-foot">
19 - <a href="/YOHO!BUY%E6%9C%89%E8%B4%A7%E5%B9%B3%E5%8F%B0%E8%BF%9D%E8%A7%84%E8%A1%8C%E4%B8%BA%E5%AE%9A%E4%B9%89%E5%8F%8A%E6%89%A3%E5%88%86%E8%AF%B4%E6%98%8E+VOL.02+.pdf" target="_blank">平台规则</a>  
20 - <i class="ivu-icon ivu-icon-help-circled"></i> 19 + <a href="/YOHO!BUY%E6%9C%89%E8%B4%A7%E5%B9%B3%E5%8F%B0%E8%BF%9D%E8%A7%84%E8%A1%8C%E4%B8%BA%E5%AE%9A%E4%B9%89%E5%8F%8A%E6%89%A3%E5%88%86%E8%AF%B4%E6%98%8E+VOL.02+.pdf" target="_blank">
  20 + <span>平台规则</span>
  21 + <i class="ivu-icon ivu-icon-help-circled"></i>
  22 + </a>
21 </div> 23 </div>
22 </div> 24 </div>
23 </template> 25 </template>
@@ -66,6 +68,8 @@ export default { @@ -66,6 +68,8 @@ export default {
66 </script> 68 </script>
67 69
68 <style lang="scss"> 70 <style lang="scss">
  71 +$menuBg: #495060;
  72 +$collapseMenuBg: #313540;
69 $collapseMenuWidth: 200px; 73 $collapseMenuWidth: 200px;
70 $collapseWidth: 50px; 74 $collapseWidth: 50px;
71 $collapseLeftBorder: 2px; 75 $collapseLeftBorder: 2px;
@@ -74,7 +78,7 @@ $collapseLeftBorder: 2px; @@ -74,7 +78,7 @@ $collapseLeftBorder: 2px;
74 .ivu-menu-submenu-title { 78 .ivu-menu-submenu-title {
75 margin-left: 0; 79 margin-left: 0;
76 border-left: solid 2px #fff; 80 border-left: solid 2px #fff;
77 - background-color: #313540 !important; 81 + background-color: $collapseMenuBg !important;
78 transition: border 0s; 82 transition: border 0s;
79 } 83 }
80 } 84 }
@@ -140,7 +144,7 @@ $collapseLeftBorder: 2px; @@ -140,7 +144,7 @@ $collapseLeftBorder: 2px;
140 } 144 }
141 145
142 .ivu-menu { 146 .ivu-menu {
143 - background: #313540 !important; 147 + background: $collapseMenuBg !important;
144 display: none; 148 display: none;
145 position: absolute; 149 position: absolute;
146 top: 49px; 150 top: 49px;
@@ -170,7 +174,7 @@ $collapseLeftBorder: 2px; @@ -170,7 +174,7 @@ $collapseLeftBorder: 2px;
170 width: $collapseMenuWidth; 174 width: $collapseMenuWidth;
171 left: $collapseWidth - $collapseLeftBorder; 175 left: $collapseWidth - $collapseLeftBorder;
172 top: 0; 176 top: 0;
173 - background-color: #313540; 177 + background-color: $collapseMenuBg;
174 z-index: 2; 178 z-index: 2;
175 line-height: 49px; 179 line-height: 49px;
176 padding-left: 43px; 180 padding-left: 43px;
@@ -192,5 +196,14 @@ $collapseLeftBorder: 2px; @@ -192,5 +196,14 @@ $collapseLeftBorder: 2px;
192 overflow: hidden; 196 overflow: hidden;
193 } 197 }
194 } 198 }
  199 +
  200 + .layout-menu-foot {
  201 + padding-left: 0px;
  202 + text-align: center;
  203 +
  204 + span {
  205 + display: none;
  206 + }
  207 + }
195 } 208 }
196 </style> 209 </style>
@@ -78,6 +78,7 @@ export default { @@ -78,6 +78,7 @@ export default {
78 </script> 78 </script>
79 79
80 <style lang="scss"> 80 <style lang="scss">
  81 +$menuBg: #495060;
81 body { 82 body {
82 color: #444; 83 color: #444;
83 } 84 }
@@ -105,7 +106,7 @@ body { @@ -105,7 +106,7 @@ body {
105 } 106 }
106 107
107 .layout-menu-left { 108 .layout-menu-left {
108 - background: #1c2438; 109 + background: $menuBg;
109 min-width: 170px; 110 min-width: 170px;
110 max-width: 200px; 111 max-width: 200px;
111 } 112 }
@@ -56,7 +56,7 @@ @@ -56,7 +56,7 @@
56 "express": "^4.15.2", 56 "express": "^4.15.2",
57 "express-session": "^1.15.2", 57 "express-session": "^1.15.2",
58 "font-awesome": "^4.7.0", 58 "font-awesome": "^4.7.0",
59 - "iview": "^2.0.0-rc.16", 59 + "iview": "^2.0.0-rc.18",
60 "lodash": "^4.17.4", 60 "lodash": "^4.17.4",
61 "moment": "^2.18.1", 61 "moment": "^2.18.1",
62 "promise-polyfill": "^6.0.2", 62 "promise-polyfill": "^6.0.2",
@@ -235,9 +235,9 @@ async-foreach@^0.1.3: @@ -235,9 +235,9 @@ async-foreach@^0.1.3:
235 version "0.1.3" 235 version "0.1.3"
236 resolved "http://npm.yoho.cn/async-foreach/-/async-foreach-0.1.3.tgz#36121f845c0578172de419a97dbeb1d16ec34542" 236 resolved "http://npm.yoho.cn/async-foreach/-/async-foreach-0.1.3.tgz#36121f845c0578172de419a97dbeb1d16ec34542"
237 237
238 -async-validator@^1.6.7: 238 +async-validator@^1.7.1:
239 version "1.7.1" 239 version "1.7.1"
240 - resolved "http://npm.yoho.cn/async-validator/-/async-validator-1.7.1.tgz#89d3d7a384ca5d05e0f07bf51754d591e2cfec61" 240 + resolved "https://registry.yarnpkg.com/async-validator/-/async-validator-1.7.1.tgz#89d3d7a384ca5d05e0f07bf51754d591e2cfec61"
241 dependencies: 241 dependencies:
242 babel-runtime "6.x" 242 babel-runtime "6.x"
243 243
@@ -3408,11 +3408,11 @@ istanbul-lib-instrument@^1.4.2: @@ -3408,11 +3408,11 @@ istanbul-lib-instrument@^1.4.2:
3408 istanbul-lib-coverage "^1.1.1" 3408 istanbul-lib-coverage "^1.1.1"
3409 semver "^5.3.0" 3409 semver "^5.3.0"
3410 3410
3411 -iview@^2.0.0-rc.16:  
3412 - version "2.0.0-rc.17"  
3413 - resolved "http://npm.yoho.cn/iview/-/iview-2.0.0-rc.17.tgz#0827582c750a718b952e7e51eb99d93693edd7d8" 3411 +iview@^2.0.0-rc.18:
  3412 + version "2.0.0-rc.18"
  3413 + resolved "https://registry.yarnpkg.com/iview/-/iview-2.0.0-rc.18.tgz#c00a11643622626feeb277e0de83b45077a8787c"
3414 dependencies: 3414 dependencies:
3415 - async-validator "^1.6.7" 3415 + async-validator "^1.7.1"
3416 core-js "^2.4.1" 3416 core-js "^2.4.1"
3417 deepmerge "^1.3.1" 3417 deepmerge "^1.3.1"
3418 popper.js "^0.6.4" 3418 popper.js "^0.6.4"