Commit 8f1e2393 authored by JingChao's avatar JingChao

app

parent a1b5a9f6
...@@ -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 弹出框的标题可空
......
...@@ -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"
......
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