Commit e9ed2635 authored by 李晓兵's avatar 李晓兵

'toast'

parent 5bf94a75
......@@ -418,7 +418,7 @@
hlsPopup.showSuccess('操作成功')
},
showError() {
hlsPopup.showError('操作失败')
hlsPopup.showError('操作失败操作失败操作失败')
},
showConfirm() {
hlsPopup.showConfirm({
......
......@@ -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',
......
......@@ -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";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment