index.vue 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <view v-if="shareInfoStatus" class="poster-first">
  3. <view class="mask-share">
  4. <image :src="urlDomain+'crmebimage/presets/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~2025 https://www.crmeb.com All rights reserved.
  13. // +----------------------------------------------------------------------
  14. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  15. // +----------------------------------------------------------------------
  16. // | Author: CRMEB Team <admin@crmeb.com>
  17. // +----------------------------------------------------------------------
  18. export default {
  19. props: {
  20. shareInfoStatus: {
  21. type: Boolean,
  22. default: false,
  23. }
  24. },
  25. data: function() {
  26. return {
  27. urlDomain: this.$Cache.get("imgHost"),
  28. };
  29. },
  30. mounted: function() {},
  31. methods: {
  32. shareInfoClose: function() {
  33. this.$emit("setShareInfoStatus");
  34. }
  35. }
  36. };
  37. </script>
  38. <style scoped lang="scss">
  39. .poster-first {
  40. overscroll-behavior: contain;
  41. }
  42. .mask-share {
  43. position: fixed;
  44. top: 0;
  45. left: 0;
  46. right: 0;
  47. bottom: 0;
  48. z-index: 99;
  49. }
  50. .mask-share image {
  51. width: 100%;
  52. height: 100%;
  53. }
  54. </style>