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

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