index.vue 603 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <template>
  2. <van-popup
  3. class="fbt-van-popup-share"
  4. position="top"
  5. v-model="booShareTip">
  6. <img
  7. src="./image/icon_01@2x.png"
  8. alt="">
  9. </van-popup>
  10. </template>
  11. <script>
  12. import { Popup } from 'vant'
  13. export default {
  14. name: 'index',
  15. components: {
  16. 'van-popup': Popup
  17. },
  18. data () {
  19. return {
  20. booShareTip: false
  21. }
  22. },
  23. methods: {
  24. init () {
  25. this.booShareTip = true
  26. }
  27. }
  28. }
  29. </script>
  30. <style lang="scss" scoped>
  31. .fbt-van-popup-share {
  32. background: transparent;
  33. img {
  34. display: block;
  35. width: 100%;
  36. height: 286px;
  37. }
  38. }
  39. </style>