zhengjinyi hace 5 años
padre
commit
cb5bee06bb
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  1. 3 4
      src/views/login/index.vue

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

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