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 等样式类,改善分类和长度选择区域的显示效果。调整单选框的间距和对齐方式,提升用户界面的美观性和可用性。
65 lines
1.2 KiB
JavaScript
65 lines
1.2 KiB
JavaScript
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
|
|
}
|
|
} |