|
@@ -904,7 +904,7 @@ function initData(vueOptions, context) {
|
|
try {
|
|
try {
|
|
data = data.call(context); // 支持 Vue.prototype 上挂的数据
|
|
data = data.call(context); // 支持 Vue.prototype 上挂的数据
|
|
} catch (e) {
|
|
} catch (e) {
|
|
- if (Object({"VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
|
|
|
+ if (Object({"NODE_ENV":"development","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
|
|
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1937,7 +1937,7 @@ function normalizeComponent (
|
|
|
|
|
|
/***/ 11:
|
|
/***/ 11:
|
|
/*!***************************************************!*\
|
|
/*!***************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/store/index.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/store/index.js ***!
|
|
\***************************************************/
|
|
\***************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -3933,7 +3933,7 @@ var index = {
|
|
|
|
|
|
/***/ 16:
|
|
/***/ 16:
|
|
/*!******************************************************!*\
|
|
/*!******************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/common/request.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/common/request.js ***!
|
|
\******************************************************/
|
|
\******************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -4233,7 +4233,7 @@ var uploadFiles = function uploadFiles(url, files, data, showloading) {
|
|
|
|
|
|
/***/ 17:
|
|
/***/ 17:
|
|
/*!**************************************************!*\
|
|
/*!**************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/common/env.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/common/env.js ***!
|
|
\**************************************************/
|
|
\**************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -4247,7 +4247,7 @@ exports.envHost = envHost;var imgHost = 'https://zhengda.oss-cn-chengdu.aliyuncs
|
|
|
|
|
|
/***/ 18:
|
|
/***/ 18:
|
|
/*!***************************************************!*\
|
|
/*!***************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/common/user.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/common/user.js ***!
|
|
\***************************************************/
|
|
\***************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -4415,7 +4415,7 @@ module.exports = {
|
|
|
|
|
|
/***/ 19:
|
|
/***/ 19:
|
|
/*!***************************************************!*\
|
|
/*!***************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/common/util.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/common/util.js ***!
|
|
\***************************************************/
|
|
\***************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -5365,13 +5365,11 @@ Dep.SharedObject.targetStack = [];
|
|
function pushTarget (target) {
|
|
function pushTarget (target) {
|
|
Dep.SharedObject.targetStack.push(target);
|
|
Dep.SharedObject.targetStack.push(target);
|
|
Dep.SharedObject.target = target;
|
|
Dep.SharedObject.target = target;
|
|
- Dep.target = target;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
function popTarget () {
|
|
function popTarget () {
|
|
Dep.SharedObject.targetStack.pop();
|
|
Dep.SharedObject.targetStack.pop();
|
|
Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];
|
|
Dep.SharedObject.target = Dep.SharedObject.targetStack[Dep.SharedObject.targetStack.length - 1];
|
|
- Dep.target = Dep.SharedObject.target;
|
|
|
|
}
|
|
}
|
|
|
|
|
|
/* */
|
|
/* */
|
|
@@ -10140,7 +10138,7 @@ function type(obj) {
|
|
|
|
|
|
function flushCallbacks$1(vm) {
|
|
function flushCallbacks$1(vm) {
|
|
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
|
|
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
|
|
- if (Object({"VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
|
|
|
+ if (Object({"NODE_ENV":"development","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
var mpInstance = vm.$scope;
|
|
var mpInstance = vm.$scope;
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
|
|
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
|
|
@@ -10161,14 +10159,14 @@ function nextTick$1(vm, cb) {
|
|
//1.nextTick 之前 已 setData 且 setData 还未回调完成
|
|
//1.nextTick 之前 已 setData 且 setData 还未回调完成
|
|
//2.nextTick 之前存在 render watcher
|
|
//2.nextTick 之前存在 render watcher
|
|
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
|
|
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
|
|
- if(Object({"VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
|
|
|
|
+ if(Object({"NODE_ENV":"development","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
var mpInstance = vm.$scope;
|
|
var mpInstance = vm.$scope;
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
']:nextVueTick');
|
|
']:nextVueTick');
|
|
}
|
|
}
|
|
return nextTick(cb, vm)
|
|
return nextTick(cb, vm)
|
|
}else{
|
|
}else{
|
|
- if(Object({"VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
|
|
|
|
+ if(Object({"NODE_ENV":"development","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
var mpInstance$1 = vm.$scope;
|
|
var mpInstance$1 = vm.$scope;
|
|
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
|
|
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
|
|
']:nextMPTick');
|
|
']:nextMPTick');
|
|
@@ -10212,14 +10210,13 @@ function cloneWithData(vm) {
|
|
}, ret);
|
|
}, ret);
|
|
|
|
|
|
// vue-composition-api
|
|
// vue-composition-api
|
|
- var compositionApiState = vm.__composition_api_state__ || vm.__secret_vfa_state__;
|
|
|
|
- var rawBindings = compositionApiState && compositionApiState.rawBindings;
|
|
|
|
|
|
+ var rawBindings = vm.__secret_vfa_state__ && vm.__secret_vfa_state__.rawBindings;
|
|
if (rawBindings) {
|
|
if (rawBindings) {
|
|
Object.keys(rawBindings).forEach(function (key) {
|
|
Object.keys(rawBindings).forEach(function (key) {
|
|
ret[key] = vm[key];
|
|
ret[key] = vm[key];
|
|
});
|
|
});
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
//TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据
|
|
//TODO 需要把无用数据处理掉,比如 list=>l0 则 list 需要移除,否则多传输一份数据
|
|
Object.assign(ret, vm.$mp.data || {});
|
|
Object.assign(ret, vm.$mp.data || {});
|
|
if (
|
|
if (
|
|
@@ -10254,7 +10251,7 @@ var patch = function(oldVnode, vnode) {
|
|
});
|
|
});
|
|
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
|
|
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
|
|
if (Object.keys(diffData).length) {
|
|
if (Object.keys(diffData).length) {
|
|
- if (Object({"VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
|
|
|
+ if (Object({"NODE_ENV":"development","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
|
|
']差量更新',
|
|
']差量更新',
|
|
JSON.stringify(diffData));
|
|
JSON.stringify(diffData));
|
|
@@ -10663,7 +10660,7 @@ internalMixin(Vue);
|
|
|
|
|
|
/***/ 20:
|
|
/***/ 20:
|
|
/*!******************************************************!*\
|
|
/*!******************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/index.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/index.js ***!
|
|
\******************************************************/
|
|
\******************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -10810,7 +10807,7 @@ var install = function install(Vue) {
|
|
|
|
|
|
/***/ 21:
|
|
/***/ 21:
|
|
/*!*****************************************************************!*\
|
|
/*!*****************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/mixin/mixin.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/mixin/mixin.js ***!
|
|
\*****************************************************************/
|
|
\*****************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -10866,7 +10863,7 @@ var install = function install(Vue) {
|
|
|
|
|
|
/***/ 22:
|
|
/***/ 22:
|
|
/*!*******************************************************************!*\
|
|
/*!*******************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/request/index.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/request/index.js ***!
|
|
\*******************************************************************/
|
|
\*******************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -11047,7 +11044,7 @@ new Request();exports.default = _default;
|
|
|
|
|
|
/***/ 23:
|
|
/***/ 23:
|
|
/*!************************************************************************!*\
|
|
/*!************************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/deepMerge.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/deepMerge.js ***!
|
|
\************************************************************************/
|
|
\************************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -11088,7 +11085,7 @@ deepMerge;exports.default = _default;
|
|
|
|
|
|
/***/ 24:
|
|
/***/ 24:
|
|
/*!************************************************************************!*\
|
|
/*!************************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/deepClone.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/deepClone.js ***!
|
|
\************************************************************************/
|
|
\************************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -11122,7 +11119,7 @@ deepClone;exports.default = _default;
|
|
|
|
|
|
/***/ 25:
|
|
/***/ 25:
|
|
/*!*******************************************************************!*\
|
|
/*!*******************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/test.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/test.js ***!
|
|
\*******************************************************************/
|
|
\*******************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -11365,7 +11362,7 @@ function code(value) {var len = arguments.length > 1 && arguments[1] !== undefin
|
|
|
|
|
|
/***/ 26:
|
|
/***/ 26:
|
|
/*!**************************************************************************!*\
|
|
/*!**************************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/queryParams.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/queryParams.js ***!
|
|
\**************************************************************************/
|
|
\**************************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -11434,7 +11431,7 @@ queryParams;exports.default = _default;
|
|
|
|
|
|
/***/ 27:
|
|
/***/ 27:
|
|
/*!********************************************************************!*\
|
|
/*!********************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/route.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/route.js ***!
|
|
\********************************************************************/
|
|
\********************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -11531,7 +11528,7 @@ route;exports.default = _default;
|
|
|
|
|
|
/***/ 28:
|
|
/***/ 28:
|
|
/*!*************************************************************************!*\
|
|
/*!*************************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/timeFormat.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/timeFormat.js ***!
|
|
\*************************************************************************/
|
|
\*************************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -11594,7 +11591,7 @@ timeFormat;exports.default = _default;
|
|
|
|
|
|
/***/ 29:
|
|
/***/ 29:
|
|
/*!***********************************************************************!*\
|
|
/*!***********************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/timeFrom.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/timeFrom.js ***!
|
|
\***********************************************************************/
|
|
\***********************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -11649,6 +11646,66 @@ timeFrom;exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
|
|
+/***/ 298:
|
|
|
|
+/*!******************************************************************!*\
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/util/emitter.js ***!
|
|
|
|
+ \******************************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; /**
|
|
|
|
+ * 递归使用 call 方式this指向
|
|
|
|
+ * @param componentName // 需要找的组件的名称
|
|
|
|
+ * @param eventName // 事件名称
|
|
|
|
+ * @param params // 需要传递的参数
|
|
|
|
+ */
|
|
|
|
+function _broadcast(componentName, eventName, params) {
|
|
|
|
+ // 循环子节点找到名称一样的子节点 否则 递归 当前子节点
|
|
|
|
+ this.$children.map(function (child) {
|
|
|
|
+ if (componentName === child.$options.name) {
|
|
|
|
+ child.$emit.apply(child, [eventName].concat(params));
|
|
|
|
+ } else {
|
|
|
|
+ _broadcast.apply(child, [componentName, eventName].concat(params));
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+}var _default =
|
|
|
|
+{
|
|
|
|
+ methods: {
|
|
|
|
+ /**
|
|
|
|
+ * 派发 (向上查找) (一个)
|
|
|
|
+ * @param componentName // 需要找的组件的名称
|
|
|
|
+ * @param eventName // 事件名称
|
|
|
|
+ * @param params // 需要传递的参数
|
|
|
|
+ */
|
|
|
|
+ dispatch: function dispatch(componentName, eventName, params) {
|
|
|
|
+ var parent = this.$parent || this.$root; //$parent 找到最近的父节点 $root 根节点
|
|
|
|
+ var name = parent.$options.name; // 获取当前组件实例的name
|
|
|
|
+ // 如果当前有节点 && 当前没名称 且 当前名称等于需要传进来的名称的时候就去查找当前的节点
|
|
|
|
+ // 循环出当前名称的一样的组件实例
|
|
|
|
+ while (parent && (!name || name !== componentName)) {
|
|
|
|
+ parent = parent.$parent;
|
|
|
|
+ if (parent) {
|
|
|
|
+ name = parent.$options.name;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ // 有节点表示当前找到了name一样的实例
|
|
|
|
+ if (parent) {
|
|
|
|
+ parent.$emit.apply(parent, [eventName].concat(params));
|
|
|
|
+ }
|
|
|
|
+ },
|
|
|
|
+ /**
|
|
|
|
+ * 广播 (向下查找) (广播多个)
|
|
|
|
+ * @param componentName // 需要找的组件的名称
|
|
|
|
+ * @param eventName // 事件名称
|
|
|
|
+ * @param params // 需要传递的参数
|
|
|
|
+ */
|
|
|
|
+ broadcast: function broadcast(componentName, eventName, params) {
|
|
|
|
+ _broadcast.call(this, componentName, eventName, params);
|
|
|
|
+ } } };exports.default = _default;
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+
|
|
/***/ 3:
|
|
/***/ 3:
|
|
/*!***********************************!*\
|
|
/*!***********************************!*\
|
|
!*** (webpack)/buildin/global.js ***!
|
|
!*** (webpack)/buildin/global.js ***!
|
|
@@ -11682,7 +11739,7 @@ module.exports = g;
|
|
|
|
|
|
/***/ 30:
|
|
/***/ 30:
|
|
/*!****************************************************************************!*\
|
|
/*!****************************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/colorGradient.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/colorGradient.js ***!
|
|
\****************************************************************************/
|
|
\****************************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -11792,7 +11849,7 @@ function rgbToHex(rgb) {
|
|
|
|
|
|
/***/ 31:
|
|
/***/ 31:
|
|
/*!*******************************************************************!*\
|
|
/*!*******************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/guid.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/guid.js ***!
|
|
\*******************************************************************/
|
|
\*******************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -11844,7 +11901,7 @@ guid;exports.default = _default;
|
|
|
|
|
|
/***/ 32:
|
|
/***/ 32:
|
|
/*!********************************************************************!*\
|
|
/*!********************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/color.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/color.js ***!
|
|
\********************************************************************/
|
|
\********************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -11892,7 +11949,7 @@ color;exports.default = _default;
|
|
|
|
|
|
/***/ 33:
|
|
/***/ 33:
|
|
/*!************************************************************************!*\
|
|
/*!************************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/type2icon.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/type2icon.js ***!
|
|
\************************************************************************/
|
|
\************************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -11938,7 +11995,7 @@ type2icon;exports.default = _default;
|
|
|
|
|
|
/***/ 34:
|
|
/***/ 34:
|
|
/*!**************************************************************************!*\
|
|
/*!**************************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/randomArray.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/randomArray.js ***!
|
|
\**************************************************************************/
|
|
\**************************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -11954,69 +12011,9 @@ randomArray;exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 347:
|
|
|
|
-/*!******************************************************************!*\
|
|
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/util/emitter.js ***!
|
|
|
|
- \******************************************************************/
|
|
|
|
-/*! no static exports found */
|
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
-
|
|
|
|
-"use strict";
|
|
|
|
-Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; /**
|
|
|
|
- * 递归使用 call 方式this指向
|
|
|
|
- * @param componentName // 需要找的组件的名称
|
|
|
|
- * @param eventName // 事件名称
|
|
|
|
- * @param params // 需要传递的参数
|
|
|
|
- */
|
|
|
|
-function _broadcast(componentName, eventName, params) {
|
|
|
|
- // 循环子节点找到名称一样的子节点 否则 递归 当前子节点
|
|
|
|
- this.$children.map(function (child) {
|
|
|
|
- if (componentName === child.$options.name) {
|
|
|
|
- child.$emit.apply(child, [eventName].concat(params));
|
|
|
|
- } else {
|
|
|
|
- _broadcast.apply(child, [componentName, eventName].concat(params));
|
|
|
|
- }
|
|
|
|
- });
|
|
|
|
-}var _default =
|
|
|
|
-{
|
|
|
|
- methods: {
|
|
|
|
- /**
|
|
|
|
- * 派发 (向上查找) (一个)
|
|
|
|
- * @param componentName // 需要找的组件的名称
|
|
|
|
- * @param eventName // 事件名称
|
|
|
|
- * @param params // 需要传递的参数
|
|
|
|
- */
|
|
|
|
- dispatch: function dispatch(componentName, eventName, params) {
|
|
|
|
- var parent = this.$parent || this.$root; //$parent 找到最近的父节点 $root 根节点
|
|
|
|
- var name = parent.$options.name; // 获取当前组件实例的name
|
|
|
|
- // 如果当前有节点 && 当前没名称 且 当前名称等于需要传进来的名称的时候就去查找当前的节点
|
|
|
|
- // 循环出当前名称的一样的组件实例
|
|
|
|
- while (parent && (!name || name !== componentName)) {
|
|
|
|
- parent = parent.$parent;
|
|
|
|
- if (parent) {
|
|
|
|
- name = parent.$options.name;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- // 有节点表示当前找到了name一样的实例
|
|
|
|
- if (parent) {
|
|
|
|
- parent.$emit.apply(parent, [eventName].concat(params));
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- /**
|
|
|
|
- * 广播 (向下查找) (广播多个)
|
|
|
|
- * @param componentName // 需要找的组件的名称
|
|
|
|
- * @param eventName // 事件名称
|
|
|
|
- * @param params // 需要传递的参数
|
|
|
|
- */
|
|
|
|
- broadcast: function broadcast(componentName, eventName, params) {
|
|
|
|
- _broadcast.call(this, componentName, eventName, params);
|
|
|
|
- } } };exports.default = _default;
|
|
|
|
-
|
|
|
|
-/***/ }),
|
|
|
|
-
|
|
|
|
/***/ 35:
|
|
/***/ 35:
|
|
/*!**********************************************************************!*\
|
|
/*!**********************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/addUnit.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/addUnit.js ***!
|
|
\**********************************************************************/
|
|
\**********************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -12035,7 +12032,7 @@ function addUnit() {var value = arguments.length > 0 && arguments[0] !== undefin
|
|
|
|
|
|
/***/ 36:
|
|
/***/ 36:
|
|
/*!*********************************************************************!*\
|
|
/*!*********************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/random.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/random.js ***!
|
|
\*********************************************************************/
|
|
\*********************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -12056,7 +12053,7 @@ random;exports.default = _default;
|
|
|
|
|
|
/***/ 37:
|
|
/***/ 37:
|
|
/*!*******************************************************************!*\
|
|
/*!*******************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/trim.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/trim.js ***!
|
|
\*******************************************************************/
|
|
\*******************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -12082,7 +12079,7 @@ trim;exports.default = _default;
|
|
|
|
|
|
/***/ 38:
|
|
/***/ 38:
|
|
/*!********************************************************************!*\
|
|
/*!********************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/toast.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/toast.js ***!
|
|
\********************************************************************/
|
|
\********************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -12103,7 +12100,7 @@ toast;exports.default = _default;
|
|
|
|
|
|
/***/ 39:
|
|
/***/ 39:
|
|
/*!************************************************************************!*\
|
|
/*!************************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/getParent.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/getParent.js ***!
|
|
\************************************************************************/
|
|
\************************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -12161,7 +12158,7 @@ function getParent(name, keys) {
|
|
|
|
|
|
/***/ 4:
|
|
/***/ 4:
|
|
/*!***********************************************!*\
|
|
/*!***********************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/pages.json ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/pages.json ***!
|
|
\***********************************************/
|
|
\***********************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports) {
|
|
/***/ (function(module, exports) {
|
|
@@ -12172,7 +12169,7 @@ function getParent(name, keys) {
|
|
|
|
|
|
/***/ 40:
|
|
/***/ 40:
|
|
/*!**********************************************************************!*\
|
|
/*!**********************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/$parent.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/$parent.js ***!
|
|
\**********************************************************************/
|
|
\**********************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -12201,7 +12198,7 @@ function $parent() {var name = arguments.length > 0 && arguments[0] !== undefine
|
|
|
|
|
|
/***/ 41:
|
|
/***/ 41:
|
|
/*!******************************************************************!*\
|
|
/*!******************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/sys.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/sys.js ***!
|
|
\******************************************************************/
|
|
\******************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -12218,9 +12215,49 @@ function sys() {
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 411:
|
|
|
|
|
|
+/***/ 42:
|
|
|
|
+/*!***********************************************************************!*\
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/debounce.js ***!
|
|
|
|
+ \***********************************************************************/
|
|
|
|
+/*! no static exports found */
|
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
+
|
|
|
|
+"use strict";
|
|
|
|
+Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var timeout = null;
|
|
|
|
+
|
|
|
|
+/**
|
|
|
|
+ * 防抖原理:一定时间内,只有最后一次操作,再过wait毫秒后才执行函数
|
|
|
|
+ *
|
|
|
|
+ * @param {Function} func 要执行的回调函数
|
|
|
|
+ * @param {Number} wait 延时的时间
|
|
|
|
+ * @param {Boolean} immediate 是否立即执行
|
|
|
|
+ * @return null
|
|
|
|
+ */
|
|
|
|
+function debounce(func) {var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
|
|
+ // 清除定时器
|
|
|
|
+ if (timeout !== null) clearTimeout(timeout);
|
|
|
|
+ // 立即执行,此类情况一般用不到
|
|
|
|
+ if (immediate) {
|
|
|
|
+ var callNow = !timeout;
|
|
|
|
+ timeout = setTimeout(function () {
|
|
|
|
+ timeout = null;
|
|
|
|
+ }, wait);
|
|
|
|
+ if (callNow) typeof func === 'function' && func();
|
|
|
|
+ } else {
|
|
|
|
+ // 设置定时器,当最后一次操作后,timeout不会再被清除,所以在延时wait毫秒后执行func回调方法
|
|
|
|
+ timeout = setTimeout(function () {
|
|
|
|
+ typeof func === 'function' && func();
|
|
|
|
+ }, wait);
|
|
|
|
+ }
|
|
|
|
+}var _default =
|
|
|
|
+
|
|
|
|
+debounce;exports.default = _default;
|
|
|
|
+
|
|
|
|
+/***/ }),
|
|
|
|
+
|
|
|
|
+/***/ 425:
|
|
/*!******************************************************************!*\
|
|
/*!******************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/components/uni-icons/icons.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/components/uni-icons/icons.js ***!
|
|
\******************************************************************/
|
|
\******************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -12360,49 +12397,9 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
|
|
|
|
|
|
/***/ }),
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 42:
|
|
|
|
-/*!***********************************************************************!*\
|
|
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/debounce.js ***!
|
|
|
|
- \***********************************************************************/
|
|
|
|
-/*! no static exports found */
|
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
-
|
|
|
|
-"use strict";
|
|
|
|
-Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var timeout = null;
|
|
|
|
-
|
|
|
|
-/**
|
|
|
|
- * 防抖原理:一定时间内,只有最后一次操作,再过wait毫秒后才执行函数
|
|
|
|
- *
|
|
|
|
- * @param {Function} func 要执行的回调函数
|
|
|
|
- * @param {Number} wait 延时的时间
|
|
|
|
- * @param {Boolean} immediate 是否立即执行
|
|
|
|
- * @return null
|
|
|
|
- */
|
|
|
|
-function debounce(func) {var wait = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;var immediate = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
|
|
- // 清除定时器
|
|
|
|
- if (timeout !== null) clearTimeout(timeout);
|
|
|
|
- // 立即执行,此类情况一般用不到
|
|
|
|
- if (immediate) {
|
|
|
|
- var callNow = !timeout;
|
|
|
|
- timeout = setTimeout(function () {
|
|
|
|
- timeout = null;
|
|
|
|
- }, wait);
|
|
|
|
- if (callNow) typeof func === 'function' && func();
|
|
|
|
- } else {
|
|
|
|
- // 设置定时器,当最后一次操作后,timeout不会再被清除,所以在延时wait毫秒后执行func回调方法
|
|
|
|
- timeout = setTimeout(function () {
|
|
|
|
- typeof func === 'function' && func();
|
|
|
|
- }, wait);
|
|
|
|
- }
|
|
|
|
-}var _default =
|
|
|
|
-
|
|
|
|
-debounce;exports.default = _default;
|
|
|
|
-
|
|
|
|
-/***/ }),
|
|
|
|
-
|
|
|
|
/***/ 43:
|
|
/***/ 43:
|
|
/*!***********************************************************************!*\
|
|
/*!***********************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/function/throttle.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/function/throttle.js ***!
|
|
\***********************************************************************/
|
|
\***********************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -12445,7 +12442,7 @@ throttle;exports.default = _default;
|
|
|
|
|
|
/***/ 44:
|
|
/***/ 44:
|
|
/*!*******************************************************************!*\
|
|
/*!*******************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/config/config.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/config/config.js ***!
|
|
\*******************************************************************/
|
|
\*******************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -12469,7 +12466,7 @@ var version = '1.7.3';var _default =
|
|
|
|
|
|
/***/ 45:
|
|
/***/ 45:
|
|
/*!*******************************************************************!*\
|
|
/*!*******************************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/uview-ui/libs/config/zIndex.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/uview-ui/libs/config/zIndex.js ***!
|
|
\*******************************************************************/
|
|
\*******************************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -12499,7 +12496,7 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.default =
|
|
|
|
|
|
/***/ 52:
|
|
/***/ 52:
|
|
/*!********************************************************!*\
|
|
/*!********************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/common/authorize.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/common/authorize.js ***!
|
|
\********************************************************/
|
|
\********************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
@@ -12687,7 +12684,7 @@ module.exports = {
|
|
|
|
|
|
/***/ 53:
|
|
/***/ 53:
|
|
/*!**************************************************!*\
|
|
/*!**************************************************!*\
|
|
- !*** C:/Users/26439/Desktop/mabao/common/md5.js ***!
|
|
|
|
|
|
+ !*** E:/.swdz/uni-app/baoma/mabao/common/md5.js ***!
|
|
\**************************************************/
|
|
\**************************************************/
|
|
/*! no static exports found */
|
|
/*! no static exports found */
|
|
/***/ (function(module, exports) {
|
|
/***/ (function(module, exports) {
|