IntroClamTip.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <template>
  2. <CommonDialog v-model:show="show" title="开启你的乡村之旅">
  3. <template #titlePre>
  4. <FlexRow center>
  5. <Image src="https://xy.wenlvti.net/app_static/images/home/BadgeNew.png" :width="320" mode="widthFix" />
  6. </FlexRow>
  7. </template>
  8. <FlexCol gap="gap.lg" padding="padding.md">
  9. <Text
  10. textAlign="center"
  11. text="认领你的村社,参与建设家乡 或者先随便看看,了解更多乡村故事"
  12. fontConfig="contentSpeicalText"
  13. />
  14. <FlexRow justify="space-around" gap="gap.md">
  15. <FrameButton text="随便看看" @click="show = false; emit('cancel')" width="220rpx" />
  16. <FrameButton primary text="认领村社" @click="show = false; emit('apply')" width="220rpx" />
  17. </FlexRow>
  18. </FlexCol>
  19. </CommonDialog>
  20. </template>
  21. <script setup lang="ts">
  22. import CommonDialog from '@/common/components/CommonDialog.vue';
  23. import FrameButton from '@/common/components/FrameButton.vue';
  24. import Image from '@/components/basic/Image.vue';
  25. import Text from '@/components/basic/Text.vue';
  26. import FlexCol from '@/components/layout/FlexCol.vue';
  27. import FlexRow from '@/components/layout/FlexRow.vue';
  28. import { ref } from 'vue';
  29. const show = ref(false);
  30. const emit = defineEmits(['apply','cancel']);
  31. defineExpose({
  32. show: () => {
  33. show.value = true;
  34. },
  35. });
  36. </script>