裂变星小程序-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.

52 lines
900 B

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