Box2LineRightShadow.vue 665 B

12345678910111213141516171819202122232425
  1. <template>
  2. <view
  3. class="d-flex flex-row justify-between shadow-s radius-base mt-3 p-2"
  4. @click="$emit('click')"
  5. >
  6. <view class="d-flex flex-row">
  7. <slot name="left" />
  8. <view class="d-flex flex-col ml-3 flex-one">
  9. <text class="color-primary">{{ title }}</text>
  10. <text class="color-second mt-2">{{ desc }}</text>
  11. </view>
  12. </view>
  13. <text v-if="right" class="color-primary-second-text size-ss">{{ right }}</text>
  14. <text v-else class="color-title-text iconfont icon-arrow-right"></text>
  15. </view>
  16. </template>
  17. <script setup lang="ts">
  18. defineProps({
  19. title: String,
  20. desc: String,
  21. right: String,
  22. })
  23. </script>