Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
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
xugong
hls-xcmg-vue-app
Commits
e9ed2635
Commit
e9ed2635
authored
Nov 06, 2019
by
李晓兵
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
'toast'
parent
5bf94a75
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
2 deletions
+10
-2
waring.png
src/assets/image/waring.png
+0
-0
hlsPopup.vue
src/pages/hlsPopup.vue
+1
-1
hlsPopup.js
src/scripts/hlsPopup.js
+3
-1
public-style.less
src/styles/public-style.less
+6
-0
No files found.
src/assets/image/waring.png
0 → 100644
View file @
e9ed2635
1 KB
src/pages/hlsPopup.vue
View file @
e9ed2635
...
...
@@ -418,7 +418,7 @@
hlsPopup
.
showSuccess
(
'操作成功'
)
},
showError
()
{
hlsPopup
.
showError
(
'操作失败'
)
hlsPopup
.
showError
(
'操作失败
操作失败操作失败
'
)
},
showConfirm
()
{
hlsPopup
.
showConfirm
({
...
...
src/scripts/hlsPopup.js
View file @
e9ed2635
...
...
@@ -91,7 +91,9 @@ export default {
*/
showLongCenter
:
function
(
content
)
{
let
vm
=
this
let
text
=
content
||
'操作失败'
//let text = content || '操作失败'
let
imgUrl
=
require
(
'../assets/image/waring.png'
)
let
text
=
'<div><img src='
+
imgUrl
+
'></div>'
+
content
Vue
.
$vux
.
toast
.
show
({
text
:
text
,
type
:
'text'
,
...
...
src/styles/public-style.less
View file @
e9ed2635
...
...
@@ -21,6 +21,12 @@
line-height: 24px;
}
}
.weui-toast_text .weui-toast__content{
line-height: 22px;
img{
width: 20px;
}
}
@import "platform-ios";
@import "platform-iosx";
@import "platform-iosxr";
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