This commit is contained in:
houjunxiang
2025-10-09 18:19:55 +08:00
parent f2ffc65094
commit 386f1e7466
1553 changed files with 284685 additions and 32820 deletions

View File

@@ -0,0 +1,24 @@
/*
* @Author : LQ
* @Description :
* @version : 1.0
* @Date : 2021-08-20 16:44:21
* @LastAuthor : LQ
* @lastTime : 2021-08-20 17:00:23
* @FilePath : /u-view2.0/uview-ui/libs/config/props/loadingPage.js
*/
export default {
// loading-page组件
loadingPage: {
loadingText: '正在加载',
image: '',
loadingMode: 'circle',
loading: false,
bgColor: '#ffffff',
color: '#C8C8C8',
fontSize: 19,
iconSize: 28,
loadingColor: '#C8C8C8',
zIndex: 10
}
}

View File

@@ -0,0 +1,57 @@
import { defineMixin } from '../../libs/vue'
import defProps from '../../libs/config/props.js'
export const props = defineMixin({
props: {
// 提示内容
loadingText: {
type: [String, Number],
default: () => defProps.loadingPage.loadingText
},
// 文字上方用于替换loading动画的图片
image: {
type: String,
default: () => defProps.loadingPage.image
},
// 加载动画的模式circle-圆形spinner-花朵形semicircle-半圆形
loadingMode: {
type: String,
default: () => defProps.loadingPage.loadingMode
},
// 是否加载中
loading: {
type: Boolean,
default: () => defProps.loadingPage.loading
},
// 背景色
bgColor: {
type: String,
default: () => defProps.loadingPage.bgColor
},
// 文字颜色
color: {
type: String,
default: () => defProps.loadingPage.color
},
// 文字大小
fontSize: {
type: [String, Number],
default: () => defProps.loadingPage.fontSize
},
// 图标大小
iconSize: {
type: [String, Number],
default: () => defProps.loadingPage.fontSize
},
// 加载中图标的颜色只能rgb或者十六进制颜色值
loadingColor: {
type: String,
default: () => defProps.loadingPage.loadingColor
},
// 层级
zIndex: {
type: [Number],
default: () => defProps.loadingPage.zIndex
},
}
})

File diff suppressed because it is too large Load Diff