|
@@ -2461,7 +2461,7 @@ uni$1;exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 102:
|
|
|
+/***/ 103:
|
|
|
/*!**************************************!*\
|
|
|
!*** E:/fp/md/mdapp/utils/qrcode.js ***!
|
|
|
\**************************************/
|
|
@@ -5574,7 +5574,7 @@ if (hadRuntime) {
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 228:
|
|
|
+/***/ 229:
|
|
|
/*!**************************************************************************************!*\
|
|
|
!*** E:/fp/md/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/MpHtmlParser.js ***!
|
|
|
\**************************************************************************************/
|
|
@@ -5589,8 +5589,8 @@ if (hadRuntime) {
|
|
|
|
|
|
|
|
|
|
|
|
-var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 229));
|
|
|
-var _CssHandler = _interopRequireDefault(__webpack_require__(/*! ./CssHandler.js */ 230));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} /**
|
|
|
+var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 230));
|
|
|
+var _CssHandler = _interopRequireDefault(__webpack_require__(/*! ./CssHandler.js */ 231));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };} /**
|
|
|
* html 解析器
|
|
|
* @tutorial https://github.com/jin-yufeng/Parser
|
|
|
* @version 20201029
|
|
@@ -6167,7 +6167,69 @@ MpHtmlParser;exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 229:
|
|
|
+/***/ 23:
|
|
|
+/*!**************************************************************************!*\
|
|
|
+ !*** E:/fp/md/mdapp/uni_modules/vk-uview-ui/libs/function/timeFormat.js ***!
|
|
|
+ \**************************************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+"use strict";
|
|
|
+Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // padStart 的 polyfill,因为某些机型或情况,还无法支持es7的padStart,比如电脑版的微信小程序
|
|
|
+// 所以这里做一个兼容polyfill的兼容处理
|
|
|
+if (!String.prototype.padStart) {
|
|
|
+ // 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解
|
|
|
+ String.prototype.padStart = function (maxLength) {var fillString = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';
|
|
|
+ if (Object.prototype.toString.call(fillString) !== "[object String]") throw new TypeError(
|
|
|
+ 'fillString must be String');
|
|
|
+ var str = this;
|
|
|
+ // 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉
|
|
|
+ if (str.length >= maxLength) return String(str);
|
|
|
+
|
|
|
+ var fillLength = maxLength - str.length,
|
|
|
+ times = Math.ceil(fillLength / fillString.length);
|
|
|
+ while (times >>= 1) {
|
|
|
+ fillString += fillString;
|
|
|
+ if (times === 1) {
|
|
|
+ fillString += fillString;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ return fillString.slice(0, fillLength) + str;
|
|
|
+ };
|
|
|
+}
|
|
|
+
|
|
|
+// 其他更多是格式化有如下:
|
|
|
+// yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合
|
|
|
+function timeFormat() {var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;var fmt = 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 date = new Date(dateTime);
|
|
|
+ var ret;
|
|
|
+ var opt = {
|
|
|
+ "y+": date.getFullYear().toString(), // 年
|
|
|
+ "m+": (date.getMonth() + 1).toString(), // 月
|
|
|
+ "d+": date.getDate().toString(), // 日
|
|
|
+ "h+": date.getHours().toString(), // 时
|
|
|
+ "M+": date.getMinutes().toString(), // 分
|
|
|
+ "s+": date.getSeconds().toString() // 秒
|
|
|
+ // 有其他格式化字符需求可以继续添加,必须转化成字符串
|
|
|
+ };
|
|
|
+ for (var k in opt) {
|
|
|
+ ret = new RegExp("(" + k + ")").exec(fmt);
|
|
|
+ if (ret) {
|
|
|
+ fmt = fmt.replace(ret[1], ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, "0"));
|
|
|
+ };
|
|
|
+ };
|
|
|
+ return fmt;
|
|
|
+}var _default =
|
|
|
+
|
|
|
+timeFormat;exports.default = _default;
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 230:
|
|
|
/*!********************************************************************************!*\
|
|
|
!*** E:/fp/md/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/config.js ***!
|
|
|
\********************************************************************************/
|
|
@@ -6258,69 +6320,7 @@ cfg;exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 23:
|
|
|
-/*!**************************************************************************!*\
|
|
|
- !*** E:/fp/md/mdapp/uni_modules/vk-uview-ui/libs/function/timeFormat.js ***!
|
|
|
- \**************************************************************************/
|
|
|
-/*! no static exports found */
|
|
|
-/***/ (function(module, exports, __webpack_require__) {
|
|
|
-
|
|
|
-"use strict";
|
|
|
-Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0; // padStart 的 polyfill,因为某些机型或情况,还无法支持es7的padStart,比如电脑版的微信小程序
|
|
|
-// 所以这里做一个兼容polyfill的兼容处理
|
|
|
-if (!String.prototype.padStart) {
|
|
|
- // 为了方便表示这里 fillString 用了ES6 的默认参数,不影响理解
|
|
|
- String.prototype.padStart = function (maxLength) {var fillString = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ' ';
|
|
|
- if (Object.prototype.toString.call(fillString) !== "[object String]") throw new TypeError(
|
|
|
- 'fillString must be String');
|
|
|
- var str = this;
|
|
|
- // 返回 String(str) 这里是为了使返回的值是字符串字面量,在控制台中更符合直觉
|
|
|
- if (str.length >= maxLength) return String(str);
|
|
|
-
|
|
|
- var fillLength = maxLength - str.length,
|
|
|
- times = Math.ceil(fillLength / fillString.length);
|
|
|
- while (times >>= 1) {
|
|
|
- fillString += fillString;
|
|
|
- if (times === 1) {
|
|
|
- fillString += fillString;
|
|
|
- }
|
|
|
- }
|
|
|
- return fillString.slice(0, fillLength) + str;
|
|
|
- };
|
|
|
-}
|
|
|
-
|
|
|
-// 其他更多是格式化有如下:
|
|
|
-// yyyy:mm:dd|yyyy:mm|yyyy年mm月dd日|yyyy年mm月dd日 hh时MM分等,可自定义组合
|
|
|
-function timeFormat() {var dateTime = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;var fmt = 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 date = new Date(dateTime);
|
|
|
- var ret;
|
|
|
- var opt = {
|
|
|
- "y+": date.getFullYear().toString(), // 年
|
|
|
- "m+": (date.getMonth() + 1).toString(), // 月
|
|
|
- "d+": date.getDate().toString(), // 日
|
|
|
- "h+": date.getHours().toString(), // 时
|
|
|
- "M+": date.getMinutes().toString(), // 分
|
|
|
- "s+": date.getSeconds().toString() // 秒
|
|
|
- // 有其他格式化字符需求可以继续添加,必须转化成字符串
|
|
|
- };
|
|
|
- for (var k in opt) {
|
|
|
- ret = new RegExp("(" + k + ")").exec(fmt);
|
|
|
- if (ret) {
|
|
|
- fmt = fmt.replace(ret[1], ret[1].length == 1 ? opt[k] : opt[k].padStart(ret[1].length, "0"));
|
|
|
- };
|
|
|
- };
|
|
|
- return fmt;
|
|
|
-}var _default =
|
|
|
-
|
|
|
-timeFormat;exports.default = _default;
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
-/***/ 230:
|
|
|
+/***/ 231:
|
|
|
/*!************************************************************************************!*\
|
|
|
!*** E:/fp/md/mdapp/uni_modules/vk-uview-ui/components/u-parse/libs/CssHandler.js ***!
|
|
|
\************************************************************************************/
|
|
@@ -6328,7 +6328,7 @@ timeFormat;exports.default = _default;
|
|
|
/***/ (function(module, exports, __webpack_require__) {
|
|
|
|
|
|
"use strict";
|
|
|
-Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 229));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
|
|
|
+Object.defineProperty(exports, "__esModule", { value: true });exports.default = void 0;var _config = _interopRequireDefault(__webpack_require__(/*! ./config.js */ 230));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
|
|
|
var isLetter = function isLetter(c) {return c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z';};
|
|
|
|
|
|
function CssHandler(tagStyle) {
|
|
@@ -6685,7 +6685,7 @@ guid;exports.default = _default;
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 266:
|
|
|
+/***/ 267:
|
|
|
/*!*******************************************************************!*\
|
|
|
!*** E:/fp/md/mdapp/uni_modules/vk-uview-ui/libs/util/emitter.js ***!
|
|
|
\*******************************************************************/
|
|
@@ -6758,7 +6758,7 @@ function _broadcast(componentName, eventName, params) {
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 267:
|
|
|
+/***/ 268:
|
|
|
/*!***************************************************************************!*\
|
|
|
!*** E:/fp/md/mdapp/uni_modules/vk-uview-ui/libs/util/async-validator.js ***!
|
|
|
\***************************************************************************/
|
|
@@ -8121,11 +8121,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 */ 268)))
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/node-libs-browser/mock/process.js */ 269)))
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 268:
|
|
|
+/***/ 269:
|
|
|
/*!********************************************************!*\
|
|
|
!*** ./node_modules/node-libs-browser/mock/process.js ***!
|
|
|
\********************************************************/
|
|
@@ -8156,7 +8156,7 @@ exports.binding = function (name) {
|
|
|
var path;
|
|
|
exports.cwd = function () { return cwd };
|
|
|
exports.chdir = function (dir) {
|
|
|
- if (!path) path = __webpack_require__(/*! path */ 269);
|
|
|
+ if (!path) path = __webpack_require__(/*! path */ 270);
|
|
|
cwd = path.resolve(dir, cwd);
|
|
|
};
|
|
|
})();
|
|
@@ -8170,7 +8170,55 @@ exports.features = {};
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
|
-/***/ 269:
|
|
|
+/***/ 27:
|
|
|
+/*!*********************************************************************!*\
|
|
|
+ !*** E:/fp/md/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;
|
|
|
+
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 270:
|
|
|
/*!***********************************************!*\
|
|
|
!*** ./node_modules/path-browserify/index.js ***!
|
|
|
\***********************************************/
|
|
@@ -8480,55 +8528,7 @@ var substr = 'ab'.substr(-1) === 'b'
|
|
|
}
|
|
|
;
|
|
|
|
|
|
-/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 268)))
|
|
|
-
|
|
|
-/***/ }),
|
|
|
-
|
|
|
-/***/ 27:
|
|
|
-/*!*********************************************************************!*\
|
|
|
- !*** E:/fp/md/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;
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./../node-libs-browser/mock/process.js */ 269)))
|
|
|
|
|
|
/***/ }),
|
|
|
|
|
@@ -15897,6 +15897,60 @@ var confirmMsgFn = function confirmMsgFn(msgText, successBc, errorBc) {var title
|
|
|
|
|
|
|
|
|
|
|
|
+/***/ }),
|
|
|
+
|
|
|
+/***/ 94:
|
|
|
+/*!*************************************************!*\
|
|
|
+ !*** E:/fp/md/mdapp/js_sdk/xb-copy/uni-copy.js ***!
|
|
|
+ \*************************************************/
|
|
|
+/*! no static exports found */
|
|
|
+/***/ (function(module, exports, __webpack_require__) {
|
|
|
+
|
|
|
+"use strict";
|
|
|
+/* WEBPACK VAR INJECTION */(function(uni) {Object.defineProperty(exports, "__esModule", { value: true });exports.default = uniCopy;function uniCopy(_ref) {var content = _ref.content,_success = _ref.success,error = _ref.error;
|
|
|
+ if (!content) return error('复制的内容不能为空 !');
|
|
|
+ content = typeof content === 'string' ? content : content.toString(); // 复制内容,必须字符串,数字需要转换为字符串
|
|
|
+ /**
|
|
|
+ * 小程序端 和 app端的复制逻辑
|
|
|
+ */
|
|
|
+
|
|
|
+ uni.setClipboardData({
|
|
|
+ data: content,
|
|
|
+ success: function success() {
|
|
|
+ _success("复制成功~");
|
|
|
+ console.log('success');
|
|
|
+ },
|
|
|
+ fail: function fail() {
|
|
|
+ _success("复制失败~");
|
|
|
+ } });
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * H5端的复制逻辑
|
|
|
+ */
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+}
|
|
|
+/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 1)["default"]))
|
|
|
+
|
|
|
/***/ })
|
|
|
|
|
|
}]);
|