coverGuide.vue 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <template>
  2. <u-mask :show="show">
  3. <view class="warp">
  4. <view class="top-bg">
  5. <image style="width: 80rpx; height: 80rpx" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/guide-1.png" mode=""></image>
  6. <view class="guide-tow">
  7. <image style="width: 181rpx; height: 239rpx" src="https://hzstatic.hzinsights.com/cygx/czbk/guide-2.png" mode=""></image>
  8. </view>
  9. <view class="content-text">
  10. <text>新增产业关注功能</text>
  11. <text>点击关注后可获取产业内容更新提醒</text>
  12. <image @click="isShow" style="width: 237rpx; height: 104rpx" src="https://hzstatic.hzinsights.com/cygx/czbk/guide-3.png" mode=""></image>
  13. </view>
  14. </view>
  15. </view>
  16. </u-mask>
  17. </template>
  18. <script>
  19. export default {
  20. props: {
  21. isGuideShow: {
  22. type: Boolean,
  23. default: false,
  24. required: true,
  25. },
  26. },
  27. data() {
  28. return {
  29. show: true,
  30. };
  31. },
  32. watch: {
  33. isGuideShow: {
  34. handler() {
  35. this.show = this.isGuideShow;
  36. },
  37. immediate: true,
  38. },
  39. },
  40. methods: {
  41. isShow() {
  42. this.$parent.isGuideShow = false;
  43. },
  44. },
  45. };
  46. </script>
  47. <style scoped lang="scss">
  48. .warp {
  49. display: flex;
  50. height: 100%;
  51. .top-bg {
  52. margin-top: 80%;
  53. .guide-tow {
  54. padding-left: 100rpx;
  55. margin-top: -60rpx;
  56. }
  57. }
  58. .content-text {
  59. width: 750rpx;
  60. font-size: 28rpx;
  61. color: #fff;
  62. text {
  63. text-align: center;
  64. }
  65. image {
  66. margin-top: 50rpx;
  67. padding-left: 100%;
  68. transform: translateX(-50%);
  69. }
  70. }
  71. }
  72. </style>