Эх сурвалжийг харах

产城注册完成页面样式调整

hangb 7 жил өмнө
parent
commit
b8323f1de6

+ 11 - 9
components/register/CityRegisterOver.vue

@@ -1,7 +1,7 @@
 <template>
   <div>
-    <div class="city" v-bind:style="{ background: `url(${loginStyle.rebgUrl}) center center/100% 100% no-repeat` }">
-      <div class="container">
+    <div class="city">
+      <div class="container" v-bind:style="{ background: `url(${loginStyle.rebgUrl}) center center/100% 100% no-repeat` }">
         <div class="go">
           <div class="content">
             <img src="/images/all/success.png" alt=""/> 恭喜您注册完成!
@@ -20,6 +20,7 @@
     name: 'city',
     computed: {
       loginStyle () {
+        console.log(this.$store.state.login.loginStyle.data.content)
         return this.$store.state.login.loginStyle.data.content ? this.$store.state.login.loginStyle.data.content : ''
       }
     }
@@ -27,20 +28,21 @@
 </script>
 <style scoped type="text/scss" lang="scss">
   .city{
-    /*width: 1920px;*/
-    height: 1080px;
     margin: 0 auto;
     text-align: center;
-    padding-top:100px;
+    .container{
+      padding: 100px 0 200px!important ;
+      width: 100%;
+    }
     .go{
       margin: 0 auto;
-      width: 805px;
-      height: 355px;
+      width: 605px;
+      height: 290px;
       text-align: center;
       border-radius: 24px;
       background: rgba(255,255,255,.7);
       .content{
-        padding-top: 82px;
+        padding-top: 65px;
         font-size: 48px;
         color: #000;
         letter-spacing: 1.43px;
@@ -50,7 +52,7 @@
       }
     }
     .btn{
-      margin-top: 74px;
+      margin-top: 52px;
       display: inline-block;
       width: 428px;
       height: 72px;