index.vue 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <view v-if="shareInfoStatus" class="poster-first">
  3. <view class="mask-share">
  4. <image :src="`${domain}/static/images/share-info.png`" @click="shareInfoClose" @touchmove.stop.prevent="false"></image>
  5. </view>
  6. </view>
  7. </template>
  8. <script>
  9. // +----------------------------------------------------------------------
  10. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  11. // +----------------------------------------------------------------------
  12. // | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
  13. // +----------------------------------------------------------------------
  14. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  15. // +----------------------------------------------------------------------
  16. // | Author: CRMEB Team <admin@crmeb.com>
  17. // +----------------------------------------------------------------------
  18. import { HTTP_REQUEST_URL } from '@/config/app';
  19. export default {
  20. props: {
  21. shareInfoStatus: {
  22. type: Boolean,
  23. default:false,
  24. }
  25. },
  26. data: function() {
  27. return {
  28. domain: HTTP_REQUEST_URL,
  29. };
  30. },
  31. mounted: function() {},
  32. methods: {
  33. shareInfoClose: function() {
  34. this.$emit("setShareInfoStatus");
  35. }
  36. }
  37. };
  38. </script>
  39. <style scoped lang="scss">
  40. .poster-first {
  41. overscroll-behavior: contain;
  42. }
  43. .mask-share {
  44. position: fixed;
  45. top: 0;
  46. left: 0;
  47. right: 0;
  48. bottom: 0;
  49. z-index: 99;
  50. }
  51. .mask-share image {
  52. width: 100%;
  53. height:100%;
  54. }
  55. </style>