zhengjinyi 5 years ago
parent
commit
cb5bee06bb
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/views/login/index.vue

+ 3 - 4
src/views/login/index.vue

@@ -134,12 +134,12 @@ export default {
 }
 }
 </script>
 </script>
 
 
-<style lang="scss">
+<style lang="scss" scoped>
 /* 修复input 背景不协调 和光标变色 */
 /* 修复input 背景不协调 和光标变色 */
 /* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */
 /* Detail see https://github.com/PanJiaChen/vue-element-admin/pull/927 */
 
 
-$bg:#283443;
-$light_gray:#fff;
+$bg :#283443;
+$light_gray: #fff;
 $cursor: #fff;
 $cursor: #fff;
 
 
 @supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
 @supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
@@ -154,7 +154,6 @@ $cursor: #fff;
     display: inline-block;
     display: inline-block;
     height: 47px;
     height: 47px;
     width: 85%;
     width: 85%;
-
     input {
     input {
       background: transparent;
       background: transparent;
       border: 0px;
       border: 0px;