CityRegisterOver.vue 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <template>
  2. <div>
  3. <div class="city">
  4. <div class="container" v-bind:style="{ background: `url(${loginStyle.rebgUrl}) center center/100% 100% no-repeat` }">
  5. <div class="go">
  6. <div class="content">
  7. <img src="/images/all/success.png" alt=""/> 恭喜您注册完成!
  8. </div>
  9. <a :href="(loginStyle && loginStyle.returnHomeUrl) ? JSON.parse(loginStyle.returnHomeUrl).url : ''" class="btn">跳转至产城门户</a>
  10. </div>
  11. </div>
  12. </div>
  13. <template>
  14. <div v-html="loginStyle.footUrl" class="footer"></div>
  15. </template>
  16. </div>
  17. </template>
  18. <script>
  19. export default {
  20. name: 'city',
  21. computed: {
  22. loginStyle () {
  23. console.log(this.$store.state.login.loginStyle.data.content)
  24. return this.$store.state.login.loginStyle.data.content ? this.$store.state.login.loginStyle.data.content : ''
  25. }
  26. }
  27. }
  28. </script>
  29. <style scoped type="text/scss" lang="scss">
  30. .city{
  31. margin: 0 auto;
  32. text-align: center;
  33. .container{
  34. padding: 100px 0 200px!important ;
  35. width: 100%;
  36. }
  37. .go{
  38. margin: 0 auto;
  39. width: 605px;
  40. height: 290px;
  41. text-align: center;
  42. border-radius: 24px;
  43. background: rgba(255,255,255,.7);
  44. .content{
  45. padding-top: 65px;
  46. font-size: 48px;
  47. color: #000;
  48. letter-spacing: 1.43px;
  49. img{
  50. margin-right: 33px;
  51. }
  52. }
  53. }
  54. .btn{
  55. margin-top: 52px;
  56. display: inline-block;
  57. width: 428px;
  58. height: 72px;
  59. line-height: 72px;
  60. font-size: 28px;
  61. color: #fff;
  62. background: #237594;
  63. }
  64. }
  65. .footer{
  66. padding: 50px 0;
  67. }
  68. </style>