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
e9806f5d
Commit
e9806f5d
authored
May 14, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
滚动收起键盘
parent
58d2a288
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
5 deletions
+13
-5
XhInput.vue
src/components/createCom/XhInput.vue
+6
-2
complete.vue
src/pages/order/complete.vue
+6
-3
detail.vue
src/pages/order/detail.vue
+1
-0
No files found.
src/components/createCom/XhInput.vue
View file @
e9806f5d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<
template
>
<
template
>
<view
:style=
"
{'width': fieldsWidth}">
<view
:style=
"
{'width': fieldsWidth}">
<u-input
:type=
"type"
class=
"input-item"
v-model=
"dataValue"
@
input=
"valueChange"
:placeholder=
"placeholder"
:placeholder-style=
"placeholderStyle"
<u-input
:type=
"type"
class=
"input-item"
v-model=
"dataValue"
@
input=
"valueChange"
:placeholder=
"placeholder"
:placeholder-style=
"placeholderStyle"
:custom-style=
"customStyle"
:clearable=
"false"
:border=
"border"
border-color=
"#ECECEC"
:maxlength=
"maxlength"
/>
:custom-style=
"customStyle"
:clearable=
"false"
:border=
"border"
border-color=
"#ECECEC"
:maxlength=
"maxlength"
:cursor-spacing=
"10"
hold-keyboard
/>
</view>
</view>
</
template
>
</
template
>
...
@@ -93,7 +93,11 @@
...
@@ -93,7 +93,11 @@
},
},
watch
:
{},
watch
:
{},
mounted
()
{},
mounted
()
{},
methods
:
{}
methods
:
{
handleFocus
()
{
console
.
log
(
'handle focus'
)
}
}
}
}
</
script
>
</
script
>
...
...
src/pages/order/complete.vue
View file @
e9806f5d
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
</scroll-view>
</scroll-view>
<view
class=
"form-list"
>
<view
class=
"form-list"
@
touchmove=
"handleTouchstart"
>
<u-form
:model=
"form"
ref=
"uForm"
>
<u-form
:model=
"form"
ref=
"uForm"
>
<template
v-for=
"(groupItem, groupIndex) in (list.length>0?list[tabIndex].items:[])"
>
<template
v-for=
"(groupItem, groupIndex) in (list.length>0?list[tabIndex].items:[])"
>
<view
class=
"class-item"
:key=
"groupIndex"
v-show=
"current == groupIndex"
>
<view
class=
"class-item"
:key=
"groupIndex"
v-show=
"current == groupIndex"
>
...
@@ -674,6 +674,9 @@
...
@@ -674,6 +674,9 @@
}
}
}
}
},
10
)
},
10
)
},
handleTouchstart
()
{
uni
.
hideKeyboard
()
}
}
}
}
}
}
...
...
src/pages/order/detail.vue
View file @
e9806f5d
...
@@ -938,6 +938,7 @@
...
@@ -938,6 +938,7 @@
font-size
:
26rpx
;
font-size
:
26rpx
;
color
:
#333333
;
color
:
#333333
;
margin-top
:
30rpx
;
margin-top
:
30rpx
;
margin-bottom
:
30rpx
;
}
}
.record-line-view
{
.record-line-view
{
...
...
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