ecinc-cloud-moabase 9.5.237 → 9.5.242
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 +48 -36
- package/lib/ecmoabase.umd.js +51 -39
- package/lib/ecmoabase.umd.min.js +3 -3
- 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
|
+
/***/ 4412:
|
|
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-5f07166d]{position:fixed;top:0;left:0;right:0;z-index:9999}.App-nav-bar .App-center[data-v-5f07166d]{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-5f07166d]::-webkit-scrollbar{display:none}.App-nav-bar .App-center-img[data-v-5f07166d],.App-nav-bar .App-left-img[data-v-5f07166d]{width:24px;margin-right:2px}.App-nav-bar .App-center-chat-status[data-v-5f07166d]{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-5f07166d]{background:radial-gradient(circle,#26d189,#0ea04d)}.App-nav-bar[data-v-5f07166d] .van-nav-bar__title{font-weight:600;font-size:16px}.App-nav-bar__noBottomLine[data-v-5f07166d]: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
|
+
/***/ 7434:
|
|
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__(4412);
|
|
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("0b0f2cab", 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=5f07166d&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_5f07166d_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', {
|
|
@@ -27074,7 +27074,7 @@ var AppHeadervue_type_template_id_e4d402b2_scoped_true_render = function render(
|
|
|
27074
27074
|
}
|
|
27075
27075
|
})], 1) : _vm._e()], 1);
|
|
27076
27076
|
};
|
|
27077
|
-
var
|
|
27077
|
+
var AppHeadervue_type_template_id_5f07166d_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); }
|
|
@@ -27158,10 +27158,9 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27158
27158
|
while (1) switch (_context.prev = _context.next) {
|
|
27159
27159
|
case 0:
|
|
27160
27160
|
if (!(window.wxCfg && navigator.userAgent.indexOf('Android') !== -1)) {
|
|
27161
|
-
_context.next =
|
|
27161
|
+
_context.next = 4;
|
|
27162
27162
|
break;
|
|
27163
27163
|
}
|
|
27164
|
-
_this.setWxGobackFloatBtn();
|
|
27165
27164
|
if (window.wxgobakMode === 'topbarBtn') {
|
|
27166
27165
|
window.layout = '';
|
|
27167
27166
|
mainTabbar = document.querySelector('.main-tabbar') || document.querySelector('.navbar_bottom'); //主界面底部导航栏
|
|
@@ -27173,25 +27172,29 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27173
27172
|
} else {
|
|
27174
27173
|
window.layout = '';
|
|
27175
27174
|
}
|
|
27175
|
+
} else {
|
|
27176
|
+
_this.setWxGobackFloatBtn();
|
|
27176
27177
|
}
|
|
27177
27178
|
_context.next = 12;
|
|
27178
27179
|
break;
|
|
27179
|
-
case
|
|
27180
|
+
case 4:
|
|
27180
27181
|
if (!((window.layout === 'H5' || window.flutter_inappwebview) && (_this.appPadding === 0 || _this.appPadding === 24))) {
|
|
27181
27182
|
_context.next = 12;
|
|
27182
27183
|
break;
|
|
27183
27184
|
}
|
|
27184
|
-
_context.next =
|
|
27185
|
+
_context.next = 7;
|
|
27185
27186
|
return _this.$wv.getSystemStatusBarHeight();
|
|
27186
|
-
case
|
|
27187
|
+
case 7:
|
|
27187
27188
|
_context.t0 = _context.sent;
|
|
27188
27189
|
if (_context.t0) {
|
|
27189
|
-
_context.next =
|
|
27190
|
+
_context.next = 10;
|
|
27190
27191
|
break;
|
|
27191
27192
|
}
|
|
27192
27193
|
_context.t0 = 24;
|
|
27193
|
-
case
|
|
27194
|
+
case 10:
|
|
27194
27195
|
_this.appPadding = _context.t0;
|
|
27196
|
+
//非安卓微信版本,不显示返回按钮
|
|
27197
|
+
window.wxgobakMode = '';
|
|
27195
27198
|
case 12:
|
|
27196
27199
|
_this.handleHeaderLineConfig(val);
|
|
27197
27200
|
_this.isLoaded = true;
|
|
@@ -27225,27 +27228,25 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27225
27228
|
//安卓微信版本,显示顶部导航栏,但是不需要预留顶部系统状态栏空间
|
|
27226
27229
|
_this3.appPadding = 0;
|
|
27227
27230
|
}
|
|
27228
|
-
_context2.next =
|
|
27231
|
+
_context2.next = 11;
|
|
27229
27232
|
break;
|
|
27230
27233
|
case 4:
|
|
27231
|
-
//非安卓微信版本,不显示返回按钮
|
|
27232
|
-
window.wxgobakMode = '';
|
|
27233
27234
|
if (!((window.layout === 'H5' || window.flutter_inappwebview) && (_this3.appPadding === 0 || _this3.appPadding === 24))) {
|
|
27234
|
-
_context2.next =
|
|
27235
|
+
_context2.next = 11;
|
|
27235
27236
|
break;
|
|
27236
27237
|
}
|
|
27237
|
-
_context2.next =
|
|
27238
|
+
_context2.next = 7;
|
|
27238
27239
|
return _this3.$wv.getSystemStatusBarHeight();
|
|
27239
|
-
case
|
|
27240
|
+
case 7:
|
|
27240
27241
|
_context2.t0 = _context2.sent;
|
|
27241
27242
|
if (_context2.t0) {
|
|
27242
|
-
_context2.next =
|
|
27243
|
+
_context2.next = 10;
|
|
27243
27244
|
break;
|
|
27244
27245
|
}
|
|
27245
27246
|
_context2.t0 = 24;
|
|
27246
|
-
case
|
|
27247
|
+
case 10:
|
|
27247
27248
|
_this3.appPadding = _context2.t0;
|
|
27248
|
-
case
|
|
27249
|
+
case 11:
|
|
27249
27250
|
_this3.$bus.on('setTitle', _this3.handleSetTitle);
|
|
27250
27251
|
_this3.$bus.on('setCenterImage', _this3.handleSetCenterImage);
|
|
27251
27252
|
_this3.$bus.on('setLeftText', _this3.handleSetLeftText);
|
|
@@ -27254,7 +27255,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27254
27255
|
_this3.$bus.on('setRightImage', _this3.handleSetRightImage);
|
|
27255
27256
|
_this3.$bus.on('showBack', _this3.handleShowBack);
|
|
27256
27257
|
_this3.$bus.on('basicformOpened', _this3.setWxGobackFloatBtn);
|
|
27257
|
-
case
|
|
27258
|
+
case 19:
|
|
27258
27259
|
case "end":
|
|
27259
27260
|
return _context2.stop();
|
|
27260
27261
|
}
|
|
@@ -27278,19 +27279,30 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27278
27279
|
setWxGobackFloatBtn: function setWxGobackFloatBtn() {
|
|
27279
27280
|
var _this4 = this;
|
|
27280
27281
|
if (window.wxCfg && navigator.userAgent.indexOf('Android') !== -1) {
|
|
27281
|
-
|
|
27282
|
-
|
|
27282
|
+
this.showGobackBtn = false;
|
|
27283
|
+
console.log(window.wxgobakMode, location.href);
|
|
27284
|
+
if (window.wxgobakMode === 'floatBtn' && location.href.indexOf('#/wflow?wfEngineUrl=') === -1) {
|
|
27283
27285
|
setTimeout(function () {
|
|
27284
27286
|
//当前页面无关闭按钮,显示浮动返回按钮
|
|
27285
27287
|
var mainTabbar = document.querySelector('.main-tabbar') || document.querySelector('.navbar_bottom'); //主界面底部导航栏
|
|
27288
|
+
var gobackBtn = document.querySelector('.goback-btn'); //列表页面关闭按钮
|
|
27286
27289
|
var closeBtn = document.querySelector('#btn_close'); //表单页面关闭按钮
|
|
27287
|
-
|
|
27288
|
-
if (!mainTabbar && !closeBtn) {
|
|
27290
|
+
if (!mainTabbar && !gobackBtn && !closeBtn) {
|
|
27289
27291
|
_this4.showGobackBtn = true;
|
|
27290
|
-
} else if (mainTabbar && location.href.indexOf('addressBook?
|
|
27292
|
+
} else if (mainTabbar && (location.href.indexOf('#/addressBook?') !== -1 || location.href.indexOf('#/calendar?') !== -1 || location.href.indexOf('#/portalMessage?') !== -1)) {
|
|
27291
27293
|
//显示通讯录人员列表
|
|
27292
27294
|
_this4.showGobackBtn = true;
|
|
27293
27295
|
}
|
|
27296
|
+
if (_this4.showGobackBtn) {
|
|
27297
|
+
_this4.$nextTick(function () {
|
|
27298
|
+
var floatButtonGroup = document.querySelector('.floatbtn-group-container');
|
|
27299
|
+
if (location.href.indexOf('#/addressBook?') !== -1) {
|
|
27300
|
+
floatButtonGroup.style.zIndex = 3001;
|
|
27301
|
+
} else {
|
|
27302
|
+
floatButtonGroup.style.zIndex = 2001;
|
|
27303
|
+
}
|
|
27304
|
+
});
|
|
27305
|
+
}
|
|
27294
27306
|
}, 0);
|
|
27295
27307
|
}
|
|
27296
27308
|
}
|
|
@@ -27419,9 +27431,9 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27419
27431
|
});
|
|
27420
27432
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=script&lang=js
|
|
27421
27433
|
/* harmony default export */ var App_AppHeadervue_type_script_lang_js = (AppHeadervue_type_script_lang_js);
|
|
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=
|
|
27423
|
-
var
|
|
27424
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=
|
|
27434
|
+
// 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=5f07166d&prod&lang=scss&scoped=true
|
|
27435
|
+
var AppHeadervue_type_style_index_0_id_5f07166d_prod_lang_scss_scoped_true = __webpack_require__(7434);
|
|
27436
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=5f07166d&prod&lang=scss&scoped=true
|
|
27425
27437
|
|
|
27426
27438
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue
|
|
27427
27439
|
|
|
@@ -27434,11 +27446,11 @@ var AppHeadervue_type_style_index_0_id_e4d402b2_prod_lang_scss_scoped_true = __w
|
|
|
27434
27446
|
|
|
27435
27447
|
var AppHeader_component = normalizeComponent(
|
|
27436
27448
|
App_AppHeadervue_type_script_lang_js,
|
|
27437
|
-
|
|
27438
|
-
|
|
27449
|
+
AppHeadervue_type_template_id_5f07166d_scoped_true_render,
|
|
27450
|
+
AppHeadervue_type_template_id_5f07166d_scoped_true_staticRenderFns,
|
|
27439
27451
|
false,
|
|
27440
27452
|
null,
|
|
27441
|
-
"
|
|
27453
|
+
"5f07166d",
|
|
27442
27454
|
null
|
|
27443
27455
|
|
|
27444
27456
|
)
|
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
|
+
/***/ 9436:
|
|
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-5f07166d]{position:fixed;top:0;left:0;right:0;z-index:9999}.App-nav-bar .App-center[data-v-5f07166d]{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-5f07166d]::-webkit-scrollbar{display:none}.App-nav-bar .App-center-img[data-v-5f07166d],.App-nav-bar .App-left-img[data-v-5f07166d]{width:24px;margin-right:2px}.App-nav-bar .App-center-chat-status[data-v-5f07166d]{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-5f07166d]{background:radial-gradient(circle,#26d189,#0ea04d)}.App-nav-bar[data-v-5f07166d] .van-nav-bar__title{font-weight:600;font-size:16px}.App-nav-bar__noBottomLine[data-v-5f07166d]:after{border-bottom-width:0}", ""]);
|
|
1012
1012
|
// Exports
|
|
1013
1013
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
1014
1014
|
|
|
@@ -11972,7 +11972,7 @@ var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
|
|
|
11972
11972
|
|
|
11973
11973
|
/***/ }),
|
|
11974
11974
|
|
|
11975
|
-
/***/
|
|
11975
|
+
/***/ 9467:
|
|
11976
11976
|
/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {
|
|
11977
11977
|
|
|
11978
11978
|
//! moment.js locale configuration
|
|
@@ -18252,8 +18252,8 @@ var map = {
|
|
|
18252
18252
|
"./lv.js": 9532,
|
|
18253
18253
|
"./me": 8076,
|
|
18254
18254
|
"./me.js": 8076,
|
|
18255
|
-
"./mi":
|
|
18256
|
-
"./mi.js":
|
|
18255
|
+
"./mi": 9467,
|
|
18256
|
+
"./mi.js": 9467,
|
|
18257
18257
|
"./mk": 306,
|
|
18258
18258
|
"./mk.js": 306,
|
|
18259
18259
|
"./ml": 3739,
|
|
@@ -25817,19 +25817,19 @@ var update = add("3f2c2b22", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
25817
25817
|
|
|
25818
25818
|
/***/ }),
|
|
25819
25819
|
|
|
25820
|
-
/***/
|
|
25820
|
+
/***/ 1848:
|
|
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__(9436);
|
|
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("086b62aa", 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=5f07166d&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_5f07166d_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', {
|
|
@@ -27084,7 +27084,7 @@ var AppHeadervue_type_template_id_e4d402b2_scoped_true_render = function render(
|
|
|
27084
27084
|
}
|
|
27085
27085
|
})], 1) : _vm._e()], 1);
|
|
27086
27086
|
};
|
|
27087
|
-
var
|
|
27087
|
+
var AppHeadervue_type_template_id_5f07166d_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); }
|
|
@@ -27168,10 +27168,9 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27168
27168
|
while (1) switch (_context.prev = _context.next) {
|
|
27169
27169
|
case 0:
|
|
27170
27170
|
if (!(window.wxCfg && navigator.userAgent.indexOf('Android') !== -1)) {
|
|
27171
|
-
_context.next =
|
|
27171
|
+
_context.next = 4;
|
|
27172
27172
|
break;
|
|
27173
27173
|
}
|
|
27174
|
-
_this.setWxGobackFloatBtn();
|
|
27175
27174
|
if (window.wxgobakMode === 'topbarBtn') {
|
|
27176
27175
|
window.layout = '';
|
|
27177
27176
|
mainTabbar = document.querySelector('.main-tabbar') || document.querySelector('.navbar_bottom'); //主界面底部导航栏
|
|
@@ -27183,25 +27182,29 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27183
27182
|
} else {
|
|
27184
27183
|
window.layout = '';
|
|
27185
27184
|
}
|
|
27185
|
+
} else {
|
|
27186
|
+
_this.setWxGobackFloatBtn();
|
|
27186
27187
|
}
|
|
27187
27188
|
_context.next = 12;
|
|
27188
27189
|
break;
|
|
27189
|
-
case
|
|
27190
|
+
case 4:
|
|
27190
27191
|
if (!((window.layout === 'H5' || window.flutter_inappwebview) && (_this.appPadding === 0 || _this.appPadding === 24))) {
|
|
27191
27192
|
_context.next = 12;
|
|
27192
27193
|
break;
|
|
27193
27194
|
}
|
|
27194
|
-
_context.next =
|
|
27195
|
+
_context.next = 7;
|
|
27195
27196
|
return _this.$wv.getSystemStatusBarHeight();
|
|
27196
|
-
case
|
|
27197
|
+
case 7:
|
|
27197
27198
|
_context.t0 = _context.sent;
|
|
27198
27199
|
if (_context.t0) {
|
|
27199
|
-
_context.next =
|
|
27200
|
+
_context.next = 10;
|
|
27200
27201
|
break;
|
|
27201
27202
|
}
|
|
27202
27203
|
_context.t0 = 24;
|
|
27203
|
-
case
|
|
27204
|
+
case 10:
|
|
27204
27205
|
_this.appPadding = _context.t0;
|
|
27206
|
+
//非安卓微信版本,不显示返回按钮
|
|
27207
|
+
window.wxgobakMode = '';
|
|
27205
27208
|
case 12:
|
|
27206
27209
|
_this.handleHeaderLineConfig(val);
|
|
27207
27210
|
_this.isLoaded = true;
|
|
@@ -27235,27 +27238,25 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27235
27238
|
//安卓微信版本,显示顶部导航栏,但是不需要预留顶部系统状态栏空间
|
|
27236
27239
|
_this3.appPadding = 0;
|
|
27237
27240
|
}
|
|
27238
|
-
_context2.next =
|
|
27241
|
+
_context2.next = 11;
|
|
27239
27242
|
break;
|
|
27240
27243
|
case 4:
|
|
27241
|
-
//非安卓微信版本,不显示返回按钮
|
|
27242
|
-
window.wxgobakMode = '';
|
|
27243
27244
|
if (!((window.layout === 'H5' || window.flutter_inappwebview) && (_this3.appPadding === 0 || _this3.appPadding === 24))) {
|
|
27244
|
-
_context2.next =
|
|
27245
|
+
_context2.next = 11;
|
|
27245
27246
|
break;
|
|
27246
27247
|
}
|
|
27247
|
-
_context2.next =
|
|
27248
|
+
_context2.next = 7;
|
|
27248
27249
|
return _this3.$wv.getSystemStatusBarHeight();
|
|
27249
|
-
case
|
|
27250
|
+
case 7:
|
|
27250
27251
|
_context2.t0 = _context2.sent;
|
|
27251
27252
|
if (_context2.t0) {
|
|
27252
|
-
_context2.next =
|
|
27253
|
+
_context2.next = 10;
|
|
27253
27254
|
break;
|
|
27254
27255
|
}
|
|
27255
27256
|
_context2.t0 = 24;
|
|
27256
|
-
case
|
|
27257
|
+
case 10:
|
|
27257
27258
|
_this3.appPadding = _context2.t0;
|
|
27258
|
-
case
|
|
27259
|
+
case 11:
|
|
27259
27260
|
_this3.$bus.on('setTitle', _this3.handleSetTitle);
|
|
27260
27261
|
_this3.$bus.on('setCenterImage', _this3.handleSetCenterImage);
|
|
27261
27262
|
_this3.$bus.on('setLeftText', _this3.handleSetLeftText);
|
|
@@ -27264,7 +27265,7 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27264
27265
|
_this3.$bus.on('setRightImage', _this3.handleSetRightImage);
|
|
27265
27266
|
_this3.$bus.on('showBack', _this3.handleShowBack);
|
|
27266
27267
|
_this3.$bus.on('basicformOpened', _this3.setWxGobackFloatBtn);
|
|
27267
|
-
case
|
|
27268
|
+
case 19:
|
|
27268
27269
|
case "end":
|
|
27269
27270
|
return _context2.stop();
|
|
27270
27271
|
}
|
|
@@ -27288,19 +27289,30 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27288
27289
|
setWxGobackFloatBtn: function setWxGobackFloatBtn() {
|
|
27289
27290
|
var _this4 = this;
|
|
27290
27291
|
if (window.wxCfg && navigator.userAgent.indexOf('Android') !== -1) {
|
|
27291
|
-
|
|
27292
|
-
|
|
27292
|
+
this.showGobackBtn = false;
|
|
27293
|
+
console.log(window.wxgobakMode, location.href);
|
|
27294
|
+
if (window.wxgobakMode === 'floatBtn' && location.href.indexOf('#/wflow?wfEngineUrl=') === -1) {
|
|
27293
27295
|
setTimeout(function () {
|
|
27294
27296
|
//当前页面无关闭按钮,显示浮动返回按钮
|
|
27295
27297
|
var mainTabbar = document.querySelector('.main-tabbar') || document.querySelector('.navbar_bottom'); //主界面底部导航栏
|
|
27298
|
+
var gobackBtn = document.querySelector('.goback-btn'); //列表页面关闭按钮
|
|
27296
27299
|
var closeBtn = document.querySelector('#btn_close'); //表单页面关闭按钮
|
|
27297
|
-
|
|
27298
|
-
if (!mainTabbar && !closeBtn) {
|
|
27300
|
+
if (!mainTabbar && !gobackBtn && !closeBtn) {
|
|
27299
27301
|
_this4.showGobackBtn = true;
|
|
27300
|
-
} else if (mainTabbar && location.href.indexOf('addressBook?
|
|
27302
|
+
} else if (mainTabbar && (location.href.indexOf('#/addressBook?') !== -1 || location.href.indexOf('#/calendar?') !== -1 || location.href.indexOf('#/portalMessage?') !== -1)) {
|
|
27301
27303
|
//显示通讯录人员列表
|
|
27302
27304
|
_this4.showGobackBtn = true;
|
|
27303
27305
|
}
|
|
27306
|
+
if (_this4.showGobackBtn) {
|
|
27307
|
+
_this4.$nextTick(function () {
|
|
27308
|
+
var floatButtonGroup = document.querySelector('.floatbtn-group-container');
|
|
27309
|
+
if (location.href.indexOf('#/addressBook?') !== -1) {
|
|
27310
|
+
floatButtonGroup.style.zIndex = 3001;
|
|
27311
|
+
} else {
|
|
27312
|
+
floatButtonGroup.style.zIndex = 2001;
|
|
27313
|
+
}
|
|
27314
|
+
});
|
|
27315
|
+
}
|
|
27304
27316
|
}, 0);
|
|
27305
27317
|
}
|
|
27306
27318
|
}
|
|
@@ -27429,9 +27441,9 @@ function _asyncToGenerator(n) { return function () { var t = this, e = arguments
|
|
|
27429
27441
|
});
|
|
27430
27442
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=script&lang=js
|
|
27431
27443
|
/* harmony default export */ var App_AppHeadervue_type_script_lang_js = (AppHeadervue_type_script_lang_js);
|
|
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=
|
|
27433
|
-
var
|
|
27434
|
-
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=
|
|
27444
|
+
// 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=5f07166d&prod&lang=scss&scoped=true
|
|
27445
|
+
var AppHeadervue_type_style_index_0_id_5f07166d_prod_lang_scss_scoped_true = __webpack_require__(1848);
|
|
27446
|
+
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue?vue&type=style&index=0&id=5f07166d&prod&lang=scss&scoped=true
|
|
27435
27447
|
|
|
27436
27448
|
;// CONCATENATED MODULE: ./packages/ecmoa/moabase/src/common/components/App/AppHeader.vue
|
|
27437
27449
|
|
|
@@ -27444,11 +27456,11 @@ var AppHeadervue_type_style_index_0_id_e4d402b2_prod_lang_scss_scoped_true = __w
|
|
|
27444
27456
|
|
|
27445
27457
|
var AppHeader_component = normalizeComponent(
|
|
27446
27458
|
App_AppHeadervue_type_script_lang_js,
|
|
27447
|
-
|
|
27448
|
-
|
|
27459
|
+
AppHeadervue_type_template_id_5f07166d_scoped_true_render,
|
|
27460
|
+
AppHeadervue_type_template_id_5f07166d_scoped_true_staticRenderFns,
|
|
27449
27461
|
false,
|
|
27450
27462
|
null,
|
|
27451
|
-
"
|
|
27463
|
+
"5f07166d",
|
|
27452
27464
|
null
|
|
27453
27465
|
|
|
27454
27466
|
)
|