小程序端工程代码
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.

40 lines
721 B

  1. <template>
  2. <view v-if="shareInfoStatus" class="poster-first">
  3. <view class="mask-share">
  4. <!-- <image :src="`${$VUE_APP_RESOURCES_URL}/images/share-info.png`" @click="shareInfoClose" /> -->
  5. </view>
  6. </view>
  7. </template>
  8. <style scoped lang="less">
  9. .poster-first {
  10. overscroll-behavior: contain;
  11. }
  12. .mask-share {
  13. position: fixed;
  14. top: 0;
  15. left: 0;
  16. right: 0;
  17. bottom: 0;
  18. z-index: 999;
  19. }
  20. .mask-share image{
  21. width: 100%;
  22. }
  23. </style>
  24. <script>
  25. export default {
  26. name: "ShareInfo",
  27. props: {
  28. shareInfoStatus: Boolean
  29. },
  30. data: function() {
  31. return {};
  32. },
  33. mounted: function() {},
  34. methods: {
  35. shareInfoClose: function() {
  36. this.$emit("setShareInfoStatus");
  37. }
  38. }
  39. };
  40. </script>