|
|
@@ -1747,7 +1747,7 @@ function initData(vueOptions, context) {
|
|
|
try {
|
|
|
data = data.call(context); // 支持 Vue.prototype 上挂的数据
|
|
|
} catch (e) {
|
|
|
- if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"同城外卖商户端","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
+ if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"同城外卖商户端","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
|
|
|
}
|
|
|
}
|
|
|
@@ -8790,7 +8790,7 @@ function type(obj) {
|
|
|
|
|
|
function flushCallbacks$1(vm) {
|
|
|
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
|
|
|
- if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"同城外卖商户端","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
+ if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"同城外卖商户端","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
var mpInstance = vm.$scope;
|
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
|
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
|
|
|
@@ -8811,14 +8811,14 @@ function nextTick$1(vm, cb) {
|
|
|
//1.nextTick 之前 已 setData 且 setData 还未回调完成
|
|
|
//2.nextTick 之前存在 render watcher
|
|
|
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
|
|
|
- if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"同城外卖商户端","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
|
+ if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"同城外卖商户端","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
|
var mpInstance = vm.$scope;
|
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
|
|
']:nextVueTick');
|
|
|
}
|
|
|
return nextTick(cb, vm)
|
|
|
}else{
|
|
|
- if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"同城外卖商户端","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
|
+ if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"同城外卖商户端","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
|
var mpInstance$1 = vm.$scope;
|
|
|
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
|
|
|
']:nextMPTick');
|
|
|
@@ -8914,7 +8914,7 @@ var patch = function(oldVnode, vnode) {
|
|
|
});
|
|
|
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
|
|
|
if (Object.keys(diffData).length) {
|
|
|
- if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"同城外卖商户端","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
+ if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"同城外卖商户端","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
|
|
|
']差量更新',
|
|
|
JSON.stringify(diffData));
|
|
|
@@ -11555,128 +11555,6 @@ module.exports = runtime;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 469:
|
|
|
-/*!*******************************************************************************!*\
|
|
|
- !*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/util/province.js ***!
|
|
|
- \*******************************************************************************/
|
|
|
-/*! no static exports found */
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
-
|
|
|
-"use strict";
|
|
|
-
|
|
|
-
|
|
|
-Object.defineProperty(exports, "__esModule", {
|
|
|
- value: true
|
|
|
-});
|
|
|
-exports.default = void 0;
|
|
|
-var provinceData = [{
|
|
|
- "label": "北京市",
|
|
|
- "value": "11"
|
|
|
-}, {
|
|
|
- "label": "天津市",
|
|
|
- "value": "12"
|
|
|
-}, {
|
|
|
- "label": "河北省",
|
|
|
- "value": "13"
|
|
|
-}, {
|
|
|
- "label": "山西省",
|
|
|
- "value": "14"
|
|
|
-}, {
|
|
|
- "label": "内蒙古自治区",
|
|
|
- "value": "15"
|
|
|
-}, {
|
|
|
- "label": "辽宁省",
|
|
|
- "value": "21"
|
|
|
-}, {
|
|
|
- "label": "吉林省",
|
|
|
- "value": "22"
|
|
|
-}, {
|
|
|
- "label": "黑龙江省",
|
|
|
- "value": "23"
|
|
|
-}, {
|
|
|
- "label": "上海市",
|
|
|
- "value": "31"
|
|
|
-}, {
|
|
|
- "label": "江苏省",
|
|
|
- "value": "32"
|
|
|
-}, {
|
|
|
- "label": "浙江省",
|
|
|
- "value": "33"
|
|
|
-}, {
|
|
|
- "label": "安徽省",
|
|
|
- "value": "34"
|
|
|
-}, {
|
|
|
- "label": "福建省",
|
|
|
- "value": "35"
|
|
|
-}, {
|
|
|
- "label": "江西省",
|
|
|
- "value": "36"
|
|
|
-}, {
|
|
|
- "label": "山东省",
|
|
|
- "value": "37"
|
|
|
-}, {
|
|
|
- "label": "河南省",
|
|
|
- "value": "41"
|
|
|
-}, {
|
|
|
- "label": "湖北省",
|
|
|
- "value": "42"
|
|
|
-}, {
|
|
|
- "label": "湖南省",
|
|
|
- "value": "43"
|
|
|
-}, {
|
|
|
- "label": "广东省",
|
|
|
- "value": "44"
|
|
|
-}, {
|
|
|
- "label": "广西壮族自治区",
|
|
|
- "value": "45"
|
|
|
-}, {
|
|
|
- "label": "海南省",
|
|
|
- "value": "46"
|
|
|
-}, {
|
|
|
- "label": "重庆市",
|
|
|
- "value": "50"
|
|
|
-}, {
|
|
|
- "label": "四川省",
|
|
|
- "value": "51"
|
|
|
-}, {
|
|
|
- "label": "贵州省",
|
|
|
- "value": "52"
|
|
|
-}, {
|
|
|
- "label": "云南省",
|
|
|
- "value": "53"
|
|
|
-}, {
|
|
|
- "label": "西藏自治区",
|
|
|
- "value": "54"
|
|
|
-}, {
|
|
|
- "label": "陕西省",
|
|
|
- "value": "61"
|
|
|
-}, {
|
|
|
- "label": "甘肃省",
|
|
|
- "value": "62"
|
|
|
-}, {
|
|
|
- "label": "青海省",
|
|
|
- "value": "63"
|
|
|
-}, {
|
|
|
- "label": "宁夏回族自治区",
|
|
|
- "value": "64"
|
|
|
-}, {
|
|
|
- "label": "新疆维吾尔自治区",
|
|
|
- "value": "65"
|
|
|
-}, {
|
|
|
- "label": "台湾",
|
|
|
- "value": "66"
|
|
|
-}, {
|
|
|
- "label": "香港",
|
|
|
- "value": "67"
|
|
|
-}, {
|
|
|
- "label": "澳门",
|
|
|
- "value": "68"
|
|
|
-}];
|
|
|
-var _default = provinceData;
|
|
|
-exports.default = _default;
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
/***/ 47:
|
|
|
/*!*******************************************************************!*\
|
|
|
!*** ./node_modules/@babel/runtime/helpers/regeneratorRuntime.js ***!
|
|
|
@@ -11999,7 +11877,170 @@ module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.e
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 470:
|
|
|
+/***/ 48:
|
|
|
+/*!*****************************************************************!*\
|
|
|
+ !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
|
|
|
+ \*****************************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports) {
|
|
|
+
|
|
|
+function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
+ try {
|
|
|
+ var info = gen[key](arg);
|
|
|
+ var value = info.value;
|
|
|
+ } catch (error) {
|
|
|
+ reject(error);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (info.done) {
|
|
|
+ resolve(value);
|
|
|
+ } else {
|
|
|
+ Promise.resolve(value).then(_next, _throw);
|
|
|
+ }
|
|
|
+}
|
|
|
+function _asyncToGenerator(fn) {
|
|
|
+ return function () {
|
|
|
+ var self = this,
|
|
|
+ args = arguments;
|
|
|
+ return new Promise(function (resolve, reject) {
|
|
|
+ var gen = fn.apply(self, args);
|
|
|
+ function _next(value) {
|
|
|
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
|
+ }
|
|
|
+ function _throw(err) {
|
|
|
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
|
+ }
|
|
|
+ _next(undefined);
|
|
|
+ });
|
|
|
+ };
|
|
|
+}
|
|
|
+module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 486:
|
|
|
+/*!*******************************************************************************!*\
|
|
|
+ !*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/util/province.js ***!
|
|
|
+ \*******************************************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+"use strict";
|
|
|
+
|
|
|
+
|
|
|
+Object.defineProperty(exports, "__esModule", {
|
|
|
+ value: true
|
|
|
+});
|
|
|
+exports.default = void 0;
|
|
|
+var provinceData = [{
|
|
|
+ "label": "北京市",
|
|
|
+ "value": "11"
|
|
|
+}, {
|
|
|
+ "label": "天津市",
|
|
|
+ "value": "12"
|
|
|
+}, {
|
|
|
+ "label": "河北省",
|
|
|
+ "value": "13"
|
|
|
+}, {
|
|
|
+ "label": "山西省",
|
|
|
+ "value": "14"
|
|
|
+}, {
|
|
|
+ "label": "内蒙古自治区",
|
|
|
+ "value": "15"
|
|
|
+}, {
|
|
|
+ "label": "辽宁省",
|
|
|
+ "value": "21"
|
|
|
+}, {
|
|
|
+ "label": "吉林省",
|
|
|
+ "value": "22"
|
|
|
+}, {
|
|
|
+ "label": "黑龙江省",
|
|
|
+ "value": "23"
|
|
|
+}, {
|
|
|
+ "label": "上海市",
|
|
|
+ "value": "31"
|
|
|
+}, {
|
|
|
+ "label": "江苏省",
|
|
|
+ "value": "32"
|
|
|
+}, {
|
|
|
+ "label": "浙江省",
|
|
|
+ "value": "33"
|
|
|
+}, {
|
|
|
+ "label": "安徽省",
|
|
|
+ "value": "34"
|
|
|
+}, {
|
|
|
+ "label": "福建省",
|
|
|
+ "value": "35"
|
|
|
+}, {
|
|
|
+ "label": "江西省",
|
|
|
+ "value": "36"
|
|
|
+}, {
|
|
|
+ "label": "山东省",
|
|
|
+ "value": "37"
|
|
|
+}, {
|
|
|
+ "label": "河南省",
|
|
|
+ "value": "41"
|
|
|
+}, {
|
|
|
+ "label": "湖北省",
|
|
|
+ "value": "42"
|
|
|
+}, {
|
|
|
+ "label": "湖南省",
|
|
|
+ "value": "43"
|
|
|
+}, {
|
|
|
+ "label": "广东省",
|
|
|
+ "value": "44"
|
|
|
+}, {
|
|
|
+ "label": "广西壮族自治区",
|
|
|
+ "value": "45"
|
|
|
+}, {
|
|
|
+ "label": "海南省",
|
|
|
+ "value": "46"
|
|
|
+}, {
|
|
|
+ "label": "重庆市",
|
|
|
+ "value": "50"
|
|
|
+}, {
|
|
|
+ "label": "四川省",
|
|
|
+ "value": "51"
|
|
|
+}, {
|
|
|
+ "label": "贵州省",
|
|
|
+ "value": "52"
|
|
|
+}, {
|
|
|
+ "label": "云南省",
|
|
|
+ "value": "53"
|
|
|
+}, {
|
|
|
+ "label": "西藏自治区",
|
|
|
+ "value": "54"
|
|
|
+}, {
|
|
|
+ "label": "陕西省",
|
|
|
+ "value": "61"
|
|
|
+}, {
|
|
|
+ "label": "甘肃省",
|
|
|
+ "value": "62"
|
|
|
+}, {
|
|
|
+ "label": "青海省",
|
|
|
+ "value": "63"
|
|
|
+}, {
|
|
|
+ "label": "宁夏回族自治区",
|
|
|
+ "value": "64"
|
|
|
+}, {
|
|
|
+ "label": "新疆维吾尔自治区",
|
|
|
+ "value": "65"
|
|
|
+}, {
|
|
|
+ "label": "台湾",
|
|
|
+ "value": "66"
|
|
|
+}, {
|
|
|
+ "label": "香港",
|
|
|
+ "value": "67"
|
|
|
+}, {
|
|
|
+ "label": "澳门",
|
|
|
+ "value": "68"
|
|
|
+}];
|
|
|
+var _default = provinceData;
|
|
|
+exports.default = _default;
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 487:
|
|
|
/*!***************************************************************************!*\
|
|
|
!*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/util/city.js ***!
|
|
|
\***************************************************************************/
|
|
|
@@ -13120,7 +13161,7 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 471:
|
|
|
+/***/ 488:
|
|
|
/*!***************************************************************************!*\
|
|
|
!*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/util/area.js ***!
|
|
|
\***************************************************************************/
|
|
|
@@ -22239,47 +22280,6 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 48:
|
|
|
-/*!*****************************************************************!*\
|
|
|
- !*** ./node_modules/@babel/runtime/helpers/asyncToGenerator.js ***!
|
|
|
- \*****************************************************************/
|
|
|
-/*! no static exports found */
|
|
|
-/***/ (function(module, exports) {
|
|
|
-
|
|
|
-function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
|
- try {
|
|
|
- var info = gen[key](arg);
|
|
|
- var value = info.value;
|
|
|
- } catch (error) {
|
|
|
- reject(error);
|
|
|
- return;
|
|
|
- }
|
|
|
- if (info.done) {
|
|
|
- resolve(value);
|
|
|
- } else {
|
|
|
- Promise.resolve(value).then(_next, _throw);
|
|
|
- }
|
|
|
-}
|
|
|
-function _asyncToGenerator(fn) {
|
|
|
- return function () {
|
|
|
- var self = this,
|
|
|
- args = arguments;
|
|
|
- return new Promise(function (resolve, reject) {
|
|
|
- var gen = fn.apply(self, args);
|
|
|
- function _next(value) {
|
|
|
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
|
- }
|
|
|
- function _throw(err) {
|
|
|
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
|
- }
|
|
|
- _next(undefined);
|
|
|
- });
|
|
|
- };
|
|
|
-}
|
|
|
-module.exports = _asyncToGenerator, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
/***/ 49:
|
|
|
/*!*************************************************************************************!*\
|
|
|
!*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/function/timeFormat.js ***!
|
|
|
@@ -22440,75 +22440,6 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 507:
|
|
|
-/*!******************************************************************************!*\
|
|
|
- !*** E:/workSpace/app_moxuan_takeaway_shanghu/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;
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
/***/ 51:
|
|
|
/*!****************************************************************************************!*\
|
|
|
!*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/function/colorGradient.js ***!
|
|
|
@@ -22724,6 +22655,75 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
+/***/ 524:
|
|
|
+/*!******************************************************************************!*\
|
|
|
+ !*** E:/workSpace/app_moxuan_takeaway_shanghu/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;
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
/***/ 53:
|
|
|
/*!********************************************************************************!*\
|
|
|
!*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/function/color.js ***!
|
|
|
@@ -22827,7 +22827,61 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 543:
|
|
|
+/***/ 55:
|
|
|
+/*!**************************************************************************************!*\
|
|
|
+ !*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/function/randomArray.js ***!
|
|
|
+ \**************************************************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+"use strict";
|
|
|
+
|
|
|
+
|
|
|
+Object.defineProperty(exports, "__esModule", {
|
|
|
+ value: true
|
|
|
+});
|
|
|
+exports.default = void 0;
|
|
|
+// 打乱数组
|
|
|
+function randomArray() {
|
|
|
+ var array = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
|
+ // 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0
|
|
|
+ return array.sort(function () {
|
|
|
+ return Math.random() - 0.5;
|
|
|
+ });
|
|
|
+}
|
|
|
+var _default = randomArray;
|
|
|
+exports.default = _default;
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 56:
|
|
|
+/*!**********************************************************************************!*\
|
|
|
+ !*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/function/addUnit.js ***!
|
|
|
+ \**********************************************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+"use strict";
|
|
|
+
|
|
|
+
|
|
|
+var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
|
|
+Object.defineProperty(exports, "__esModule", {
|
|
|
+ value: true
|
|
|
+});
|
|
|
+exports.default = addUnit;
|
|
|
+var _test = _interopRequireDefault(__webpack_require__(/*! ./test.js */ 43));
|
|
|
+// 添加单位,如果有rpx,%,px等单位结尾或者值为auto,直接返回,否则加上rpx单位结尾
|
|
|
+function addUnit() {
|
|
|
+ var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'auto';
|
|
|
+ var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'rpx';
|
|
|
+ value = String(value);
|
|
|
+ // 用uView内置验证规则中的number判断是否为数值
|
|
|
+ return _test.default.number(value) ? "".concat(value).concat(unit) : value;
|
|
|
+}
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 560:
|
|
|
/*!**************************************************************************************!*\
|
|
|
!*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/util/async-validator.js ***!
|
|
|
\**************************************************************************************/
|
|
|
@@ -22862,7 +22916,7 @@ function _extends() {
|
|
|
var formatRegExp = /%[sdj%]/g;
|
|
|
var warning = function warning() {}; // don't print warning message when in production env or node runtime
|
|
|
|
|
|
-if (typeof process !== 'undefined' && Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"同城外卖商户端","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
|
|
|
+if (typeof process !== 'undefined' && Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"同城外卖商户端","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}) && "development" !== 'production' && typeof window !== 'undefined' && typeof document !== 'undefined') {
|
|
|
warning = function warning(type, errors) {
|
|
|
if (typeof console !== 'undefined' && console.warn) {
|
|
|
if (errors.every(function (e) {
|
|
|
@@ -24005,11 +24059,11 @@ Schema.warning = warning;
|
|
|
Schema.messages = messages;
|
|
|
var _default = Schema;
|
|
|
exports.default = _default;
|
|
|
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/node-libs-browser/mock/process.js */ 544)))
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/node-libs-browser/mock/process.js */ 561)))
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 544:
|
|
|
+/***/ 561:
|
|
|
/*!********************************************************!*\
|
|
|
!*** ./node_modules/node-libs-browser/mock/process.js ***!
|
|
|
\********************************************************/
|
|
|
@@ -24040,7 +24094,7 @@ exports.binding = function (name) {
|
|
|
var path;
|
|
|
exports.cwd = function () { return cwd };
|
|
|
exports.chdir = function (dir) {
|
|
|
- if (!path) path = __webpack_require__(/*! path */ 545);
|
|
|
+ if (!path) path = __webpack_require__(/*! path */ 562);
|
|
|
cwd = path.resolve(dir, cwd);
|
|
|
};
|
|
|
})();
|
|
|
@@ -24054,7 +24108,7 @@ exports.features = {};
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 545:
|
|
|
+/***/ 562:
|
|
|
/*!***********************************************!*\
|
|
|
!*** ./node_modules/path-browserify/index.js ***!
|
|
|
\***********************************************/
|
|
|
@@ -24364,61 +24418,7 @@ var substr = 'ab'.substr(-1) === 'b'
|
|
|
}
|
|
|
;
|
|
|
|
|
|
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 544)))
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
-/***/ 55:
|
|
|
-/*!**************************************************************************************!*\
|
|
|
- !*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/function/randomArray.js ***!
|
|
|
- \**************************************************************************************/
|
|
|
-/*! no static exports found */
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
-
|
|
|
-"use strict";
|
|
|
-
|
|
|
-
|
|
|
-Object.defineProperty(exports, "__esModule", {
|
|
|
- value: true
|
|
|
-});
|
|
|
-exports.default = void 0;
|
|
|
-// 打乱数组
|
|
|
-function randomArray() {
|
|
|
- var array = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
|
|
|
- // 原理是sort排序,Math.random()产生0<= x < 1之间的数,会导致x-0.05大于或者小于0
|
|
|
- return array.sort(function () {
|
|
|
- return Math.random() - 0.5;
|
|
|
- });
|
|
|
-}
|
|
|
-var _default = randomArray;
|
|
|
-exports.default = _default;
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
-/***/ 56:
|
|
|
-/*!**********************************************************************************!*\
|
|
|
- !*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/function/addUnit.js ***!
|
|
|
- \**********************************************************************************/
|
|
|
-/*! no static exports found */
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
-
|
|
|
-"use strict";
|
|
|
-
|
|
|
-
|
|
|
-var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
|
|
-Object.defineProperty(exports, "__esModule", {
|
|
|
- value: true
|
|
|
-});
|
|
|
-exports.default = addUnit;
|
|
|
-var _test = _interopRequireDefault(__webpack_require__(/*! ./test.js */ 43));
|
|
|
-// 添加单位,如果有rpx,%,px等单位结尾或者值为auto,直接返回,否则加上rpx单位结尾
|
|
|
-function addUnit() {
|
|
|
- var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'auto';
|
|
|
- var unit = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'rpx';
|
|
|
- value = String(value);
|
|
|
- // 用uView内置验证规则中的number判断是否为数值
|
|
|
- return _test.default.number(value) ? "".concat(value).concat(unit) : value;
|
|
|
-}
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 561)))
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
@@ -24630,7 +24630,81 @@ function $parent() {
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 616:
|
|
|
+/***/ 62:
|
|
|
+/*!******************************************************************************!*\
|
|
|
+ !*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/function/sys.js ***!
|
|
|
+ \******************************************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+"use strict";
|
|
|
+/* WEBPACK VAR INJECTION */(function(uni) {
|
|
|
+
|
|
|
+Object.defineProperty(exports, "__esModule", {
|
|
|
+ value: true
|
|
|
+});
|
|
|
+exports.os = os;
|
|
|
+exports.sys = sys;
|
|
|
+function os() {
|
|
|
+ return uni.getSystemInfoSync().platform;
|
|
|
+}
|
|
|
+;
|
|
|
+function sys() {
|
|
|
+ return uni.getSystemInfoSync();
|
|
|
+}
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 63:
|
|
|
+/*!***********************************************************************************!*\
|
|
|
+ !*** E:/workSpace/app_moxuan_takeaway_shanghu/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;
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 633:
|
|
|
/*!*************************************************************************************************!*\
|
|
|
!*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/components/u-parse/libs/MpHtmlParser.js ***!
|
|
|
\*************************************************************************************************/
|
|
|
@@ -24644,9 +24718,9 @@ function $parent() {
|
|
|
* @author JinYufeng
|
|
|
* @listens MIT
|
|
|
*/
|
|
|
-var cfg = __webpack_require__(/*! ./config.js */ 617),
|
|
|
+var cfg = __webpack_require__(/*! ./config.js */ 634),
|
|
|
blankChar = cfg.blankChar,
|
|
|
- CssHandler = __webpack_require__(/*! ./CssHandler.js */ 618),
|
|
|
+ CssHandler = __webpack_require__(/*! ./CssHandler.js */ 635),
|
|
|
windowWidth = uni.getSystemInfoSync().windowWidth;
|
|
|
var emoji;
|
|
|
function MpHtmlParser(data) {
|
|
|
@@ -25210,7 +25284,7 @@ module.exports = MpHtmlParser;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 617:
|
|
|
+/***/ 634:
|
|
|
/*!*******************************************************************************************!*\
|
|
|
!*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/components/u-parse/libs/config.js ***!
|
|
|
\*******************************************************************************************/
|
|
|
@@ -25292,14 +25366,14 @@ module.exports = cfg;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 618:
|
|
|
+/***/ 635:
|
|
|
/*!***********************************************************************************************!*\
|
|
|
!*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/components/u-parse/libs/CssHandler.js ***!
|
|
|
\***********************************************************************************************/
|
|
|
/*! no static exports found */
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
-var cfg = __webpack_require__(/*! ./config.js */ 617),
|
|
|
+var cfg = __webpack_require__(/*! ./config.js */ 634),
|
|
|
isLetter = function isLetter(c) {
|
|
|
return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z';
|
|
|
};
|
|
|
@@ -25398,80 +25472,6 @@ parser.prototype.Content = function () {
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 62:
|
|
|
-/*!******************************************************************************!*\
|
|
|
- !*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/function/sys.js ***!
|
|
|
- \******************************************************************************/
|
|
|
-/*! no static exports found */
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
-
|
|
|
-"use strict";
|
|
|
-/* WEBPACK VAR INJECTION */(function(uni) {
|
|
|
-
|
|
|
-Object.defineProperty(exports, "__esModule", {
|
|
|
- value: true
|
|
|
-});
|
|
|
-exports.os = os;
|
|
|
-exports.sys = sys;
|
|
|
-function os() {
|
|
|
- return uni.getSystemInfoSync().platform;
|
|
|
-}
|
|
|
-;
|
|
|
-function sys() {
|
|
|
- return uni.getSystemInfoSync();
|
|
|
-}
|
|
|
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
-/***/ 63:
|
|
|
-/*!***********************************************************************************!*\
|
|
|
- !*** E:/workSpace/app_moxuan_takeaway_shanghu/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;
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
/***/ 64:
|
|
|
/*!***********************************************************************************!*\
|
|
|
!*** E:/workSpace/app_moxuan_takeaway_shanghu/uview-ui/libs/function/throttle.js ***!
|