This commit is contained in:
2025-04-18 16:32:32 +08:00
parent 09c087508f
commit 8e44473164
74 changed files with 24833 additions and 10335 deletions

View File

@@ -17,7 +17,7 @@
* @property {Array} value 绑定的值
* @property {String} shape 形状circle-圆形square-方形 (默认 'square'
* @property {Boolean} disabled 是否禁用全部checkbox (默认 false
* @property {String} activeColor 选中状态下的颜色如设置此值将会覆盖parent的activeColor值 (默认 '#2979ff'
* @property {String} activeColor 选中状态下的颜色如设置此值将会覆盖parent的activeColor值 (默认 '#117e4c'
* @property {String} inactiveColor 未选中的颜色 (默认 '#c8c9cc'
* @property {String | Number} size 整个组件的尺寸 单位px (默认 18
* @property {String} placement 布局方式row-横向column-纵向 (默认 'row'

View File

@@ -99,7 +99,7 @@
},
// 组件选中激活时的颜色
elActiveColor() {
return this.activeColor ? this.activeColor : (this.parentData.activeColor ? this.parentData.activeColor : '#2979ff');
return this.activeColor ? this.activeColor : (this.parentData.activeColor ? this.parentData.activeColor : '#117e4c');
},
// 组件选未中激活时的颜色
elInactiveColor() {
@@ -250,7 +250,7 @@
$u-checkbox-icon-wrap-square-border-radius:3px !default;
$u-checkbox-icon-wrap-checked-color:#fff !default;
$u-checkbox-icon-wrap-checked-background-color:red !default;
$u-checkbox-icon-wrap-checked-border-color:#2979ff !default;
$u-checkbox-icon-wrap-checked-border-color:#117e4c !default;
$u-checkbox-icon-wrap-disabled-background-color:#ebedf0 !default;
$u-checkbox-icon-wrap-disabled-checked-color:#c8c9cc !default;
$u-checkbox-label-margin-left:5px !default;

View File

@@ -4,7 +4,7 @@ export default {
activeStyle: {
type: [String, Object],
default: () => ({
color: '#2979ff',
color: '#117e4c',
fontSize: '14px'
})
},

View File

@@ -75,7 +75,7 @@
* @property {Object} customStyle icon的样式对象形式
* @event {Function} click 点击图标时触发
* @event {Function} touchstart 事件触摸时触发
* @example <u-icon name="photo" color="#2979ff" size="28"></u-icon>
* @example <u-icon name="photo" color="#117e4c" size="28"></u-icon>
*/
export default {
name: 'u-icon',

View File

@@ -102,7 +102,7 @@
* @property {String} cancelText 取消按钮的文字 (默认 '取消'
* @property {Boolean} showConfirmButton 是否显示确认按钮 (默认 true
* @property {Boolean} showCancelButton 是否显示取消按钮 (默认 false
* @property {String} confirmColor 确认按钮的颜色 (默认 '#2979ff'
* @property {String} confirmColor 确认按钮的颜色 (默认 '#117e4c'
* @property {String} cancelColor 取消按钮的颜色 (默认 '#606266'
* @property {Number} duration 弹窗动画过度时间 (默认 400
* @property {Boolean} buttonReverse 对调确认和取消的位置 (默认 false

View File

@@ -17,7 +17,7 @@
* @property {String | Number | Boolean} value 绑定的值
* @property {Boolean} disabled 是否禁用所有radio默认 false
* @property {String} shape 外观形状shape-方形circle-圆形(默认 circle )
* @property {String} activeColor 选中时的颜色应用到所有子Radio组件默认 '#2979ff'
* @property {String} activeColor 选中时的颜色应用到所有子Radio组件默认 '#117e4c'
* @property {String} inactiveColor 未选中的颜色 (默认 '#c8c9cc' )
* @property {String} name 标识符
* @property {String | Number} size 组件整体的大小单位px默认 18

View File

@@ -103,7 +103,7 @@
},
// 组件选中激活时的颜色
elActiveColor() {
return this.activeColor ? this.activeColor : (this.parentData.activeColor ? this.parentData.activeColor : '#2979ff');
return this.activeColor ? this.activeColor : (this.parentData.activeColor ? this.parentData.activeColor : '#117e4c');
},
// 组件选未中激活时的颜色
elInactiveColor() {
@@ -246,7 +246,7 @@
$u-radio-square-border-radius:3px !default;
$u-radio-checked-color:#fff !default;
$u-radio-checked-background-color:red !default;
$u-radio-checked-border-color: #2979ff !default;
$u-radio-checked-border-color: #117e4c !default;
$u-radio-disabled-background-color:#ebedf0 !default;
$u-radio-disabled--checked-color:#c8c9cc !default;
$u-radio-label-margin-left: 5px !default;

View File

@@ -58,7 +58,7 @@
* @property {Boolean} toggle 展开后是否显示收起按钮(默认 false
* @property {String} closeText 关闭时的提示文字(默认 '展开阅读全文'
* @property {String} openText 展开时的提示文字(默认 '收起'
* @property {String} color 提示文字的颜色(默认 '#2979ff'
* @property {String} color 提示文字的颜色(默认 '#117e4c'
* @property {String | Number} fontSize 提示文字的大小单位px (默认 14
* @property {Object} shadowStyle 显示阴影的样式
* @property {String} textIndent 段落首行缩进的字符个数 (默认 '2em'

View File

@@ -36,7 +36,7 @@
* @property {Boolean} loading 是否处于加载中(默认 false
* @property {Boolean} disabled 是否禁用(默认 false
* @property {String | Number} size 开关尺寸单位px (默认 25
* @property {String} activeColor 打开时的背景色 (默认 '#2979ff'
* @property {String} activeColor 打开时的背景色 (默认 '#117e4c'
* @property {String} inactiveColor 关闭时的背景色 (默认 '#ffffff'
* @property {Boolean | String | Number} value 通过v-model双向绑定的值 (默认 false
* @property {Boolean | String | Number} activeValue 打开选择器时通过change事件发出的值 (默认 true

View File

@@ -19,7 +19,7 @@ export default {
],
// 颜色部分本来可以通过scss的:export导出供js使用但是奈何nvue不支持
color: {
'u-primary': '#2979ff',
'u-primary': '#117e4c',
'u-warning': '#ff9900',
'u-success': '#19be6b',
'u-error': '#fa3534',

View File

@@ -14,7 +14,7 @@ export default {
value: () => [],
shape: 'square',
disabled: false,
activeColor: '#2979ff',
activeColor: '#117e4c',
inactiveColor: '#c8c9cc',
size: 18,
placement: 'row',

View File

@@ -17,7 +17,7 @@ export default {
cancelText: '取消',
showConfirmButton: true,
showCancelButton: false,
confirmColor: '#2979ff',
confirmColor: '#117e4c',
cancelColor: '#606266',
buttonReverse: false,
zoom: true,

View File

@@ -13,7 +13,7 @@ export default {
value: '',
disabled: false,
shape: 'circle',
activeColor: '#2979ff',
activeColor: '#117e4c',
inactiveColor: '#c8c9cc',
name: '',
size: 18,

View File

@@ -14,7 +14,7 @@ export default {
toggle: false,
closeText: '展开阅读全文',
openText: '收起',
color: '#2979ff',
color: '#117e4c',
fontSize: 14,
textIndent: '2em',
name: ''

View File

@@ -15,7 +15,7 @@ export default {
min: 0,
max: 100,
step: 1,
activeColor: '#2979ff',
activeColor: '#117e4c',
inactiveColor: '#c0c4cc',
blockColor: '#ffffff',
showValue: false,

View File

@@ -13,7 +13,7 @@ export default {
loading: false,
disabled: false,
size: 25,
activeColor: '#2979ff',
activeColor: '#117e4c',
inactiveColor: '#ffffff',
value: false,
activeValue: true,