Box2LinePlayRightArrow.vue 689 B

1234567891011121314151617181920212223242526
  1. <template>
  2. <view
  3. class="d-flex w-100 flex-row align-center bg-light-light-primary radius-base mt-2 p-2"
  4. @click="$emit('click')"
  5. >
  6. <image class="width-100 height-100 radius-base" src="/static/images/discover/PlayButtonLarge.png" mode="aspectFill" />
  7. <view class="d-flex flex-col ml-3 flex-one">
  8. <text class="color-primary">{{ title }}</text>
  9. <text v-if="desc" class="color-primary-second-text">{{ desc }}</text>
  10. </view>
  11. <text class="iconfont icon-arrow-right color-primary" />
  12. </view>
  13. </template>
  14. <script setup lang="ts">
  15. defineProps({
  16. title: {
  17. type: String,
  18. default: ''
  19. },
  20. desc: {
  21. type: String,
  22. default: ''
  23. }
  24. })
  25. </script>