This commit is contained in:
pengxiaolong
2025-05-13 19:39:53 +08:00
parent 37da6765b8
commit c006a8e63d
1232 changed files with 96963 additions and 883 deletions

View File

@@ -0,0 +1 @@
{"version":3,"file":"index.js","sources":["TUIKit/components/common/RadioSelect/index.vue","../../HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDov6aG555uuL3RrLW1pbmktcHJvZ3JhbS9UVUlLaXQvY29tcG9uZW50cy9jb21tb24vUmFkaW9TZWxlY3QvaW5kZXgudnVl"],"sourcesContent":["<template>\n <div\n class=\"radio-select\"\n @click=\"toggleSelect\"\n >\n <div\n v-if=\"!props.isSelected\"\n class=\"radio-no-select\"\n />\n <Icon\n v-else\n :file=\"radioIcon\"\n :size=\"'20px'\"\n />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport Icon from '../Icon.vue';\nimport radioIcon from '../../../assets/icon/radio.svg';\n\ninterface IProps {\n isSelected: boolean;\n}\n\ninterface IEmits {\n (e: 'onChange', value: boolean): void;\n}\n\nconst emits = defineEmits<IEmits>();\nconst props = withDefaults(defineProps<IProps>(),\n {},\n);\n\nfunction toggleSelect() {\n emits('onChange', !props.isSelected);\n}\n</script>\n<style lang=\"scss\" scoped>\n:not(not) {\n display: flex;\n flex-direction: column;\n min-width: 0;\n box-sizing: border-box\n}\n\n.radio-select {\n flex: 1;\n flex-direction: column;\n cursor: pointer;\n -webkit-tap-highlight-color: transparent;\n justify-content: center;\n\n .radio-no-select {\n height: 20px;\n width: 20px;\n border-radius: 50%;\n border: 2px solid #ddd;\n }\n}\n</style>\n","import Component from 'D:/项目/tk-mini-program/TUIKit/components/common/RadioSelect/index.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;;;;AAkBA,MAAA,OAAiB,MAAA;;;;;;;;AAWjB,UAAM,QAAQ;AACd,UAAM,QAAQ;AAId,aAAS,eAAe;AAChB,YAAA,YAAY,CAAC,MAAM,UAAU;AAAA,IACrC;;;;;;;;;;;;;;;;ACnCA,GAAG,gBAAgB,SAAS;"}