v-uni-app-ui 1.0.4 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +62 -82
- package/dist/v-uni-app-ui.css +1 -0
- package/dist/v-uni-app-ui.es.js +6569 -0
- package/dist/v-uni-app-ui.umd.js +7 -0
- package/package.json +17 -5
- package/components/config/css/basic.scss +0 -19
- package/components/config/interface/basic-type.js +0 -16
- package/components/config/interface/components-interface.ts +0 -0
- package/components/config/interface/monitor/components/input-monitor.js +0 -0
- package/components/config/interface/monitor/property-monitor.ts +0 -136
- package/components/config/interface/props/basic-props.ts +0 -88
- package/components/config/interface/props/components/button-props.ts +0 -85
- package/components/config/interface/props/components/input-props.ts +0 -69
- package/components/config/interface/props/props-tools.ts +0 -64
- package/components/config/style/basic.js +0 -346
- package/components/config/style/component-registry.js +0 -142
- package/components/config/style/components/button-style.js +0 -160
- package/components/config/style/components/input-style.js +0 -98
- package/components/config/style/components-style.js +0 -622
- package/components/config/style/property-mapper.js +0 -377
- package/components/config/style/pseudo-processor.js +0 -213
- package/components/config.js +0 -123
- package/components/icon/iconfont.css +0 -87
- package/components/icon/iconfont.js +0 -1
- package/components/icon/iconfont.json +0 -135
- package/components/icon/iconfont.ttf +0 -0
- package/components/icon/iconfont.woff +0 -0
- package/components/icon/iconfont.woff2 +0 -0
- package/components/layout/v-card/v-card.vue +0 -108
- package/components/layout/v-grid/v-grid.vue +0 -162
- package/components/layout/v-icon-grid/v-icon-grid.vue +0 -195
- package/components/layout/v-infinite-scroll/v-infinite-scroll.vue +0 -172
- package/components/layout/v-list/v-list.vue +0 -43
- package/components/layout/v-row/v-row.vue +0 -142
- package/components/layout/v-waterfall/v-waterfall.vue +0 -79
- package/components/model/compound/v-checkbox-group/v-checkbox-group.vue +0 -96
- package/components/model/compound/v-console/v-console.js +0 -20
- package/components/model/compound/v-console/v-console.vue +0 -299
- package/components/model/compound/v-date-time/v-date-time.vue +0 -261
- package/components/model/compound/v-dialog/v-dialog.vue +0 -178
- package/components/model/compound/v-drum-select-picker/v-drum-select-picker.vue +0 -83
- package/components/model/compound/v-form/v-form.vue +0 -226
- package/components/model/compound/v-form-item/v-form-item.vue +0 -255
- package/components/model/compound/v-image/v-image.vue +0 -357
- package/components/model/compound/v-input-desensitize/v-input-desensitize.vue +0 -101
- package/components/model/compound/v-page/v-page.vue +0 -11
- package/components/model/compound/v-pages/v-pages.vue +0 -141
- package/components/model/compound/v-picker-list/v-picker-list.vue +0 -109
- package/components/model/compound/v-popup/v-popup.vue +0 -151
- package/components/model/compound/v-radio-group/v-radio-group.vue +0 -86
- package/components/model/compound/v-select-picker/v-select-picker.vue +0 -202
- package/components/model/compound/v-series-picker-list/v-series-picker-list.vue +0 -221
- package/components/model/compound/v-series-select-picker/v-series-select-picker.vue +0 -203
- package/components/model/compound/v-switch/v-switch.vue +0 -136
- package/components/model/compound/v-tabs-page/v-tabs-page.vue +0 -138
- package/components/model/native/v-badge/v-badge.vue +0 -143
- package/components/model/native/v-button/v-button.vue +0 -81
- package/components/model/native/v-carousel/v-carousel.vue +0 -138
- package/components/model/native/v-checkbox/v-checkbox.vue +0 -215
- package/components/model/native/v-collapse/v-collapse.vue +0 -190
- package/components/model/native/v-header-navigation-bar/v-header-navigation-bar.vue +0 -92
- package/components/model/native/v-input/v-input.vue +0 -163
- package/components/model/native/v-input-code/v-input-code.vue +0 -146
- package/components/model/native/v-loading/v-loading.vue +0 -206
- package/components/model/native/v-menu/v-menu.vue +0 -222
- package/components/model/native/v-menu-slide/v-menu-slide.vue +0 -364
- package/components/model/native/v-min-loading/v-min-loading.vue +0 -80
- package/components/model/native/v-null/v-null.vue +0 -97
- package/components/model/native/v-overlay/v-overlay.vue +0 -96
- package/components/model/native/v-pull-up-refresh/v-pull-up-refresh.vue +0 -157
- package/components/model/native/v-radio/v-radio.vue +0 -138
- package/components/model/native/v-scroll-list/v-scroll-list.vue +0 -169
- package/components/model/native/v-steps/v-steps.vue +0 -253
- package/components/model/native/v-table/v-table.vue +0 -203
- package/components/model/native/v-tabs/v-tabs.vue +0 -235
- package/components/model/native/v-tag/v-tag.vue +0 -206
- package/components/model/native/v-text/v-text.vue +0 -187
- package/components/model/native/v-textarea/v-textarea.vue +0 -178
- package/components/model/native/v-title/v-title.vue +0 -91
- package/components/model/native/v-toast/info.png +0 -0
- package/components/model/native/v-toast/success.png +0 -0
- package/components/model/native/v-toast/v-toast.vue +0 -198
- package/components/model/native/v-toast/warn.png +0 -0
- package/components/model/native/v-upload-file-button/v-upload-file-button.vue +0 -296
- package/components/model/native/v-video/v-video.vue +0 -175
- package/components/model/native/v-window/v-window.vue +0 -158
- package/components/utils/event-modifiers.ts +0 -139
- package/components/utils/validator.ts +0 -451
- package/index.js +0 -372
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
styleConfig
|
|
3
|
-
} from './basic.js'
|
|
4
|
-
|
|
5
|
-
// 导入组件样式配置
|
|
6
|
-
import ButtonStyleConfig from '@/components/config/style/components/button-style.js'
|
|
7
|
-
import InputStyleConfig from '@/components/config/style/components/input-style.js'
|
|
8
|
-
/**
|
|
9
|
-
* 默认组件样式配置
|
|
10
|
-
*/
|
|
11
|
-
const DefaultStyleConfig = {}
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* 组件样式注册表
|
|
15
|
-
*/
|
|
16
|
-
const ComponentStyleRegistry = {
|
|
17
|
-
button: ButtonStyleConfig,
|
|
18
|
-
input: InputStyleConfig,
|
|
19
|
-
default: DefaultStyleConfig
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* 获取组件样式配置(合并默认配置)
|
|
24
|
-
* @param {string} componentName 组件名称
|
|
25
|
-
* @returns {Object} 组件样式配置
|
|
26
|
-
*/
|
|
27
|
-
export function getComponentStyleConfig(componentName) {
|
|
28
|
-
const config = ComponentStyleRegistry[componentName] || ComponentStyleRegistry.default
|
|
29
|
-
|
|
30
|
-
// 如果组件配置有默认样式,确保返回的是包含默认配置的对象
|
|
31
|
-
if (config) {
|
|
32
|
-
// 复制配置,确保不修改原始配置
|
|
33
|
-
const mergedConfig = {
|
|
34
|
-
...config
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// 如果组件有自己的默认配置,将其合并到根级别
|
|
38
|
-
if (mergedConfig.default) {
|
|
39
|
-
// 注意:这里不直接合并,因为default可能在特定场景下使用
|
|
40
|
-
// 保持原有结构,PropertyMapper会处理default配置
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
return mergedConfig
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
return config
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* 注册组件样式配置
|
|
51
|
-
* @param {string} componentName 组件名称
|
|
52
|
-
* @param {Object} styleConfig 样式配置
|
|
53
|
-
* @param {boolean} mergeWithDefault 是否与现有默认配置合并
|
|
54
|
-
*/
|
|
55
|
-
export function registerComponentStyle(componentName, styleConfig, mergeWithDefault = true) {
|
|
56
|
-
if (!ComponentStyleRegistry[componentName]) {
|
|
57
|
-
ComponentStyleRegistry[componentName] = {}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
if (mergeWithDefault) {
|
|
61
|
-
// 深度合并配置,包括默认配置
|
|
62
|
-
ComponentStyleRegistry[componentName] = deepMerge(
|
|
63
|
-
ComponentStyleRegistry[componentName],
|
|
64
|
-
styleConfig
|
|
65
|
-
)
|
|
66
|
-
} else {
|
|
67
|
-
// 直接覆盖
|
|
68
|
-
ComponentStyleRegistry[componentName] = styleConfig
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* 检查组件是否已注册样式
|
|
74
|
-
* @param {string} componentName 组件名称
|
|
75
|
-
* @returns {boolean}
|
|
76
|
-
*/
|
|
77
|
-
export function hasComponentStyle(componentName) {
|
|
78
|
-
return !!ComponentStyleRegistry[componentName]
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* 获取所有已注册的组件名称
|
|
83
|
-
* @returns {string[]}
|
|
84
|
-
*/
|
|
85
|
-
export function getRegisteredComponents() {
|
|
86
|
-
return Object.keys(ComponentStyleRegistry).filter(name => name !== 'default')
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* 深度合并对象
|
|
91
|
-
*/
|
|
92
|
-
function deepMerge(target, source) {
|
|
93
|
-
const result = {
|
|
94
|
-
...target
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
for (const key in source) {
|
|
98
|
-
if (source[key] && typeof source[key] === 'object' && !Array.isArray(source[key])) {
|
|
99
|
-
if (target[key] && typeof target[key] === 'object') {
|
|
100
|
-
result[key] = deepMerge(target[key], source[key])
|
|
101
|
-
} else {
|
|
102
|
-
result[key] = source[key]
|
|
103
|
-
}
|
|
104
|
-
} else {
|
|
105
|
-
result[key] = source[key]
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
return result
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/**
|
|
113
|
-
* 设置组件的默认样式配置
|
|
114
|
-
* @param {string} componentName 组件名称
|
|
115
|
-
* @param {Object} defaultConfig 默认样式配置
|
|
116
|
-
*/
|
|
117
|
-
export function setComponentDefaultConfig(componentName, defaultConfig) {
|
|
118
|
-
if (!ComponentStyleRegistry[componentName]) {
|
|
119
|
-
ComponentStyleRegistry[componentName] = {}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
// 将默认配置合并到组件配置的default属性中
|
|
123
|
-
ComponentStyleRegistry[componentName].default = deepMerge(
|
|
124
|
-
ComponentStyleRegistry[componentName].default || {},
|
|
125
|
-
defaultConfig
|
|
126
|
-
)
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
// 导出注册表
|
|
130
|
-
export {
|
|
131
|
-
ComponentStyleRegistry
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
// 默认导出
|
|
135
|
-
export default {
|
|
136
|
-
getComponentStyleConfig,
|
|
137
|
-
registerComponentStyle,
|
|
138
|
-
hasComponentStyle,
|
|
139
|
-
getRegisteredComponents,
|
|
140
|
-
setComponentDefaultConfig,
|
|
141
|
-
ComponentStyleRegistry
|
|
142
|
-
}
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
styleConfig
|
|
3
|
-
} from "@/components/config/style/basic.js"
|
|
4
|
-
export default {
|
|
5
|
-
size: {
|
|
6
|
-
'small': {
|
|
7
|
-
height: styleConfig.components.VButton.height.small,
|
|
8
|
-
padding: styleConfig.components.VButton.padding.small,
|
|
9
|
-
fontSize: styleConfig.basic.fontSize.smallText,
|
|
10
|
-
},
|
|
11
|
-
'medium': {
|
|
12
|
-
height: styleConfig.components.VButton.height.medium,
|
|
13
|
-
padding: styleConfig.components.VButton.padding.medium,
|
|
14
|
-
fontSize: styleConfig.basic.fontSize.mediumText,
|
|
15
|
-
},
|
|
16
|
-
'large': {
|
|
17
|
-
height: styleConfig.components.VButton.height.large,
|
|
18
|
-
padding: styleConfig.components.VButton.padding.large,
|
|
19
|
-
fontSize: styleConfig.basic.fontSize.largeText,
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
type: {
|
|
23
|
-
'default': {
|
|
24
|
-
backgroundColor: styleConfig.basic.backgroundColor.default,
|
|
25
|
-
color: styleConfig.basic.fontColor.reversal,
|
|
26
|
-
borderColor: styleConfig.basic.border.color.default
|
|
27
|
-
},
|
|
28
|
-
'success': {
|
|
29
|
-
backgroundColor: styleConfig.basic.backgroundColor.success,
|
|
30
|
-
color: styleConfig.basic.fontColor.reversal,
|
|
31
|
-
borderColor: styleConfig.basic.border.color.success
|
|
32
|
-
},
|
|
33
|
-
'warning': {
|
|
34
|
-
backgroundColor: styleConfig.basic.backgroundColor.warning,
|
|
35
|
-
color: styleConfig.basic.fontColor.reversal,
|
|
36
|
-
borderColor: styleConfig.basic.border.color.warning
|
|
37
|
-
},
|
|
38
|
-
'info': {
|
|
39
|
-
backgroundColor: styleConfig.basic.backgroundColor.info,
|
|
40
|
-
color: styleConfig.basic.fontColor.reversal,
|
|
41
|
-
borderColor: styleConfig.basic.border.color.info
|
|
42
|
-
},
|
|
43
|
-
'delete': {
|
|
44
|
-
backgroundColor: styleConfig.basic.backgroundColor.delete,
|
|
45
|
-
color: styleConfig.basic.fontColor.reversal,
|
|
46
|
-
borderColor: styleConfig.basic.border.color.delete
|
|
47
|
-
},
|
|
48
|
-
|
|
49
|
-
// 镂空类型
|
|
50
|
-
'default-plain': {
|
|
51
|
-
backgroundColor: styleConfig.components.VButton.plain.backgroundColor,
|
|
52
|
-
color: styleConfig.basic.fontColor.default,
|
|
53
|
-
borderColor: styleConfig.basic.border.color.default,
|
|
54
|
-
borderWidth: styleConfig.components.VButton.plain.borderWidth
|
|
55
|
-
},
|
|
56
|
-
'success-plain': {
|
|
57
|
-
backgroundColor: styleConfig.components.VButton.plain.backgroundColor,
|
|
58
|
-
color: styleConfig.basic.fontColor.success,
|
|
59
|
-
borderColor: styleConfig.basic.border.color.success,
|
|
60
|
-
borderWidth: styleConfig.components.VButton.plain.borderWidth
|
|
61
|
-
},
|
|
62
|
-
'warning-plain': {
|
|
63
|
-
backgroundColor: styleConfig.components.VButton.plain.backgroundColor,
|
|
64
|
-
color: styleConfig.basic.fontColor.warning,
|
|
65
|
-
borderColor: styleConfig.basic.border.color.warning,
|
|
66
|
-
borderWidth: styleConfig.components.VButton.plain.borderWidth
|
|
67
|
-
},
|
|
68
|
-
'delete-plain': {
|
|
69
|
-
backgroundColor: styleConfig.components.VButton.plain.backgroundColor,
|
|
70
|
-
color: styleConfig.basic.fontColor.delete,
|
|
71
|
-
borderColor: styleConfig.basic.border.color.delete,
|
|
72
|
-
borderWidth: styleConfig.components.VButton.plain.borderWidth
|
|
73
|
-
},
|
|
74
|
-
'info-plain': {
|
|
75
|
-
backgroundColor: styleConfig.components.VButton.plain.backgroundColor,
|
|
76
|
-
color: styleConfig.basic.fontColor.info,
|
|
77
|
-
borderColor: styleConfig.basic.border.color.info,
|
|
78
|
-
borderWidth: styleConfig.components.VButton.plain.borderWidth
|
|
79
|
-
},
|
|
80
|
-
//文本
|
|
81
|
-
'default-text': {
|
|
82
|
-
backgroundColor: styleConfig.components.VButton.text.backgroundColor,
|
|
83
|
-
color: styleConfig.basic.fontColor.default,
|
|
84
|
-
borderColor: styleConfig.basic.border.color.default,
|
|
85
|
-
borderWidth: styleConfig.components.VButton.text.borderWidth
|
|
86
|
-
},
|
|
87
|
-
'success-text': {
|
|
88
|
-
backgroundColor: styleConfig.components.VButton.text.backgroundColor,
|
|
89
|
-
color: styleConfig.basic.fontColor.success,
|
|
90
|
-
borderColor: styleConfig.basic.border.color.success,
|
|
91
|
-
borderWidth: styleConfig.components.VButton.text.borderWidth
|
|
92
|
-
},
|
|
93
|
-
'warning-text': {
|
|
94
|
-
backgroundColor: styleConfig.components.VButton.text.backgroundColor,
|
|
95
|
-
color: styleConfig.basic.fontColor.warning,
|
|
96
|
-
borderColor: styleConfig.basic.border.color.warning,
|
|
97
|
-
borderWidth: styleConfig.components.VButton.text.borderWidth
|
|
98
|
-
},
|
|
99
|
-
'delete-text': {
|
|
100
|
-
backgroundColor: styleConfig.components.VButton.text.backgroundColor,
|
|
101
|
-
color: styleConfig.basic.fontColor.delete,
|
|
102
|
-
borderColor: styleConfig.basic.border.color.delete,
|
|
103
|
-
borderWidth: styleConfig.components.VButton.text.borderWidth
|
|
104
|
-
},
|
|
105
|
-
'info-text': {
|
|
106
|
-
backgroundColor: styleConfig.components.VButton.text.backgroundColor,
|
|
107
|
-
color: styleConfig.basic.fontColor.info,
|
|
108
|
-
borderColor: styleConfig.basic.border.color.info,
|
|
109
|
-
borderWidth: styleConfig.components.VButton.text.borderWidth
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
|
-
shape: {
|
|
113
|
-
'default': {
|
|
114
|
-
borderWidth: styleConfig.components.VButton.shape.default.width,
|
|
115
|
-
borderStyle: styleConfig.components.VButton.shape.default.style,
|
|
116
|
-
borderRadius: styleConfig.basic.borderRadius.default
|
|
117
|
-
},
|
|
118
|
-
'none': {
|
|
119
|
-
borderWidth: styleConfig.components.VButton.shape.none.width,
|
|
120
|
-
borderStyle: styleConfig.components.VButton.shape.none.style,
|
|
121
|
-
borderRadius: styleConfig.basic.borderRadius.none
|
|
122
|
-
},
|
|
123
|
-
'circle': {
|
|
124
|
-
borderWidth: styleConfig.components.VButton.shape.circle.width,
|
|
125
|
-
borderStyle: styleConfig.components.VButton.shape.circle.style,
|
|
126
|
-
borderRadius: styleConfig.basic.borderRadius.circle
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
default: {
|
|
130
|
-
cursor: 'pointer',
|
|
131
|
-
transition: styleConfig.basic.animation.transition.default,
|
|
132
|
-
display: 'inline-flex',
|
|
133
|
-
alignItems: 'center',
|
|
134
|
-
justifyContent: 'center',
|
|
135
|
-
_pseudo: {
|
|
136
|
-
'--hover': {
|
|
137
|
-
opacity: styleConfig.basic.opacity.hover,
|
|
138
|
-
boxShadow: {
|
|
139
|
-
type: {
|
|
140
|
-
default: styleConfig.basic.shadow.default,
|
|
141
|
-
success: styleConfig.basic.shadow.success,
|
|
142
|
-
warning: styleConfig.basic.shadow.warning,
|
|
143
|
-
info: styleConfig.basic.shadow.info,
|
|
144
|
-
delete: styleConfig.basic.shadow.delete,
|
|
145
|
-
|
|
146
|
-
'default-text': styleConfig.basic.shadow.none,
|
|
147
|
-
'success-text': styleConfig.basic.shadow.none,
|
|
148
|
-
'warning-text': styleConfig.basic.shadow.none,
|
|
149
|
-
'delete-text': styleConfig.basic.shadow.none,
|
|
150
|
-
'info-text': styleConfig.basic.shadow.none,
|
|
151
|
-
},
|
|
152
|
-
}
|
|
153
|
-
},
|
|
154
|
-
'--active': {
|
|
155
|
-
opacity: styleConfig.basic.opacity.active,
|
|
156
|
-
boxShadow: styleConfig.basic.shadow.none
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
styleConfig
|
|
3
|
-
} from "@/components/config/style/basic.js"
|
|
4
|
-
export default {
|
|
5
|
-
size: {
|
|
6
|
-
'small': {
|
|
7
|
-
height: styleConfig.components.VInput.height.small
|
|
8
|
-
},
|
|
9
|
-
'medium': {
|
|
10
|
-
height: styleConfig.components.VInput.height.medium
|
|
11
|
-
},
|
|
12
|
-
'large': {
|
|
13
|
-
height: styleConfig.components.VInput.height.large
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
default: {
|
|
17
|
-
borderColor: styleConfig.basic.border.color.primary,
|
|
18
|
-
borderRadius: styleConfig.basic.borderRadius.default,
|
|
19
|
-
borderWidth: styleConfig.basic.border.width.primary,
|
|
20
|
-
borderStyle: styleConfig.basic.border.style.solid,
|
|
21
|
-
transition: styleConfig.basic.animation.transition.default,
|
|
22
|
-
display: 'flex',
|
|
23
|
-
_pseudo: {
|
|
24
|
-
'--focus': {
|
|
25
|
-
borderColor: styleConfig.basic.border.color.default,
|
|
26
|
-
boxShadow: styleConfig.basic.shadow.default
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
son: {
|
|
30
|
-
leftSlot: {
|
|
31
|
-
default: {
|
|
32
|
-
minWidth: '0.5%',
|
|
33
|
-
marginRight: '2%',
|
|
34
|
-
height: '100%',
|
|
35
|
-
display: 'flex',
|
|
36
|
-
alignItems: 'center',
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
input: {
|
|
40
|
-
size: {
|
|
41
|
-
'small': {
|
|
42
|
-
fontSize: styleConfig.basic.fontSize.smallText
|
|
43
|
-
},
|
|
44
|
-
'medium': {
|
|
45
|
-
fontSize: styleConfig.basic.fontSize.mediumText
|
|
46
|
-
},
|
|
47
|
-
'large': {
|
|
48
|
-
fontSize: styleConfig.basic.fontSize.largeText
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
default: {
|
|
52
|
-
maxWidth: '95%',
|
|
53
|
-
width: '-webkit-fill-available',
|
|
54
|
-
height: '85%',
|
|
55
|
-
margin: 'auto',
|
|
56
|
-
color: styleConfig.basic.fontColor.primary
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
rightSlot: {
|
|
60
|
-
default: {
|
|
61
|
-
minWidth: '2.5%',
|
|
62
|
-
height: '100%',
|
|
63
|
-
display: 'flex',
|
|
64
|
-
alignItems: 'center',
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
placeholder: {
|
|
68
|
-
default: {
|
|
69
|
-
color: styleConfig.basic.fontColor.placeholder
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
icon: {
|
|
73
|
-
default: {
|
|
74
|
-
width: '100%',
|
|
75
|
-
height: '100%',
|
|
76
|
-
paddingLeft: '10rpx',
|
|
77
|
-
display: 'flex',
|
|
78
|
-
alignItems: 'center',
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
iconFill: {
|
|
82
|
-
default: {
|
|
83
|
-
width: '1px',
|
|
84
|
-
height: '100%',
|
|
85
|
-
marginLeft: '10rpx',
|
|
86
|
-
borderRightColor: styleConfig.basic.border.color.primary,
|
|
87
|
-
borderRightStyle: styleConfig.basic.border.style.solid,
|
|
88
|
-
borderRightWidth: styleConfig.basic.border.width.primary
|
|
89
|
-
},
|
|
90
|
-
_pseudo: {
|
|
91
|
-
'--focus': {
|
|
92
|
-
borderRightColor: styleConfig.basic.border.color.default
|
|
93
|
-
},
|
|
94
|
-
},
|
|
95
|
-
},
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|