CityRegisterOver.vue 1.9 KB

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