|
@@ -2741,7 +2741,7 @@ function initData(vueOptions, context) {
|
|
|
try {
|
|
|
data = data.call(context); // 支持 Vue.prototype 上挂的数据
|
|
|
} catch (e) {
|
|
|
- if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
+ if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
|
|
|
}
|
|
|
}
|
|
@@ -4222,6 +4222,220 @@ module.exports = _createClass, module.exports.__esModule = true, module.exports[
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
+/***/ 246:
|
|
|
+/*!*******************************************************!*\
|
|
|
+ !*** E:/work/mdapp/node_modules/image-tools/index.js ***!
|
|
|
+ \*******************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+"use strict";
|
|
|
+/* WEBPACK VAR INJECTION */(function(wx) {
|
|
|
+
|
|
|
+var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
|
|
+Object.defineProperty(exports, "__esModule", {
|
|
|
+ value: true
|
|
|
+});
|
|
|
+exports.base64ToPath = base64ToPath;
|
|
|
+exports.pathToBase64 = pathToBase64;
|
|
|
+var _typeof2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/typeof */ 13));
|
|
|
+function getLocalFilePath(path) {
|
|
|
+ if (path.indexOf('_www') === 0 || path.indexOf('_doc') === 0 || path.indexOf('_documents') === 0 || path.indexOf('_downloads') === 0) {
|
|
|
+ return path;
|
|
|
+ }
|
|
|
+ if (path.indexOf('file://') === 0) {
|
|
|
+ return path;
|
|
|
+ }
|
|
|
+ if (path.indexOf('/storage/emulated/0/') === 0) {
|
|
|
+ return path;
|
|
|
+ }
|
|
|
+ if (path.indexOf('/') === 0) {
|
|
|
+ var localFilePath = plus.io.convertAbsoluteFileSystem(path);
|
|
|
+ if (localFilePath !== path) {
|
|
|
+ return localFilePath;
|
|
|
+ } else {
|
|
|
+ path = path.substr(1);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return '_www/' + path;
|
|
|
+}
|
|
|
+function dataUrlToBase64(str) {
|
|
|
+ var array = str.split(',');
|
|
|
+ return array[array.length - 1];
|
|
|
+}
|
|
|
+var index = 0;
|
|
|
+function getNewFileId() {
|
|
|
+ return Date.now() + String(index++);
|
|
|
+}
|
|
|
+function biggerThan(v1, v2) {
|
|
|
+ var v1Array = v1.split('.');
|
|
|
+ var v2Array = v2.split('.');
|
|
|
+ var update = false;
|
|
|
+ for (var index = 0; index < v2Array.length; index++) {
|
|
|
+ var diff = v1Array[index] - v2Array[index];
|
|
|
+ if (diff !== 0) {
|
|
|
+ update = diff > 0;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return update;
|
|
|
+}
|
|
|
+function pathToBase64(path) {
|
|
|
+ return new Promise(function (resolve, reject) {
|
|
|
+ if ((typeof window === "undefined" ? "undefined" : (0, _typeof2.default)(window)) === 'object' && 'document' in window) {
|
|
|
+ if (typeof FileReader === 'function') {
|
|
|
+ var xhr = new XMLHttpRequest();
|
|
|
+ xhr.open('GET', path, true);
|
|
|
+ xhr.responseType = 'blob';
|
|
|
+ xhr.onload = function () {
|
|
|
+ if (this.status === 200) {
|
|
|
+ var fileReader = new FileReader();
|
|
|
+ fileReader.onload = function (e) {
|
|
|
+ resolve(e.target.result);
|
|
|
+ };
|
|
|
+ fileReader.onerror = reject;
|
|
|
+ fileReader.readAsDataURL(this.response);
|
|
|
+ }
|
|
|
+ };
|
|
|
+ xhr.onerror = reject;
|
|
|
+ xhr.send();
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ var canvas = document.createElement('canvas');
|
|
|
+ var c2x = canvas.getContext('2d');
|
|
|
+ var img = new Image();
|
|
|
+ img.onload = function () {
|
|
|
+ canvas.width = img.width;
|
|
|
+ canvas.height = img.height;
|
|
|
+ c2x.drawImage(img, 0, 0);
|
|
|
+ resolve(canvas.toDataURL());
|
|
|
+ canvas.height = canvas.width = 0;
|
|
|
+ };
|
|
|
+ img.onerror = reject;
|
|
|
+ img.src = path;
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if ((typeof plus === "undefined" ? "undefined" : (0, _typeof2.default)(plus)) === 'object') {
|
|
|
+ plus.io.resolveLocalFileSystemURL(getLocalFilePath(path), function (entry) {
|
|
|
+ entry.file(function (file) {
|
|
|
+ var fileReader = new plus.io.FileReader();
|
|
|
+ fileReader.onload = function (data) {
|
|
|
+ resolve(data.target.result);
|
|
|
+ };
|
|
|
+ fileReader.onerror = function (error) {
|
|
|
+ reject(error);
|
|
|
+ };
|
|
|
+ fileReader.readAsDataURL(file);
|
|
|
+ }, function (error) {
|
|
|
+ reject(error);
|
|
|
+ });
|
|
|
+ }, function (error) {
|
|
|
+ reject(error);
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if ((typeof wx === "undefined" ? "undefined" : (0, _typeof2.default)(wx)) === 'object' && wx.canIUse('getFileSystemManager')) {
|
|
|
+ wx.getFileSystemManager().readFile({
|
|
|
+ filePath: path,
|
|
|
+ encoding: 'base64',
|
|
|
+ success: function success(res) {
|
|
|
+ resolve('data:image/png;base64,' + res.data);
|
|
|
+ },
|
|
|
+ fail: function fail(error) {
|
|
|
+ reject(error);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ reject(new Error('not support'));
|
|
|
+ });
|
|
|
+}
|
|
|
+function base64ToPath(base64) {
|
|
|
+ return new Promise(function (resolve, reject) {
|
|
|
+ if ((typeof window === "undefined" ? "undefined" : (0, _typeof2.default)(window)) === 'object' && 'document' in window) {
|
|
|
+ base64 = base64.split(',');
|
|
|
+ var type = base64[0].match(/:(.*?);/)[1];
|
|
|
+ var str = atob(base64[1]);
|
|
|
+ var n = str.length;
|
|
|
+ var array = new Uint8Array(n);
|
|
|
+ while (n--) {
|
|
|
+ array[n] = str.charCodeAt(n);
|
|
|
+ }
|
|
|
+ return resolve((window.URL || window.webkitURL).createObjectURL(new Blob([array], {
|
|
|
+ type: type
|
|
|
+ })));
|
|
|
+ }
|
|
|
+ var extName = base64.split(',')[0].match(/data\:\S+\/(\S+);/);
|
|
|
+ if (extName) {
|
|
|
+ extName = extName[1];
|
|
|
+ } else {
|
|
|
+ reject(new Error('base64 error'));
|
|
|
+ }
|
|
|
+ var fileName = getNewFileId() + '.' + extName;
|
|
|
+ if ((typeof plus === "undefined" ? "undefined" : (0, _typeof2.default)(plus)) === 'object') {
|
|
|
+ var basePath = '_doc';
|
|
|
+ var dirPath = 'uniapp_temp';
|
|
|
+ var filePath = basePath + '/' + dirPath + '/' + fileName;
|
|
|
+ if (!biggerThan(plus.os.name === 'Android' ? '1.9.9.80627' : '1.9.9.80472', plus.runtime.innerVersion)) {
|
|
|
+ plus.io.resolveLocalFileSystemURL(basePath, function (entry) {
|
|
|
+ entry.getDirectory(dirPath, {
|
|
|
+ create: true,
|
|
|
+ exclusive: false
|
|
|
+ }, function (entry) {
|
|
|
+ entry.getFile(fileName, {
|
|
|
+ create: true,
|
|
|
+ exclusive: false
|
|
|
+ }, function (entry) {
|
|
|
+ entry.createWriter(function (writer) {
|
|
|
+ writer.onwrite = function () {
|
|
|
+ resolve(filePath);
|
|
|
+ };
|
|
|
+ writer.onerror = reject;
|
|
|
+ writer.seek(0);
|
|
|
+ writer.writeAsBinary(dataUrlToBase64(base64));
|
|
|
+ }, reject);
|
|
|
+ }, reject);
|
|
|
+ }, reject);
|
|
|
+ }, reject);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ var bitmap = new plus.nativeObj.Bitmap(fileName);
|
|
|
+ bitmap.loadBase64Data(base64, function () {
|
|
|
+ bitmap.save(filePath, {}, function () {
|
|
|
+ bitmap.clear();
|
|
|
+ resolve(filePath);
|
|
|
+ }, function (error) {
|
|
|
+ bitmap.clear();
|
|
|
+ reject(error);
|
|
|
+ });
|
|
|
+ }, function (error) {
|
|
|
+ bitmap.clear();
|
|
|
+ reject(error);
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if ((typeof wx === "undefined" ? "undefined" : (0, _typeof2.default)(wx)) === 'object' && wx.canIUse('getFileSystemManager')) {
|
|
|
+ var filePath = wx.env.USER_DATA_PATH + '/' + fileName;
|
|
|
+ wx.getFileSystemManager().writeFile({
|
|
|
+ filePath: filePath,
|
|
|
+ data: dataUrlToBase64(base64),
|
|
|
+ encoding: 'base64',
|
|
|
+ success: function success() {
|
|
|
+ resolve(filePath);
|
|
|
+ },
|
|
|
+ fail: function fail(error) {
|
|
|
+ reject(error);
|
|
|
+ }
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ reject(new Error('not support'));
|
|
|
+ });
|
|
|
+}
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"]))
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
/***/ 25:
|
|
|
/*!******************************************************************************************!*\
|
|
|
!*** ./node_modules/@dcloudio/vue-cli-plugin-uni/packages/mp-vue/dist/mp.runtime.esm.js ***!
|
|
@@ -9761,7 +9975,7 @@ function type(obj) {
|
|
|
|
|
|
function flushCallbacks$1(vm) {
|
|
|
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
|
|
|
- if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
+ if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","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 + ']');
|
|
@@ -9782,14 +9996,14 @@ function nextTick$1(vm, cb) {
|
|
|
//1.nextTick 之前 已 setData 且 setData 还未回调完成
|
|
|
//2.nextTick 之前存在 render watcher
|
|
|
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
|
|
|
- if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
|
+ if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","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({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
|
+ if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
|
|
|
var mpInstance$1 = vm.$scope;
|
|
|
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
|
|
|
']:nextMPTick');
|
|
@@ -9885,7 +10099,7 @@ var patch = function(oldVnode, vnode) {
|
|
|
});
|
|
|
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
|
|
|
if (Object.keys(diffData).length) {
|
|
|
- if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
+ if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"房票科技","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
|
|
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
|
|
|
']差量更新',
|
|
|
JSON.stringify(diffData));
|
|
@@ -10314,7 +10528,7 @@ internalMixin(Vue);
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 296:
|
|
|
+/***/ 297:
|
|
|
/*!**************************************************!*\
|
|
|
!*** E:/work/mdapp/pages/estate/img/i_house.png ***!
|
|
|
\**************************************************/
|
|
@@ -10325,7 +10539,7 @@ module.exports = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACq
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 297:
|
|
|
+/***/ 298:
|
|
|
/*!************************************************!*\
|
|
|
!*** E:/work/mdapp/pages/estate/img/i_pos.png ***!
|
|
|
\************************************************/
|
|
@@ -12062,7 +12276,72 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 449:
|
|
|
+/***/ 45:
|
|
|
+/*!***********************************************************************!*\
|
|
|
+ !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/timeFrom.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 = void 0;
|
|
|
+var _timeFormat = _interopRequireDefault(__webpack_require__(/*! ../../libs/function/timeFormat.js */ 44));
|
|
|
+/**
|
|
|
+ * 时间戳转为多久之前
|
|
|
+ * @param String timestamp 时间戳
|
|
|
+ * @param String | Boolean format 如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;
|
|
|
+ * 如果为布尔值false,无论什么时间,都返回多久以前的格式
|
|
|
+ */
|
|
|
+function timeFrom() {
|
|
|
+ var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
|
+ var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
|
|
|
+ // 如果为null,则格式化当前时间
|
|
|
+ if (!dateTime) dateTime = Number(new Date());
|
|
|
+ // 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式
|
|
|
+ if (dateTime.toString().length == 10) dateTime *= 1000;
|
|
|
+ var timestamp = +new Date(Number(dateTime));
|
|
|
+ var timer = (Number(new Date()) - timestamp) / 1000;
|
|
|
+ // 如果小于5分钟,则返回"刚刚",其他以此类推
|
|
|
+ var tips = '';
|
|
|
+ switch (true) {
|
|
|
+ case timer < 300:
|
|
|
+ tips = '刚刚';
|
|
|
+ break;
|
|
|
+ case timer >= 300 && timer < 3600:
|
|
|
+ tips = parseInt(timer / 60) + '分钟前';
|
|
|
+ break;
|
|
|
+ case timer >= 3600 && timer < 86400:
|
|
|
+ tips = parseInt(timer / 3600) + '小时前';
|
|
|
+ break;
|
|
|
+ case timer >= 86400 && timer < 2592000:
|
|
|
+ tips = parseInt(timer / 86400) + '天前';
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ // 如果format为false,则无论什么时间戳,都显示xx之前
|
|
|
+ if (format === false) {
|
|
|
+ if (timer >= 2592000 && timer < 365 * 86400) {
|
|
|
+ tips = parseInt(timer / (86400 * 30)) + '个月前';
|
|
|
+ } else {
|
|
|
+ tips = parseInt(timer / (86400 * 365)) + '年前';
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ tips = (0, _timeFormat.default)(timestamp, format);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return tips;
|
|
|
+}
|
|
|
+var _default = timeFrom;
|
|
|
+exports.default = _default;
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 450:
|
|
|
/*!*************************************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/MpHtmlParser.js ***!
|
|
|
\*************************************************************************************/
|
|
@@ -12077,8 +12356,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports.default = void 0;
|
|
|
-var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 450));
|
|
|
-var _CssHandler = _interopRequireDefault(__webpack_require__(/*! ./CssHandler.js */ 451));
|
|
|
+var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 451));
|
|
|
+var _CssHandler = _interopRequireDefault(__webpack_require__(/*! ./CssHandler.js */ 452));
|
|
|
/**
|
|
|
* html 解析器
|
|
|
* @tutorial https://github.com/jin-yufeng/Parser
|
|
@@ -12652,72 +12931,7 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 45:
|
|
|
-/*!***********************************************************************!*\
|
|
|
- !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/timeFrom.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 = void 0;
|
|
|
-var _timeFormat = _interopRequireDefault(__webpack_require__(/*! ../../libs/function/timeFormat.js */ 44));
|
|
|
-/**
|
|
|
- * 时间戳转为多久之前
|
|
|
- * @param String timestamp 时间戳
|
|
|
- * @param String | Boolean format 如果为时间格式字符串,超出一定时间范围,返回固定的时间格式;
|
|
|
- * 如果为布尔值false,无论什么时间,都返回多久以前的格式
|
|
|
- */
|
|
|
-function timeFrom() {
|
|
|
- var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
|
- var format = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'yyyy-mm-dd';
|
|
|
- // 如果为null,则格式化当前时间
|
|
|
- if (!dateTime) dateTime = Number(new Date());
|
|
|
- // 如果dateTime长度为10或者13,则为秒和毫秒的时间戳,如果超过13位,则为其他的时间格式
|
|
|
- if (dateTime.toString().length == 10) dateTime *= 1000;
|
|
|
- var timestamp = +new Date(Number(dateTime));
|
|
|
- var timer = (Number(new Date()) - timestamp) / 1000;
|
|
|
- // 如果小于5分钟,则返回"刚刚",其他以此类推
|
|
|
- var tips = '';
|
|
|
- switch (true) {
|
|
|
- case timer < 300:
|
|
|
- tips = '刚刚';
|
|
|
- break;
|
|
|
- case timer >= 300 && timer < 3600:
|
|
|
- tips = parseInt(timer / 60) + '分钟前';
|
|
|
- break;
|
|
|
- case timer >= 3600 && timer < 86400:
|
|
|
- tips = parseInt(timer / 3600) + '小时前';
|
|
|
- break;
|
|
|
- case timer >= 86400 && timer < 2592000:
|
|
|
- tips = parseInt(timer / 86400) + '天前';
|
|
|
- break;
|
|
|
- default:
|
|
|
- // 如果format为false,则无论什么时间戳,都显示xx之前
|
|
|
- if (format === false) {
|
|
|
- if (timer >= 2592000 && timer < 365 * 86400) {
|
|
|
- tips = parseInt(timer / (86400 * 30)) + '个月前';
|
|
|
- } else {
|
|
|
- tips = parseInt(timer / (86400 * 365)) + '年前';
|
|
|
- }
|
|
|
- } else {
|
|
|
- tips = (0, _timeFormat.default)(timestamp, format);
|
|
|
- }
|
|
|
- }
|
|
|
- return tips;
|
|
|
-}
|
|
|
-var _default = timeFrom;
|
|
|
-exports.default = _default;
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
-/***/ 450:
|
|
|
+/***/ 451:
|
|
|
/*!*******************************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/config.js ***!
|
|
|
\*******************************************************************************/
|
|
@@ -12807,7 +13021,7 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 451:
|
|
|
+/***/ 452:
|
|
|
/*!***********************************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/CssHandler.js ***!
|
|
|
\***********************************************************************************/
|
|
@@ -12822,7 +13036,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports.default = void 0;
|
|
|
-var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 450));
|
|
|
+var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 451));
|
|
|
var isLetter = function isLetter(c) {
|
|
|
return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z';
|
|
|
};
|
|
@@ -13186,7 +13400,7 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 487:
|
|
|
+/***/ 488:
|
|
|
/*!******************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/util/emitter.js ***!
|
|
|
\******************************************************************/
|
|
@@ -13257,7 +13471,7 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 488:
|
|
|
+/***/ 489:
|
|
|
/*!**************************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/util/async-validator.js ***!
|
|
|
\**************************************************************************/
|
|
@@ -13292,7 +13506,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({"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') {
|
|
|
+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') {
|
|
|
warning = function warning(type, errors) {
|
|
|
if (typeof console !== 'undefined' && console.warn) {
|
|
|
if (errors.every(function (e) {
|
|
@@ -14435,52 +14649,7 @@ 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 */ 489)))
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
-/***/ 489:
|
|
|
-/*!********************************************************!*\
|
|
|
- !*** ./node_modules/node-libs-browser/mock/process.js ***!
|
|
|
- \********************************************************/
|
|
|
-/*! no static exports found */
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
-
|
|
|
-exports.nextTick = function nextTick(fn) {
|
|
|
- var args = Array.prototype.slice.call(arguments);
|
|
|
- args.shift();
|
|
|
- setTimeout(function () {
|
|
|
- fn.apply(null, args);
|
|
|
- }, 0);
|
|
|
-};
|
|
|
-
|
|
|
-exports.platform = exports.arch =
|
|
|
-exports.execPath = exports.title = 'browser';
|
|
|
-exports.pid = 1;
|
|
|
-exports.browser = true;
|
|
|
-exports.env = {};
|
|
|
-exports.argv = [];
|
|
|
-
|
|
|
-exports.binding = function (name) {
|
|
|
- throw new Error('No such module. (Possibly not yet loaded)')
|
|
|
-};
|
|
|
-
|
|
|
-(function () {
|
|
|
- var cwd = '/';
|
|
|
- var path;
|
|
|
- exports.cwd = function () { return cwd };
|
|
|
- exports.chdir = function (dir) {
|
|
|
- if (!path) path = __webpack_require__(/*! path */ 490);
|
|
|
- cwd = path.resolve(dir, cwd);
|
|
|
- };
|
|
|
-})();
|
|
|
-
|
|
|
-exports.exit = exports.kill =
|
|
|
-exports.umask = exports.dlopen =
|
|
|
-exports.uptime = exports.memoryUsage =
|
|
|
-exports.uvCounters = function() {};
|
|
|
-exports.features = {};
|
|
|
-
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/node-libs-browser/mock/process.js */ 490)))
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
@@ -14539,6 +14708,51 @@ exports.default = _default;
|
|
|
/***/ }),
|
|
|
|
|
|
/***/ 490:
|
|
|
+/*!********************************************************!*\
|
|
|
+ !*** ./node_modules/node-libs-browser/mock/process.js ***!
|
|
|
+ \********************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+exports.nextTick = function nextTick(fn) {
|
|
|
+ var args = Array.prototype.slice.call(arguments);
|
|
|
+ args.shift();
|
|
|
+ setTimeout(function () {
|
|
|
+ fn.apply(null, args);
|
|
|
+ }, 0);
|
|
|
+};
|
|
|
+
|
|
|
+exports.platform = exports.arch =
|
|
|
+exports.execPath = exports.title = 'browser';
|
|
|
+exports.pid = 1;
|
|
|
+exports.browser = true;
|
|
|
+exports.env = {};
|
|
|
+exports.argv = [];
|
|
|
+
|
|
|
+exports.binding = function (name) {
|
|
|
+ throw new Error('No such module. (Possibly not yet loaded)')
|
|
|
+};
|
|
|
+
|
|
|
+(function () {
|
|
|
+ var cwd = '/';
|
|
|
+ var path;
|
|
|
+ exports.cwd = function () { return cwd };
|
|
|
+ exports.chdir = function (dir) {
|
|
|
+ if (!path) path = __webpack_require__(/*! path */ 491);
|
|
|
+ cwd = path.resolve(dir, cwd);
|
|
|
+ };
|
|
|
+})();
|
|
|
+
|
|
|
+exports.exit = exports.kill =
|
|
|
+exports.umask = exports.dlopen =
|
|
|
+exports.uptime = exports.memoryUsage =
|
|
|
+exports.uvCounters = function() {};
|
|
|
+exports.features = {};
|
|
|
+
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 491:
|
|
|
/*!***********************************************!*\
|
|
|
!*** ./node_modules/path-browserify/index.js ***!
|
|
|
\***********************************************/
|
|
@@ -14848,7 +15062,7 @@ var substr = 'ab'.substr(-1) === 'b'
|
|
|
}
|
|
|
;
|
|
|
|
|
|
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 489)))
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 490)))
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
@@ -16034,6 +16248,18 @@ var _default = {
|
|
|
apitradesubtotal: function apitradesubtotal(params) {
|
|
|
// 成交审核 - 成交月度小计
|
|
|
return (0, _http.request)('api/trade/subtotal', params, 'loading');
|
|
|
+ },
|
|
|
+ apiactivitylist: function apiactivitylist(params) {
|
|
|
+ // 活动 列表
|
|
|
+ return (0, _http.request)('api/activity/list', params, 'loading');
|
|
|
+ },
|
|
|
+ apiactivityinfo: function apiactivityinfo(params) {
|
|
|
+ // 活动 详情
|
|
|
+ return (0, _http.request)('api/activity/info', params, 'loading');
|
|
|
+ },
|
|
|
+ apiactivityenroll: function apiactivityenroll(params) {
|
|
|
+ // 活动 报名
|
|
|
+ return (0, _http.request)('api/activity/enroll', params, 'loading');
|
|
|
}
|
|
|
};
|
|
|
exports.default = _default;
|