Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easy-ui
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
easyUI
hls-easy-ui
Commits
c574e13d
Commit
c574e13d
authored
Feb 21, 2020
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
keyboard
parent
1ef300f1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
9 deletions
+22
-9
index.vue
packages/components/NumberKeyboard/index.vue
+7
-2
hlsPopup.vue
src/pages/hlsPopup.vue
+15
-7
No files found.
packages/components/NumberKeyboard/index.vue
View file @
c574e13d
...
@@ -315,10 +315,15 @@ export default {
...
@@ -315,10 +315,15 @@ export default {
methods
:
{
methods
:
{
closeKeyboard
()
{
closeKeyboard
()
{
let
vm
=
this
let
vm
=
this
this
.
show
=
false
let
wrapper
=
document
.
querySelector
(
'[vum-show-keyborad]'
)
let
wrapper
=
document
.
querySelector
(
'[vum-show-keyborad]'
)
if
(
wrapper
&&
vm
.
keyBoardPlugin
)
{
if
(
wrapper
&&
vm
.
keyBoardPlugin
)
{
this
.
show
=
false
try
{
document
.
body
.
removeChild
(
wrapper
)
document
.
body
.
removeChild
(
wrapper
)
}
catch
(
e
)
{
}
}
else
if
(
vm
.
keyBoardPlugin
===
false
&&
vm
.
hideOnClickOutside
)
{
this
.
onClose
()
}
}
},
},
showNumberKeyboard
(
options
)
{
showNumberKeyboard
(
options
)
{
...
...
src/pages/hlsPopup.vue
View file @
c574e13d
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
<tab-item>
涉诉公告
</tab-item>
<tab-item>
涉诉公告
</tab-item>
<tab-item>
司法协助
</tab-item>
<tab-item>
司法协助
</tab-item>
</s-tab>
</s-tab>
<!--
<scroll
<!--
<scroll
ref=
"scrollList"
:listen-scroll=
"true"
:pullUp=
"true"
class=
"has-footer"
ref=
"scrollList"
:listen-scroll=
"true"
:pullUp=
"true"
class=
"has-footer"
@
scroll=
"scrollListen"
>
-->
@
scroll=
"scrollListen"
>
-->
<h-content>
<h-content>
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
<h2
class=
"item-title"
>
Swip基础使用
</h2>
<h2
class=
"item-title"
>
Swip基础使用
</h2>
<swipe
<swipe
:interval=
"5000"
:defaultWidth=
"200"
@
start=
"start"
@
move=
"move"
:interval=
"5000"
@
start=
"start"
@
move=
"move"
@
change=
"change"
>
@
change=
"change"
>
<swipe-item>
<swipe-item>
<div
:style=
"
{'background': bgColor[0]}" class="item-bg">0
</div>
<div
:style=
"
{'background': bgColor[0]}" class="item-bg">0
</div>
...
@@ -172,6 +172,14 @@
...
@@ -172,6 +172,14 @@
</item>
</item>
</list-item>
</list-item>
<number-keyboard
:show=
"show"
title=
"数字键盘"
extra-key=
"."
@
blur=
"show = false"
@
input=
"onInput"
@
delete=
"onDelete"
/>
<div
class=
"list"
>
<div
class=
"list"
>
<item-option
<item-option
v-for=
"(color,index) in colors"
v-for=
"(color,index) in colors"
...
@@ -212,7 +220,7 @@
...
@@ -212,7 +220,7 @@
<div
class=
"handle"
/>
<div
class=
"handle"
/>
</div>
</div>
</label>
</label>
<h-switch
slot=
"content"
:disable=
"
tru
e"
v-model=
"savePhoto"
@
switchClick=
"savePhotoFun"
/>
<h-switch
slot=
"content"
:disable=
"
fals
e"
v-model=
"savePhoto"
@
switchClick=
"savePhotoFun"
/>
</item>
</item>
<item>
<item>
<h-check
slot=
"left-icon"
v-model=
"radioValue"
@
checkClick=
"radioClick"
/>
<h-check
slot=
"left-icon"
v-model=
"radioValue"
@
checkClick=
"radioClick"
/>
...
@@ -246,7 +254,7 @@
...
@@ -246,7 +254,7 @@
<bottom-tab
:show-divider=
"true"
>
<bottom-tab
:show-divider=
"true"
>
<tab-button
cusClass=
"button-exit"
@
click
.
native=
"showConfirm"
><img
<tab-button
cusClass=
"button-exit"
@
click
.
native=
"showConfirm"
><img
src=
"../assets/image/warning@2x.png"
>
退出
src=
"../assets/image/warning@2x.png"
style=
"width: 20px;"
>
退出
</tab-button>
</tab-button>
<tab-button
:disable=
"true"
@
click
.
native=
"showSuccess"
>
登陆
</tab-button>
<tab-button
:disable=
"true"
@
click
.
native=
"showSuccess"
>
登陆
</tab-button>
</bottom-tab>
</bottom-tab>
...
@@ -281,7 +289,7 @@ export default {
...
@@ -281,7 +289,7 @@ export default {
index
:
0
,
index
:
0
,
count
:
3
,
count
:
3
,
value
:
''
,
value
:
''
,
show
:
fals
e
,
show
:
tru
e
,
items
:
[],
items
:
[],
infiniteCount
:
0
,
infiniteCount
:
0
,
deleteText
:
'删除'
,
deleteText
:
'删除'
,
...
...
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