You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
// 此版本发布于2024-01-20
|
|
|
|
|
const version = '1.1.20'
|
|
|
|
|
|
|
|
|
|
// 开发环境才提示,生产环境不会提示
|
|
|
|
|
if (process.env.NODE_ENV === 'development') {
|
|
|
|
|
console.log(`\n %c uvui V${version} https://www.uvui.cn/ \n\n`, 'color: #ffffff; background: #3c9cff; padding:5px 0; border-radius: 5px;');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
v: version,
|
|
|
|
|
version,
|
|
|
|
|
// 主题名称
|
|
|
|
|
type: [
|
|
|
|
|
'primary',
|
|
|
|
|
'success',
|
|
|
|
|
'info',
|
|
|
|
|
'error',
|
|
|
|
|
'warning'
|
|
|
|
|
],
|
|
|
|
|
// 颜色部分,本来可以通过scss的:export导出供js使用,但是奈何nvue不支持
|
|
|
|
|
color: {
|
|
|
|
|
'uv-primary': '#2979ff',
|
|
|
|
|
'uv-warning': '#ff9900',
|
|
|
|
|
'uv-success': '#19be6b',
|
|
|
|
|
'uv-error': '#fa3534',
|
|
|
|
|
'uv-info': '#909399',
|
|
|
|
|
'uv-main-color': '#303133',
|
|
|
|
|
'uv-content-color': '#606266',
|
|
|
|
|
'uv-tips-color': '#909399',
|
|
|
|
|
'uv-light-color': '#c0c4cc'
|
|
|
|
|
},
|
|
|
|
|
// 默认单位,可以通过配置为rpx,那么在用于传入组件大小参数为数值时,就默认为rpx
|
|
|
|
|
unit: 'px'
|
|
|
|
|
}
|