Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李俊赕
self-support
Commits
dc1d6968
Commit
dc1d6968
authored
Jun 21, 2021
by
Damon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
步进器样式调整
parent
881b1ab3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
u-number-box.vue
src/uview-ui/components/u-number-box/u-number-box.vue
+3
-6
No files found.
src/uview-ui/components/u-number-box/u-number-box.vue
View file @
dc1d6968
...
...
@@ -11,9 +11,7 @@
<input
:disabled=
"disabledInput || disabled"
:cursor-spacing=
"getCursorSpacing"
:class=
"
{ 'u-input-disabled': disabled }"
v-model="inputVal" class="u-number-input" @blur="onBlur" @focus="onFocus"
type="number" :style="{
color: color,
fontSize: size + 'rpx',
background: bgColor,
height: inputHeight + 'rpx',
width: inputWidth + 'rpx'
}" />
...
...
@@ -66,7 +64,7 @@
// 背景颜色
bgColor
:
{
type
:
String
,
default
:
'#
F2F3F5
'
default
:
'#
2272FF
'
},
// 最小值
min
:
{
...
...
@@ -96,7 +94,7 @@
// 加减图标的颜色
color
:
{
type
:
String
,
default
:
'#
323233
'
default
:
'#
fff
'
},
// input宽度,单位rpx
inputWidth
:
{
...
...
@@ -341,14 +339,13 @@
@include
vue-flex
;
justify-content
:
center
;
align-items
:
center
;
border-radius
:
8rpx
;
}
.u-icon-plus
{
border-radius
:
0
8rpx
8rpx
0
;
}
.u-icon-minus
{
border-radius
:
8rpx
0
0
8rpx
;
}
.u-icon-disabled
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment