CityRegisterOver.vue 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 && loginStyle.footUrl || ''" class="footer"></div>
  17. </template>
  18. </div>
  19. </template>
  20. <script>
  21. export default {
  22. name: 'city',
  23. computed: {
  24. loginStyle () {
  25. return this.$store.state.login.loginStyle.data.content ? this.$store.state.login.loginStyle.data.content : ''
  26. }
  27. }
  28. }
  29. </script>
  30. <style scoped type="text/scss" lang="scss">
  31. .city{
  32. margin: 0 auto;
  33. text-align: center;
  34. .container {
  35. width: 100%;
  36. .bgImg {
  37. padding-top: 120px;
  38. width: 100%;
  39. min-height: 670px;
  40. .go {
  41. margin: 0 auto;
  42. width: 395px;
  43. height: 205px;
  44. text-align: center;
  45. border-radius: 24px;
  46. background: rgba(255, 255, 255, 0.7);
  47. .content {
  48. padding-top: 25px;
  49. font-size: 28px;
  50. color: #000;
  51. letter-spacing: 1.43px;
  52. img {
  53. margin-right: 33px;
  54. }
  55. }
  56. }
  57. }
  58. }
  59. .btn{
  60. margin-top: 39px;
  61. display: inline-block;
  62. width: 240px;
  63. height: 46px;
  64. line-height: 46px;
  65. font-size: 22px;
  66. color: #fff;
  67. background: #237594;
  68. }
  69. }
  70. .footer{
  71. padding: 50px 0;
  72. }
  73. </style>