StopConfirmation.vue 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <template>
  2. <LazyLayoutDialog :show="show" theme="danger">
  3. <template #dialogType>{{ $t('important') }}</template>
  4. <template #dialogTitle>{{ $t('you_want_to_stop_your_premium_trial_period') }} ? </template>
  5. <template #dialogText>
  6. <v-card-text class="text">
  7. <p>$t('stop_trial_period_warning_1')</p>
  8. <p><strong>$t('stop_trial_period_warning_2')</strong></p>
  9. <ul>
  10. <li>$t('stop_trial_period_warning_3')</li>
  11. <li>$t('stop_trial_period_warning_4')</li>
  12. <li>$t('stop_trial_period_warning_5')</li>
  13. </ul>
  14. <p>$t('stop_trial_period_warning_6')</p>
  15. </v-card-text>
  16. </template>
  17. <template #dialogBtn>
  18. <v-btn class="mr-4 submitBtn theme-neutral-strong" @click="closeDialog">
  19. {{ $t('cancel') }}
  20. </v-btn>
  21. <v-btn class="mr-4 submitBtn theme-danger" @click="stopTrial">
  22. $t('stop_trial')
  23. </v-btn>
  24. </template>
  25. </LazyLayoutDialog>
  26. </template>
  27. <script setup lang="ts">
  28. const props = defineProps({
  29. show: {
  30. type: Boolean,
  31. required: false,
  32. default: false,
  33. },
  34. })
  35. const emit = defineEmits(['closeDialog', 'stopTrial'])
  36. const closeDialog = () => {
  37. emit('closeDialog')
  38. }
  39. const stopTrial = () => {
  40. emit('stopTrial')
  41. }
  42. </script>
  43. <style scoped lang="scss">
  44. .text {
  45. p {
  46. margin-bottom: 10px;
  47. }
  48. ul {
  49. padding-left: 20px;
  50. margin-bottom: 10px;
  51. }
  52. }
  53. </style>