feat(fittingRoom): 新增衣服长度选择功能在上传衣服页面增加分类和长度选择功能,支持用户选择衣服类型和具体长度部位。新增 pattern 常量定义各种长度选项,并在 store 中添加相应的状态管理。同时更新了相关样式和组件依赖。

fix(uploadClothes): 修复上传页面分类选择逻辑

调整上传衣服页面的分类选择逻辑,使用 uv-radio-group 实现单选功能,支持衣服类型和长度部位的选择。引入 fittingRoom store 中的 tabs 和 pattern 数据,优化用户交互体验。

chore(deps): 更新 uv-icon 和 uv-radio 组件版本更新 uv-icon 和 uv-radio 组件的 package.json 配置文件,设置版本号为1.0.13。更新 changelog 文档,记录组件的优化和 bug 修复历史。完善组件的平台兼容性配置和依赖关系。

style(components): 调整上传页面样式布局优化上传衣服页面的样式布局,新增 warp、title、container 等样式类,改善分类和长度选择区域的显示效果。调整单选框的间距和对齐方式,提升用户界面的美观性和可用性。
This commit is contained in:
guigongli
2025-09-22 22:35:30 +08:00
parent 18931e653d
commit 8f68f9b0c8
16 changed files with 1438 additions and 2 deletions
@@ -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
}
}