Browse Source

sass登录

huangb 7 years ago
parent
commit
efde87b09f
2 changed files with 4 additions and 4 deletions
  1. 3 3
      pages/sassLogin/index.vue
  2. 1 1
      pages/sassLogin/register.vue

+ 3 - 3
pages/sassLogin/index.vue

@@ -1,5 +1,5 @@
 <template>
 <template>
-  <div class="x-container">
+  <div class="x-container y-container">
    <!--登录窗口-->
    <!--登录窗口-->
     <template v-if="!loginIsSuccess">
     <template v-if="!loginIsSuccess">
       <div class="x-login-wrap">
       <div class="x-login-wrap">
@@ -823,8 +823,8 @@
   }
   }
 </script>
 </script>
 <style lang="scss" type="text/scss">
 <style lang="scss" type="text/scss">
- .x-container {
-   width: 346px;
+ .y-container {
+   width: 346px !important ;
    margin: 0 auto;
    margin: 0 auto;
    text-align: center;
    text-align: center;
    /*background: #FFFFFF;*/
    /*background: #FFFFFF;*/

+ 1 - 1
pages/sassLogin/register.vue

@@ -476,7 +476,7 @@
   }
   }
 </script>
 </script>
 <style lang="scss" scoped>
 <style lang="scss" scoped>
-  .register {
+  .go-register {
     margin: 0 auto;
     margin: 0 auto;
     width: 100%;
     width: 100%;
     background: #eee;
     background: #eee;