Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-webapp-cli
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
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
heasy
hls-webapp-cli
Commits
8f1e2393
Commit
8f1e2393
authored
Jul 25, 2019
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
app
parent
a1b5a9f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
45 deletions
+45
-45
hlsPopup.js
template/src/scripts/hlsPopup.js
+44
-44
yarn.lock
template/yarn.lock
+1
-1
No files found.
template/src/scripts/hlsPopup.js
View file @
8f1e2393
...
@@ -60,13 +60,13 @@ export default {
...
@@ -60,13 +60,13 @@ export default {
showLongTop
:
function
(
content
)
{
showLongTop
:
function
(
content
)
{
let
vm
=
this
let
vm
=
this
let
text
=
content
||
'操作失败'
let
text
=
content
||
'操作失败'
Vue
.
$vux
.
toast
.
show
({
Vue
.
$vux
.
toast
.
show
({
text
:
text
,
text
:
text
,
type
:
'text'
,
type
:
'text'
,
time
:
vm
.
SHOW_TIMES
,
time
:
vm
.
SHOW_TIMES
,
isShowMask
:
vm
.
IS_SHOW_MASK
,
isShowMask
:
vm
.
IS_SHOW_MASK
,
position
:
'top'
,
position
:
'top'
,
})
})
},
},
/**
/**
...
@@ -76,13 +76,13 @@ export default {
...
@@ -76,13 +76,13 @@ export default {
showLongCenter
:
function
(
content
)
{
showLongCenter
:
function
(
content
)
{
let
vm
=
this
let
vm
=
this
let
text
=
content
||
'操作失败'
let
text
=
content
||
'操作失败'
Vue
.
$vux
.
toast
.
show
({
Vue
.
$vux
.
toast
.
show
({
text
:
text
,
text
:
text
,
type
:
'text'
,
type
:
'text'
,
time
:
vm
.
SHOW_TIMES
,
time
:
vm
.
SHOW_TIMES
,
isShowMask
:
vm
.
IS_SHOW_MASK
,
isShowMask
:
vm
.
IS_SHOW_MASK
,
position
:
'middle'
,
position
:
'middle'
,
})
})
},
},
/**
/**
* 长时间中部提示toast
* 长时间中部提示toast
...
@@ -91,13 +91,13 @@ export default {
...
@@ -91,13 +91,13 @@ export default {
showLongBottom
:
function
(
content
)
{
showLongBottom
:
function
(
content
)
{
let
vm
=
this
let
vm
=
this
let
text
=
content
||
'操作失败'
let
text
=
content
||
'操作失败'
Vue
.
$vux
.
toast
.
show
({
Vue
.
$vux
.
toast
.
show
({
text
:
text
,
text
:
text
,
time
:
vm
.
SHOW_TIMES
,
time
:
vm
.
SHOW_TIMES
,
type
:
'text'
,
type
:
'text'
,
isShowMask
:
vm
.
IS_SHOW_MASK
,
isShowMask
:
vm
.
IS_SHOW_MASK
,
position
:
'bottom'
,
position
:
'bottom'
,
})
})
},
},
/**
/**
* 成功提示框
* 成功提示框
...
@@ -134,19 +134,19 @@ export default {
...
@@ -134,19 +134,19 @@ export default {
* @param confirmObject.onConfirm 确定函数
* @param confirmObject.onConfirm 确定函数
*/
*/
showConfirm
:
function
(
confirmObject
)
{
showConfirm
:
function
(
confirmObject
)
{
let
def
=
{
let
def
=
{
title
:
confirmObject
.
title
||
'提示'
,
title
:
confirmObject
.
title
||
'提示'
,
content
:
confirmObject
.
content
||
''
,
content
:
confirmObject
.
content
||
''
,
confirmText
:
'确定'
,
confirmText
:
'确定'
,
cancelText
:
'取消'
,
cancelText
:
'取消'
,
onConfirm
:
()
=>
{
onConfirm
:
()
=>
{
confirmObject
.
onConfirm
(
1
)
confirmObject
.
onConfirm
(
1
)
},
},
onCancel
:
()
=>
{
onCancel
:
()
=>
{
confirmObject
.
onConfirm
(
0
)
confirmObject
.
onConfirm
(
0
)
},
},
}
}
Vue
.
$vux
.
confirm
.
show
(
def
)
Vue
.
$vux
.
confirm
.
show
(
def
)
},
},
/*
/*
* 弹出确认的窗口
* 弹出确认的窗口
...
@@ -156,16 +156,16 @@ export default {
...
@@ -156,16 +156,16 @@ export default {
*
*
*/
*/
showPopup
:
function
(
confirmObject
)
{
showPopup
:
function
(
confirmObject
)
{
let
def
=
{
let
def
=
{
title
:
confirmObject
.
title
||
'提示'
,
title
:
confirmObject
.
title
||
'提示'
,
content
:
confirmObject
.
content
||
''
,
content
:
confirmObject
.
content
||
''
,
confirmText
:
'确定'
,
confirmText
:
'确定'
,
showCancelButton
:
false
,
showCancelButton
:
false
,
onConfirm
:
()
=>
{
onConfirm
:
()
=>
{
confirmObject
.
onConfirm
()
confirmObject
.
onConfirm
()
},
},
}
}
Vue
.
$vux
.
confirm
.
show
(
def
)
Vue
.
$vux
.
confirm
.
show
(
def
)
},
},
/**
/**
* @param actionObject.titleText 弹出框的标题可空
* @param actionObject.titleText 弹出框的标题可空
...
...
template/yarn.lock
View file @
8f1e2393
...
@@ -3843,7 +3843,7 @@ he@1.2.x, he@^1.1.0:
...
@@ -3843,7 +3843,7 @@ he@1.2.x, he@^1.1.0:
"hls-easy-ui@https://hel.hand-china.com/easyUI/hls-easy-ui.git":
"hls-easy-ui@https://hel.hand-china.com/easyUI/hls-easy-ui.git":
version "0.0.4"
version "0.0.4"
resolved "https://hel.hand-china.com/easyUI/hls-easy-ui.git#
7ca56cb37c37ae484b74a335962050c7ee355f81
"
resolved "https://hel.hand-china.com/easyUI/hls-easy-ui.git#
f5b2755cd1325d518955723375dad981bbec182e
"
dependencies:
dependencies:
autosize "^3.0.20"
autosize "^3.0.20"
better-scroll "^1.10.3"
better-scroll "^1.10.3"
...
...
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