common-picker-cell.vue 497 B

123456789101112131415161718192021222324
  1. <template>
  2. <uv-cell v-bind="$attrs" class="bg-white">
  3. <template #right-icon>
  4. <uv-icon size="20" :name="selected?'checkmark-circle-fill':'checkmark-circle'"
  5. :color="selected?'primary':'var(--tips-color)'"/>
  6. </template>
  7. </uv-cell>
  8. </template>
  9. <script>
  10. export default {
  11. name: "common-picker-cell",
  12. props: {
  13. selected: {
  14. type: Boolean,
  15. default: false
  16. }
  17. }
  18. }
  19. </script>
  20. <style scoped>
  21. </style>