ecinc-cloud-moabase 9.5.235 → 9.5.237
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ecmoabase.common.js +53 -47
- package/lib/ecmoabase.umd.js +53 -47
- package/lib/ecmoabase.umd.min.js +2 -2
- package/package.json +1 -1
package/lib/ecmoabase.common.js
CHANGED
|
@@ -984,7 +984,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".AppFieldCell[data-v-1049d23a]{padding
|
|
|
984
984
|
|
|
985
985
|
/***/ }),
|
|
986
986
|
|
|
987
|
-
/***/
|
|
987
|
+
/***/ 2708:
|
|
988
988
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
989
989
|
|
|
990
990
|
"use strict";
|
|
@@ -998,7 +998,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
998
998
|
|
|
999
999
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
1000
1000
|
// Module
|
|
1001
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".App-nav-bar[data-v-
|
|
1001
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".App-nav-bar[data-v-e4d402b2]{position:fixed;top:0;left:0;right:0;z-index:9999}.App-nav-bar .App-center[data-v-e4d402b2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:auto}.App-nav-bar .App-center[data-v-e4d402b2]::-webkit-scrollbar{display:none}.App-nav-bar .App-center-img[data-v-e4d402b2],.App-nav-bar .App-left-img[data-v-e4d402b2]{width:24px;margin-right:2px}.App-nav-bar .App-center-chat-status[data-v-e4d402b2]{text-align:center;display:inline-block;width:7px;height:7px;border-radius:50%;background:radial-gradient(circle,#dfdfdf,#8a8a8a);margin-left:5px}.App-nav-bar .App-center-chat-status.on-line[data-v-e4d402b2]{background:radial-gradient(circle,#26d189,#0ea04d)}.App-nav-bar[data-v-e4d402b2] .van-nav-bar__title{font-weight:600;font-size:16px}.App-nav-bar__noBottomLine[data-v-e4d402b2]:after{border-bottom-width:0}", ""]);
|
|
1002
1002
|
// Exports
|
|
1003
1003
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1004
1004
|
|
|
@@ -25807,19 +25807,19 @@ var update = add("72d28922", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
25807
25807
|
|
|
25808
25808
|
/***/ }),
|
|
25809
25809
|
|
|
25810
|
-
/***/
|
|
25810
|
+
/***/ 6446:
|
|
25811
25811
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
25812
25812
|
|
|
25813
25813
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
25814
25814
|
|
|
25815
25815
|
// load the styles
|
|
25816
|
-
var content = __webpack_require__(
|
|
25816
|
+
var content = __webpack_require__(2708);
|
|
25817
25817
|
if(content.__esModule) content = content.default;
|
|
25818
25818
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
25819
25819
|
if(content.locals) module.exports = content.locals;
|
|
25820
25820
|
// add the styles to the DOM
|
|
25821
25821
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
25822
|
-
var update = add("
|
|
25822
|
+
var update = add("0354f751", content, true, {"sourceMap":false,"shadowMode":false});
|
|
25823
25823
|
|
|
25824
25824
|
/***/ }),
|
|
25825
25825
|
|
|
@@ -26960,14 +26960,14 @@ var AppFieldCell_component = normalizeComponent(
|
|
|
26960
26960
|
)
|
|
26961
26961
|
|
|
26962
26962
|
/* harmony default export */ var AppFieldCell = (AppFieldCell_component.exports);
|
|
26963
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=template&id=
|
|
26963
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=template&id=e4d402b2&scoped=true
|
|
26964
26964
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
26965
26965
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
26966
26966
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26967
26967
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
26968
26968
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
26969
26969
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
26970
|
-
var
|
|
26970
|
+
var AppHeadervue_type_template_id_e4d402b2_scoped_true_render = function render() {
|
|
26971
26971
|
var _vm = this,
|
|
26972
26972
|
_c = _vm._self._c;
|
|
26973
26973
|
return _c('div', [_vm.isLoaded && _vm.isShow ? _c('van-nav-bar', {
|
|
@@ -27070,11 +27070,11 @@ var AppHeadervue_type_template_id_431b6f8f_scoped_true_render = function render(
|
|
|
27070
27070
|
"hairline": ""
|
|
27071
27071
|
},
|
|
27072
27072
|
on: {
|
|
27073
|
-
"click": _vm.
|
|
27073
|
+
"click": _vm.onClickLeft
|
|
27074
27074
|
}
|
|
27075
27075
|
})], 1) : _vm._e()], 1);
|
|
27076
27076
|
};
|
|
27077
|
-
var
|
|
27077
|
+
var AppHeadervue_type_template_id_e4d402b2_scoped_true_staticRenderFns = [];
|
|
27078
27078
|
|
|
27079
27079
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=script&lang=js
|
|
27080
27080
|
function AppHeadervue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return AppHeadervue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, AppHeadervue_type_script_lang_js_typeof(o); }
|
|
@@ -27150,20 +27150,6 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27150
27150
|
$route: function $route(val, oVal) {
|
|
27151
27151
|
var _this = this;
|
|
27152
27152
|
this.isLoaded = false;
|
|
27153
|
-
this.showGobackBtn = false;
|
|
27154
|
-
if (window.wxgobakMode === 'floatBtn') {
|
|
27155
|
-
this.$nextTick(function () {
|
|
27156
|
-
var mainTabbar = document.querySelector('.main-tabbar') || document.querySelector('.navbar_bottom'); //主界面底部导航栏
|
|
27157
|
-
var gobackBtn = document.querySelector('.goback-btn'); //列表页面返回按钮
|
|
27158
|
-
var closeBtn = document.querySelector('#btn_close'); //表单页面关闭按钮
|
|
27159
|
-
if (!mainTabbar && !gobackBtn && !closeBtn) {
|
|
27160
|
-
_this.showGobackBtn = true;
|
|
27161
|
-
} else if (mainTabbar && location.href.indexOf('addressBook?STACK') !== -1) {
|
|
27162
|
-
//显示通讯录人员列表
|
|
27163
|
-
_this.showGobackBtn = true;
|
|
27164
|
-
}
|
|
27165
|
-
});
|
|
27166
|
-
}
|
|
27167
27153
|
this.handleBtnConfig(val);
|
|
27168
27154
|
this.handleHeaderConfig(val);
|
|
27169
27155
|
this.$nextTick( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
@@ -27172,9 +27158,10 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27172
27158
|
while (1) switch (_context.prev = _context.next) {
|
|
27173
27159
|
case 0:
|
|
27174
27160
|
if (!(window.wxCfg && navigator.userAgent.indexOf('Android') !== -1)) {
|
|
27175
|
-
_context.next =
|
|
27161
|
+
_context.next = 5;
|
|
27176
27162
|
break;
|
|
27177
27163
|
}
|
|
27164
|
+
_this.setWxGobackFloatBtn();
|
|
27178
27165
|
if (window.wxgobakMode === 'topbarBtn') {
|
|
27179
27166
|
window.layout = '';
|
|
27180
27167
|
mainTabbar = document.querySelector('.main-tabbar') || document.querySelector('.navbar_bottom'); //主界面底部导航栏
|
|
@@ -27187,28 +27174,28 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27187
27174
|
window.layout = '';
|
|
27188
27175
|
}
|
|
27189
27176
|
}
|
|
27190
|
-
_context.next =
|
|
27177
|
+
_context.next = 12;
|
|
27191
27178
|
break;
|
|
27192
|
-
case
|
|
27179
|
+
case 5:
|
|
27193
27180
|
if (!((window.layout === 'H5' || window.flutter_inappwebview) && (_this.appPadding === 0 || _this.appPadding === 24))) {
|
|
27194
|
-
_context.next =
|
|
27181
|
+
_context.next = 12;
|
|
27195
27182
|
break;
|
|
27196
27183
|
}
|
|
27197
|
-
_context.next =
|
|
27184
|
+
_context.next = 8;
|
|
27198
27185
|
return _this.$wv.getSystemStatusBarHeight();
|
|
27199
|
-
case
|
|
27186
|
+
case 8:
|
|
27200
27187
|
_context.t0 = _context.sent;
|
|
27201
27188
|
if (_context.t0) {
|
|
27202
|
-
_context.next =
|
|
27189
|
+
_context.next = 11;
|
|
27203
27190
|
break;
|
|
27204
27191
|
}
|
|
27205
27192
|
_context.t0 = 24;
|
|
27206
|
-
case 10:
|
|
27207
|
-
_this.appPadding = _context.t0;
|
|
27208
27193
|
case 11:
|
|
27194
|
+
_this.appPadding = _context.t0;
|
|
27195
|
+
case 12:
|
|
27209
27196
|
_this.handleHeaderLineConfig(val);
|
|
27210
27197
|
_this.isLoaded = true;
|
|
27211
|
-
case
|
|
27198
|
+
case 14:
|
|
27212
27199
|
case "end":
|
|
27213
27200
|
return _context.stop();
|
|
27214
27201
|
}
|
|
@@ -27266,7 +27253,8 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27266
27253
|
_this3.$bus.on('setRightText', _this3.handleSetRightText);
|
|
27267
27254
|
_this3.$bus.on('setRightImage', _this3.handleSetRightImage);
|
|
27268
27255
|
_this3.$bus.on('showBack', _this3.handleShowBack);
|
|
27269
|
-
|
|
27256
|
+
_this3.$bus.on('basicformOpened', _this3.setWxGobackFloatBtn);
|
|
27257
|
+
case 20:
|
|
27270
27258
|
case "end":
|
|
27271
27259
|
return _context2.stop();
|
|
27272
27260
|
}
|
|
@@ -27281,11 +27269,32 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27281
27269
|
this.$bus.off('setRightText', this.handleSetRightText);
|
|
27282
27270
|
this.$bus.off('setRightImage', this.handleSetRightImage);
|
|
27283
27271
|
this.$bus.off('showBack', this.handleShowBack);
|
|
27272
|
+
this.$bus.off('basicformOpened', this.setWxGobackFloatBtn);
|
|
27284
27273
|
},
|
|
27285
27274
|
methods: {
|
|
27286
27275
|
onClickLeft: function onClickLeft() {
|
|
27287
27276
|
history.back();
|
|
27288
27277
|
},
|
|
27278
|
+
setWxGobackFloatBtn: function setWxGobackFloatBtn() {
|
|
27279
|
+
var _this4 = this;
|
|
27280
|
+
if (window.wxCfg && navigator.userAgent.indexOf('Android') !== -1) {
|
|
27281
|
+
if (window.wxgobakMode === 'floatBtn') {
|
|
27282
|
+
this.showGobackBtn = false;
|
|
27283
|
+
setTimeout(function () {
|
|
27284
|
+
//当前页面无关闭按钮,显示浮动返回按钮
|
|
27285
|
+
var mainTabbar = document.querySelector('.main-tabbar') || document.querySelector('.navbar_bottom'); //主界面底部导航栏
|
|
27286
|
+
var closeBtn = document.querySelector('#btn_close'); //表单页面关闭按钮
|
|
27287
|
+
|
|
27288
|
+
if (!mainTabbar && !closeBtn) {
|
|
27289
|
+
_this4.showGobackBtn = true;
|
|
27290
|
+
} else if (mainTabbar && location.href.indexOf('addressBook?STACK') !== -1) {
|
|
27291
|
+
//显示通讯录人员列表
|
|
27292
|
+
_this4.showGobackBtn = true;
|
|
27293
|
+
}
|
|
27294
|
+
}, 0);
|
|
27295
|
+
}
|
|
27296
|
+
}
|
|
27297
|
+
},
|
|
27289
27298
|
// 处理返回按钮显示
|
|
27290
27299
|
handleBtnConfig: function handleBtnConfig($route) {
|
|
27291
27300
|
// 控制返回按钮
|
|
@@ -27303,7 +27312,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27303
27312
|
},
|
|
27304
27313
|
// 处理标题显示
|
|
27305
27314
|
handleHeaderConfig: function handleHeaderConfig($route) {
|
|
27306
|
-
var
|
|
27315
|
+
var _this5 = this;
|
|
27307
27316
|
if (!this.isCustomHeader) {
|
|
27308
27317
|
this.titleConfig.hasOwnProperty('bool') && (this.titleConfig = {});
|
|
27309
27318
|
this.leftConfig.hasOwnProperty('bool') && (this.leftConfig = {});
|
|
@@ -27316,7 +27325,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27316
27325
|
this.title = $route.meta.appName;
|
|
27317
27326
|
} else {
|
|
27318
27327
|
this.$nextTick(function () {
|
|
27319
|
-
|
|
27328
|
+
_this5.title = document.title;
|
|
27320
27329
|
});
|
|
27321
27330
|
}
|
|
27322
27331
|
},
|
|
@@ -27344,7 +27353,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27344
27353
|
},
|
|
27345
27354
|
// 设置中间文字
|
|
27346
27355
|
handleSetTitle: function handleSetTitle(data, callback) {
|
|
27347
|
-
var
|
|
27356
|
+
var _this6 = this;
|
|
27348
27357
|
if (!callback) {
|
|
27349
27358
|
callback = function callback() {};
|
|
27350
27359
|
}
|
|
@@ -27354,7 +27363,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27354
27363
|
this.$forceUpdate();
|
|
27355
27364
|
this.showBottomLine = false;
|
|
27356
27365
|
setTimeout(function () {
|
|
27357
|
-
|
|
27366
|
+
_this6.handleHeaderLineConfig();
|
|
27358
27367
|
}, 500);
|
|
27359
27368
|
},
|
|
27360
27369
|
// 设置中间图标
|
|
@@ -27405,17 +27414,14 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27405
27414
|
handleShowBack: function handleShowBack(data) {
|
|
27406
27415
|
this.isCustomBackButton = true;
|
|
27407
27416
|
this.showBackBtn = !!data;
|
|
27408
|
-
},
|
|
27409
|
-
historyBack: function historyBack() {
|
|
27410
|
-
history.back();
|
|
27411
27417
|
}
|
|
27412
27418
|
}
|
|
27413
27419
|
});
|
|
27414
27420
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=script&lang=js
|
|
27415
27421
|
/* harmony default export */ var App_AppHeadervue_type_script_lang_js = (AppHeadervue_type_script_lang_js);
|
|
27416
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=
|
|
27417
|
-
var
|
|
27418
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=
|
|
27422
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-22.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=e4d402b2&prod&lang=scss&scoped=true
|
|
27423
|
+
var AppHeadervue_type_style_index_0_id_e4d402b2_prod_lang_scss_scoped_true = __webpack_require__(6446);
|
|
27424
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=e4d402b2&prod&lang=scss&scoped=true
|
|
27419
27425
|
|
|
27420
27426
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue
|
|
27421
27427
|
|
|
@@ -27428,11 +27434,11 @@ var AppHeadervue_type_style_index_0_id_431b6f8f_prod_lang_scss_scoped_true = __w
|
|
|
27428
27434
|
|
|
27429
27435
|
var AppHeader_component = normalizeComponent(
|
|
27430
27436
|
App_AppHeadervue_type_script_lang_js,
|
|
27431
|
-
|
|
27432
|
-
|
|
27437
|
+
AppHeadervue_type_template_id_e4d402b2_scoped_true_render,
|
|
27438
|
+
AppHeadervue_type_template_id_e4d402b2_scoped_true_staticRenderFns,
|
|
27433
27439
|
false,
|
|
27434
27440
|
null,
|
|
27435
|
-
"
|
|
27441
|
+
"e4d402b2",
|
|
27436
27442
|
null
|
|
27437
27443
|
|
|
27438
27444
|
)
|
package/lib/ecmoabase.umd.js
CHANGED
|
@@ -994,7 +994,7 @@ ___CSS_LOADER_EXPORT___.push([module.id, ".AppFieldCell[data-v-1049d23a]{padding
|
|
|
994
994
|
|
|
995
995
|
/***/ }),
|
|
996
996
|
|
|
997
|
-
/***/
|
|
997
|
+
/***/ 1380:
|
|
998
998
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
999
999
|
|
|
1000
1000
|
"use strict";
|
|
@@ -1008,7 +1008,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
1008
1008
|
|
|
1009
1009
|
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
1010
1010
|
// Module
|
|
1011
|
-
___CSS_LOADER_EXPORT___.push([module.id, ".App-nav-bar[data-v-
|
|
1011
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".App-nav-bar[data-v-e4d402b2]{position:fixed;top:0;left:0;right:0;z-index:9999}.App-nav-bar .App-center[data-v-e4d402b2]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow:auto}.App-nav-bar .App-center[data-v-e4d402b2]::-webkit-scrollbar{display:none}.App-nav-bar .App-center-img[data-v-e4d402b2],.App-nav-bar .App-left-img[data-v-e4d402b2]{width:24px;margin-right:2px}.App-nav-bar .App-center-chat-status[data-v-e4d402b2]{text-align:center;display:inline-block;width:7px;height:7px;border-radius:50%;background:radial-gradient(circle,#dfdfdf,#8a8a8a);margin-left:5px}.App-nav-bar .App-center-chat-status.on-line[data-v-e4d402b2]{background:radial-gradient(circle,#26d189,#0ea04d)}.App-nav-bar[data-v-e4d402b2] .van-nav-bar__title{font-weight:600;font-size:16px}.App-nav-bar__noBottomLine[data-v-e4d402b2]:after{border-bottom-width:0}", ""]);
|
|
1012
1012
|
// Exports
|
|
1013
1013
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1014
1014
|
|
|
@@ -25817,19 +25817,19 @@ var update = add("3f2c2b22", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
25817
25817
|
|
|
25818
25818
|
/***/ }),
|
|
25819
25819
|
|
|
25820
|
-
/***/
|
|
25820
|
+
/***/ 7920:
|
|
25821
25821
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
25822
25822
|
|
|
25823
25823
|
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
25824
25824
|
|
|
25825
25825
|
// load the styles
|
|
25826
|
-
var content = __webpack_require__(
|
|
25826
|
+
var content = __webpack_require__(1380);
|
|
25827
25827
|
if(content.__esModule) content = content.default;
|
|
25828
25828
|
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
25829
25829
|
if(content.locals) module.exports = content.locals;
|
|
25830
25830
|
// add the styles to the DOM
|
|
25831
25831
|
var add = (__webpack_require__(9548)/* ["default"] */ .A)
|
|
25832
|
-
var update = add("
|
|
25832
|
+
var update = add("17dfcd5e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
25833
25833
|
|
|
25834
25834
|
/***/ }),
|
|
25835
25835
|
|
|
@@ -26970,14 +26970,14 @@ var AppFieldCell_component = normalizeComponent(
|
|
|
26970
26970
|
)
|
|
26971
26971
|
|
|
26972
26972
|
/* harmony default export */ var AppFieldCell = (AppFieldCell_component.exports);
|
|
26973
|
-
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=template&id=
|
|
26973
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=template&id=e4d402b2&scoped=true
|
|
26974
26974
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
26975
26975
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
26976
26976
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
26977
26977
|
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
26978
26978
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
26979
26979
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
26980
|
-
var
|
|
26980
|
+
var AppHeadervue_type_template_id_e4d402b2_scoped_true_render = function render() {
|
|
26981
26981
|
var _vm = this,
|
|
26982
26982
|
_c = _vm._self._c;
|
|
26983
26983
|
return _c('div', [_vm.isLoaded && _vm.isShow ? _c('van-nav-bar', {
|
|
@@ -27080,11 +27080,11 @@ var AppHeadervue_type_template_id_431b6f8f_scoped_true_render = function render(
|
|
|
27080
27080
|
"hairline": ""
|
|
27081
27081
|
},
|
|
27082
27082
|
on: {
|
|
27083
|
-
"click": _vm.
|
|
27083
|
+
"click": _vm.onClickLeft
|
|
27084
27084
|
}
|
|
27085
27085
|
})], 1) : _vm._e()], 1);
|
|
27086
27086
|
};
|
|
27087
|
-
var
|
|
27087
|
+
var AppHeadervue_type_template_id_e4d402b2_scoped_true_staticRenderFns = [];
|
|
27088
27088
|
|
|
27089
27089
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[0]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=script&lang=js
|
|
27090
27090
|
function AppHeadervue_type_script_lang_js_typeof(o) { "@babel/helpers - typeof"; return AppHeadervue_type_script_lang_js_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, AppHeadervue_type_script_lang_js_typeof(o); }
|
|
@@ -27160,20 +27160,6 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27160
27160
|
$route: function $route(val, oVal) {
|
|
27161
27161
|
var _this = this;
|
|
27162
27162
|
this.isLoaded = false;
|
|
27163
|
-
this.showGobackBtn = false;
|
|
27164
|
-
if (window.wxgobakMode === 'floatBtn') {
|
|
27165
|
-
this.$nextTick(function () {
|
|
27166
|
-
var mainTabbar = document.querySelector('.main-tabbar') || document.querySelector('.navbar_bottom'); //主界面底部导航栏
|
|
27167
|
-
var gobackBtn = document.querySelector('.goback-btn'); //列表页面返回按钮
|
|
27168
|
-
var closeBtn = document.querySelector('#btn_close'); //表单页面关闭按钮
|
|
27169
|
-
if (!mainTabbar && !gobackBtn && !closeBtn) {
|
|
27170
|
-
_this.showGobackBtn = true;
|
|
27171
|
-
} else if (mainTabbar && location.href.indexOf('addressBook?STACK') !== -1) {
|
|
27172
|
-
//显示通讯录人员列表
|
|
27173
|
-
_this.showGobackBtn = true;
|
|
27174
|
-
}
|
|
27175
|
-
});
|
|
27176
|
-
}
|
|
27177
27163
|
this.handleBtnConfig(val);
|
|
27178
27164
|
this.handleHeaderConfig(val);
|
|
27179
27165
|
this.$nextTick( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
@@ -27182,9 +27168,10 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27182
27168
|
while (1) switch (_context.prev = _context.next) {
|
|
27183
27169
|
case 0:
|
|
27184
27170
|
if (!(window.wxCfg && navigator.userAgent.indexOf('Android') !== -1)) {
|
|
27185
|
-
_context.next =
|
|
27171
|
+
_context.next = 5;
|
|
27186
27172
|
break;
|
|
27187
27173
|
}
|
|
27174
|
+
_this.setWxGobackFloatBtn();
|
|
27188
27175
|
if (window.wxgobakMode === 'topbarBtn') {
|
|
27189
27176
|
window.layout = '';
|
|
27190
27177
|
mainTabbar = document.querySelector('.main-tabbar') || document.querySelector('.navbar_bottom'); //主界面底部导航栏
|
|
@@ -27197,28 +27184,28 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27197
27184
|
window.layout = '';
|
|
27198
27185
|
}
|
|
27199
27186
|
}
|
|
27200
|
-
_context.next =
|
|
27187
|
+
_context.next = 12;
|
|
27201
27188
|
break;
|
|
27202
|
-
case
|
|
27189
|
+
case 5:
|
|
27203
27190
|
if (!((window.layout === 'H5' || window.flutter_inappwebview) && (_this.appPadding === 0 || _this.appPadding === 24))) {
|
|
27204
|
-
_context.next =
|
|
27191
|
+
_context.next = 12;
|
|
27205
27192
|
break;
|
|
27206
27193
|
}
|
|
27207
|
-
_context.next =
|
|
27194
|
+
_context.next = 8;
|
|
27208
27195
|
return _this.$wv.getSystemStatusBarHeight();
|
|
27209
|
-
case
|
|
27196
|
+
case 8:
|
|
27210
27197
|
_context.t0 = _context.sent;
|
|
27211
27198
|
if (_context.t0) {
|
|
27212
|
-
_context.next =
|
|
27199
|
+
_context.next = 11;
|
|
27213
27200
|
break;
|
|
27214
27201
|
}
|
|
27215
27202
|
_context.t0 = 24;
|
|
27216
|
-
case 10:
|
|
27217
|
-
_this.appPadding = _context.t0;
|
|
27218
27203
|
case 11:
|
|
27204
|
+
_this.appPadding = _context.t0;
|
|
27205
|
+
case 12:
|
|
27219
27206
|
_this.handleHeaderLineConfig(val);
|
|
27220
27207
|
_this.isLoaded = true;
|
|
27221
|
-
case
|
|
27208
|
+
case 14:
|
|
27222
27209
|
case "end":
|
|
27223
27210
|
return _context.stop();
|
|
27224
27211
|
}
|
|
@@ -27276,7 +27263,8 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27276
27263
|
_this3.$bus.on('setRightText', _this3.handleSetRightText);
|
|
27277
27264
|
_this3.$bus.on('setRightImage', _this3.handleSetRightImage);
|
|
27278
27265
|
_this3.$bus.on('showBack', _this3.handleShowBack);
|
|
27279
|
-
|
|
27266
|
+
_this3.$bus.on('basicformOpened', _this3.setWxGobackFloatBtn);
|
|
27267
|
+
case 20:
|
|
27280
27268
|
case "end":
|
|
27281
27269
|
return _context2.stop();
|
|
27282
27270
|
}
|
|
@@ -27291,11 +27279,32 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27291
27279
|
this.$bus.off('setRightText', this.handleSetRightText);
|
|
27292
27280
|
this.$bus.off('setRightImage', this.handleSetRightImage);
|
|
27293
27281
|
this.$bus.off('showBack', this.handleShowBack);
|
|
27282
|
+
this.$bus.off('basicformOpened', this.setWxGobackFloatBtn);
|
|
27294
27283
|
},
|
|
27295
27284
|
methods: {
|
|
27296
27285
|
onClickLeft: function onClickLeft() {
|
|
27297
27286
|
history.back();
|
|
27298
27287
|
},
|
|
27288
|
+
setWxGobackFloatBtn: function setWxGobackFloatBtn() {
|
|
27289
|
+
var _this4 = this;
|
|
27290
|
+
if (window.wxCfg && navigator.userAgent.indexOf('Android') !== -1) {
|
|
27291
|
+
if (window.wxgobakMode === 'floatBtn') {
|
|
27292
|
+
this.showGobackBtn = false;
|
|
27293
|
+
setTimeout(function () {
|
|
27294
|
+
//当前页面无关闭按钮,显示浮动返回按钮
|
|
27295
|
+
var mainTabbar = document.querySelector('.main-tabbar') || document.querySelector('.navbar_bottom'); //主界面底部导航栏
|
|
27296
|
+
var closeBtn = document.querySelector('#btn_close'); //表单页面关闭按钮
|
|
27297
|
+
|
|
27298
|
+
if (!mainTabbar && !closeBtn) {
|
|
27299
|
+
_this4.showGobackBtn = true;
|
|
27300
|
+
} else if (mainTabbar && location.href.indexOf('addressBook?STACK') !== -1) {
|
|
27301
|
+
//显示通讯录人员列表
|
|
27302
|
+
_this4.showGobackBtn = true;
|
|
27303
|
+
}
|
|
27304
|
+
}, 0);
|
|
27305
|
+
}
|
|
27306
|
+
}
|
|
27307
|
+
},
|
|
27299
27308
|
// 处理返回按钮显示
|
|
27300
27309
|
handleBtnConfig: function handleBtnConfig($route) {
|
|
27301
27310
|
// 控制返回按钮
|
|
@@ -27313,7 +27322,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27313
27322
|
},
|
|
27314
27323
|
// 处理标题显示
|
|
27315
27324
|
handleHeaderConfig: function handleHeaderConfig($route) {
|
|
27316
|
-
var
|
|
27325
|
+
var _this5 = this;
|
|
27317
27326
|
if (!this.isCustomHeader) {
|
|
27318
27327
|
this.titleConfig.hasOwnProperty('bool') && (this.titleConfig = {});
|
|
27319
27328
|
this.leftConfig.hasOwnProperty('bool') && (this.leftConfig = {});
|
|
@@ -27326,7 +27335,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27326
27335
|
this.title = $route.meta.appName;
|
|
27327
27336
|
} else {
|
|
27328
27337
|
this.$nextTick(function () {
|
|
27329
|
-
|
|
27338
|
+
_this5.title = document.title;
|
|
27330
27339
|
});
|
|
27331
27340
|
}
|
|
27332
27341
|
},
|
|
@@ -27354,7 +27363,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27354
27363
|
},
|
|
27355
27364
|
// 设置中间文字
|
|
27356
27365
|
handleSetTitle: function handleSetTitle(data, callback) {
|
|
27357
|
-
var
|
|
27366
|
+
var _this6 = this;
|
|
27358
27367
|
if (!callback) {
|
|
27359
27368
|
callback = function callback() {};
|
|
27360
27369
|
}
|
|
@@ -27364,7 +27373,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27364
27373
|
this.$forceUpdate();
|
|
27365
27374
|
this.showBottomLine = false;
|
|
27366
27375
|
setTimeout(function () {
|
|
27367
|
-
|
|
27376
|
+
_this6.handleHeaderLineConfig();
|
|
27368
27377
|
}, 500);
|
|
27369
27378
|
},
|
|
27370
27379
|
// 设置中间图标
|
|
@@ -27415,17 +27424,14 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27415
27424
|
handleShowBack: function handleShowBack(data) {
|
|
27416
27425
|
this.isCustomBackButton = true;
|
|
27417
27426
|
this.showBackBtn = !!data;
|
|
27418
|
-
},
|
|
27419
|
-
historyBack: function historyBack() {
|
|
27420
|
-
history.back();
|
|
27421
27427
|
}
|
|
27422
27428
|
}
|
|
27423
27429
|
});
|
|
27424
27430
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=script&lang=js
|
|
27425
27431
|
/* harmony default export */ var App_AppHeadervue_type_script_lang_js = (AppHeadervue_type_script_lang_js);
|
|
27426
|
-
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=
|
|
27427
|
-
var
|
|
27428
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=
|
|
27432
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-64.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-64.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-64.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-64.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=e4d402b2&prod&lang=scss&scoped=true
|
|
27433
|
+
var AppHeadervue_type_style_index_0_id_e4d402b2_prod_lang_scss_scoped_true = __webpack_require__(7920);
|
|
27434
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=e4d402b2&prod&lang=scss&scoped=true
|
|
27429
27435
|
|
|
27430
27436
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue
|
|
27431
27437
|
|
|
@@ -27438,11 +27444,11 @@ var AppHeadervue_type_style_index_0_id_431b6f8f_prod_lang_scss_scoped_true = __w
|
|
|
27438
27444
|
|
|
27439
27445
|
var AppHeader_component = normalizeComponent(
|
|
27440
27446
|
App_AppHeadervue_type_script_lang_js,
|
|
27441
|
-
|
|
27442
|
-
|
|
27447
|
+
AppHeadervue_type_template_id_e4d402b2_scoped_true_render,
|
|
27448
|
+
AppHeadervue_type_template_id_e4d402b2_scoped_true_staticRenderFns,
|
|
27443
27449
|
false,
|
|
27444
27450
|
null,
|
|
27445
|
-
"
|
|
27451
|
+
"e4d402b2",
|
|
27446
27452
|
null
|
|
27447
27453
|
|
|
27448
27454
|
)
|