裂变星小程序-25.03.04
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
918 B

  1. <template>
  2. <view class="page" :style="bgStyle">
  3. <navbar title="客服" leftClick @leftClick="$utils.navigateBack" />
  4. <!-- todo -->
  5. <image class="qr" :src="configList.index_huodong" :show-menu-by-longpress="true"></image>
  6. </view>
  7. </template>
  8. <script>
  9. import { mapState } from 'vuex'
  10. export default {
  11. data() {
  12. return {
  13. }
  14. },
  15. computed: {
  16. ...mapState(['configList']),
  17. bgStyle() {
  18. return `background-image: url(${ this.configList.codeImg}); background-size: contain;`
  19. }
  20. },
  21. onLoad() {
  22. },
  23. }
  24. </script>
  25. <style scoped lang="scss">
  26. .page {
  27. width: 100vw;
  28. height: 100vh;
  29. position: relative;
  30. overflow: hidden;
  31. }
  32. .bg {
  33. width: 100vw;
  34. height: calc(100vh - #{$navbar-height} - var(--status-bar-height) - 20rpx);
  35. }
  36. .qr {
  37. position: absolute;
  38. top: 854rpx;
  39. left: 50%;
  40. transform: translateX(-50%);
  41. width: 316rpx;
  42. height: 316rpx;
  43. }
  44. </style>