diff --git a/pages/uploadClothes/index.vue b/pages/uploadClothes/index.vue index a1a479b..58930cf 100644 --- a/pages/uploadClothes/index.vue +++ b/pages/uploadClothes/index.vue @@ -9,6 +9,45 @@ @click="uploadFile" > + + + + 分类: + + + + + + + + 长度: + + + + + + @@ -17,11 +56,14 @@ import { onLoad, onPageScroll, onPullDownRefresh } from '@dcloudio/uni-app'; import sheep from '@/sheep'; import SelectPic from '@/pages/uploadClothes/SelectPic.vue'; + import { pattern } from '@/sheep/store/fittingRoom'; - const fittingRoom = sheep.$store('fittingRoom'); + const fittingRoomStore = sheep.$store('fittingRoom'); const imageUrl = ref('https://picsum.photos/600/300?random=3') - +function selectColthesType(val) { + console.log("🚀 ~ selectColthesType ~ val: ", val); +} // 隐藏原生tabBar uni.hideTabBar({ fail: () => {}, @@ -72,6 +114,25 @@ \ No newline at end of file diff --git a/uni_modules/uv-icon/components/uv-icon/uvicons.ttf b/uni_modules/uv-icon/components/uv-icon/uvicons.ttf new file mode 100644 index 0000000..9aedef8 Binary files /dev/null and b/uni_modules/uv-icon/components/uv-icon/uvicons.ttf differ diff --git a/uni_modules/uv-icon/package.json b/uni_modules/uv-icon/package.json new file mode 100644 index 0000000..0a838d5 --- /dev/null +++ b/uni_modules/uv-icon/package.json @@ -0,0 +1,83 @@ +{ + "id": "uv-icon", + "displayName": "uv-icon 图标 全面兼容vue3+2、app、h5、小程序等多端", + "version": "1.0.13", + "description": "基于字体的图标集,包含了大多数常见场景的图标,支持自定义,支持自定义图片图标等。可自定义颜色、大小。", + "keywords": [ + "uv-ui,uvui,uv-icon,icon,图标,字体图标" +], + "repository": "", + "engines": { + "HBuilderX": "^3.1.0" + }, + "dcloudext": { + "type": "component-vue", + "sale": { + "regular": { + "price": "0.00" + }, + "sourcecode": { + "price": "0.00" + } + }, + "contact": { + "qq": "" + }, + "declaration": { + "ads": "无", + "data": "插件不采集任何数据", + "permissions": "无" + }, + "npmurl": "" + }, + "uni_modules": { + "dependencies": [ + "uv-ui-tools" + ], + "encrypt": [], + "platforms": { + "cloud": { + "tcb": "y", + "aliyun": "y" + }, + "client": { + "Vue": { + "vue2": "y", + "vue3": "y" + }, + "App": { + "app-vue": "y", + "app-nvue": "y" + }, + "H5-mobile": { + "Safari": "y", + "Android Browser": "y", + "微信浏览器(Android)": "y", + "QQ浏览器(Android)": "y" + }, + "H5-pc": { + "Chrome": "y", + "IE": "y", + "Edge": "y", + "Firefox": "y", + "Safari": "y" + }, + "小程序": { + "微信": "y", + "阿里": "y", + "百度": "y", + "字节跳动": "y", + "QQ": "y", + "钉钉": "u", + "快手": "u", + "飞书": "u", + "京东": "u" + }, + "快应用": { + "华为": "u", + "联盟": "u" + } + } + } + } +} \ No newline at end of file diff --git a/uni_modules/uv-icon/readme.md b/uni_modules/uv-icon/readme.md new file mode 100644 index 0000000..d526e1a --- /dev/null +++ b/uni_modules/uv-icon/readme.md @@ -0,0 +1,15 @@ +## uv-icon 图标库 + +> **组件名:uv-icon** + +基于字体的图标集,包含了大多数常见场景的图标,支持自定义,支持自定义图片图标等。 + +# 查看文档 + +## [下载完整示例项目](https://ext.dcloud.net.cn/plugin?name=uv-ui) + +### [更多插件,请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui) + +![image](https://mp-a667b617-c5f1-4a2d-9a54-683a67cff588.cdn.bspapp.com/uv-ui/banner.png) + +#### 如使用过程中有任何问题反馈,或者您对uv-ui有一些好的建议,欢迎加入uv-ui官方交流群:官方QQ群 diff --git a/uni_modules/uv-radio/changelog.md b/uni_modules/uv-radio/changelog.md new file mode 100644 index 0000000..e51b181 --- /dev/null +++ b/uni_modules/uv-radio/changelog.md @@ -0,0 +1,31 @@ +## 1.0.13(2023-12-19) +1. 修复在group设置labelColor不生效的BUG +## 1.0.12(2023-11-04) +1. 修复label文字较多不分行的问题 +## 1.0.11(2023-10-11) +1. 优化:https://gitee.com/climblee/uv-ui/issues/I872VD +## 1.0.10(2023-09-01) +1. 修复点击空隙处无效的问题 +2. label支持插槽下可点击 +## 1.0.9(2023-08-27) +1. 优化 +## 1.0.8(2023-08-26) +1. 修复v-model 绑定布尔值控制台报警 +## 1.0.7(2023-08-26) +1. 修复设置 labelSize 属性设置无效的问题:https://gitee.com/climblee/uv-ui/issues/I7W6UN +## 1.0.6(2023-08-04) +1. 修复name为数字0时不能选中的BUG +## 1.0.5(2023-07-13) +1. 修复 uv-radio设置value属性不生效的BUG +## 1.0.4(2023-07-05) +修复vue3模式下,动态修改v-model绑定的值无效的BUG +## 1.0.3(2023-06-06) +1. 修正语法问题 +## 1.0.2(2023-06-06) +1. uv-radio-group 兼容自定义样式customStyle,方便通过样式调整整体位置等 +2. .uv-radio-group--row增加flex-wrap: wrap;允许换行 +## 1.0.1(2023-05-16) +1. 优化组件依赖,修改后无需全局引入,组件导入即可使用 +2. 优化部分功能 +## 1.0.0(2023-05-10) +uv-radio 单选框 diff --git a/uni_modules/uv-radio/components/uv-radio-group/props.js b/uni_modules/uv-radio/components/uv-radio-group/props.js new file mode 100644 index 0000000..b0dbd15 --- /dev/null +++ b/uni_modules/uv-radio/components/uv-radio-group/props.js @@ -0,0 +1,89 @@ +export default { + props: { + // 绑定的值 + value: { + type: [String, Number, Boolean], + default: '' + }, + modelValue: { + type: [String, Number, Boolean], + default: '' + }, + // 是否禁用全部radio + disabled: { + type: Boolean, + default: false + }, + // 形状,circle-圆形,square-方形 + shape: { + type: String, + default: 'circle' + }, + // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值 + activeColor: { + type: String, + default: '#2979ff' + }, + // 未选中的颜色 + inactiveColor: { + type: String, + default: '#c8c9cc' + }, + // 标识符 + name: { + type: String, + default: '' + }, + // 整个组件的尺寸,默认px + size: { + type: [String, Number], + default: 18 + }, + // 布局方式,row-横向,column-纵向 + placement: { + type: String, + default: 'row' + }, + // label的文本 + label: { + type: [String], + default: '' + }, + // label的颜色 (默认 '#303133' ) + labelColor: { + type: [String], + default: '#303133' + }, + // label的字体大小,px单位 + labelSize: { + type: [String, Number], + default: 14 + }, + // 是否禁止点击文本操作checkbox(默认 false ) + labelDisabled: { + type: Boolean, + default: false + }, + // 图标颜色 + iconColor: { + type: String, + default: '#fff' + }, + // 图标的大小,单位px + iconSize: { + type: [String, Number], + default: 12 + }, + // 竖向配列时,是否显示下划线 + borderBottom: { + type: Boolean, + default: false + }, + // 图标与文字的对齐方式 + iconPlacement: { + type: String, + default: 'left' + }, + ...uni.$uv?.props?.radioGroup + } +} \ No newline at end of file diff --git a/uni_modules/uv-radio/components/uv-radio-group/uv-radio-group.vue b/uni_modules/uv-radio/components/uv-radio-group/uv-radio-group.vue new file mode 100644 index 0000000..6b3069f --- /dev/null +++ b/uni_modules/uv-radio/components/uv-radio-group/uv-radio-group.vue @@ -0,0 +1,115 @@ + + + + + diff --git a/uni_modules/uv-radio/components/uv-radio/props.js b/uni_modules/uv-radio/components/uv-radio/props.js new file mode 100644 index 0000000..1e5e2ac --- /dev/null +++ b/uni_modules/uv-radio/components/uv-radio/props.js @@ -0,0 +1,65 @@ +export default { + props: { + // radio的名称 + name: { + type: [String, Number, Boolean], + default: '' + }, + // 形状,square为方形,circle为圆型 + shape: { + type: String, + default: '' + }, + // 是否禁用 + disabled: { + type: [String, Boolean], + default: '' + }, + // 是否禁止点击提示语选中单选框 + labelDisabled: { + type: [String, Boolean], + default: '' + }, + // 选中状态下的颜色,如设置此值,将会覆盖parent的activeColor值 + activeColor: { + type: String, + default: '' + }, + // 未选中的颜色 + inactiveColor: { + type: String, + default: '' + }, + // 图标的大小,单位px + iconSize: { + type: [String, Number], + default: '' + }, + // label的字体大小,px单位 + labelSize: { + type: [String, Number], + default: '' + }, + // label提示文字,因为nvue下,直接slot进来的文字,由于特殊的结构,无法修改样式 + label: { + type: [String, Number, Boolean], + default: '' + }, + // 整体的大小 + size: { + type: [String, Number], + default: '' + }, + // 图标颜色 + iconColor: { + type: String, + default: '' + }, + // label的颜色 + labelColor: { + type: String, + default: '' + }, + ...uni.$uv?.props?.radio + } +} \ No newline at end of file diff --git a/uni_modules/uv-radio/components/uv-radio/uv-radio.vue b/uni_modules/uv-radio/components/uv-radio/uv-radio.vue new file mode 100644 index 0000000..3c0236c --- /dev/null +++ b/uni_modules/uv-radio/components/uv-radio/uv-radio.vue @@ -0,0 +1,348 @@ + + + + \ No newline at end of file diff --git a/uni_modules/uv-radio/package.json b/uni_modules/uv-radio/package.json new file mode 100644 index 0000000..e789246 --- /dev/null +++ b/uni_modules/uv-radio/package.json @@ -0,0 +1,88 @@ +{ + "id": "uv-radio", + "displayName": "uv-radio 单选框 全面兼容vue3+2、app、h5、小程序等多端", + "version": "1.0.13", + "description": "uv-radio 单选框用于有一个选择,用户只能选择其中一个的场景。", + "keywords": [ + "uv-radio", + "uvui", + "uv-ui", + "radio", + "单选框" +], + "repository": "", + "engines": { + "HBuilderX": "^3.1.0" + }, + "dcloudext": { + "type": "component-vue", + "sale": { + "regular": { + "price": "0.00" + }, + "sourcecode": { + "price": "0.00" + } + }, + "contact": { + "qq": "" + }, + "declaration": { + "ads": "无", + "data": "插件不采集任何数据", + "permissions": "无" + }, + "npmurl": "" + }, + "uni_modules": { + "dependencies": [ + "uv-ui-tools", + "uv-icon" + ], + "encrypt": [], + "platforms": { + "cloud": { + "tcb": "y", + "aliyun": "y" + }, + "client": { + "Vue": { + "vue2": "y", + "vue3": "y" + }, + "App": { + "app-vue": "y", + "app-nvue": "y" + }, + "H5-mobile": { + "Safari": "y", + "Android Browser": "y", + "微信浏览器(Android)": "y", + "QQ浏览器(Android)": "y" + }, + "H5-pc": { + "Chrome": "y", + "IE": "y", + "Edge": "y", + "Firefox": "y", + "Safari": "y" + }, + "小程序": { + "微信": "y", + "阿里": "y", + "百度": "y", + "字节跳动": "y", + "QQ": "y", + "钉钉": "u", + "快手": "u", + "飞书": "u", + "京东": "u" + }, + "快应用": { + "华为": "u", + "联盟": "u" + } + } + } + } +} \ No newline at end of file diff --git a/uni_modules/uv-radio/readme.md b/uni_modules/uv-radio/readme.md new file mode 100644 index 0000000..c826898 --- /dev/null +++ b/uni_modules/uv-radio/readme.md @@ -0,0 +1,19 @@ +## Radio 单选框 + +> **组件名:uv-radio** + +单选框用于有一个选择,用户只能选择其中一个的场景。 + +# 查看文档 + +## [下载完整示例项目](https://ext.dcloud.net.cn/plugin?name=uv-ui) (请不要 下载插件ZIP) + +### [更多插件,请关注uv-ui组件库](https://ext.dcloud.net.cn/plugin?name=uv-ui) + + + +![image](https://mp-a667b617-c5f1-4a2d-9a54-683a67cff588.cdn.bspapp.com/uv-ui/banner.png) + + + +#### 如使用过程中有任何问题反馈,或者您对uv-ui有一些好的建议,欢迎加入uv-ui官方交流群:官方QQ群 \ No newline at end of file