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
Hide 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 {
methods
:
{
closeKeyboard
()
{
let
vm
=
this
this
.
show
=
false
let
wrapper
=
document
.
querySelector
(
'[vum-show-keyborad]'
)
if
(
wrapper
&&
vm
.
keyBoardPlugin
)
{
document
.
body
.
removeChild
(
wrapper
)
this
.
show
=
false
try
{
document
.
body
.
removeChild
(
wrapper
)
}
catch
(
e
)
{
}
}
else
if
(
vm
.
keyBoardPlugin
===
false
&&
vm
.
hideOnClickOutside
)
{
this
.
onClose
()
}
},
showNumberKeyboard
(
options
)
{
...
...
src/pages/hlsPopup.vue
View file @
c574e13d
...
...
@@ -23,10 +23,10 @@
<tab-item>
涉诉公告
</tab-item>
<tab-item>
司法协助
</tab-item>
</s-tab>
<!--
<scroll
<!--
<scroll
ref=
"scrollList"
:listen-scroll=
"true"
:pullUp=
"true"
class=
"has-footer"
@
scroll=
"scrollListen"
>
-->
<h-content>
<h-content>
<h-button
class=
"button-class"
type=
"primary"
@
click
.
native=
"showLoading"
>
showLoading
</h-button>
<h-button
class=
"button-class"
type=
"primary"
@
click
.
native=
"hideLoading"
>
hideLoading
</h-button>
<h-button
class=
"button-class"
type=
"primary"
@
click
.
native=
"showLongTop"
>
showLongTop
</h-button>
...
...
@@ -83,7 +83,7 @@
<h2
class=
"item-title"
>
Swip基础使用
</h2>
<swipe
:interval=
"5000"
:defaultWidth=
"200"
@
start=
"start"
@
move=
"move"
:interval=
"5000"
@
start=
"start"
@
move=
"move"
@
change=
"change"
>
<swipe-item>
<div
:style=
"
{'background': bgColor[0]}" class="item-bg">0
</div>
...
...
@@ -172,6 +172,14 @@
</item>
</list-item>
<number-keyboard
:show=
"show"
title=
"数字键盘"
extra-key=
"."
@
blur=
"show = false"
@
input=
"onInput"
@
delete=
"onDelete"
/>
<div
class=
"list"
>
<item-option
v-for=
"(color,index) in colors"
...
...
@@ -212,7 +220,7 @@
<div
class=
"handle"
/>
</div>
</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>
<h-check
slot=
"left-icon"
v-model=
"radioValue"
@
checkClick=
"radioClick"
/>
...
...
@@ -242,11 +250,11 @@
</div>
<h2
class=
"item-title"
>
Modal
</h2>
<h-button
class=
"button-class"
type=
"primary"
@
click
.
native=
"showModal"
>
Modal
</h-button>
</h-content>
</h-content>
<bottom-tab
:show-divider=
"true"
>
<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
:disable=
"true"
@
click
.
native=
"showSuccess"
>
登陆
</tab-button>
</bottom-tab>
...
...
@@ -281,7 +289,7 @@ export default {
index
:
0
,
count
:
3
,
value
:
''
,
show
:
fals
e
,
show
:
tru
e
,
items
:
[],
infiniteCount
:
0
,
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