parkingRights.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <template>
  2. <div :class="theme">
  3. <img class="parkingRights-img" :src="benefitsBgUrl" />
  4. <div class="add_plate_box" @click="back">
  5. <div class="add_plate_btn">我已知晓</div>
  6. <div class="btnpb"></div>
  7. </div>
  8. </div>
  9. </template>
  10. <script>
  11. import baseMixins from './mixins/base';
  12. export default {
  13. mixins: [baseMixins],
  14. data() {
  15. return {
  16. benefitsBgUrl: '',
  17. };
  18. },
  19. mounted() {
  20. this.benefitsBgUrl = `https://cnsh-kerry-crm-le.oss-cn-shanghai.aliyuncs.com${this.$route.query.benefitsBgUrl}`
  21. },
  22. methods: {
  23. back() {
  24. this.$router.back();
  25. },
  26. },
  27. };
  28. </script>
  29. <style lang="less" scoped>
  30. .parkingRights-img {
  31. width: 100%;
  32. display: block;
  33. }
  34. .scroll-Y {
  35. width: 100%;
  36. display: flex;
  37. flex-direction: column;
  38. height: 100vh;
  39. background: #f4f7ff;
  40. }
  41. .add_plate_box {
  42. text-align: center;
  43. background-color: #fafbff;
  44. position: fixed;
  45. bottom: 0;
  46. right: 0;
  47. left: 0;
  48. z-index: 999;
  49. padding: 30px 30px 50px 30px;
  50. box-shadow: 0 0 2px 0 hsla(0, 6%, 58%, 0.6);
  51. .btnpb {
  52. width: 100%;
  53. }
  54. .add_plate_btn {
  55. width: 100%;
  56. height: 90px;
  57. line-height: 90px;
  58. background-color: var(--k-color-primary-01);
  59. border-radius: 45px;
  60. font-size: 34px;
  61. font-weight: 400;
  62. color: #ffffff;
  63. }
  64. }
  65. </style>