Box2LineImageRightShadow.vue 661 B

123456789101112131415161718192021222324
  1. <template>
  2. <view
  3. class="d-flex flex-row justify-between shadow-s radius-base mt-3 p-2 pt-3 pb-3"
  4. @click="$emit('click')"
  5. >
  6. <view class="d-flex flex-row">
  7. <image class="width-100 height-100 radius-base" :src="image" mode="aspectFill" />
  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 class="color-primary-second-text size-ss">{{ right }}</text>
  14. </view>
  15. </template>
  16. <script setup lang="ts">
  17. defineProps({
  18. title: String,
  19. desc: String,
  20. right: String,
  21. image: String,
  22. })
  23. </script>