otherReport.vue 940 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <template>
  2. <block>
  3. <view class="container reportDetail-container">
  4. <web-view :src="linkUrl">
  5. <cover-view class="search-view"> </cover-view>
  6. </web-view>
  7. </view>
  8. </block>
  9. </template>
  10. <script>
  11. export default {
  12. data() {
  13. return {
  14. linkUrl: "",
  15. };
  16. },
  17. methods: {},
  18. onLoad(option) {
  19. this.linkUrl = decodeURIComponent(option.reportUrl) || "";
  20. },
  21. };
  22. </script>
  23. <style lang="scss" scoped>
  24. .reportDetail-container {
  25. background-color: #fff;
  26. padding-bottom: 200rpx;
  27. padding-bottom: calc(200rpx + constant(safe-area-inset-bottom));
  28. padding-bottom: calc(200rpx + env(safe-area-inset-bottom));
  29. .search-view {
  30. position: fixed;
  31. width: 100%;
  32. height: 100rpx;
  33. background: #fff;
  34. z-index: 99999;
  35. font-size: 24rpx;
  36. box-sizing: border-box;
  37. .search-icon {
  38. width: 147rpx;
  39. height: 40rpx;
  40. margin: 0 15rpx;
  41. z-index: 99999;
  42. }
  43. }
  44. }
  45. </style>