|
@@ -2741,7 +2741,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);
|
|
|
}
|
|
|
}
|
|
@@ -9761,7 +9761,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 + ']');
|
|
@@ -9782,14 +9782,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');
|
|
@@ -9885,7 +9885,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));
|
|
@@ -12062,7 +12062,7 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 441:
|
|
|
+/***/ 449:
|
|
|
/*!*************************************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/MpHtmlParser.js ***!
|
|
|
\*************************************************************************************/
|
|
@@ -12077,8 +12077,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports.default = void 0;
|
|
|
-var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 442));
|
|
|
-var _CssHandler = _interopRequireDefault(__webpack_require__(/*! ./CssHandler.js */ 443));
|
|
|
+var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 450));
|
|
|
+var _CssHandler = _interopRequireDefault(__webpack_require__(/*! ./CssHandler.js */ 451));
|
|
|
/**
|
|
|
* html 解析器
|
|
|
* @tutorial https://github.com/jin-yufeng/Parser
|
|
@@ -12652,7 +12652,72 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 442:
|
|
|
+/***/ 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/config.js ***!
|
|
|
\*******************************************************************************/
|
|
@@ -12742,7 +12807,7 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 443:
|
|
|
+/***/ 451:
|
|
|
/*!***********************************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/CssHandler.js ***!
|
|
|
\***********************************************************************************/
|
|
@@ -12757,7 +12822,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
value: true
|
|
|
});
|
|
|
exports.default = void 0;
|
|
|
-var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 442));
|
|
|
+var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 450));
|
|
|
var isLetter = function isLetter(c) {
|
|
|
return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z';
|
|
|
};
|
|
@@ -12857,71 +12922,6 @@ parser.prototype.Content = function () {
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 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;
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
/***/ 46:
|
|
|
/*!****************************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/colorGradient.js ***!
|
|
@@ -13137,7 +13137,56 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 479:
|
|
|
+/***/ 48:
|
|
|
+/*!********************************************************************!*\
|
|
|
+ !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/color.js ***!
|
|
|
+ \********************************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+"use strict";
|
|
|
+
|
|
|
+
|
|
|
+Object.defineProperty(exports, "__esModule", {
|
|
|
+ value: true
|
|
|
+});
|
|
|
+exports.default = void 0;
|
|
|
+// 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
|
|
|
+// 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
|
|
|
+var color = {
|
|
|
+ primary: "#2979ff",
|
|
|
+ primaryDark: "#2b85e4",
|
|
|
+ primaryDisabled: "#a0cfff",
|
|
|
+ primaryLight: "#ecf5ff",
|
|
|
+ bgColor: "#f3f4f6",
|
|
|
+ info: "#909399",
|
|
|
+ infoDark: "#82848a",
|
|
|
+ infoDisabled: "#c8c9cc",
|
|
|
+ infoLight: "#f4f4f5",
|
|
|
+ warning: "#ff9900",
|
|
|
+ warningDark: "#f29100",
|
|
|
+ warningDisabled: "#fcbd71",
|
|
|
+ warningLight: "#fdf6ec",
|
|
|
+ error: "#fa3534",
|
|
|
+ errorDark: "#dd6161",
|
|
|
+ errorDisabled: "#fab6b6",
|
|
|
+ errorLight: "#fef0f0",
|
|
|
+ success: "#19be6b",
|
|
|
+ successDark: "#18b566",
|
|
|
+ successDisabled: "#71d5a1",
|
|
|
+ successLight: "#dbf1e1",
|
|
|
+ mainColor: "#303133",
|
|
|
+ contentColor: "#606266",
|
|
|
+ tipsColor: "#909399",
|
|
|
+ lightColor: "#c0c4cc",
|
|
|
+ borderColor: "#e4e7ed"
|
|
|
+};
|
|
|
+var _default = color;
|
|
|
+exports.default = _default;
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 487:
|
|
|
/*!******************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/util/emitter.js ***!
|
|
|
\******************************************************************/
|
|
@@ -13208,56 +13257,7 @@ exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 48:
|
|
|
-/*!********************************************************************!*\
|
|
|
- !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/color.js ***!
|
|
|
- \********************************************************************/
|
|
|
-/*! no static exports found */
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
-
|
|
|
-"use strict";
|
|
|
-
|
|
|
-
|
|
|
-Object.defineProperty(exports, "__esModule", {
|
|
|
- value: true
|
|
|
-});
|
|
|
-exports.default = void 0;
|
|
|
-// 为了让用户能够自定义主题,会逐步弃用此文件,各颜色通过css提供
|
|
|
-// 为了给某些特殊场景使用和向后兼容,无需删除此文件(2020-06-20)
|
|
|
-var color = {
|
|
|
- primary: "#2979ff",
|
|
|
- primaryDark: "#2b85e4",
|
|
|
- primaryDisabled: "#a0cfff",
|
|
|
- primaryLight: "#ecf5ff",
|
|
|
- bgColor: "#f3f4f6",
|
|
|
- info: "#909399",
|
|
|
- infoDark: "#82848a",
|
|
|
- infoDisabled: "#c8c9cc",
|
|
|
- infoLight: "#f4f4f5",
|
|
|
- warning: "#ff9900",
|
|
|
- warningDark: "#f29100",
|
|
|
- warningDisabled: "#fcbd71",
|
|
|
- warningLight: "#fdf6ec",
|
|
|
- error: "#fa3534",
|
|
|
- errorDark: "#dd6161",
|
|
|
- errorDisabled: "#fab6b6",
|
|
|
- errorLight: "#fef0f0",
|
|
|
- success: "#19be6b",
|
|
|
- successDark: "#18b566",
|
|
|
- successDisabled: "#71d5a1",
|
|
|
- successLight: "#dbf1e1",
|
|
|
- mainColor: "#303133",
|
|
|
- contentColor: "#606266",
|
|
|
- tipsColor: "#909399",
|
|
|
- lightColor: "#c0c4cc",
|
|
|
- borderColor: "#e4e7ed"
|
|
|
-};
|
|
|
-var _default = color;
|
|
|
-exports.default = _default;
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
-/***/ 480:
|
|
|
+/***/ 488:
|
|
|
/*!**************************************************************************!*\
|
|
|
!*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/util/async-validator.js ***!
|
|
|
\**************************************************************************/
|
|
@@ -13292,7 +13292,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) {
|
|
@@ -14435,11 +14435,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 */ 481)))
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/node-libs-browser/mock/process.js */ 489)))
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 481:
|
|
|
+/***/ 489:
|
|
|
/*!********************************************************!*\
|
|
|
!*** ./node_modules/node-libs-browser/mock/process.js ***!
|
|
|
\********************************************************/
|
|
@@ -14470,7 +14470,7 @@ exports.binding = function (name) {
|
|
|
var path;
|
|
|
exports.cwd = function () { return cwd };
|
|
|
exports.chdir = function (dir) {
|
|
|
- if (!path) path = __webpack_require__(/*! path */ 482);
|
|
|
+ if (!path) path = __webpack_require__(/*! path */ 490);
|
|
|
cwd = path.resolve(dir, cwd);
|
|
|
};
|
|
|
})();
|
|
@@ -14484,7 +14484,61 @@ exports.features = {};
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 482:
|
|
|
+/***/ 49:
|
|
|
+/*!************************************************************************!*\
|
|
|
+ !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/type2icon.js ***!
|
|
|
+ \************************************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+"use strict";
|
|
|
+
|
|
|
+
|
|
|
+Object.defineProperty(exports, "__esModule", {
|
|
|
+ value: true
|
|
|
+});
|
|
|
+exports.default = void 0;
|
|
|
+/**
|
|
|
+ * 根据主题type值,获取对应的图标
|
|
|
+ * @param String type 主题名称,primary|info|error|warning|success
|
|
|
+ * @param String fill 是否使用fill填充实体的图标
|
|
|
+ */
|
|
|
+function type2icon() {
|
|
|
+ var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'success';
|
|
|
+ var fill = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
|
+ // 如果非预置值,默认为success
|
|
|
+ if (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';
|
|
|
+ var iconName = '';
|
|
|
+ // 目前(2019-12-12),info和primary使用同一个图标
|
|
|
+ switch (type) {
|
|
|
+ case 'primary':
|
|
|
+ iconName = 'info-circle';
|
|
|
+ break;
|
|
|
+ case 'info':
|
|
|
+ iconName = 'info-circle';
|
|
|
+ break;
|
|
|
+ case 'error':
|
|
|
+ iconName = 'close-circle';
|
|
|
+ break;
|
|
|
+ case 'warning':
|
|
|
+ iconName = 'error-circle';
|
|
|
+ break;
|
|
|
+ case 'success':
|
|
|
+ iconName = 'checkmark-circle';
|
|
|
+ break;
|
|
|
+ default:
|
|
|
+ iconName = 'checkmark-circle';
|
|
|
+ }
|
|
|
+ // 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的
|
|
|
+ if (fill) iconName += '-fill';
|
|
|
+ return iconName;
|
|
|
+}
|
|
|
+var _default = type2icon;
|
|
|
+exports.default = _default;
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 490:
|
|
|
/*!***********************************************!*\
|
|
|
!*** ./node_modules/path-browserify/index.js ***!
|
|
|
\***********************************************/
|
|
@@ -14794,61 +14848,7 @@ var substr = 'ab'.substr(-1) === 'b'
|
|
|
}
|
|
|
;
|
|
|
|
|
|
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 481)))
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
-/***/ 49:
|
|
|
-/*!************************************************************************!*\
|
|
|
- !*** E:/work/mdapp/uni_modules/vk-uview-ui/libs/function/type2icon.js ***!
|
|
|
- \************************************************************************/
|
|
|
-/*! no static exports found */
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
-
|
|
|
-"use strict";
|
|
|
-
|
|
|
-
|
|
|
-Object.defineProperty(exports, "__esModule", {
|
|
|
- value: true
|
|
|
-});
|
|
|
-exports.default = void 0;
|
|
|
-/**
|
|
|
- * 根据主题type值,获取对应的图标
|
|
|
- * @param String type 主题名称,primary|info|error|warning|success
|
|
|
- * @param String fill 是否使用fill填充实体的图标
|
|
|
- */
|
|
|
-function type2icon() {
|
|
|
- var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'success';
|
|
|
- var fill = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
|
|
|
- // 如果非预置值,默认为success
|
|
|
- if (['primary', 'info', 'error', 'warning', 'success'].indexOf(type) == -1) type = 'success';
|
|
|
- var iconName = '';
|
|
|
- // 目前(2019-12-12),info和primary使用同一个图标
|
|
|
- switch (type) {
|
|
|
- case 'primary':
|
|
|
- iconName = 'info-circle';
|
|
|
- break;
|
|
|
- case 'info':
|
|
|
- iconName = 'info-circle';
|
|
|
- break;
|
|
|
- case 'error':
|
|
|
- iconName = 'close-circle';
|
|
|
- break;
|
|
|
- case 'warning':
|
|
|
- iconName = 'error-circle';
|
|
|
- break;
|
|
|
- case 'success':
|
|
|
- iconName = 'checkmark-circle';
|
|
|
- break;
|
|
|
- default:
|
|
|
- iconName = 'checkmark-circle';
|
|
|
- }
|
|
|
- // 是否是实体类型,加上-fill,在icon组件库中,实体的类名是后面加-fill的
|
|
|
- if (fill) iconName += '-fill';
|
|
|
- return iconName;
|
|
|
-}
|
|
|
-var _default = type2icon;
|
|
|
-exports.default = _default;
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 489)))
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
@@ -15877,6 +15877,14 @@ var _default = {
|
|
|
apiestatelibdetail: function apiestatelibdetail(params) {
|
|
|
// 内部 各楼盘各平台佣金汇集 详情
|
|
|
return (0, _http.request)('api/estate/lib/detail', params, 'loading');
|
|
|
+ },
|
|
|
+ apideptstorelist: function apideptstorelist(params) {
|
|
|
+ // 渠道门店所有列表
|
|
|
+ return (0, _http.request)('api/dept/store/list', params, 'loading');
|
|
|
+ },
|
|
|
+ apideptstorecount: function apideptstorecount(params) {
|
|
|
+ // 渠道门店 品牌统计
|
|
|
+ return (0, _http.request)('api/dept/store/count', params, 'loading');
|
|
|
}
|
|
|
};
|
|
|
exports.default = _default;
|