followpublic.vue 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <view :class="modalName=='Image'?'show cu-modal ':'cu-modal'">
  3. <view class="cu-dialog">
  4. <view class="">
  5. <view class="cu-bar justify-center text-white">
  6. <view class="text-xxl text-bold flex-sub" style="color: #FBC600;margin-left: 60rpx;">
  7. 扫码关注公众号
  8. </view>
  9. <view class="action" @click="hideModal">
  10. <text class="cuIcon-close text-black"></text>
  11. </view>
  12. </view>
  13. <image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/juyin/static/index/code.jpg" style="width: 350rpx;" mode="widthFix"></image>
  14. </view>
  15. <view class="cu-bar bg-white flex-direction padding-tb-xs">
  16. <view class="action margin-0 flex-sub solid-left" style="margin: 0;">长按识别 关注公众号</view>
  17. <view class="action margin-0 flex-sub solid-left" style="margin: 0;">获取更多的征信修复咨询</view>
  18. </view>
  19. </view>
  20. </view>
  21. </template>
  22. <script>
  23. export default {
  24. data() {
  25. return {
  26. modalName: "Image"
  27. }
  28. },
  29. props: {
  30. },
  31. methods: {
  32. showModal(e) {
  33. this.modalName = e.currentTarget.dataset.target
  34. },
  35. hideModal(e) {
  36. this.modalName = null
  37. },
  38. }
  39. }
  40. </script>
  41. <style>
  42. </style>