| | |
| | | return vm.$u.http.get('web/account/wxLogin', { |
| | | params: params |
| | | }); |
| | | }; // 登录 |
| | | }; // 登录 |
| | | var wxAuthPhone = function wxAuthPhone() { |
| | | var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| | | return vm.$u.http.post('web/account/wxAuthPhone', data); |
| | | }; // 登录 |
| | | }; // 授权手机号 |
| | | var applyForIdentity = function applyForIdentity() { |
| | | var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| | | return uni.$u.http.post('web/user/applyForIdentity', data); |
| | |
| | | }; // 取消接单 - 接单方 |
| | | var release = function release() { |
| | | var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| | | return vm.$u.http.post('web/orders/release', { |
| | | params: params |
| | | }); |
| | | return vm.$u.http.post('web/orders/release', data); |
| | | }; // 发布订单 - 发单方 |
| | | var updOrderData = function updOrderData() { |
| | | var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| | |
| | | params: params |
| | | }); |
| | | }; // 获取分类列表 |
| | | var logOff = function logOff() { |
| | | var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| | | return vm.$u.http.get('web/account/logOff', { |
| | | params: params |
| | | }); |
| | | }; // 退出登录 |
| | | var getPlatformAboutUs = function getPlatformAboutUs() { |
| | | var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| | | return vm.$u.http.get('web/user/getPlatformAboutUs', { |
| | | params: params |
| | | }); |
| | | }; // 获取系统配置 |
| | | var getTotal = function getTotal() { |
| | | var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| | | return vm.$u.http.post('web/orders/getTotal', data); |
| | | }; // 获取预计金额(分) |
| | | |
| | | var upload = function upload() { |
| | | var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {}; |
| | |
| | | updOrderData: updOrderData, |
| | | updateOrder: updateOrder, |
| | | getCategoryList: getCategoryList, |
| | | upload: upload |
| | | upload: upload, |
| | | getTotal: getTotal |
| | | }; |
| | | }; |
| | | var _default = { |
| | |
| | | |
| | | // 响应拦截器 |
| | | uni.$u.http.interceptors.response.use(function (response) { |
| | | console.log(response.data); |
| | | if (response.data.code === 5113) { |
| | | uni.navigateTo({ |
| | | uni.switchTab({ |
| | | url: '/pages/index/index' |
| | | }); |
| | | return; |
| | |
| | | /* 381 */, |
| | | /* 382 */, |
| | | /* 383 */, |
| | | /* 384 */ |
| | | /* 384 */, |
| | | /* 385 */, |
| | | /* 386 */, |
| | | /* 387 */, |
| | | /* 388 */, |
| | | /* 389 */, |
| | | /* 390 */, |
| | | /* 391 */, |
| | | /* 392 */ |
| | | /*!************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-icon/icons.js ***! |
| | | \************************************************************************************/ |
| | |
| | | exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 385 */ |
| | | /* 393 */ |
| | | /*!************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-icon/props.js ***! |
| | | \************************************************************************************/ |
| | |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 386 */, |
| | | /* 387 */, |
| | | /* 388 */, |
| | | /* 389 */, |
| | | /* 390 */, |
| | | /* 391 */, |
| | | /* 392 */, |
| | | /* 393 */ |
| | | /* 394 */, |
| | | /* 395 */, |
| | | /* 396 */, |
| | | /* 397 */, |
| | | /* 398 */, |
| | | /* 399 */, |
| | | /* 400 */, |
| | | /* 401 */ |
| | | /*!****************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-calendar/props.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 = void 0; |
| | | var _default = { |
| | | props: { |
| | | // 日历顶部标题 |
| | | title: { |
| | | type: String, |
| | | default: uni.$u.props.calendar.title |
| | | }, |
| | | // 是否显示标题 |
| | | showTitle: { |
| | | type: Boolean, |
| | | default: uni.$u.props.calendar.showTitle |
| | | }, |
| | | // 是否显示副标题 |
| | | showSubtitle: { |
| | | type: Boolean, |
| | | default: uni.$u.props.calendar.showSubtitle |
| | | }, |
| | | // 日期类型选择,single-选择单个日期,multiple-可以选择多个日期,range-选择日期范围 |
| | | mode: { |
| | | type: String, |
| | | default: uni.$u.props.calendar.mode |
| | | }, |
| | | // mode=range时,第一个日期底部的提示文字 |
| | | startText: { |
| | | type: String, |
| | | default: uni.$u.props.calendar.startText |
| | | }, |
| | | // mode=range时,最后一个日期底部的提示文字 |
| | | endText: { |
| | | type: String, |
| | | default: uni.$u.props.calendar.endText |
| | | }, |
| | | // 自定义列表 |
| | | customList: { |
| | | type: Array, |
| | | default: uni.$u.props.calendar.customList |
| | | }, |
| | | // 主题色,对底部按钮和选中日期有效 |
| | | color: { |
| | | type: String, |
| | | default: uni.$u.props.calendar.color |
| | | }, |
| | | // 最小的可选日期 |
| | | minDate: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.calendar.minDate |
| | | }, |
| | | // 最大可选日期 |
| | | maxDate: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.calendar.maxDate |
| | | }, |
| | | // 默认选中的日期,mode为multiple或range是必须为数组格式 |
| | | defaultDate: { |
| | | type: [Array, String, Date, null], |
| | | default: uni.$u.props.calendar.defaultDate |
| | | }, |
| | | // mode=multiple时,最多可选多少个日期 |
| | | maxCount: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.calendar.maxCount |
| | | }, |
| | | // 日期行高 |
| | | rowHeight: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.calendar.rowHeight |
| | | }, |
| | | // 日期格式化函数 |
| | | formatter: { |
| | | type: [Function, null], |
| | | default: uni.$u.props.calendar.formatter |
| | | }, |
| | | // 是否显示农历 |
| | | showLunar: { |
| | | type: Boolean, |
| | | default: uni.$u.props.calendar.showLunar |
| | | }, |
| | | // 是否显示月份背景色 |
| | | showMark: { |
| | | type: Boolean, |
| | | default: uni.$u.props.calendar.showMark |
| | | }, |
| | | // 确定按钮的文字 |
| | | confirmText: { |
| | | type: String, |
| | | default: uni.$u.props.calendar.confirmText |
| | | }, |
| | | // 确认按钮处于禁用状态时的文字 |
| | | confirmDisabledText: { |
| | | type: String, |
| | | default: uni.$u.props.calendar.confirmDisabledText |
| | | }, |
| | | // 是否显示日历弹窗 |
| | | show: { |
| | | type: Boolean, |
| | | default: uni.$u.props.calendar.show |
| | | }, |
| | | // 是否允许点击遮罩关闭日历 |
| | | closeOnClickOverlay: { |
| | | type: Boolean, |
| | | default: uni.$u.props.calendar.closeOnClickOverlay |
| | | }, |
| | | // 是否为只读状态,只读状态下禁止选择日期 |
| | | readonly: { |
| | | type: Boolean, |
| | | default: uni.$u.props.calendar.readonly |
| | | }, |
| | | // 是否展示确认按钮 |
| | | showConfirm: { |
| | | type: Boolean, |
| | | default: uni.$u.props.calendar.showConfirm |
| | | }, |
| | | // 日期区间最多可选天数,默认无限制,mode = range时有效 |
| | | maxRange: { |
| | | type: [Number, String], |
| | | default: uni.$u.props.calendar.maxRange |
| | | }, |
| | | // 范围选择超过最多可选天数时的提示文案,mode = range时有效 |
| | | rangePrompt: { |
| | | type: String, |
| | | default: uni.$u.props.calendar.rangePrompt |
| | | }, |
| | | // 范围选择超过最多可选天数时,是否展示提示文案,mode = range时有效 |
| | | showRangePrompt: { |
| | | type: Boolean, |
| | | default: uni.$u.props.calendar.showRangePrompt |
| | | }, |
| | | // 是否允许日期范围的起止时间为同一天,mode = range时有效 |
| | | allowSameDay: { |
| | | type: Boolean, |
| | | default: uni.$u.props.calendar.allowSameDay |
| | | }, |
| | | // 圆角值 |
| | | round: { |
| | | type: [Boolean, String, Number], |
| | | default: uni.$u.props.calendar.round |
| | | }, |
| | | // 最多展示月份数量 |
| | | monthNum: { |
| | | type: [Number, String], |
| | | default: 3 |
| | | } |
| | | } |
| | | }; |
| | | exports.default = _default; |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 402 */ |
| | | /*!***************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-calendar/util.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 _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11)); |
| | | var _toConsumableArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/toConsumableArray */ 18)); |
| | | function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } |
| | | function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } |
| | | var _default = { |
| | | methods: { |
| | | // 设置月份数据 |
| | | setMonth: function setMonth() { |
| | | var _this = this; |
| | | // 月初是周几 |
| | | var day = dayjs(this.date).date(1).day(); |
| | | var start = day == 0 ? 6 : day - 1; |
| | | |
| | | // 本月天数 |
| | | var days = dayjs(this.date).endOf('month').format('D'); |
| | | |
| | | // 上个月天数 |
| | | var prevDays = dayjs(this.date).endOf('month').subtract(1, 'month').format('D'); |
| | | |
| | | // 日期数据 |
| | | var arr = []; |
| | | // 清空表格 |
| | | this.month = []; |
| | | |
| | | // 添加上月数据 |
| | | arr.push.apply(arr, (0, _toConsumableArray2.default)(new Array(start).fill(1).map(function (e, i) { |
| | | var day = prevDays - start + i + 1; |
| | | return { |
| | | value: day, |
| | | disabled: true, |
| | | date: dayjs(_this.date).subtract(1, 'month').date(day).format('YYYY-MM-DD') |
| | | }; |
| | | }))); |
| | | |
| | | // 添加本月数据 |
| | | arr.push.apply(arr, (0, _toConsumableArray2.default)(new Array(days - 0).fill(1).map(function (e, i) { |
| | | var day = i + 1; |
| | | return { |
| | | value: day, |
| | | date: dayjs(_this.date).date(day).format('YYYY-MM-DD') |
| | | }; |
| | | }))); |
| | | |
| | | // 添加下个月 |
| | | arr.push.apply(arr, (0, _toConsumableArray2.default)(new Array(42 - days - start).fill(1).map(function (e, i) { |
| | | var day = i + 1; |
| | | return { |
| | | value: day, |
| | | disabled: true, |
| | | date: dayjs(_this.date).add(1, 'month').date(day).format('YYYY-MM-DD') |
| | | }; |
| | | }))); |
| | | |
| | | // 分割数组 |
| | | var _loop = function _loop(n) { |
| | | _this.month.push(arr.slice(n, n + 7).map(function (e, i) { |
| | | e.index = i + n; |
| | | |
| | | // 自定义信息 |
| | | var custom = _this.customList.find(function (c) { |
| | | return c.date == e.date; |
| | | }); |
| | | |
| | | // 农历 |
| | | if (_this.lunar) { |
| | | var _this$getLunar = _this.getLunar(e.date), |
| | | IDayCn = _this$getLunar.IDayCn, |
| | | IMonthCn = _this$getLunar.IMonthCn; |
| | | e.lunar = IDayCn == '初一' ? IMonthCn : IDayCn; |
| | | } |
| | | return _objectSpread(_objectSpread({}, e), custom); |
| | | })); |
| | | }; |
| | | for (var n = 0; n < arr.length; n += 7) { |
| | | _loop(n); |
| | | } |
| | | } |
| | | } |
| | | }; |
| | | exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 403 */ |
| | | /*!****************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/libs/util/dayjs.js ***! |
| | | \****************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | var __WEBPACK_AMD_DEFINE_FACTORY__, __WEBPACK_AMD_DEFINE_RESULT__;var _typeof = __webpack_require__(/*! @babel/runtime/helpers/typeof */ 13); |
| | | !function (t, e) { |
| | | ( false ? undefined : _typeof(exports)) === 'object' && typeof module !== 'undefined' ? module.exports = e() : true ? !(__WEBPACK_AMD_DEFINE_FACTORY__ = (e), |
| | | __WEBPACK_AMD_DEFINE_RESULT__ = (typeof __WEBPACK_AMD_DEFINE_FACTORY__ === 'function' ? |
| | | (__WEBPACK_AMD_DEFINE_FACTORY__.call(exports, __webpack_require__, exports, module)) : |
| | | __WEBPACK_AMD_DEFINE_FACTORY__), |
| | | __WEBPACK_AMD_DEFINE_RESULT__ !== undefined && (module.exports = __WEBPACK_AMD_DEFINE_RESULT__)) : undefined; |
| | | }(this, function () { |
| | | 'use strict'; |
| | | |
| | | var t = 'millisecond'; |
| | | var e = 'second'; |
| | | var n = 'minute'; |
| | | var r = 'hour'; |
| | | var i = 'day'; |
| | | var s = 'week'; |
| | | var u = 'month'; |
| | | var a = 'quarter'; |
| | | var o = 'year'; |
| | | var f = 'date'; |
| | | var h = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/; |
| | | var c = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g; |
| | | var d = { |
| | | name: 'en', |
| | | weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'), |
| | | months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_') |
| | | }; |
| | | var $ = function $(t, e, n) { |
| | | var r = String(t); |
| | | return !r || r.length >= e ? t : "".concat(Array(e + 1 - r.length).join(n)).concat(t); |
| | | }; |
| | | var l = { |
| | | s: $, |
| | | z: function z(t) { |
| | | var e = -t.utcOffset(); |
| | | var n = Math.abs(e); |
| | | var r = Math.floor(n / 60); |
| | | var i = n % 60; |
| | | return "".concat((e <= 0 ? '+' : '-') + $(r, 2, '0'), ":").concat($(i, 2, '0')); |
| | | }, |
| | | m: function t(e, n) { |
| | | if (e.date() < n.date()) return -t(n, e); |
| | | var r = 12 * (n.year() - e.year()) + (n.month() - e.month()); |
| | | var i = e.clone().add(r, u); |
| | | var s = n - i < 0; |
| | | var a = e.clone().add(r + (s ? -1 : 1), u); |
| | | return +(-(r + (n - i) / (s ? i - a : a - i)) || 0); |
| | | }, |
| | | a: function a(t) { |
| | | return t < 0 ? Math.ceil(t) || 0 : Math.floor(t); |
| | | }, |
| | | p: function p(h) { |
| | | return { |
| | | M: u, |
| | | y: o, |
| | | w: s, |
| | | d: i, |
| | | D: f, |
| | | h: r, |
| | | m: n, |
| | | s: e, |
| | | ms: t, |
| | | Q: a |
| | | }[h] || String(h || '').toLowerCase().replace(/s$/, ''); |
| | | }, |
| | | u: function u(t) { |
| | | return void 0 === t; |
| | | } |
| | | }; |
| | | var y = 'en'; |
| | | var M = {}; |
| | | M[y] = d; |
| | | var m = function m(t) { |
| | | return t instanceof S; |
| | | }; |
| | | var D = function D(t, e, n) { |
| | | var r; |
| | | if (!t) return y; |
| | | if (typeof t === 'string') M[t] && (r = t), e && (M[t] = e, r = t);else { |
| | | var _i = t.name; |
| | | M[_i] = t, r = _i; |
| | | } |
| | | return !n && r && (y = r), r || !n && y; |
| | | }; |
| | | var v = function v(t, e) { |
| | | if (m(t)) return t.clone(); |
| | | var n = _typeof(e) === 'object' ? e : {}; |
| | | return n.date = t, n.args = arguments, new S(n); |
| | | }; |
| | | var g = l; |
| | | g.l = D, g.i = m, g.w = function (t, e) { |
| | | return v(t, { |
| | | locale: e.$L, |
| | | utc: e.$u, |
| | | x: e.$x, |
| | | $offset: e.$offset |
| | | }); |
| | | }; |
| | | var S = function () { |
| | | function d(t) { |
| | | this.$L = D(t.locale, null, !0), this.parse(t); |
| | | } |
| | | var $ = d.prototype; |
| | | return $.parse = function (t) { |
| | | this.$d = function (t) { |
| | | var e = t.date; |
| | | var n = t.utc; |
| | | if (e === null) return new Date(NaN); |
| | | if (g.u(e)) return new Date(); |
| | | if (e instanceof Date) return new Date(e); |
| | | if (typeof e === 'string' && !/Z$/i.test(e)) { |
| | | var _r = e.match(h); |
| | | if (_r) { |
| | | var _i2 = _r[2] - 1 || 0; |
| | | var _s = (_r[7] || '0').substring(0, 3); |
| | | return n ? new Date(Date.UTC(_r[1], _i2, _r[3] || 1, _r[4] || 0, _r[5] || 0, _r[6] || 0, _s)) : new Date(_r[1], _i2, _r[3] || 1, _r[4] || 0, _r[5] || 0, _r[6] || 0, _s); |
| | | } |
| | | } |
| | | return new Date(e); |
| | | }(t), this.$x = t.x || {}, this.init(); |
| | | }, $.init = function () { |
| | | var t = this.$d; |
| | | this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds(); |
| | | }, $.$utils = function () { |
| | | return g; |
| | | }, $.isValid = function () { |
| | | return !(this.$d.toString() === 'Invalid Date'); |
| | | }, $.isSame = function (t, e) { |
| | | var n = v(t); |
| | | return this.startOf(e) <= n && n <= this.endOf(e); |
| | | }, $.isAfter = function (t, e) { |
| | | return v(t) < this.startOf(e); |
| | | }, $.isBefore = function (t, e) { |
| | | return this.endOf(e) < v(t); |
| | | }, $.$g = function (t, e, n) { |
| | | return g.u(t) ? this[e] : this.set(n, t); |
| | | }, $.unix = function () { |
| | | return Math.floor(this.valueOf() / 1e3); |
| | | }, $.valueOf = function () { |
| | | return this.$d.getTime(); |
| | | }, $.startOf = function (t, a) { |
| | | var h = this; |
| | | var c = !!g.u(a) || a; |
| | | var d = g.p(t); |
| | | var $ = function $(t, e) { |
| | | var n = g.w(h.$u ? Date.UTC(h.$y, e, t) : new Date(h.$y, e, t), h); |
| | | return c ? n : n.endOf(i); |
| | | }; |
| | | var l = function l(t, e) { |
| | | return g.w(h.toDate()[t].apply(h.toDate('s'), (c ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), h); |
| | | }; |
| | | var y = this.$W; |
| | | var M = this.$M; |
| | | var m = this.$D; |
| | | var D = "set".concat(this.$u ? 'UTC' : ''); |
| | | switch (d) { |
| | | case o: |
| | | return c ? $(1, 0) : $(31, 11); |
| | | case u: |
| | | return c ? $(1, M) : $(0, M + 1); |
| | | case s: |
| | | var v = this.$locale().weekStart || 0; |
| | | var S = (y < v ? y + 7 : y) - v; |
| | | return $(c ? m - S : m + (6 - S), M); |
| | | case i: |
| | | case f: |
| | | return l("".concat(D, "Hours"), 0); |
| | | case r: |
| | | return l("".concat(D, "Minutes"), 1); |
| | | case n: |
| | | return l("".concat(D, "Seconds"), 2); |
| | | case e: |
| | | return l("".concat(D, "Milliseconds"), 3); |
| | | default: |
| | | return this.clone(); |
| | | } |
| | | }, $.endOf = function (t) { |
| | | return this.startOf(t, !1); |
| | | }, $.$set = function (s, a) { |
| | | var h; |
| | | var c = g.p(s); |
| | | var d = "set".concat(this.$u ? 'UTC' : ''); |
| | | var $ = (h = {}, h[i] = "".concat(d, "Date"), h[f] = "".concat(d, "Date"), h[u] = "".concat(d, "Month"), h[o] = "".concat(d, "FullYear"), h[r] = "".concat(d, "Hours"), h[n] = "".concat(d, "Minutes"), h[e] = "".concat(d, "Seconds"), h[t] = "".concat(d, "Milliseconds"), h)[c]; |
| | | var l = c === i ? this.$D + (a - this.$W) : a; |
| | | if (c === u || c === o) { |
| | | var _y = this.clone().set(f, 1); |
| | | _y.$d[$](l), _y.init(), this.$d = _y.set(f, Math.min(this.$D, _y.daysInMonth())).$d; |
| | | } else $ && this.$d[$](l); |
| | | return this.init(), this; |
| | | }, $.set = function (t, e) { |
| | | return this.clone().$set(t, e); |
| | | }, $.get = function (t) { |
| | | return this[g.p(t)](); |
| | | }, $.add = function (t, a) { |
| | | var f; |
| | | var h = this; |
| | | t = Number(t); |
| | | var c = g.p(a); |
| | | var d = function d(e) { |
| | | var n = v(h); |
| | | return g.w(n.date(n.date() + Math.round(e * t)), h); |
| | | }; |
| | | if (c === u) return this.set(u, this.$M + t); |
| | | if (c === o) return this.set(o, this.$y + t); |
| | | if (c === i) return d(1); |
| | | if (c === s) return d(7); |
| | | var $ = (f = {}, f[n] = 6e4, f[r] = 36e5, f[e] = 1e3, f)[c] || 1; |
| | | var l = this.$d.getTime() + t * $; |
| | | return g.w(l, this); |
| | | }, $.subtract = function (t, e) { |
| | | return this.add(-1 * t, e); |
| | | }, $.format = function (t) { |
| | | var e = this; |
| | | if (!this.isValid()) return 'Invalid Date'; |
| | | var n = t || 'YYYY-MM-DDTHH:mm:ssZ'; |
| | | var r = g.z(this); |
| | | var i = this.$locale(); |
| | | var s = this.$H; |
| | | var u = this.$m; |
| | | var a = this.$M; |
| | | var o = i.weekdays; |
| | | var f = i.months; |
| | | var h = function h(t, r, i, s) { |
| | | return t && (t[r] || t(e, n)) || i[r].substr(0, s); |
| | | }; |
| | | var d = function d(t) { |
| | | return g.s(s % 12 || 12, t, '0'); |
| | | }; |
| | | var $ = i.meridiem || function (t, e, n) { |
| | | var r = t < 12 ? 'AM' : 'PM'; |
| | | return n ? r.toLowerCase() : r; |
| | | }; |
| | | var l = { |
| | | YY: String(this.$y).slice(-2), |
| | | YYYY: this.$y, |
| | | M: a + 1, |
| | | MM: g.s(a + 1, 2, '0'), |
| | | MMM: h(i.monthsShort, a, f, 3), |
| | | MMMM: h(f, a), |
| | | D: this.$D, |
| | | DD: g.s(this.$D, 2, '0'), |
| | | d: String(this.$W), |
| | | dd: h(i.weekdaysMin, this.$W, o, 2), |
| | | ddd: h(i.weekdaysShort, this.$W, o, 3), |
| | | dddd: o[this.$W], |
| | | H: String(s), |
| | | HH: g.s(s, 2, '0'), |
| | | h: d(1), |
| | | hh: d(2), |
| | | a: $(s, u, !0), |
| | | A: $(s, u, !1), |
| | | m: String(u), |
| | | mm: g.s(u, 2, '0'), |
| | | s: String(this.$s), |
| | | ss: g.s(this.$s, 2, '0'), |
| | | SSS: g.s(this.$ms, 3, '0'), |
| | | Z: r |
| | | }; |
| | | return n.replace(c, function (t, e) { |
| | | return e || l[t] || r.replace(':', ''); |
| | | }); |
| | | }, $.utcOffset = function () { |
| | | return 15 * -Math.round(this.$d.getTimezoneOffset() / 15); |
| | | }, $.diff = function (t, f, h) { |
| | | var c; |
| | | var d = g.p(f); |
| | | var $ = v(t); |
| | | var l = 6e4 * ($.utcOffset() - this.utcOffset()); |
| | | var y = this - $; |
| | | var M = g.m(this, $); |
| | | return M = (c = {}, c[o] = M / 12, c[u] = M, c[a] = M / 3, c[s] = (y - l) / 6048e5, c[i] = (y - l) / 864e5, c[r] = y / 36e5, c[n] = y / 6e4, c[e] = y / 1e3, c)[d] || y, h ? M : g.a(M); |
| | | }, $.daysInMonth = function () { |
| | | return this.endOf(u).$D; |
| | | }, $.$locale = function () { |
| | | return M[this.$L]; |
| | | }, $.locale = function (t, e) { |
| | | if (!t) return this.$L; |
| | | var n = this.clone(); |
| | | var r = D(t, e, !0); |
| | | return r && (n.$L = r), n; |
| | | }, $.clone = function () { |
| | | return g.w(this.$d, this); |
| | | }, $.toDate = function () { |
| | | return new Date(this.valueOf()); |
| | | }, $.toJSON = function () { |
| | | return this.isValid() ? this.toISOString() : null; |
| | | }, $.toISOString = function () { |
| | | return this.$d.toISOString(); |
| | | }, $.toString = function () { |
| | | return this.$d.toUTCString(); |
| | | }, d; |
| | | }(); |
| | | var p = S.prototype; |
| | | return v.prototype = p, [['$ms', t], ['$s', e], ['$m', n], ['$H', r], ['$W', i], ['$M', u], ['$y', o], ['$D', f]].forEach(function (t) { |
| | | p[t[1]] = function (e) { |
| | | return this.$g(e, t[0], t[1]); |
| | | }; |
| | | }), v.extend = function (t, e) { |
| | | return t.$i || (t(e, S, v), t.$i = !0), v; |
| | | }, v.locale = D, v.isDayjs = m, v.unix = function (t) { |
| | | return v(1e3 * t); |
| | | }, v.en = M[y], v.Ls = M, v.p = {}, v; |
| | | }); |
| | | |
| | | /***/ }), |
| | | /* 404 */ |
| | | /*!*******************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/libs/util/calendar.js ***! |
| | | \*******************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | |
| | | |
| | | Object.defineProperty(exports, "__esModule", { |
| | | value: true |
| | | }); |
| | | exports.default = void 0; |
| | | /** |
| | | * @1900-2100区间内的公历、农历互转 |
| | | * @charset UTF-8 |
| | | * @github https://github.com/jjonline/calendar.js |
| | | * @Author Jea杨(JJonline@JJonline.Cn) |
| | | * @Time 2014-7-21 |
| | | * @Time 2016-8-13 Fixed 2033hex、Attribution Annals |
| | | * @Time 2016-9-25 Fixed lunar LeapMonth Param Bug |
| | | * @Time 2017-7-24 Fixed use getTerm Func Param Error.use solar year,NOT lunar year |
| | | * @Version 1.0.3 |
| | | * @公历转农历:calendar.solar2lunar(1987,11,01); //[you can ignore params of prefix 0] |
| | | * @农历转公历:calendar.lunar2solar(1987,09,10); //[you can ignore params of prefix 0] |
| | | */ |
| | | /* eslint-disable */ |
| | | var calendar = { |
| | | /** |
| | | * 农历1900-2100的润大小信息表 |
| | | * @Array Of Property |
| | | * @return Hex |
| | | */ |
| | | lunarInfo: [0x04bd8, 0x04ae0, 0x0a570, 0x054d5, 0x0d260, 0x0d950, 0x16554, 0x056a0, 0x09ad0, 0x055d2, |
| | | // 1900-1909 |
| | | 0x04ae0, 0x0a5b6, 0x0a4d0, 0x0d250, 0x1d255, 0x0b540, 0x0d6a0, 0x0ada2, 0x095b0, 0x14977, |
| | | // 1910-1919 |
| | | 0x04970, 0x0a4b0, 0x0b4b5, 0x06a50, 0x06d40, 0x1ab54, 0x02b60, 0x09570, 0x052f2, 0x04970, |
| | | // 1920-1929 |
| | | 0x06566, 0x0d4a0, 0x0ea50, 0x06e95, 0x05ad0, 0x02b60, 0x186e3, 0x092e0, 0x1c8d7, 0x0c950, |
| | | // 1930-1939 |
| | | 0x0d4a0, 0x1d8a6, 0x0b550, 0x056a0, 0x1a5b4, 0x025d0, 0x092d0, 0x0d2b2, 0x0a950, 0x0b557, |
| | | // 1940-1949 |
| | | 0x06ca0, 0x0b550, 0x15355, 0x04da0, 0x0a5b0, 0x14573, 0x052b0, 0x0a9a8, 0x0e950, 0x06aa0, |
| | | // 1950-1959 |
| | | 0x0aea6, 0x0ab50, 0x04b60, 0x0aae4, 0x0a570, 0x05260, 0x0f263, 0x0d950, 0x05b57, 0x056a0, |
| | | // 1960-1969 |
| | | 0x096d0, 0x04dd5, 0x04ad0, 0x0a4d0, 0x0d4d4, 0x0d250, 0x0d558, 0x0b540, 0x0b6a0, 0x195a6, |
| | | // 1970-1979 |
| | | 0x095b0, 0x049b0, 0x0a974, 0x0a4b0, 0x0b27a, 0x06a50, 0x06d40, 0x0af46, 0x0ab60, 0x09570, |
| | | // 1980-1989 |
| | | 0x04af5, 0x04970, 0x064b0, 0x074a3, 0x0ea50, 0x06b58, 0x05ac0, 0x0ab60, 0x096d5, 0x092e0, |
| | | // 1990-1999 |
| | | 0x0c960, 0x0d954, 0x0d4a0, 0x0da50, 0x07552, 0x056a0, 0x0abb7, 0x025d0, 0x092d0, 0x0cab5, |
| | | // 2000-2009 |
| | | 0x0a950, 0x0b4a0, 0x0baa4, 0x0ad50, 0x055d9, 0x04ba0, 0x0a5b0, 0x15176, 0x052b0, 0x0a930, |
| | | // 2010-2019 |
| | | 0x07954, 0x06aa0, 0x0ad50, 0x05b52, 0x04b60, 0x0a6e6, 0x0a4e0, 0x0d260, 0x0ea65, 0x0d530, |
| | | // 2020-2029 |
| | | 0x05aa0, 0x076a3, 0x096d0, 0x04afb, 0x04ad0, 0x0a4d0, 0x1d0b6, 0x0d250, 0x0d520, 0x0dd45, |
| | | // 2030-2039 |
| | | 0x0b5a0, 0x056d0, 0x055b2, 0x049b0, 0x0a577, 0x0a4b0, 0x0aa50, 0x1b255, 0x06d20, 0x0ada0, |
| | | // 2040-2049 |
| | | /** Add By JJonline@JJonline.Cn**/ |
| | | 0x14b63, 0x09370, 0x049f8, 0x04970, 0x064b0, 0x168a6, 0x0ea50, 0x06b20, 0x1a6c4, 0x0aae0, |
| | | // 2050-2059 |
| | | 0x0a2e0, 0x0d2e3, 0x0c960, 0x0d557, 0x0d4a0, 0x0da50, 0x05d55, 0x056a0, 0x0a6d0, 0x055d4, |
| | | // 2060-2069 |
| | | 0x052d0, 0x0a9b8, 0x0a950, 0x0b4a0, 0x0b6a6, 0x0ad50, 0x055a0, 0x0aba4, 0x0a5b0, 0x052b0, |
| | | // 2070-2079 |
| | | 0x0b273, 0x06930, 0x07337, 0x06aa0, 0x0ad50, 0x14b55, 0x04b60, 0x0a570, 0x054e4, 0x0d160, |
| | | // 2080-2089 |
| | | 0x0e968, 0x0d520, 0x0daa0, 0x16aa6, 0x056d0, 0x04ae0, 0x0a9d4, 0x0a2d0, 0x0d150, 0x0f252, |
| | | // 2090-2099 |
| | | 0x0d520], |
| | | // 2100 |
| | | |
| | | /** |
| | | * 公历每个月份的天数普通表 |
| | | * @Array Of Property |
| | | * @return Number |
| | | */ |
| | | solarMonth: [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], |
| | | /** |
| | | * 天干地支之天干速查表 |
| | | * @Array Of Property trans["甲","乙","丙","丁","戊","己","庚","辛","壬","癸"] |
| | | * @return Cn string |
| | | */ |
| | | Gan: ["\u7532", "\u4E59", "\u4E19", "\u4E01", "\u620A", "\u5DF1", "\u5E9A", "\u8F9B", "\u58EC", "\u7678"], |
| | | /** |
| | | * 天干地支之地支速查表 |
| | | * @Array Of Property |
| | | * @trans["子","丑","寅","卯","辰","巳","午","未","申","酉","戌","亥"] |
| | | * @return Cn string |
| | | */ |
| | | Zhi: ["\u5B50", "\u4E11", "\u5BC5", "\u536F", "\u8FB0", "\u5DF3", "\u5348", "\u672A", "\u7533", "\u9149", "\u620C", "\u4EA5"], |
| | | /** |
| | | * 天干地支之地支速查表<=>生肖 |
| | | * @Array Of Property |
| | | * @trans["鼠","牛","虎","兔","龙","蛇","马","羊","猴","鸡","狗","猪"] |
| | | * @return Cn string |
| | | */ |
| | | Animals: ["\u9F20", "\u725B", "\u864E", "\u5154", "\u9F99", "\u86C7", "\u9A6C", "\u7F8A", "\u7334", "\u9E21", "\u72D7", "\u732A"], |
| | | /** |
| | | * 24节气速查表 |
| | | * @Array Of Property |
| | | * @trans["小寒","大寒","立春","雨水","惊蛰","春分","清明","谷雨","立夏","小满","芒种","夏至","小暑","大暑","立秋","处暑","白露","秋分","寒露","霜降","立冬","小雪","大雪","冬至"] |
| | | * @return Cn string |
| | | */ |
| | | solarTerm: ["\u5C0F\u5BD2", "\u5927\u5BD2", "\u7ACB\u6625", "\u96E8\u6C34", "\u60CA\u86F0", "\u6625\u5206", "\u6E05\u660E", "\u8C37\u96E8", "\u7ACB\u590F", "\u5C0F\u6EE1", "\u8292\u79CD", "\u590F\u81F3", "\u5C0F\u6691", "\u5927\u6691", "\u7ACB\u79CB", "\u5904\u6691", "\u767D\u9732", "\u79CB\u5206", "\u5BD2\u9732", "\u971C\u964D", "\u7ACB\u51AC", "\u5C0F\u96EA", "\u5927\u96EA", "\u51AC\u81F3"], |
| | | /** |
| | | * 1900-2100各年的24节气日期速查表 |
| | | * @Array Of Property |
| | | * @return 0x string For splice |
| | | */ |
| | | sTermInfo: ['9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd0b06bdb0722c965ce1cfcc920f', 'b027097bd097c36b0b6fc9274c91aa', '9778397bd19801ec9210c965cc920e', '97b6b97bd19801ec95f8c965cc920f', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd197c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bd09801d98082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec95f8c965cc920e', '97bcf97c3598082c95f8e1cfcc920f', '97bd097bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c3598082c95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf97c359801ec95f8c965cc920f', '97bd097bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd19801ec9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', '97b6b97bd19801ec95f8c965cc920f', '97bd07f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bd07f1487f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c965cc920e', '97bcf7f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b97bd19801ec9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c91aa', '97b6b97bd197c36c9210c9274c920e', '97bcf7f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '9778397bd097c36c9210c9274c920e', '97b6b7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c36b0b6fc9210c8dc2', '9778397bd097c36b0b70c9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9274c91aa', '97b6b7f0e47f531b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c91aa', '97b6b7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '9778397bd097c36b0b6fc9210c8dc2', '977837f0e37f149b0723b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f5307f595b0b0bc920fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc9210c8dc2', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd097c35b0b6fc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0b0bb0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14998082b0723b06bd', '7f07e7f0e37f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e397bd07f595b0b0bc920fb0722', '977837f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f595b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e37f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f1487f531b0b0bb0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e47f149b0723b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14998082b0723b06bd', '7f07e7f0e37f14998083b0787b0721', '7f0e27f0e47f531b0723b0b6fb0722', '7f0e37f0e366aa89801eb072297c35', '7ec967f0e37f14898082b0723b02d5', '7f07e7f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66aa89801e9808297c35', '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b0721', '7f07e7f0e47f531b0723b0b6fb0722', '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b0723b02d5', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e36665b66a449801e9808297c35', '665f67f0e37f14898082b072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e26665b66a449801e9808297c35', '665f67f0e37f1489801eb072297c35', '7ec967f0e37f14998082b0787b06bd', '7f07e7f0e47f531b0723b0b6fb0721', '7f0e27f1487f531b0b0bb0b6fb0722'], |
| | | /** |
| | | * 数字转中文速查表 |
| | | * @Array Of Property |
| | | * @trans ['日','一','二','三','四','五','六','七','八','九','十'] |
| | | * @return Cn string |
| | | */ |
| | | nStr1: ["\u65E5", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u4E03", "\u516B", "\u4E5D", "\u5341"], |
| | | /** |
| | | * 日期转农历称呼速查表 |
| | | * @Array Of Property |
| | | * @trans ['初','十','廿','卅'] |
| | | * @return Cn string |
| | | */ |
| | | nStr2: ["\u521D", "\u5341", "\u5EFF", "\u5345"], |
| | | /** |
| | | * 月份转农历称呼速查表 |
| | | * @Array Of Property |
| | | * @trans ['正','一','二','三','四','五','六','七','八','九','十','冬','腊'] |
| | | * @return Cn string |
| | | */ |
| | | nStr3: ["\u6B63", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u4E03", "\u516B", "\u4E5D", "\u5341", "\u51AC", "\u814A"], |
| | | /** |
| | | * 返回农历y年一整年的总天数 |
| | | * @param lunar Year |
| | | * @return Number |
| | | * @eg:var count = calendar.lYearDays(1987) ;//count=387 |
| | | */ |
| | | lYearDays: function lYearDays(y) { |
| | | var i; |
| | | var sum = 348; |
| | | for (i = 0x8000; i > 0x8; i >>= 1) { |
| | | sum += this.lunarInfo[y - 1900] & i ? 1 : 0; |
| | | } |
| | | return sum + this.leapDays(y); |
| | | }, |
| | | /** |
| | | * 返回农历y年闰月是哪个月;若y年没有闰月 则返回0 |
| | | * @param lunar Year |
| | | * @return Number (0-12) |
| | | * @eg:var leapMonth = calendar.leapMonth(1987) ;//leapMonth=6 |
| | | */ |
| | | leapMonth: function leapMonth(y) { |
| | | // 闰字编码 \u95f0 |
| | | return this.lunarInfo[y - 1900] & 0xf; |
| | | }, |
| | | /** |
| | | * 返回农历y年闰月的天数 若该年没有闰月则返回0 |
| | | * @param lunar Year |
| | | * @return Number (0、29、30) |
| | | * @eg:var leapMonthDay = calendar.leapDays(1987) ;//leapMonthDay=29 |
| | | */ |
| | | leapDays: function leapDays(y) { |
| | | if (this.leapMonth(y)) { |
| | | return this.lunarInfo[y - 1900] & 0x10000 ? 30 : 29; |
| | | } |
| | | return 0; |
| | | }, |
| | | /** |
| | | * 返回农历y年m月(非闰月)的总天数,计算m为闰月时的天数请使用leapDays方法 |
| | | * @param lunar Year |
| | | * @return Number (-1、29、30) |
| | | * @eg:var MonthDay = calendar.monthDays(1987,9) ;//MonthDay=29 |
| | | */ |
| | | monthDays: function monthDays(y, m) { |
| | | if (m > 12 || m < 1) { |
| | | return -1; |
| | | } // 月份参数从1至12,参数错误返回-1 |
| | | return this.lunarInfo[y - 1900] & 0x10000 >> m ? 30 : 29; |
| | | }, |
| | | /** |
| | | * 返回公历(!)y年m月的天数 |
| | | * @param solar Year |
| | | * @return Number (-1、28、29、30、31) |
| | | * @eg:var solarMonthDay = calendar.leapDays(1987) ;//solarMonthDay=30 |
| | | */ |
| | | solarDays: function solarDays(y, m) { |
| | | if (m > 12 || m < 1) { |
| | | return -1; |
| | | } // 若参数错误 返回-1 |
| | | var ms = m - 1; |
| | | if (ms == 1) { |
| | | // 2月份的闰平规律测算后确认返回28或29 |
| | | return y % 4 == 0 && y % 100 != 0 || y % 400 == 0 ? 29 : 28; |
| | | } else { |
| | | return this.solarMonth[ms]; |
| | | } |
| | | }, |
| | | /** |
| | | * 农历年份转换为干支纪年 |
| | | * @param lYear 农历年的年份数 |
| | | * @return Cn string |
| | | */ |
| | | toGanZhiYear: function toGanZhiYear(lYear) { |
| | | var ganKey = (lYear - 3) % 10; |
| | | var zhiKey = (lYear - 3) % 12; |
| | | if (ganKey == 0) ganKey = 10; // 如果余数为0则为最后一个天干 |
| | | if (zhiKey == 0) zhiKey = 12; // 如果余数为0则为最后一个地支 |
| | | return this.Gan[ganKey - 1] + this.Zhi[zhiKey - 1]; |
| | | }, |
| | | /** |
| | | * 公历月、日判断所属星座 |
| | | * @param cMonth [description] |
| | | * @param cDay [description] |
| | | * @return Cn string |
| | | */ |
| | | toAstro: function toAstro(cMonth, cDay) { |
| | | var s = "\u9B54\u7FAF\u6C34\u74F6\u53CC\u9C7C\u767D\u7F8A\u91D1\u725B\u53CC\u5B50\u5DE8\u87F9\u72EE\u5B50\u5904\u5973\u5929\u79E4\u5929\u874E\u5C04\u624B\u9B54\u7FAF"; |
| | | var arr = [20, 19, 21, 21, 21, 22, 23, 23, 23, 23, 22, 22]; |
| | | return s.substr(cMonth * 2 - (cDay < arr[cMonth - 1] ? 2 : 0), 2) + "\u5EA7"; // 座 |
| | | }, |
| | | |
| | | /** |
| | | * 传入offset偏移量返回干支 |
| | | * @param offset 相对甲子的偏移量 |
| | | * @return Cn string |
| | | */ |
| | | toGanZhi: function toGanZhi(offset) { |
| | | return this.Gan[offset % 10] + this.Zhi[offset % 12]; |
| | | }, |
| | | /** |
| | | * 传入公历(!)y年获得该年第n个节气的公历日期 |
| | | * @param y公历年(1900-2100);n二十四节气中的第几个节气(1~24);从n=1(小寒)算起 |
| | | * @return day Number |
| | | * @eg:var _24 = calendar.getTerm(1987,3) ;//_24=4;意即1987年2月4日立春 |
| | | */ |
| | | getTerm: function getTerm(y, n) { |
| | | if (y < 1900 || y > 2100) { |
| | | return -1; |
| | | } |
| | | if (n < 1 || n > 24) { |
| | | return -1; |
| | | } |
| | | var _table = this.sTermInfo[y - 1900]; |
| | | var _info = [parseInt('0x' + _table.substr(0, 5)).toString(), parseInt('0x' + _table.substr(5, 5)).toString(), parseInt('0x' + _table.substr(10, 5)).toString(), parseInt('0x' + _table.substr(15, 5)).toString(), parseInt('0x' + _table.substr(20, 5)).toString(), parseInt('0x' + _table.substr(25, 5)).toString()]; |
| | | var _calday = [_info[0].substr(0, 1), _info[0].substr(1, 2), _info[0].substr(3, 1), _info[0].substr(4, 2), _info[1].substr(0, 1), _info[1].substr(1, 2), _info[1].substr(3, 1), _info[1].substr(4, 2), _info[2].substr(0, 1), _info[2].substr(1, 2), _info[2].substr(3, 1), _info[2].substr(4, 2), _info[3].substr(0, 1), _info[3].substr(1, 2), _info[3].substr(3, 1), _info[3].substr(4, 2), _info[4].substr(0, 1), _info[4].substr(1, 2), _info[4].substr(3, 1), _info[4].substr(4, 2), _info[5].substr(0, 1), _info[5].substr(1, 2), _info[5].substr(3, 1), _info[5].substr(4, 2)]; |
| | | return parseInt(_calday[n - 1]); |
| | | }, |
| | | /** |
| | | * 传入农历数字月份返回汉语通俗表示法 |
| | | * @param lunar month |
| | | * @return Cn string |
| | | * @eg:var cnMonth = calendar.toChinaMonth(12) ;//cnMonth='腊月' |
| | | */ |
| | | toChinaMonth: function toChinaMonth(m) { |
| | | // 月 => \u6708 |
| | | if (m > 12 || m < 1) { |
| | | return -1; |
| | | } // 若参数错误 返回-1 |
| | | var s = this.nStr3[m - 1]; |
| | | s += "\u6708"; // 加上月字 |
| | | return s; |
| | | }, |
| | | /** |
| | | * 传入农历日期数字返回汉字表示法 |
| | | * @param lunar day |
| | | * @return Cn string |
| | | * @eg:var cnDay = calendar.toChinaDay(21) ;//cnMonth='廿一' |
| | | */ |
| | | toChinaDay: function toChinaDay(d) { |
| | | // 日 => \u65e5 |
| | | var s; |
| | | switch (d) { |
| | | case 10: |
| | | s = "\u521D\u5341"; |
| | | break; |
| | | case 20: |
| | | s = "\u4E8C\u5341"; |
| | | break; |
| | | break; |
| | | case 30: |
| | | s = "\u4E09\u5341"; |
| | | break; |
| | | break; |
| | | default: |
| | | s = this.nStr2[Math.floor(d / 10)]; |
| | | s += this.nStr1[d % 10]; |
| | | } |
| | | return s; |
| | | }, |
| | | /** |
| | | * 年份转生肖[!仅能大致转换] => 精确划分生肖分界线是“立春” |
| | | * @param y year |
| | | * @return Cn string |
| | | * @eg:var animal = calendar.getAnimal(1987) ;//animal='兔' |
| | | */ |
| | | getAnimal: function getAnimal(y) { |
| | | return this.Animals[(y - 4) % 12]; |
| | | }, |
| | | /** |
| | | * 传入阳历年月日获得详细的公历、农历object信息 <=>JSON |
| | | * @param y solar year |
| | | * @param m solar month |
| | | * @param d solar day |
| | | * @return JSON object |
| | | * @eg:console.log(calendar.solar2lunar(1987,11,01)); |
| | | */ |
| | | solar2lunar: function solar2lunar(y, m, d) { |
| | | // 参数区间1900.1.31~2100.12.31 |
| | | // 年份限定、上限 |
| | | if (y < 1900 || y > 2100) { |
| | | return -1; // undefined转换为数字变为NaN |
| | | } |
| | | // 公历传参最下限 |
| | | if (y == 1900 && m == 1 && d < 31) { |
| | | return -1; |
| | | } |
| | | // 未传参 获得当天 |
| | | if (!y) { |
| | | var objDate = new Date(); |
| | | } else { |
| | | var objDate = new Date(y, parseInt(m) - 1, d); |
| | | } |
| | | var i; |
| | | var leap = 0; |
| | | var temp = 0; |
| | | // 修正ymd参数 |
| | | var y = objDate.getFullYear(); |
| | | var m = objDate.getMonth() + 1; |
| | | var d = objDate.getDate(); |
| | | var offset = (Date.UTC(objDate.getFullYear(), objDate.getMonth(), objDate.getDate()) - Date.UTC(1900, 0, 31)) / 86400000; |
| | | for (i = 1900; i < 2101 && offset > 0; i++) { |
| | | temp = this.lYearDays(i); |
| | | offset -= temp; |
| | | } |
| | | if (offset < 0) { |
| | | offset += temp; |
| | | i--; |
| | | } |
| | | |
| | | // 是否今天 |
| | | var isTodayObj = new Date(); |
| | | var isToday = false; |
| | | if (isTodayObj.getFullYear() == y && isTodayObj.getMonth() + 1 == m && isTodayObj.getDate() == d) { |
| | | isToday = true; |
| | | } |
| | | // 星期几 |
| | | var nWeek = objDate.getDay(); |
| | | var cWeek = this.nStr1[nWeek]; |
| | | // 数字表示周几顺应天朝周一开始的惯例 |
| | | if (nWeek == 0) { |
| | | nWeek = 7; |
| | | } |
| | | // 农历年 |
| | | var year = i; |
| | | var leap = this.leapMonth(i); // 闰哪个月 |
| | | var isLeap = false; |
| | | |
| | | // 效验闰月 |
| | | for (i = 1; i < 13 && offset > 0; i++) { |
| | | // 闰月 |
| | | if (leap > 0 && i == leap + 1 && isLeap == false) { |
| | | --i; |
| | | isLeap = true; |
| | | temp = this.leapDays(year); // 计算农历闰月天数 |
| | | } else { |
| | | temp = this.monthDays(year, i); // 计算农历普通月天数 |
| | | } |
| | | // 解除闰月 |
| | | if (isLeap == true && i == leap + 1) { |
| | | isLeap = false; |
| | | } |
| | | offset -= temp; |
| | | } |
| | | // 闰月导致数组下标重叠取反 |
| | | if (offset == 0 && leap > 0 && i == leap + 1) { |
| | | if (isLeap) { |
| | | isLeap = false; |
| | | } else { |
| | | isLeap = true; |
| | | --i; |
| | | } |
| | | } |
| | | if (offset < 0) { |
| | | offset += temp; |
| | | --i; |
| | | } |
| | | // 农历月 |
| | | var month = i; |
| | | // 农历日 |
| | | var day = offset + 1; |
| | | // 天干地支处理 |
| | | var sm = m - 1; |
| | | var gzY = this.toGanZhiYear(year); |
| | | |
| | | // 当月的两个节气 |
| | | // bugfix-2017-7-24 11:03:38 use lunar Year Param `y` Not `year` |
| | | var firstNode = this.getTerm(y, m * 2 - 1); // 返回当月「节」为几日开始 |
| | | var secondNode = this.getTerm(y, m * 2); // 返回当月「节」为几日开始 |
| | | |
| | | // 依据12节气修正干支月 |
| | | var gzM = this.toGanZhi((y - 1900) * 12 + m + 11); |
| | | if (d >= firstNode) { |
| | | gzM = this.toGanZhi((y - 1900) * 12 + m + 12); |
| | | } |
| | | |
| | | // 传入的日期的节气与否 |
| | | var isTerm = false; |
| | | var Term = null; |
| | | if (firstNode == d) { |
| | | isTerm = true; |
| | | Term = this.solarTerm[m * 2 - 2]; |
| | | } |
| | | if (secondNode == d) { |
| | | isTerm = true; |
| | | Term = this.solarTerm[m * 2 - 1]; |
| | | } |
| | | // 日柱 当月一日与 1900/1/1 相差天数 |
| | | var dayCyclical = Date.UTC(y, sm, 1, 0, 0, 0, 0) / 86400000 + 25567 + 10; |
| | | var gzD = this.toGanZhi(dayCyclical + d - 1); |
| | | // 该日期所属的星座 |
| | | var astro = this.toAstro(m, d); |
| | | return { |
| | | 'lYear': year, |
| | | 'lMonth': month, |
| | | 'lDay': day, |
| | | 'Animal': this.getAnimal(year), |
| | | 'IMonthCn': (isLeap ? "\u95F0" : '') + this.toChinaMonth(month), |
| | | 'IDayCn': this.toChinaDay(day), |
| | | 'cYear': y, |
| | | 'cMonth': m, |
| | | 'cDay': d, |
| | | 'gzYear': gzY, |
| | | 'gzMonth': gzM, |
| | | 'gzDay': gzD, |
| | | 'isToday': isToday, |
| | | 'isLeap': isLeap, |
| | | 'nWeek': nWeek, |
| | | 'ncWeek': "\u661F\u671F" + cWeek, |
| | | 'isTerm': isTerm, |
| | | 'Term': Term, |
| | | 'astro': astro |
| | | }; |
| | | }, |
| | | /** |
| | | * 传入农历年月日以及传入的月份是否闰月获得详细的公历、农历object信息 <=>JSON |
| | | * @param y lunar year |
| | | * @param m lunar month |
| | | * @param d lunar day |
| | | * @param isLeapMonth lunar month is leap or not.[如果是农历闰月第四个参数赋值true即可] |
| | | * @return JSON object |
| | | * @eg:console.log(calendar.lunar2solar(1987,9,10)); |
| | | */ |
| | | lunar2solar: function lunar2solar(y, m, d, isLeapMonth) { |
| | | // 参数区间1900.1.31~2100.12.1 |
| | | var isLeapMonth = !!isLeapMonth; |
| | | var leapOffset = 0; |
| | | var leapMonth = this.leapMonth(y); |
| | | var leapDay = this.leapDays(y); |
| | | if (isLeapMonth && leapMonth != m) { |
| | | return -1; |
| | | } // 传参要求计算该闰月公历 但该年得出的闰月与传参的月份并不同 |
| | | if (y == 2100 && m == 12 && d > 1 || y == 1900 && m == 1 && d < 31) { |
| | | return -1; |
| | | } // 超出了最大极限值 |
| | | var day = this.monthDays(y, m); |
| | | var _day = day; |
| | | // bugFix 2016-9-25 |
| | | // if month is leap, _day use leapDays method |
| | | if (isLeapMonth) { |
| | | _day = this.leapDays(y, m); |
| | | } |
| | | if (y < 1900 || y > 2100 || d > _day) { |
| | | return -1; |
| | | } // 参数合法性效验 |
| | | |
| | | // 计算农历的时间差 |
| | | var offset = 0; |
| | | for (var i = 1900; i < y; i++) { |
| | | offset += this.lYearDays(i); |
| | | } |
| | | var leap = 0; |
| | | var isAdd = false; |
| | | for (var i = 1; i < m; i++) { |
| | | leap = this.leapMonth(y); |
| | | if (!isAdd) { |
| | | // 处理闰月 |
| | | if (leap <= i && leap > 0) { |
| | | offset += this.leapDays(y); |
| | | isAdd = true; |
| | | } |
| | | } |
| | | offset += this.monthDays(y, i); |
| | | } |
| | | // 转换闰月农历 需补充该年闰月的前一个月的时差 |
| | | if (isLeapMonth) { |
| | | offset += day; |
| | | } |
| | | // 1900年农历正月一日的公历时间为1900年1月30日0时0分0秒(该时间也是本农历的最开始起始点) |
| | | var stmap = Date.UTC(1900, 1, 30, 0, 0, 0); |
| | | var calObj = new Date((offset + d - 31) * 86400000 + stmap); |
| | | var cY = calObj.getUTCFullYear(); |
| | | var cM = calObj.getUTCMonth() + 1; |
| | | var cD = calObj.getUTCDate(); |
| | | return this.solar2lunar(cY, cM, cD); |
| | | } |
| | | }; |
| | | var _default = calendar; |
| | | exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 405 */, |
| | | /* 406 */, |
| | | /* 407 */, |
| | | /* 408 */, |
| | | /* 409 */, |
| | | /* 410 */, |
| | | /* 411 */, |
| | | /* 412 */ |
| | | /*!**************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-switch/props.js ***! |
| | | \**************************************************************************************/ |
| | |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 394 */, |
| | | /* 395 */, |
| | | /* 396 */, |
| | | /* 397 */, |
| | | /* 398 */, |
| | | /* 399 */, |
| | | /* 400 */, |
| | | /* 401 */ |
| | | /* 413 */, |
| | | /* 414 */, |
| | | /* 415 */, |
| | | /* 416 */, |
| | | /* 417 */, |
| | | /* 418 */, |
| | | /* 419 */, |
| | | /* 420 */ |
| | | /*!*****************************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/components/t-index-address/components/t-index-address/cities.json ***! |
| | | \*****************************************************************************************************/ |
| | |
| | | module.exports = JSON.parse("[{\"initial\":\"A\",\"list\":[{\"code\":\"1529\",\"name\":\"阿拉善盟\",\"provinceCode\":\"15\",\"province\":\"内蒙古自治区\",\"lat\":\"38.858275883056955\",\"lng\":\"105.73537746449358\"},{\"code\":\"2103\",\"name\":\"鞍山\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"41.11505359694933\",\"lng\":\"123.00137251399407\"},{\"code\":\"3408\",\"name\":\"安庆\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"30.53095656804304\",\"lng\":\"117.06360390491879\"},{\"code\":\"4105\",\"name\":\"安阳\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"36.10594098401491\",\"lng\":\"114.39950042177432\"},{\"code\":\"5132\",\"name\":\"阿坝藏族羌族自治州\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"32.9082209186247\",\"lng\":\"101.71360970816114\"},{\"code\":\"5204\",\"name\":\"安顺\",\"provinceCode\":\"52\",\"province\":\"贵州省\",\"lat\":\"26.25925237871499\",\"lng\":\"105.95441712388904\"},{\"code\":\"5425\",\"name\":\"阿里地区\",\"provinceCode\":\"54\",\"province\":\"西藏自治区\",\"lat\":\"32.50686601763335\",\"lng\":\"80.11277692192645\"},{\"code\":\"6109\",\"name\":\"安康\",\"provinceCode\":\"61\",\"province\":\"陕西省\",\"lat\":\"32.69051277057377\",\"lng\":\"109.03560108265746\"},{\"code\":\"6529\",\"name\":\"阿克苏地区\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"41.17502986007749\",\"lng\":\"80.26694348473501\"},{\"code\":\"6543\",\"name\":\"阿勒泰地区\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"47.85072787010195\",\"lng\":\"88.14792620373527\"}]},{\"initial\":\"B\",\"list\":[{\"code\":\"1101\",\"name\":\"北京\",\"provinceCode\":\"11\",\"province\":\"北京市\",\"lat\":\"39.910924547299565\",\"lng\":\"116.4133836971231\"},{\"code\":\"1306\",\"name\":\"保定\",\"provinceCode\":\"13\",\"province\":\"河北省\",\"lat\":\"38.87998776845534\",\"lng\":\"115.47146383768579\"},{\"code\":\"1502\",\"name\":\"包头\",\"provinceCode\":\"15\",\"province\":\"内蒙古自治区\",\"lat\":\"40.66292878826139\",\"lng\":\"109.84654350721243\"},{\"code\":\"1508\",\"name\":\"巴彦淖尔\",\"provinceCode\":\"15\",\"province\":\"内蒙古自治区\",\"lat\":\"40.7493594895728\",\"lng\":\"107.39439808372491\"},{\"code\":\"2105\",\"name\":\"本溪\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"41.49291646055291\",\"lng\":\"123.69250712420832\"},{\"code\":\"2206\",\"name\":\"白山\",\"provinceCode\":\"22\",\"province\":\"吉林省\",\"lat\":\"41.93962720532889\",\"lng\":\"126.42963008937573\"},{\"code\":\"2208\",\"name\":\"白城\",\"provinceCode\":\"22\",\"province\":\"吉林省\",\"lat\":\"45.62550435999602\",\"lng\":\"122.8455906084976\"},{\"code\":\"3403\",\"name\":\"蚌埠\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"32.921523704350825\",\"lng\":\"117.39551332813694\"},{\"code\":\"3416\",\"name\":\"亳州\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"33.850642695788835\",\"lng\":\"115.7844632112745\"},{\"code\":\"3716\",\"name\":\"滨州\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"37.3881961960769\",\"lng\":\"117.9774040171467\"},{\"code\":\"4505\",\"name\":\"北海\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"21.48683649576942\",\"lng\":\"109.126533212566\"},{\"code\":\"4510\",\"name\":\"百色\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"23.908185934295958\",\"lng\":\"106.62458932565383\"},{\"code\":\"5119\",\"name\":\"巴中\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"31.872888585956545\",\"lng\":\"106.7515853031645\"},{\"code\":\"5205\",\"name\":\"毕节\",\"provinceCode\":\"52\",\"province\":\"贵州省\",\"lat\":\"27.29021508342595\",\"lng\":\"105.2985887950112\"},{\"code\":\"5305\",\"name\":\"保山\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"25.139038793265964\",\"lng\":\"99.17727328581788\"},{\"code\":\"6103\",\"name\":\"宝鸡\",\"provinceCode\":\"61\",\"province\":\"陕西省\",\"lat\":\"34.36891564286998\",\"lng\":\"107.2445753670404\"},{\"code\":\"6204\",\"name\":\"白银\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"36.55082533041454\",\"lng\":\"104.1444508283435\"},{\"code\":\"6527\",\"name\":\"博尔塔拉蒙古自治州\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"44.9121964134647\",\"lng\":\"82.07291475827434\"},{\"code\":\"6528\",\"name\":\"巴音郭楞蒙古自治州\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"41.7702873304504\",\"lng\":\"86.1517138653326\"}]},{\"initial\":\"C\",\"list\":[{\"code\":\"1308\",\"name\":\"承德\",\"provinceCode\":\"13\",\"province\":\"河北省\",\"lat\":\"40.95785601233803\",\"lng\":\"117.96939750996681\"},{\"code\":\"1309\",\"name\":\"沧州\",\"provinceCode\":\"13\",\"province\":\"河北省\",\"lat\":\"38.310215141107044\",\"lng\":\"116.84558075595014\"},{\"code\":\"1404\",\"name\":\"长治\",\"provinceCode\":\"14\",\"province\":\"山西省\",\"lat\":\"36.2012683721548\",\"lng\":\"113.12255886984902\"},{\"code\":\"1504\",\"name\":\"赤峰\",\"provinceCode\":\"15\",\"province\":\"内蒙古自治区\",\"lat\":\"42.2616861034116\",\"lng\":\"118.8955203975195\"},{\"code\":\"2113\",\"name\":\"朝阳\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"41.57982086475567\",\"lng\":\"120.45749949793277\"},{\"code\":\"2201\",\"name\":\"长春\",\"provinceCode\":\"22\",\"province\":\"吉林省\",\"lat\":\"43.82195350104314\",\"lng\":\"125.3306020759069\"},{\"code\":\"3204\",\"name\":\"常州\",\"provinceCode\":\"32\",\"province\":\"江苏省\",\"lat\":\"31.815795653327836\",\"lng\":\"119.98148471327892\"},{\"code\":\"3411\",\"name\":\"滁州\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"32.26127087204081\",\"lng\":\"118.33940613596579\"},{\"code\":\"3417\",\"name\":\"池州\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"30.670883790764535\",\"lng\":\"117.49842096159624\"},{\"code\":\"4301\",\"name\":\"长沙\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"28.23488939994364\",\"lng\":\"112.94547319535287\"},{\"code\":\"4307\",\"name\":\"常德\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"29.037749999406877\",\"lng\":\"111.70545217995837\"},{\"code\":\"4310\",\"name\":\"郴州\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"25.776683273601865\",\"lng\":\"113.02146049909462\"},{\"code\":\"4451\",\"name\":\"潮州\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"23.662623192615886\",\"lng\":\"116.62947017362819\"},{\"code\":\"4514\",\"name\":\"崇左\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"22.383117234663302\",\"lng\":\"107.3715202061015\"},{\"code\":\"5101\",\"name\":\"成都\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"30.655821878416408\",\"lng\":\"104.08153351042463\"},{\"code\":\"5323\",\"name\":\"楚雄彝族自治州\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"25.051773565340376\",\"lng\":\"101.53441248050268\"},{\"code\":\"5403\",\"name\":\"昌都\",\"provinceCode\":\"54\",\"province\":\"西藏自治区\",\"lat\":\"31.14734654932703\",\"lng\":\"97.17958359408598\"},{\"code\":\"6523\",\"name\":\"昌吉回族自治州\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"44.01685415991987\",\"lng\":\"87.3150016244744\"}]},{\"initial\":\"D\",\"list\":[{\"code\":\"1402\",\"name\":\"大同\",\"provinceCode\":\"14\",\"province\":\"山西省\",\"lat\":\"40.0824687161612\",\"lng\":\"113.30643625858623\"},{\"code\":\"2102\",\"name\":\"大连\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"38.9189536667856\",\"lng\":\"121.62163148459285\"},{\"code\":\"2106\",\"name\":\"丹东\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"40.00640870559368\",\"lng\":\"124.36154728159079\"},{\"code\":\"2306\",\"name\":\"大庆\",\"provinceCode\":\"23\",\"province\":\"黑龙江省\",\"lat\":\"46.59363317672175\",\"lng\":\"125.10865763402039\"},{\"code\":\"2327\",\"name\":\"大兴安岭地区\",\"provinceCode\":\"23\",\"province\":\"黑龙江省\",\"lat\":\"50.42002595502784\",\"lng\":\"124.15292785448057\"},{\"code\":\"3705\",\"name\":\"东营\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"37.43964182632334\",\"lng\":\"118.68138493513693\"},{\"code\":\"3714\",\"name\":\"德州\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"37.441308454576266\",\"lng\":\"116.36555674397471\"},{\"code\":\"4419\",\"name\":\"东莞\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"23.02730841164339\",\"lng\":\"113.75842045787648\"},{\"code\":\"4604\",\"name\":\"儋州\",\"provinceCode\":\"46\",\"province\":\"海南省\",\"lat\":\"19.64278758232148\",\"lng\":\"109.1739880875565\"},{\"code\":\"5106\",\"name\":\"德阳\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"31.133115003656755\",\"lng\":\"104.40441936496448\"},{\"code\":\"5117\",\"name\":\"达州\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"31.214307723927455\",\"lng\":\"107.47459385897544\"},{\"code\":\"5329\",\"name\":\"大理白族自治州\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"25.59760490545194\",\"lng\":\"100.23651930044413\"},{\"code\":\"5331\",\"name\":\"德宏傣族景颇族自治州\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"24.438010702758117\",\"lng\":\"98.59135935611411\"},{\"code\":\"5334\",\"name\":\"迪庆藏族自治州\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"27.82518468364326\",\"lng\":\"99.70952999013957\"},{\"code\":\"6211\",\"name\":\"定西\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"35.586832926561875\",\"lng\":\"104.63242008306302\"}]},{\"initial\":\"E\",\"list\":[{\"code\":\"1506\",\"name\":\"鄂尔多斯\",\"provinceCode\":\"15\",\"province\":\"内蒙古自治区\",\"lat\":\"39.61448231394889\",\"lng\":\"109.78744317923602\"},{\"code\":\"4207\",\"name\":\"鄂州\",\"provinceCode\":\"42\",\"province\":\"湖北省\",\"lat\":\"30.39657217331699\",\"lng\":\"114.90160738827099\"},{\"code\":\"4228\",\"name\":\"恩施土家族苗族自治州\",\"provinceCode\":\"42\",\"province\":\"湖北省\",\"lat\":\"30.277939575301094\",\"lng\":\"109.49459261857503\"}]},{\"initial\":\"F\",\"list\":[{\"code\":\"2104\",\"name\":\"抚顺\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"41.88596959305694\",\"lng\":\"123.9643746156145\"},{\"code\":\"2109\",\"name\":\"阜新\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"42.02802190131842\",\"lng\":\"121.67640799865809\"},{\"code\":\"3412\",\"name\":\"阜阳\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"32.89606099485221\",\"lng\":\"115.82043612491321\"},{\"code\":\"3501\",\"name\":\"福州\",\"provinceCode\":\"35\",\"province\":\"福建省\",\"lat\":\"26.080429420698078\",\"lng\":\"119.30346983854001\"},{\"code\":\"3610\",\"name\":\"抚州\",\"provinceCode\":\"36\",\"province\":\"江西省\",\"lat\":\"27.954892253419565\",\"lng\":\"116.36453876864373\"},{\"code\":\"4406\",\"name\":\"佛山\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"23.02775875078891\",\"lng\":\"113.12851219549718\"},{\"code\":\"4506\",\"name\":\"防城港\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"21.6930052899694\",\"lng\":\"108.360418838298\"}]},{\"initial\":\"G\",\"list\":[{\"code\":\"3607\",\"name\":\"赣州\",\"provinceCode\":\"36\",\"province\":\"江西省\",\"lat\":\"25.835176103497655\",\"lng\":\"114.9405033729825\"},{\"code\":\"4401\",\"name\":\"广州\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"23.135336306695006\",\"lng\":\"113.27143134445974\"},{\"code\":\"4503\",\"name\":\"桂林\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"25.242885724872647\",\"lng\":\"110.20354537457943\"},{\"code\":\"4508\",\"name\":\"贵港\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"23.117448382037534\",\"lng\":\"109.60552031033306\"},{\"code\":\"5108\",\"name\":\"广元\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"32.44161630531542\",\"lng\":\"105.85042318166482\"},{\"code\":\"5116\",\"name\":\"广安\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"30.461746110678995\",\"lng\":\"106.63955268233484\"},{\"code\":\"5133\",\"name\":\"甘孜藏族自治州\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"30.05527884351838\",\"lng\":\"101.96854674579022\"},{\"code\":\"5201\",\"name\":\"贵阳\",\"provinceCode\":\"52\",\"province\":\"贵州省\",\"lat\":\"26.653324822309752\",\"lng\":\"106.63657676352776\"},{\"code\":\"6230\",\"name\":\"甘南藏族自治州\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"34.98913990996821\",\"lng\":\"102.91758468825803\"},{\"code\":\"6326\",\"name\":\"果洛藏族自治州\",\"provinceCode\":\"63\",\"province\":\"青海省\",\"lat\":\"34.4771938664709\",\"lng\":\"100.25159197879555\"},{\"code\":\"6404\",\"name\":\"固原\",\"provinceCode\":\"64\",\"province\":\"宁夏回族自治区\",\"lat\":\"36.02161725801098\",\"lng\":\"106.24857742607188\"}]},{\"initial\":\"H\",\"list\":[{\"code\":\"1304\",\"name\":\"邯郸\",\"provinceCode\":\"13\",\"province\":\"河北省\",\"lat\":\"36.631262731204046\",\"lng\":\"114.5456282282352\"},{\"code\":\"1311\",\"name\":\"衡水\",\"provinceCode\":\"13\",\"province\":\"河北省\",\"lat\":\"37.745191408077424\",\"lng\":\"115.6754061376161\"},{\"code\":\"1501\",\"name\":\"呼和浩特\",\"provinceCode\":\"15\",\"province\":\"内蒙古自治区\",\"lat\":\"40.84842299711348\",\"lng\":\"111.75550856170946\"},{\"code\":\"1507\",\"name\":\"呼伦贝尔\",\"provinceCode\":\"15\",\"province\":\"内蒙古自治区\",\"lat\":\"49.21844647556481\",\"lng\":\"119.77237049946636\"},{\"code\":\"2114\",\"name\":\"葫芦岛\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"40.71736443636189\",\"lng\":\"120.8433983399283\"},{\"code\":\"2301\",\"name\":\"哈尔滨\",\"provinceCode\":\"23\",\"province\":\"黑龙江省\",\"lat\":\"45.808825827952184\",\"lng\":\"126.54161509031663\"},{\"code\":\"2304\",\"name\":\"鹤岗\",\"provinceCode\":\"23\",\"province\":\"黑龙江省\",\"lat\":\"47.35605615768509\",\"lng\":\"130.3044328986694\"},{\"code\":\"2311\",\"name\":\"黑河\",\"provinceCode\":\"23\",\"province\":\"黑龙江省\",\"lat\":\"50.25127231175015\",\"lng\":\"127.53548988621854\"},{\"code\":\"3208\",\"name\":\"淮安\",\"provinceCode\":\"32\",\"province\":\"江苏省\",\"lat\":\"33.61629530103313\",\"lng\":\"119.02148367070623\"},{\"code\":\"3301\",\"name\":\"杭州\",\"provinceCode\":\"33\",\"province\":\"浙江省\",\"lat\":\"30.25308298169347\",\"lng\":\"120.21551180372168\"},{\"code\":\"3305\",\"name\":\"湖州\",\"provinceCode\":\"33\",\"province\":\"浙江省\",\"lat\":\"30.898963937294184\",\"lng\":\"120.09451660915789\"},{\"code\":\"3401\",\"name\":\"合肥\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"31.826577833686887\",\"lng\":\"117.23344266497664\"},{\"code\":\"3404\",\"name\":\"淮南\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"32.63184739905333\",\"lng\":\"117.00638885071616\"},{\"code\":\"3406\",\"name\":\"淮北\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"33.96165630027632\",\"lng\":\"116.8045372670298\"},{\"code\":\"3410\",\"name\":\"黄山\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"29.721889786591692\",\"lng\":\"118.34543725314781\"},{\"code\":\"3717\",\"name\":\"菏泽\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"35.23940742476551\",\"lng\":\"115.48754503343376\"},{\"code\":\"4106\",\"name\":\"鹤壁\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"35.7523574114\",\"lng\":\"114.30359364247649\"},{\"code\":\"4202\",\"name\":\"黄石\",\"provinceCode\":\"42\",\"province\":\"湖北省\",\"lat\":\"30.205207848941598\",\"lng\":\"115.04553290894361\"},{\"code\":\"4211\",\"name\":\"黄冈\",\"provinceCode\":\"42\",\"province\":\"湖北省\",\"lat\":\"30.4593588576181\",\"lng\":\"114.87849048410779\"},{\"code\":\"4304\",\"name\":\"衡阳\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"26.899576139189122\",\"lng\":\"112.57844721325992\"},{\"code\":\"4312\",\"name\":\"怀化\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"27.575160902978517\",\"lng\":\"110.00851426537254\"},{\"code\":\"4413\",\"name\":\"惠州\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"23.116358854725593\",\"lng\":\"114.4235580165817\"},{\"code\":\"4416\",\"name\":\"河源\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"23.749684370959752\",\"lng\":\"114.70744627290641\"},{\"code\":\"4511\",\"name\":\"贺州\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"24.409450902865487\",\"lng\":\"111.57352631416218\"},{\"code\":\"4512\",\"name\":\"河池\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"24.698911731272894\",\"lng\":\"108.09149994498661\"},{\"code\":\"4601\",\"name\":\"海口\",\"provinceCode\":\"46\",\"province\":\"海南省\",\"lat\":\"20.04404943925674\",\"lng\":\"110.32552547126409\"},{\"code\":\"5325\",\"name\":\"红河哈尼族彝族自治州\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"23.37448873836479\",\"lng\":\"102.42755057757\"},{\"code\":\"6107\",\"name\":\"汉中\",\"provinceCode\":\"61\",\"province\":\"陕西省\",\"lat\":\"33.073799907833795\",\"lng\":\"107.02943020926463\"},{\"code\":\"6302\",\"name\":\"海东\",\"provinceCode\":\"63\",\"province\":\"青海省\",\"lat\":\"36.508511080941304\",\"lng\":\"102.1104440722824\"},{\"code\":\"6322\",\"name\":\"海北藏族自治州\",\"provinceCode\":\"63\",\"province\":\"青海省\",\"lat\":\"36.96066282412982\",\"lng\":\"100.90743432145598\"},{\"code\":\"6323\",\"name\":\"黄南藏族自治州\",\"provinceCode\":\"63\",\"province\":\"青海省\",\"lat\":\"35.525804586515534\",\"lng\":\"102.02242827807585\"},{\"code\":\"6325\",\"name\":\"海南藏族自治州\",\"provinceCode\":\"63\",\"province\":\"青海省\",\"lat\":\"36.2921024798988\",\"lng\":\"100.62662114445924\"},{\"code\":\"6328\",\"name\":\"海西蒙古族藏族自治州\",\"provinceCode\":\"63\",\"province\":\"青海省\",\"lat\":\"37.38275046252745\",\"lng\":\"97.37629911601906\"},{\"code\":\"6505\",\"name\":\"哈密\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"42.82582436811265\",\"lng\":\"93.52121554028504\"},{\"code\":\"6532\",\"name\":\"和田地区\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"37.12044646304192\",\"lng\":\"79.9285070635119\"}]},{\"initial\":\"J\",\"list\":[{\"code\":\"1405\",\"name\":\"晋城\",\"provinceCode\":\"14\",\"province\":\"山西省\",\"lat\":\"35.49628458647257\",\"lng\":\"112.85857823132879\"},{\"code\":\"1407\",\"name\":\"晋中\",\"provinceCode\":\"14\",\"province\":\"山西省\",\"lat\":\"37.69283940975972\",\"lng\":\"112.75959475565928\"},{\"code\":\"2107\",\"name\":\"锦州\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"41.10093149946208\",\"lng\":\"121.13259630055518\"},{\"code\":\"2202\",\"name\":\"吉林\",\"provinceCode\":\"22\",\"province\":\"吉林省\",\"lat\":\"43.84356783457924\",\"lng\":\"126.55563450495482\"},{\"code\":\"2303\",\"name\":\"鸡西\",\"provinceCode\":\"23\",\"province\":\"黑龙江省\",\"lat\":\"45.300872317823895\",\"lng\":\"130.97561865876668\"},{\"code\":\"2308\",\"name\":\"佳木斯\",\"provinceCode\":\"23\",\"province\":\"黑龙江省\",\"lat\":\"46.80568999085779\",\"lng\":\"130.327359092573\"},{\"code\":\"3304\",\"name\":\"嘉兴\",\"provinceCode\":\"33\",\"province\":\"浙江省\",\"lat\":\"30.750974830920143\",\"lng\":\"120.76355182586005\"},{\"code\":\"3307\",\"name\":\"金华\",\"provinceCode\":\"33\",\"province\":\"浙江省\",\"lat\":\"29.084639385513697\",\"lng\":\"119.65343619052916\"},{\"code\":\"3602\",\"name\":\"景德镇\",\"provinceCode\":\"36\",\"province\":\"江西省\",\"lat\":\"29.274247711040953\",\"lng\":\"117.18457644638579\"},{\"code\":\"3604\",\"name\":\"九江\",\"provinceCode\":\"36\",\"province\":\"江西省\",\"lat\":\"29.711340559079343\",\"lng\":\"116.00753491163063\"},{\"code\":\"3608\",\"name\":\"吉安\",\"provinceCode\":\"36\",\"province\":\"江西省\",\"lat\":\"27.119726826070448\",\"lng\":\"115.00051072001253\"},{\"code\":\"3701\",\"name\":\"济南\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"36.65655420178723\",\"lng\":\"117.12639941261048\"},{\"code\":\"3708\",\"name\":\"济宁\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"35.420177394529645\",\"lng\":\"116.59361234853988\"},{\"code\":\"4108\",\"name\":\"焦作\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"35.22096325403899\",\"lng\":\"113.24854783457334\"},{\"code\":\"4208\",\"name\":\"荆门\",\"provinceCode\":\"42\",\"province\":\"湖北省\",\"lat\":\"31.041732575569622\",\"lng\":\"112.20639298023002\"},{\"code\":\"4210\",\"name\":\"荆州\",\"provinceCode\":\"42\",\"province\":\"湖北省\",\"lat\":\"30.340842107742912\",\"lng\":\"112.24552262926137\"},{\"code\":\"4407\",\"name\":\"江门\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"22.584603880965\",\"lng\":\"113.08855619524043\"},{\"code\":\"4452\",\"name\":\"揭阳\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"23.555740488275585\",\"lng\":\"116.37851218033846\"},{\"code\":\"6202\",\"name\":\"嘉峪关\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"39.77796014739059\",\"lng\":\"98.29620384300111\"},{\"code\":\"6203\",\"name\":\"金昌\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"38.52582009209263\",\"lng\":\"102.19460568669837\"},{\"code\":\"6209\",\"name\":\"酒泉\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"39.73846908071564\",\"lng\":\"98.50068521606795\"}]},{\"initial\":\"K\",\"list\":[{\"code\":\"4102\",\"name\":\"开封\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"34.80288581121172\",\"lng\":\"114.31459258497121\"},{\"code\":\"5301\",\"name\":\"昆明\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"24.873998150044006\",\"lng\":\"102.85244836500482\"},{\"code\":\"6502\",\"name\":\"克拉玛依\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"45.58567523781376\",\"lng\":\"84.89590053887504\"},{\"code\":\"6530\",\"name\":\"克孜勒苏柯尔克孜自治州\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"39.72047120487073\",\"lng\":\"76.17430867621205\"},{\"code\":\"6531\",\"name\":\"喀什地区\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"39.47609674864479\",\"lng\":\"75.99639055639747\"}]},{\"initial\":\"L\",\"list\":[{\"code\":\"1310\",\"name\":\"廊坊\",\"provinceCode\":\"13\",\"province\":\"河北省\",\"lat\":\"39.54336666275853\",\"lng\":\"116.69058173342549\"},{\"code\":\"1410\",\"name\":\"临汾\",\"provinceCode\":\"14\",\"province\":\"山西省\",\"lat\":\"36.093741895419726\",\"lng\":\"111.52553022403073\"},{\"code\":\"1411\",\"name\":\"吕梁\",\"provinceCode\":\"14\",\"province\":\"山西省\",\"lat\":\"37.524497749577115\",\"lng\":\"111.15044967529185\"},{\"code\":\"2110\",\"name\":\"辽阳\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"41.27416129045421\",\"lng\":\"123.24336640651318\"},{\"code\":\"2204\",\"name\":\"辽源\",\"provinceCode\":\"22\",\"province\":\"吉林省\",\"lat\":\"42.89405500574631\",\"lng\":\"125.15042516688747\"},{\"code\":\"3207\",\"name\":\"连云港\",\"provinceCode\":\"32\",\"province\":\"江苏省\",\"lat\":\"34.60224952526725\",\"lng\":\"119.22862133316607\"},{\"code\":\"3311\",\"name\":\"丽水\",\"provinceCode\":\"33\",\"province\":\"浙江省\",\"lat\":\"28.473278180563412\",\"lng\":\"119.9295730584414\"},{\"code\":\"3415\",\"name\":\"六安\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"31.741450815322555\",\"lng\":\"116.52640966418569\"},{\"code\":\"3508\",\"name\":\"龙岩\",\"provinceCode\":\"35\",\"province\":\"福建省\",\"lat\":\"25.081219844871676\",\"lng\":\"117.02344756677536\"},{\"code\":\"3713\",\"name\":\"临沂\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"35.11067124236514\",\"lng\":\"118.36353300501388\"},{\"code\":\"3715\",\"name\":\"聊城\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"36.46275818769411\",\"lng\":\"115.99158784830443\"},{\"code\":\"4103\",\"name\":\"洛阳\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"34.62426277921943\",\"lng\":\"112.4594212983115\"},{\"code\":\"4111\",\"name\":\"漯河\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"33.5877107071022\",\"lng\":\"114.02342077764726\"},{\"code\":\"4313\",\"name\":\"娄底\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"27.703208596991583\",\"lng\":\"112.00150349288418\"},{\"code\":\"4502\",\"name\":\"柳州\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"24.331961386852413\",\"lng\":\"109.43442194634564\"},{\"code\":\"4513\",\"name\":\"来宾\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"23.75654676260728\",\"lng\":\"109.22745819590091\"},{\"code\":\"5105\",\"name\":\"泸州\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"28.87766830360723\",\"lng\":\"105.4485240693266\"},{\"code\":\"5111\",\"name\":\"乐山\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"29.55794071745811\",\"lng\":\"103.7725376036347\"},{\"code\":\"5134\",\"name\":\"凉山彝族自治州\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"27.88775230036972\",\"lng\":\"102.2735026809702\"},{\"code\":\"5202\",\"name\":\"六盘水\",\"provinceCode\":\"52\",\"province\":\"贵州省\",\"lat\":\"26.598833108257494\",\"lng\":\"104.8375546023468\"},{\"code\":\"5307\",\"name\":\"丽江\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"26.860657438064884\",\"lng\":\"100.23246452903453\"},{\"code\":\"5309\",\"name\":\"临沧\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"23.89046855627851\",\"lng\":\"100.09544042014869\"},{\"code\":\"5401\",\"name\":\"拉萨\",\"provinceCode\":\"54\",\"province\":\"西藏自治区\",\"lat\":\"29.65004027476773\",\"lng\":\"91.12082391546393\"},{\"code\":\"5404\",\"name\":\"林芝\",\"provinceCode\":\"54\",\"province\":\"西藏自治区\",\"lat\":\"29.654042176951524\",\"lng\":\"94.36805828713257\"},{\"code\":\"6201\",\"name\":\"兰州\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"36.067234693545565\",\"lng\":\"103.84052119633628\"},{\"code\":\"6212\",\"name\":\"陇南\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"33.40662022995126\",\"lng\":\"104.92857497071192\"},{\"code\":\"6229\",\"name\":\"临夏回族自治州\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"35.60989877268906\",\"lng\":\"103.24954917760394\"}]},{\"initial\":\"M\",\"list\":[{\"code\":\"2310\",\"name\":\"牡丹江\",\"provinceCode\":\"23\",\"province\":\"黑龙江省\",\"lat\":\"44.55624570898632\",\"lng\":\"129.6395397783469\"},{\"code\":\"3405\",\"name\":\"马鞍山\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"31.676265597609103\",\"lng\":\"118.5135795794315\"},{\"code\":\"4409\",\"name\":\"茂名\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"21.669064031332095\",\"lng\":\"110.931542579969\"},{\"code\":\"4414\",\"name\":\"梅州\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"24.294177532206206\",\"lng\":\"116.12953737612247\"},{\"code\":\"5107\",\"name\":\"绵阳\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"31.473663048745863\",\"lng\":\"104.6855618607612\"},{\"code\":\"5114\",\"name\":\"眉山\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"30.082526119421058\",\"lng\":\"103.85656331579456\"}]},{\"initial\":\"N\",\"list\":[{\"code\":\"3201\",\"name\":\"南京\",\"provinceCode\":\"32\",\"province\":\"江苏省\",\"lat\":\"32.06465288561847\",\"lng\":\"118.80242172124585\"},{\"code\":\"3206\",\"name\":\"南通\",\"provinceCode\":\"32\",\"province\":\"江苏省\",\"lat\":\"31.98654943120089\",\"lng\":\"120.90159173866185\"},{\"code\":\"3302\",\"name\":\"宁波\",\"provinceCode\":\"33\",\"province\":\"浙江省\",\"lat\":\"29.866033045866054\",\"lng\":\"121.62857249434141\"},{\"code\":\"3507\",\"name\":\"南平\",\"provinceCode\":\"35\",\"province\":\"福建省\",\"lat\":\"26.647772874203266\",\"lng\":\"118.1843695481426\"},{\"code\":\"3509\",\"name\":\"宁德\",\"provinceCode\":\"35\",\"province\":\"福建省\",\"lat\":\"26.672241711408567\",\"lng\":\"119.55451074542829\"},{\"code\":\"3601\",\"name\":\"南昌\",\"provinceCode\":\"36\",\"province\":\"江西省\",\"lat\":\"28.68945529506072\",\"lng\":\"115.86458944231661\"},{\"code\":\"4113\",\"name\":\"南阳\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"32.99656220465144\",\"lng\":\"112.53450131351325\"},{\"code\":\"4501\",\"name\":\"南宁\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"22.822606601187154\",\"lng\":\"108.37345082581861\"},{\"code\":\"5110\",\"name\":\"内江\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"29.58588653832045\",\"lng\":\"105.06458802499718\"},{\"code\":\"5113\",\"name\":\"南充\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"30.843782508337036\",\"lng\":\"106.11750261487227\"},{\"code\":\"5333\",\"name\":\"怒江傈僳族自治州\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"25.823707417657754\",\"lng\":\"98.8632883813579\"},{\"code\":\"5406\",\"name\":\"那曲\",\"provinceCode\":\"54\",\"province\":\"西藏自治区\",\"lat\":\"31.482438388454657\",\"lng\":\"92.0573384981749\"}]},{\"initial\":\"P\",\"list\":[{\"code\":\"2111\",\"name\":\"盘锦\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"41.12587528873715\",\"lng\":\"122.07749009021381\"},{\"code\":\"3503\",\"name\":\"莆田\",\"provinceCode\":\"35\",\"province\":\"福建省\",\"lat\":\"25.45986545592271\",\"lng\":\"119.0145209781265\"},{\"code\":\"3603\",\"name\":\"萍乡\",\"provinceCode\":\"36\",\"province\":\"江西省\",\"lat\":\"27.6283927093972\",\"lng\":\"113.8614964337543\"},{\"code\":\"4104\",\"name\":\"平顶山\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"33.772050748691015\",\"lng\":\"113.19952856052156\"},{\"code\":\"4109\",\"name\":\"濮阳\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"35.76759302890629\",\"lng\":\"115.03559747034215\"},{\"code\":\"5104\",\"name\":\"攀枝花\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"26.58803317333301\",\"lng\":\"101.72554117091441\"},{\"code\":\"5308\",\"name\":\"普洱\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"22.830979186010275\",\"lng\":\"100.97256981472799\"},{\"code\":\"6208\",\"name\":\"平凉\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"35.549232050463516\",\"lng\":\"106.67144234827796\"}]},{\"initial\":\"Q\",\"list\":[{\"code\":\"1303\",\"name\":\"秦皇岛\",\"provinceCode\":\"13\",\"province\":\"河北省\",\"lat\":\"39.941748102377936\",\"lng\":\"119.60853063334328\"},{\"code\":\"2302\",\"name\":\"齐齐哈尔\",\"provinceCode\":\"23\",\"province\":\"黑龙江省\",\"lat\":\"47.3599771860153\",\"lng\":\"123.92457086841536\"},{\"code\":\"2309\",\"name\":\"七台河\",\"provinceCode\":\"23\",\"province\":\"黑龙江省\",\"lat\":\"45.77630032154785\",\"lng\":\"131.01154459102744\"},{\"code\":\"3308\",\"name\":\"衢州\",\"provinceCode\":\"33\",\"province\":\"浙江省\",\"lat\":\"28.975545802265025\",\"lng\":\"118.86659674035565\"},{\"code\":\"3505\",\"name\":\"泉州\",\"provinceCode\":\"35\",\"province\":\"福建省\",\"lat\":\"24.879952330498313\",\"lng\":\"118.68244626680422\"},{\"code\":\"3702\",\"name\":\"青岛\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"36.072227496663224\",\"lng\":\"120.38945519114627\"},{\"code\":\"4418\",\"name\":\"清远\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"23.688230292088083\",\"lng\":\"113.06246832527266\"},{\"code\":\"4507\",\"name\":\"钦州\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"21.986593539484296\",\"lng\":\"108.66058016842224\"},{\"code\":\"5223\",\"name\":\"黔西南布依族苗族自治州\",\"provinceCode\":\"52\",\"province\":\"贵州省\",\"lat\":\"27.014344747084042\",\"lng\":\"106.03857397725803\"},{\"code\":\"5226\",\"name\":\"黔东南苗族侗族自治州\",\"provinceCode\":\"52\",\"province\":\"贵州省\",\"lat\":\"26.58970296982603\",\"lng\":\"107.9894462407788\"},{\"code\":\"5227\",\"name\":\"黔南布依族苗族自治州\",\"provinceCode\":\"52\",\"province\":\"贵州省\",\"lat\":\"26.260616196073833\",\"lng\":\"107.5284027057371\"},{\"code\":\"5303\",\"name\":\"曲靖\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"25.496406931543667\",\"lng\":\"103.80243482794681\"},{\"code\":\"6210\",\"name\":\"庆阳\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"35.71521598356201\",\"lng\":\"107.6493856959542\"}]},{\"initial\":\"R\",\"list\":[{\"code\":\"3711\",\"name\":\"日照\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"35.42283899843767\",\"lng\":\"119.53341540456555\"},{\"code\":\"5402\",\"name\":\"日喀则\",\"provinceCode\":\"54\",\"province\":\"西藏自治区\",\"lat\":\"29.275657822511512\",\"lng\":\"88.89370303482552\"}]},{\"initial\":\"S\",\"list\":[{\"code\":\"1301\",\"name\":\"石家庄\",\"provinceCode\":\"13\",\"province\":\"河北省\",\"lat\":\"38.052097109846855\",\"lng\":\"114.46902163264978\"},{\"code\":\"1406\",\"name\":\"朔州\",\"provinceCode\":\"14\",\"province\":\"山西省\",\"lat\":\"39.337108370541735\",\"lng\":\"112.4393709396677\"},{\"code\":\"2101\",\"name\":\"沈阳\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"41.68383006919066\",\"lng\":\"123.47109664482264\"},{\"code\":\"2203\",\"name\":\"四平\",\"provinceCode\":\"22\",\"province\":\"吉林省\",\"lat\":\"43.171993571561\",\"lng\":\"124.35648155715893\"},{\"code\":\"2207\",\"name\":\"松原\",\"provinceCode\":\"22\",\"province\":\"吉林省\",\"lat\":\"45.14740419341382\",\"lng\":\"124.83148187569292\"},{\"code\":\"2305\",\"name\":\"双鸭山\",\"provinceCode\":\"23\",\"province\":\"黑龙江省\",\"lat\":\"46.65318589588607\",\"lng\":\"131.16534168078073\"},{\"code\":\"2312\",\"name\":\"绥化\",\"provinceCode\":\"23\",\"province\":\"黑龙江省\",\"lat\":\"46.6600321798244\",\"lng\":\"126.97535687530133\"},{\"code\":\"3101\",\"name\":\"上海\",\"provinceCode\":\"31\",\"province\":\"上海市\",\"lat\":\"31.235929042252014\",\"lng\":\"121.48053886017651\"},{\"code\":\"3205\",\"name\":\"苏州\",\"provinceCode\":\"32\",\"province\":\"江苏省\",\"lat\":\"31.303564074441766\",\"lng\":\"120.59241222959322\"},{\"code\":\"3213\",\"name\":\"宿迁\",\"provinceCode\":\"32\",\"province\":\"江苏省\",\"lat\":\"33.96774971569008\",\"lng\":\"118.28157403570837\"},{\"code\":\"3306\",\"name\":\"绍兴\",\"provinceCode\":\"33\",\"province\":\"浙江省\",\"lat\":\"30.0363693113069\",\"lng\":\"120.58547847885335\"},{\"code\":\"3413\",\"name\":\"宿州\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"33.65209532645213\",\"lng\":\"116.97054394561262\"},{\"code\":\"3504\",\"name\":\"三明\",\"provinceCode\":\"35\",\"province\":\"福建省\",\"lat\":\"26.269736515991838\",\"lng\":\"117.64552116782143\"},{\"code\":\"3611\",\"name\":\"上饶\",\"provinceCode\":\"36\",\"province\":\"江西省\",\"lat\":\"28.460625921851733\",\"lng\":\"117.94945960312224\"},{\"code\":\"4112\",\"name\":\"三门峡\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"34.778327249459984\",\"lng\":\"111.2065332238741\"},{\"code\":\"4114\",\"name\":\"商丘\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"34.4202016658586\",\"lng\":\"115.66244933826238\"},{\"code\":\"4203\",\"name\":\"十堰\",\"provinceCode\":\"42\",\"province\":\"湖北省\",\"lat\":\"32.63506185840116\",\"lng\":\"110.80452956069568\"},{\"code\":\"4213\",\"name\":\"随州\",\"provinceCode\":\"42\",\"province\":\"湖北省\",\"lat\":\"31.6965167723283\",\"lng\":\"113.38945001822157\"},{\"code\":\"4305\",\"name\":\"邵阳\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"27.245270272808565\",\"lng\":\"111.474432885931\"},{\"code\":\"4402\",\"name\":\"韶关\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"24.815881278583017\",\"lng\":\"113.60352734562261\"},{\"code\":\"4403\",\"name\":\"深圳\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"22.548456637984177\",\"lng\":\"114.06455183658751\"},{\"code\":\"4405\",\"name\":\"汕头\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"23.35909171772515\",\"lng\":\"116.68852864054833\"},{\"code\":\"4415\",\"name\":\"汕尾\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"22.79126303654673\",\"lng\":\"115.38155260365083\"},{\"code\":\"4602\",\"name\":\"三亚\",\"provinceCode\":\"46\",\"province\":\"海南省\",\"lat\":\"18.258736291747855\",\"lng\":\"109.51855670139908\"},{\"code\":\"4603\",\"name\":\"三沙\",\"provinceCode\":\"46\",\"province\":\"海南省\",\"lat\":\"30.316571904872184\",\"lng\":\"112.26157741482734\"},{\"code\":\"5109\",\"name\":\"遂宁\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"30.53909767110912\",\"lng\":\"105.5994215306444\"},{\"code\":\"5405\",\"name\":\"山南\",\"provinceCode\":\"54\",\"province\":\"西藏自治区\",\"lat\":\"29.243026939249226\",\"lng\":\"91.77867513851903\"},{\"code\":\"6110\",\"name\":\"商洛\",\"provinceCode\":\"61\",\"province\":\"陕西省\",\"lat\":\"33.87863385220776\",\"lng\":\"109.92441788136406\"},{\"code\":\"6402\",\"name\":\"石嘴山\",\"provinceCode\":\"64\",\"province\":\"宁夏回族自治区\",\"lat\":\"38.98968283991508\",\"lng\":\"106.3906004255049\"}]},{\"initial\":\"T\",\"list\":[{\"code\":\"1201\",\"name\":\"天津\",\"provinceCode\":\"12\",\"province\":\"天津市\",\"lat\":\"39.093667843403956\",\"lng\":\"117.2095232146708\"},{\"code\":\"1302\",\"name\":\"唐山\",\"provinceCode\":\"13\",\"province\":\"河北省\",\"lat\":\"39.63658372414733\",\"lng\":\"118.18645947203979\"},{\"code\":\"1401\",\"name\":\"太原\",\"provinceCode\":\"14\",\"province\":\"山西省\",\"lat\":\"37.87698902884778\",\"lng\":\"112.55639149167204\"},{\"code\":\"1505\",\"name\":\"通辽\",\"provinceCode\":\"15\",\"province\":\"内蒙古自治区\",\"lat\":\"43.657980083916655\",\"lng\":\"122.25052178737633\"},{\"code\":\"2112\",\"name\":\"铁岭\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"42.22994799718447\",\"lng\":\"123.73236520917769\"},{\"code\":\"2205\",\"name\":\"通化\",\"provinceCode\":\"22\",\"province\":\"吉林省\",\"lat\":\"41.733815801613424\",\"lng\":\"125.94660627598029\"},{\"code\":\"3212\",\"name\":\"泰州\",\"provinceCode\":\"32\",\"province\":\"江苏省\",\"lat\":\"32.4606750493083\",\"lng\":\"119.9295663378548\"},{\"code\":\"3310\",\"name\":\"台州\",\"provinceCode\":\"33\",\"province\":\"浙江省\",\"lat\":\"28.66219405599615\",\"lng\":\"121.42743470427969\"},{\"code\":\"3407\",\"name\":\"铜陵\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"30.95123323991339\",\"lng\":\"117.81847679445747\"},{\"code\":\"3709\",\"name\":\"泰安\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"36.2058580448846\",\"lng\":\"117.0944948347959\"},{\"code\":\"5206\",\"name\":\"铜仁\",\"provinceCode\":\"52\",\"province\":\"贵州省\",\"lat\":\"27.73778645640524\",\"lng\":\"109.19643889817665\"},{\"code\":\"6102\",\"name\":\"铜川\",\"provinceCode\":\"61\",\"province\":\"陕西省\",\"lat\":\"34.902637080502906\",\"lng\":\"108.95240424835922\"},{\"code\":\"6205\",\"name\":\"天水\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"34.58741188165064\",\"lng\":\"105.73141674566955\"},{\"code\":\"6504\",\"name\":\"吐鲁番\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"42.95698484877124\",\"lng\":\"89.1972972460079\"},{\"code\":\"6542\",\"name\":\"塔城地区\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"46.750948254373434\",\"lng\":\"82.9872355184064\"}]},{\"initial\":\"W\",\"list\":[{\"code\":\"1503\",\"name\":\"乌海\",\"provinceCode\":\"15\",\"province\":\"内蒙古自治区\",\"lat\":\"39.6620063648907\",\"lng\":\"106.80039104999656\"},{\"code\":\"1509\",\"name\":\"乌兰察布\",\"provinceCode\":\"15\",\"province\":\"内蒙古自治区\",\"lat\":\"41.00074832767381\",\"lng\":\"113.13946767446333\"},{\"code\":\"3202\",\"name\":\"无锡\",\"provinceCode\":\"32\",\"province\":\"江苏省\",\"lat\":\"31.498809732685714\",\"lng\":\"120.31858328810601\"},{\"code\":\"3303\",\"name\":\"温州\",\"provinceCode\":\"33\",\"province\":\"浙江省\",\"lat\":\"28.00108540447221\",\"lng\":\"120.70647689035565\"},{\"code\":\"3402\",\"name\":\"芜湖\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"31.358536655799266\",\"lng\":\"118.43943137653523\"},{\"code\":\"3707\",\"name\":\"潍坊\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"36.71265155126753\",\"lng\":\"119.16837791142822\"},{\"code\":\"3710\",\"name\":\"威海\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"37.5164305480148\",\"lng\":\"122.12754097831325\"},{\"code\":\"4201\",\"name\":\"武汉\",\"provinceCode\":\"42\",\"province\":\"湖北省\",\"lat\":\"30.598466736400987\",\"lng\":\"114.31158155473231\"},{\"code\":\"4504\",\"name\":\"梧州\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"23.48274528113516\",\"lng\":\"111.28551681182014\"},{\"code\":\"5326\",\"name\":\"文山壮族苗族自治州\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"23.40599429361173\",\"lng\":\"104.22256899109433\"},{\"code\":\"6105\",\"name\":\"渭南\",\"provinceCode\":\"61\",\"province\":\"陕西省\",\"lat\":\"34.50571551675255\",\"lng\":\"109.51658960525897\"},{\"code\":\"6206\",\"name\":\"武威\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"37.93437780815811\",\"lng\":\"102.64455434036918\"},{\"code\":\"6403\",\"name\":\"吴忠\",\"provinceCode\":\"64\",\"province\":\"宁夏回族自治区\",\"lat\":\"38.00371291345338\",\"lng\":\"106.20537126663626\"},{\"code\":\"6501\",\"name\":\"乌鲁木齐\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"43.830763204290484\",\"lng\":\"87.62443993536046\"}]},{\"initial\":\"X\",\"list\":[{\"code\":\"1305\",\"name\":\"邢台\",\"provinceCode\":\"13\",\"province\":\"河北省\",\"lat\":\"37.07716685005908\",\"lng\":\"115.0316624430557\"},{\"code\":\"1409\",\"name\":\"忻州\",\"provinceCode\":\"14\",\"province\":\"山西省\",\"lat\":\"38.42238338517772\",\"lng\":\"112.74062416023847\"},{\"code\":\"1522\",\"name\":\"兴安盟\",\"provinceCode\":\"15\",\"province\":\"内蒙古自治区\",\"lat\":\"46.08846371321896\",\"lng\":\"122.04436452582519\"},{\"code\":\"1525\",\"name\":\"锡林郭勒盟\",\"provinceCode\":\"15\",\"province\":\"内蒙古自治区\",\"lat\":\"43.93942266533856\",\"lng\":\"116.05439144074573\"},{\"code\":\"3203\",\"name\":\"徐州\",\"provinceCode\":\"32\",\"province\":\"江苏省\",\"lat\":\"34.21266655011306\",\"lng\":\"117.29057543439453\"},{\"code\":\"3418\",\"name\":\"宣城\",\"provinceCode\":\"34\",\"province\":\"安徽省\",\"lat\":\"30.94660154529291\",\"lng\":\"118.76553424276743\"},{\"code\":\"3502\",\"name\":\"厦门\",\"provinceCode\":\"35\",\"province\":\"福建省\",\"lat\":\"24.485406605176305\",\"lng\":\"118.09643549976651\"},{\"code\":\"3605\",\"name\":\"新余\",\"provinceCode\":\"36\",\"province\":\"江西省\",\"lat\":\"27.823578697788587\",\"lng\":\"114.9235346513963\"},{\"code\":\"4107\",\"name\":\"新乡\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"35.3096399303368\",\"lng\":\"113.93360046733228\"},{\"code\":\"4110\",\"name\":\"许昌\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"34.04143161161871\",\"lng\":\"113.85847553685502\"},{\"code\":\"4115\",\"name\":\"信阳\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"32.15301454753105\",\"lng\":\"114.09748283304512\"},{\"code\":\"4206\",\"name\":\"襄阳\",\"provinceCode\":\"42\",\"province\":\"湖北省\",\"lat\":\"32.014796804669224\",\"lng\":\"112.12853720100244\"},{\"code\":\"4209\",\"name\":\"孝感\",\"provinceCode\":\"42\",\"province\":\"湖北省\",\"lat\":\"30.930689227018295\",\"lng\":\"113.92251007733665\"},{\"code\":\"4212\",\"name\":\"咸宁\",\"provinceCode\":\"42\",\"province\":\"湖北省\",\"lat\":\"29.847055947646492\",\"lng\":\"114.32851909026844\"},{\"code\":\"4303\",\"name\":\"湘潭\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"27.835702227135585\",\"lng\":\"112.95046418076468\"},{\"code\":\"4331\",\"name\":\"湘西土家族苗族自治州\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"28.317369104701186\",\"lng\":\"109.74557664946683\"},{\"code\":\"5002\",\"name\":\"县\",\"provinceCode\":\"50\",\"province\":\"重庆市\",\"lat\":\"29.568996245338923\",\"lng\":\"106.55843415537664\"},{\"code\":\"5328\",\"name\":\"西双版纳傣族自治州\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"22.013601254764165\",\"lng\":\"100.80344682455637\"},{\"code\":\"6101\",\"name\":\"西安\",\"provinceCode\":\"61\",\"province\":\"陕西省\",\"lat\":\"34.34726881662395\",\"lng\":\"108.94646555063274\"},{\"code\":\"6104\",\"name\":\"咸阳\",\"provinceCode\":\"61\",\"province\":\"陕西省\",\"lat\":\"34.335476293368586\",\"lng\":\"108.71542245143303\"},{\"code\":\"6301\",\"name\":\"西宁\",\"provinceCode\":\"63\",\"province\":\"青海省\",\"lat\":\"36.62338469651661\",\"lng\":\"101.78445017050855\"}]},{\"initial\":\"Y\",\"list\":[{\"code\":\"1403\",\"name\":\"阳泉\",\"provinceCode\":\"14\",\"province\":\"山西省\",\"lat\":\"37.862360847859385\",\"lng\":\"113.58761666287546\"},{\"code\":\"1408\",\"name\":\"运城\",\"provinceCode\":\"14\",\"province\":\"山西省\",\"lat\":\"35.03270691290923\",\"lng\":\"111.01338945447925\"},{\"code\":\"2108\",\"name\":\"营口\",\"provinceCode\":\"21\",\"province\":\"辽宁省\",\"lat\":\"40.67313683826707\",\"lng\":\"122.24157466449694\"},{\"code\":\"2224\",\"name\":\"延边朝鲜族自治州\",\"provinceCode\":\"22\",\"province\":\"吉林省\",\"lat\":\"42.91574303372181\",\"lng\":\"129.4773763202274\"},{\"code\":\"2307\",\"name\":\"伊春\",\"provinceCode\":\"23\",\"province\":\"黑龙江省\",\"lat\":\"47.733318457230936\",\"lng\":\"128.84754638019822\"},{\"code\":\"3209\",\"name\":\"盐城\",\"provinceCode\":\"32\",\"province\":\"江苏省\",\"lat\":\"33.355100917626196\",\"lng\":\"120.167544265761\"},{\"code\":\"3210\",\"name\":\"扬州\",\"provinceCode\":\"32\",\"province\":\"江苏省\",\"lat\":\"32.40067693609037\",\"lng\":\"119.41941890822997\"},{\"code\":\"3606\",\"name\":\"鹰潭\",\"provinceCode\":\"36\",\"province\":\"江西省\",\"lat\":\"28.265787063191418\",\"lng\":\"117.0755754270272\"},{\"code\":\"3609\",\"name\":\"宜春\",\"provinceCode\":\"36\",\"province\":\"江西省\",\"lat\":\"27.820856421848216\",\"lng\":\"114.4235636759064\"},{\"code\":\"3706\",\"name\":\"烟台\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"37.470038383730525\",\"lng\":\"121.45441541730195\"},{\"code\":\"4205\",\"name\":\"宜昌\",\"provinceCode\":\"42\",\"province\":\"湖北省\",\"lat\":\"30.697446484492378\",\"lng\":\"111.29254921035434\"},{\"code\":\"4306\",\"name\":\"岳阳\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"29.3631782939259\",\"lng\":\"113.13548942422142\"},{\"code\":\"4309\",\"name\":\"益阳\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"28.559711178489888\",\"lng\":\"112.36151595471031\"},{\"code\":\"4311\",\"name\":\"永州\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"26.425864117900094\",\"lng\":\"111.61945505792227\"},{\"code\":\"4417\",\"name\":\"阳江\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"21.864339726138933\",\"lng\":\"111.98848929181268\"},{\"code\":\"4453\",\"name\":\"云浮\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"22.920911970342857\",\"lng\":\"112.05151269959146\"},{\"code\":\"4509\",\"name\":\"玉林\",\"provinceCode\":\"45\",\"province\":\"广西壮族自治区\",\"lat\":\"22.659830509953142\",\"lng\":\"110.1884531233724\"},{\"code\":\"5115\",\"name\":\"宜宾\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"28.75800702855183\",\"lng\":\"104.6494037048691\"},{\"code\":\"5118\",\"name\":\"雅安\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"30.01679254570607\",\"lng\":\"103.04954262360451\"},{\"code\":\"5304\",\"name\":\"玉溪\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"24.35771094244625\",\"lng\":\"102.55356029311\"},{\"code\":\"6106\",\"name\":\"延安\",\"provinceCode\":\"61\",\"province\":\"陕西省\",\"lat\":\"36.59111103521779\",\"lng\":\"109.49658191612687\"},{\"code\":\"6108\",\"name\":\"榆林\",\"provinceCode\":\"61\",\"province\":\"陕西省\",\"lat\":\"38.290883835484046\",\"lng\":\"109.74161603381395\"},{\"code\":\"6327\",\"name\":\"玉树藏族自治州\",\"provinceCode\":\"63\",\"province\":\"青海省\",\"lat\":\"33.01097958514274\",\"lng\":\"97.01318076277326\"},{\"code\":\"6401\",\"name\":\"银川\",\"provinceCode\":\"64\",\"province\":\"宁夏回族自治区\",\"lat\":\"38.492460055509596\",\"lng\":\"106.23849358740017\"},{\"code\":\"6540\",\"name\":\"伊犁哈萨克自治州\",\"provinceCode\":\"65\",\"province\":\"新疆维吾尔自治区\",\"lat\":\"43.92272313749215\",\"lng\":\"81.3305377475322\"}]},{\"initial\":\"Z\",\"list\":[{\"code\":\"1307\",\"name\":\"张家口\",\"provinceCode\":\"13\",\"province\":\"河北省\",\"lat\":\"40.7732372026915\",\"lng\":\"114.89257223145165\"},{\"code\":\"3211\",\"name\":\"镇江\",\"provinceCode\":\"32\",\"province\":\"江苏省\",\"lat\":\"32.19471592052375\",\"lng\":\"119.43048944567383\"},{\"code\":\"3309\",\"name\":\"舟山\",\"provinceCode\":\"33\",\"province\":\"浙江省\",\"lat\":\"29.99091168016034\",\"lng\":\"122.21355631852045\"},{\"code\":\"3506\",\"name\":\"漳州\",\"provinceCode\":\"35\",\"province\":\"福建省\",\"lat\":\"24.51892979117087\",\"lng\":\"117.65357645298785\"},{\"code\":\"3703\",\"name\":\"淄博\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"36.81908568332188\",\"lng\":\"118.06145253489896\"},{\"code\":\"3704\",\"name\":\"枣庄\",\"provinceCode\":\"37\",\"province\":\"山东省\",\"lat\":\"34.815994048435115\",\"lng\":\"117.33054194483897\"},{\"code\":\"4101\",\"name\":\"郑州\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"34.75343885045448\",\"lng\":\"113.63141920733915\"},{\"code\":\"4116\",\"name\":\"周口\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"33.6318288757022\",\"lng\":\"114.70348251482332\"},{\"code\":\"4117\",\"name\":\"驻马店\",\"provinceCode\":\"41\",\"province\":\"河南省\",\"lat\":\"33.01784241674367\",\"lng\":\"114.02847078173271\"},{\"code\":\"4302\",\"name\":\"株洲\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"27.833567639016444\",\"lng\":\"113.14047079776427\"},{\"code\":\"4308\",\"name\":\"张家界\",\"provinceCode\":\"43\",\"province\":\"湖南省\",\"lat\":\"29.122815562551878\",\"lng\":\"110.48553254695402\"},{\"code\":\"4404\",\"name\":\"珠海\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"22.27656465424921\",\"lng\":\"113.58255478654918\"},{\"code\":\"4408\",\"name\":\"湛江\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"21.276723439012073\",\"lng\":\"110.36555441392824\"},{\"code\":\"4412\",\"name\":\"肇庆\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"23.052888771125616\",\"lng\":\"112.47148894063035\"},{\"code\":\"4420\",\"name\":\"中山\",\"provinceCode\":\"44\",\"province\":\"广东省\",\"lat\":\"22.5223146707905\",\"lng\":\"113.39942236263188\"},{\"code\":\"5001\",\"name\":\"重庆\",\"provinceCode\":\"50\",\"province\":\"重庆市\",\"lat\":\"29.568996245338923\",\"lng\":\"106.55843415537664\"},{\"code\":\"5103\",\"name\":\"自贡\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"29.345584921327575\",\"lng\":\"104.78444884671711\"},{\"code\":\"5120\",\"name\":\"资阳\",\"provinceCode\":\"51\",\"province\":\"四川省\",\"lat\":\"30.13495655925314\",\"lng\":\"104.6344353416441\"},{\"code\":\"5203\",\"name\":\"遵义\",\"provinceCode\":\"52\",\"province\":\"贵州省\",\"lat\":\"27.731700878916666\",\"lng\":\"106.93342774801829\"},{\"code\":\"5306\",\"name\":\"昭通\",\"provinceCode\":\"53\",\"province\":\"云南省\",\"lat\":\"27.34408386024681\",\"lng\":\"103.72351177196889\"},{\"code\":\"6207\",\"name\":\"张掖\",\"provinceCode\":\"62\",\"province\":\"甘肃省\",\"lat\":\"38.932066007004934\",\"lng\":\"100.45641147405634\"},{\"code\":\"6405\",\"name\":\"中卫\",\"provinceCode\":\"64\",\"province\":\"宁夏回族自治区\",\"lat\":\"37.50570141870293\",\"lng\":\"105.20357090088713\"}]}]"); |
| | | |
| | | /***/ }), |
| | | /* 402 */, |
| | | /* 403 */, |
| | | /* 404 */, |
| | | /* 405 */, |
| | | /* 406 */, |
| | | /* 407 */, |
| | | /* 408 */, |
| | | /* 409 */ |
| | | /* 421 */, |
| | | /* 422 */, |
| | | /* 423 */, |
| | | /* 424 */, |
| | | /* 425 */, |
| | | /* 426 */, |
| | | /* 427 */, |
| | | /* 428 */ |
| | | /*!**************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-picker/props.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 = void 0; |
| | | var _default = { |
| | | props: { |
| | | // 是否展示picker弹窗 |
| | | show: { |
| | | type: Boolean, |
| | | default: uni.$u.props.picker.show |
| | | }, |
| | | // 是否展示顶部的操作栏 |
| | | showToolbar: { |
| | | type: Boolean, |
| | | default: uni.$u.props.picker.showToolbar |
| | | }, |
| | | // 顶部标题 |
| | | title: { |
| | | type: String, |
| | | default: uni.$u.props.picker.title |
| | | }, |
| | | // 对象数组,设置每一列的数据 |
| | | columns: { |
| | | type: Array, |
| | | default: uni.$u.props.picker.columns |
| | | }, |
| | | // 是否显示加载中状态 |
| | | loading: { |
| | | type: Boolean, |
| | | default: uni.$u.props.picker.loading |
| | | }, |
| | | // 各列中,单个选项的高度 |
| | | itemHeight: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.picker.itemHeight |
| | | }, |
| | | // 取消按钮的文字 |
| | | cancelText: { |
| | | type: String, |
| | | default: uni.$u.props.picker.cancelText |
| | | }, |
| | | // 确认按钮的文字 |
| | | confirmText: { |
| | | type: String, |
| | | default: uni.$u.props.picker.confirmText |
| | | }, |
| | | // 取消按钮的颜色 |
| | | cancelColor: { |
| | | type: String, |
| | | default: uni.$u.props.picker.cancelColor |
| | | }, |
| | | // 确认按钮的颜色 |
| | | confirmColor: { |
| | | type: String, |
| | | default: uni.$u.props.picker.confirmColor |
| | | }, |
| | | // 每列中可见选项的数量 |
| | | visibleItemCount: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.picker.visibleItemCount |
| | | }, |
| | | // 选项对象中,需要展示的属性键名 |
| | | keyName: { |
| | | type: String, |
| | | default: uni.$u.props.picker.keyName |
| | | }, |
| | | // 是否允许点击遮罩关闭选择器 |
| | | closeOnClickOverlay: { |
| | | type: Boolean, |
| | | default: uni.$u.props.picker.closeOnClickOverlay |
| | | }, |
| | | // 各列的默认索引 |
| | | defaultIndex: { |
| | | type: Array, |
| | | default: uni.$u.props.picker.defaultIndex |
| | | }, |
| | | // 是否在手指松开时立即触发 change 事件。若不开启则会在滚动动画结束后触发 change 事件,只在微信2.21.1及以上有效 |
| | | immediateChange: { |
| | | type: Boolean, |
| | | default: uni.$u.props.picker.immediateChange |
| | | } |
| | | } |
| | | }; |
| | | exports.default = _default; |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 429 */, |
| | | /* 430 */, |
| | | /* 431 */, |
| | | /* 432 */, |
| | | /* 433 */, |
| | | /* 434 */, |
| | | /* 435 */, |
| | | /* 436 */ |
| | | /*!************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-rate/props.js ***! |
| | | \************************************************************************************/ |
| | |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 410 */, |
| | | /* 411 */, |
| | | /* 412 */, |
| | | /* 413 */, |
| | | /* 414 */, |
| | | /* 415 */, |
| | | /* 416 */, |
| | | /* 417 */ |
| | | /* 437 */, |
| | | /* 438 */, |
| | | /* 439 */, |
| | | /* 440 */, |
| | | /* 441 */, |
| | | /* 442 */, |
| | | /* 443 */, |
| | | /* 444 */ |
| | | /*!*************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-modal/props.js ***! |
| | | \*************************************************************************************/ |
| | |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 418 */, |
| | | /* 419 */, |
| | | /* 420 */, |
| | | /* 421 */, |
| | | /* 422 */, |
| | | /* 423 */, |
| | | /* 424 */, |
| | | /* 425 */ |
| | | /* 445 */, |
| | | /* 446 */, |
| | | /* 447 */, |
| | | /* 448 */, |
| | | /* 449 */, |
| | | /* 450 */, |
| | | /* 451 */, |
| | | /* 452 */ |
| | | /*!*************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-popup/props.js ***! |
| | | \*************************************************************************************/ |
| | |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 426 */, |
| | | /* 427 */, |
| | | /* 428 */, |
| | | /* 429 */, |
| | | /* 430 */, |
| | | /* 431 */, |
| | | /* 432 */, |
| | | /* 433 */ |
| | | /* 453 */, |
| | | /* 454 */, |
| | | /* 455 */, |
| | | /* 456 */, |
| | | /* 457 */, |
| | | /* 458 */, |
| | | /* 459 */, |
| | | /* 460 */ |
| | | /*!****************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-textarea/props.js ***! |
| | | \****************************************************************************************/ |
| | |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 434 */, |
| | | /* 435 */, |
| | | /* 436 */, |
| | | /* 437 */, |
| | | /* 438 */, |
| | | /* 439 */ |
| | | /* 461 */, |
| | | /* 462 */, |
| | | /* 463 */, |
| | | /* 464 */, |
| | | /* 465 */, |
| | | /* 466 */ |
| | | /*!*************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-parse/props.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 = void 0; |
| | | var _default = { |
| | | props: { |
| | | content: String, |
| | | copyLink: { |
| | | type: Boolean, |
| | | default: uni.$u.props.parse.copyLink |
| | | }, |
| | | domain: String, |
| | | errorImg: { |
| | | type: String, |
| | | default: uni.$u.props.parse.errorImg |
| | | }, |
| | | lazyLoad: { |
| | | type: Boolean, |
| | | default: uni.$u.props.parse.lazyLoad |
| | | }, |
| | | loadingImg: { |
| | | type: String, |
| | | default: uni.$u.props.parse.loadingImg |
| | | }, |
| | | pauseVideo: { |
| | | type: Boolean, |
| | | default: uni.$u.props.parse.pauseVideo |
| | | }, |
| | | previewImg: { |
| | | type: Boolean, |
| | | default: uni.$u.props.parse.previewImg |
| | | }, |
| | | scrollTable: Boolean, |
| | | selectable: Boolean, |
| | | setTitle: { |
| | | type: Boolean, |
| | | default: uni.$u.props.parse.setTitle |
| | | }, |
| | | showImgMenu: { |
| | | type: Boolean, |
| | | default: uni.$u.props.parse.showImgMenu |
| | | }, |
| | | tagStyle: Object, |
| | | useAnchor: null |
| | | } |
| | | }; |
| | | exports.default = _default; |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 467 */ |
| | | /*!**************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-parse/parser.js ***! |
| | | \**************************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | /* WEBPACK VAR INJECTION */(function(uni, wx) { |
| | | |
| | | /** |
| | | * @fileoverview html 解析器 |
| | | */ |
| | | // 配置 |
| | | var _defineProperty = __webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11); |
| | | function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } |
| | | function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } |
| | | var config = { |
| | | // 信任的标签(保持标签名不变) |
| | | trustTags: makeMap('a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,ruby,rt,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video'), |
| | | // 块级标签(转为 div,其他的非信任标签转为 span) |
| | | blockTags: makeMap('address,article,aside,body,caption,center,cite,footer,header,html,nav,pre,section'), |
| | | // 要移除的标签 |
| | | ignoreTags: makeMap('area,base,canvas,embed,frame,head,iframe,input,link,map,meta,param,rp,script,source,style,textarea,title,track,wbr'), |
| | | // 自闭合的标签 |
| | | voidTags: makeMap('area,base,br,col,circle,ellipse,embed,frame,hr,img,input,line,link,meta,param,path,polygon,rect,source,track,use,wbr'), |
| | | // html 实体 |
| | | entities: { |
| | | lt: '<', |
| | | gt: '>', |
| | | quot: '"', |
| | | apos: "'", |
| | | ensp: "\u2002", |
| | | emsp: "\u2003", |
| | | nbsp: '\xA0', |
| | | semi: ';', |
| | | ndash: '–', |
| | | mdash: '—', |
| | | middot: '·', |
| | | lsquo: '‘', |
| | | rsquo: '’', |
| | | ldquo: '“', |
| | | rdquo: '”', |
| | | bull: '•', |
| | | hellip: '…' |
| | | }, |
| | | // 默认的标签样式 |
| | | tagStyle: { |
| | | address: 'font-style:italic', |
| | | big: 'display:inline;font-size:1.2em', |
| | | caption: 'display:table-caption;text-align:center', |
| | | center: 'text-align:center', |
| | | cite: 'font-style:italic', |
| | | dd: 'margin-left:40px', |
| | | mark: 'background-color:yellow', |
| | | pre: 'font-family:monospace;white-space:pre', |
| | | s: 'text-decoration:line-through', |
| | | small: 'display:inline;font-size:0.8em', |
| | | u: 'text-decoration:underline' |
| | | } |
| | | }; |
| | | var _uni$getSystemInfoSyn = uni.getSystemInfoSync(), |
| | | windowWidth = _uni$getSystemInfoSyn.windowWidth; |
| | | var blankChar = makeMap(' ,\r,\n,\t,\f'); |
| | | var idIndex = 0; |
| | | |
| | | /** |
| | | * @description 创建 map |
| | | * @param {String} str 逗号分隔 |
| | | */ |
| | | |
| | | function makeMap(str) { |
| | | var map = Object.create(null); |
| | | var list = str.split(','); |
| | | for (var i = list.length; i--;) { |
| | | map[list[i]] = true; |
| | | } |
| | | return map; |
| | | } |
| | | /** |
| | | * @description 解码 html 实体 |
| | | * @param {String} str 要解码的字符串 |
| | | * @param {Boolean} amp 要不要解码 & |
| | | * @returns {String} 解码后的字符串 |
| | | */ |
| | | |
| | | function decodeEntity(str, amp) { |
| | | var i = str.indexOf('&'); |
| | | while (i != -1) { |
| | | var j = str.indexOf(';', i + 3); |
| | | var code = void 0; |
| | | if (j == -1) break; |
| | | if (str[i + 1] == '#') { |
| | | // { 形式的实体 |
| | | code = parseInt((str[i + 2] == 'x' ? '0' : '') + str.substring(i + 2, j)); |
| | | if (!isNaN(code)) str = str.substr(0, i) + String.fromCharCode(code) + str.substr(j + 1); |
| | | } else { |
| | | // 形式的实体 |
| | | code = str.substring(i + 1, j); |
| | | if (config.entities[code] || code == 'amp' && amp) str = str.substr(0, i) + (config.entities[code] || '&') + str.substr(j + 1); |
| | | } |
| | | i = str.indexOf('&', i + 1); |
| | | } |
| | | return str; |
| | | } |
| | | /** |
| | | * @description html 解析器 |
| | | * @param {Object} vm 组件实例 |
| | | */ |
| | | |
| | | function parser(vm) { |
| | | this.options = vm || {}; |
| | | this.tagStyle = Object.assign(config.tagStyle, this.options.tagStyle); |
| | | this.imgList = vm.imgList || []; |
| | | this.plugins = vm.plugins || []; |
| | | this.attrs = Object.create(null); |
| | | this.stack = []; |
| | | this.nodes = []; |
| | | } |
| | | /** |
| | | * @description 执行解析 |
| | | * @param {String} content 要解析的文本 |
| | | */ |
| | | |
| | | parser.prototype.parse = function (content) { |
| | | // 插件处理 |
| | | for (var i = this.plugins.length; i--;) { |
| | | if (this.plugins[i].onUpdate) content = this.plugins[i].onUpdate(content, config) || content; |
| | | } |
| | | new lexer(this).parse(content); // 出栈未闭合的标签 |
| | | |
| | | while (this.stack.length) { |
| | | this.popNode(); |
| | | } |
| | | return this.nodes; |
| | | }; |
| | | /** |
| | | * @description 将标签暴露出来(不被 rich-text 包含) |
| | | */ |
| | | |
| | | parser.prototype.expose = function () { |
| | | for (var i = this.stack.length; i--;) { |
| | | var item = this.stack[i]; |
| | | if (item.name == 'a' || item.c) return; |
| | | item.c = 1; |
| | | } |
| | | }; |
| | | /** |
| | | * @description 处理插件 |
| | | * @param {Object} node 要处理的标签 |
| | | * @returns {Boolean} 是否要移除此标签 |
| | | */ |
| | | |
| | | parser.prototype.hook = function (node) { |
| | | for (var i = this.plugins.length; i--;) { |
| | | if (this.plugins[i].onParse && this.plugins[i].onParse(node, this) == false) return false; |
| | | } |
| | | return true; |
| | | }; |
| | | /** |
| | | * @description 将链接拼接上主域名 |
| | | * @param {String} url 需要拼接的链接 |
| | | * @returns {String} 拼接后的链接 |
| | | */ |
| | | |
| | | parser.prototype.getUrl = function (url) { |
| | | var domain = this.options.domain; |
| | | if (url[0] == '/') { |
| | | // // 开头的补充协议名 |
| | | if (url[1] == '/') url = "".concat(domain ? domain.split('://')[0] : 'http', ":").concat(url); // 否则补充整个域名 |
| | | else if (domain) url = domain + url; |
| | | } else if (domain && !url.includes('data:') && !url.includes('://')) url = "".concat(domain, "/").concat(url); |
| | | return url; |
| | | }; |
| | | /** |
| | | * @description 解析样式表 |
| | | * @param {Object} node 标签 |
| | | * @returns {Object} |
| | | */ |
| | | |
| | | parser.prototype.parseStyle = function (node) { |
| | | var attrs = node.attrs; |
| | | var list = (this.tagStyle[node.name] || '').split(';').concat((attrs.style || '').split(';')); |
| | | var styleObj = {}; |
| | | var tmp = ''; |
| | | if (attrs.id) { |
| | | // 暴露锚点 |
| | | if (this.options.useAnchor) this.expose();else if (node.name != 'img' && node.name != 'a' && node.name != 'video' && node.name != 'audio') attrs.id = void 0; |
| | | } // 转换 width 和 height 属性 |
| | | |
| | | if (attrs.width) { |
| | | styleObj.width = parseFloat(attrs.width) + (attrs.width.includes('%') ? '%' : 'px'); |
| | | attrs.width = void 0; |
| | | } |
| | | if (attrs.height) { |
| | | styleObj.height = parseFloat(attrs.height) + (attrs.height.includes('%') ? '%' : 'px'); |
| | | attrs.height = void 0; |
| | | } |
| | | for (var i = 0, len = list.length; i < len; i++) { |
| | | var info = list[i].split(':'); |
| | | if (info.length < 2) continue; |
| | | var key = info.shift().trim().toLowerCase(); |
| | | var value = info.join(':').trim(); // 兼容性的 css 不压缩 |
| | | |
| | | if (value[0] == '-' && value.lastIndexOf('-') > 0 || value.includes('safe')) tmp += ';'.concat(key, ':').concat(value); // 重复的样式进行覆盖 |
| | | else if (!styleObj[key] || value.includes('import') || !styleObj[key].includes('import')) { |
| | | // 填充链接 |
| | | if (value.includes('url')) { |
| | | var j = value.indexOf('(') + 1; |
| | | if (j) { |
| | | while (value[j] == '"' || value[j] == "'" || blankChar[value[j]]) { |
| | | j++; |
| | | } |
| | | value = value.substr(0, j) + this.getUrl(value.substr(j)); |
| | | } |
| | | } // 转换 rpx(rich-text 内部不支持 rpx) |
| | | else if (value.includes('rpx')) { |
| | | value = value.replace(/[0-9.]+\s*rpx/g, function ($) { |
| | | return "".concat(parseFloat($) * windowWidth / 750, "px"); |
| | | }); |
| | | } |
| | | styleObj[key] = value; |
| | | } |
| | | } |
| | | node.attrs.style = tmp; |
| | | return styleObj; |
| | | }; |
| | | /** |
| | | * @description 解析到标签名 |
| | | * @param {String} name 标签名 |
| | | * @private |
| | | */ |
| | | |
| | | parser.prototype.onTagName = function (name) { |
| | | this.tagName = this.xml ? name : name.toLowerCase(); |
| | | if (this.tagName == 'svg') this.xml = true; // svg 标签内大小写敏感 |
| | | }; |
| | | /** |
| | | * @description 解析到属性名 |
| | | * @param {String} name 属性名 |
| | | * @private |
| | | */ |
| | | |
| | | parser.prototype.onAttrName = function (name) { |
| | | name = this.xml ? name : name.toLowerCase(); |
| | | if (name.substr(0, 5) == 'data-') { |
| | | // data-src 自动转为 src |
| | | if (name == 'data-src' && !this.attrs.src) this.attrName = 'src'; // a 和 img 标签保留 data- 的属性,可以在 imgtap 和 linktap 事件中使用 |
| | | else if (this.tagName == 'img' || this.tagName == 'a') this.attrName = name; // 剩余的移除以减小大小 |
| | | else this.attrName = void 0; |
| | | } else { |
| | | this.attrName = name; |
| | | this.attrs[name] = 'T'; // boolean 型属性缺省设置 |
| | | } |
| | | }; |
| | | /** |
| | | * @description 解析到属性值 |
| | | * @param {String} val 属性值 |
| | | * @private |
| | | */ |
| | | |
| | | parser.prototype.onAttrVal = function (val) { |
| | | var name = this.attrName || ''; // 部分属性进行实体解码 |
| | | |
| | | if (name == 'style' || name == 'href') this.attrs[name] = decodeEntity(val, true); // 拼接主域名 |
| | | else if (name.includes('src')) this.attrs[name] = this.getUrl(decodeEntity(val, true));else if (name) this.attrs[name] = val; |
| | | }; |
| | | /** |
| | | * @description 解析到标签开始 |
| | | * @param {Boolean} selfClose 是否有自闭合标识 /> |
| | | * @private |
| | | */ |
| | | |
| | | parser.prototype.onOpenTag = function (selfClose) { |
| | | // 拼装 node |
| | | var node = Object.create(null); |
| | | node.name = this.tagName; |
| | | node.attrs = this.attrs; |
| | | this.attrs = Object.create(null); |
| | | var attrs = node.attrs; |
| | | var parent = this.stack[this.stack.length - 1]; |
| | | var siblings = parent ? parent.children : this.nodes; |
| | | var close = this.xml ? selfClose : config.voidTags[node.name]; // 转换 embed 标签 |
| | | |
| | | if (node.name == 'embed') { |
| | | var src = attrs.src || ''; // 按照后缀名和 type 将 embed 转为 video 或 audio |
| | | |
| | | if (src.includes('.mp4') || src.includes('.3gp') || src.includes('.m3u8') || (attrs.type || '').includes('video')) node.name = 'video';else if (src.includes('.mp3') || src.includes('.wav') || src.includes('.aac') || src.includes('.m4a') || (attrs.type || '').includes('audio')) node.name = 'audio'; |
| | | if (attrs.autostart) attrs.autoplay = 'T'; |
| | | attrs.controls = 'T'; |
| | | } |
| | | // 处理音视频 |
| | | |
| | | if (node.name == 'video' || node.name == 'audio') { |
| | | // 设置 id 以便获取 context |
| | | if (node.name == 'video' && !attrs.id) attrs.id = "v".concat(idIndex++); // 没有设置 controls 也没有设置 autoplay 的自动设置 controls |
| | | |
| | | if (!attrs.controls && !attrs.autoplay) attrs.controls = 'T'; // 用数组存储所有可用的 source |
| | | |
| | | node.src = []; |
| | | if (attrs.src) { |
| | | node.src.push(attrs.src); |
| | | attrs.src = void 0; |
| | | } |
| | | this.expose(); |
| | | } |
| | | // 处理自闭合标签 |
| | | |
| | | if (close) { |
| | | if (!this.hook(node) || config.ignoreTags[node.name]) { |
| | | // 通过 base 标签设置主域名 |
| | | if (node.name == 'base' && !this.options.domain) this.options.domain = attrs.href; |
| | | // 设置 source 标签(仅父节点为 video 或 audio 时有效) |
| | | else if (node.name == 'source' && parent && (parent.name == 'video' || parent.name == 'audio') && attrs.src) parent.src.push(attrs.src); |
| | | return; |
| | | } // 解析 style |
| | | |
| | | var styleObj = this.parseStyle(node); // 处理图片 |
| | | |
| | | if (node.name == 'img') { |
| | | if (attrs.src) { |
| | | // 标记 webp |
| | | if (attrs.src.includes('webp')) node.webp = 'T'; // data url 图片如果没有设置 original-src 默认为不可预览的小图片 |
| | | |
| | | if (attrs.src.includes('data:') && !attrs['original-src']) attrs.ignore = 'T'; |
| | | if (!attrs.ignore || node.webp || attrs.src.includes('cloud://')) { |
| | | for (var i = this.stack.length; i--;) { |
| | | var item = this.stack[i]; |
| | | if (item.name == 'a') { |
| | | node.a = item.attrs; |
| | | break; |
| | | } |
| | | var style = item.attrs.style || ''; |
| | | if (style.includes('flex:') && !style.includes('flex:0') && !style.includes('flex: 0') && (!styleObj.width || !styleObj.width.includes('%'))) { |
| | | styleObj.width = '100% !important'; |
| | | styleObj.height = ''; |
| | | for (var j = i + 1; j < this.stack.length; j++) { |
| | | this.stack[j].attrs.style = (this.stack[j].attrs.style || '').replace('inline-', ''); |
| | | } |
| | | } else if (style.includes('flex') && styleObj.width == '100%') { |
| | | for (var _j = i + 1; _j < this.stack.length; _j++) { |
| | | var _style = this.stack[_j].attrs.style || ''; |
| | | if (!_style.includes(';width') && !_style.includes(' width') && _style.indexOf('width') != 0) { |
| | | styleObj.width = ''; |
| | | break; |
| | | } |
| | | } |
| | | } else if (style.includes('inline-block')) { |
| | | if (styleObj.width && styleObj.width[styleObj.width.length - 1] == '%') { |
| | | item.attrs.style += ";max-width:".concat(styleObj.width); |
| | | styleObj.width = ''; |
| | | } else item.attrs.style += ';max-width:100%'; |
| | | } |
| | | item.c = 1; |
| | | } |
| | | attrs.i = this.imgList.length.toString(); |
| | | var _src = attrs['original-src'] || attrs.src; |
| | | if (this.imgList.includes(_src)) { |
| | | // 如果有重复的链接则对域名进行随机大小写变换避免预览时错位 |
| | | var _i = _src.indexOf('://'); |
| | | if (_i != -1) { |
| | | _i += 3; |
| | | var newSrc = _src.substr(0, _i); |
| | | for (; _i < _src.length; _i++) { |
| | | if (_src[_i] == '/') break; |
| | | newSrc += Math.random() > 0.5 ? _src[_i].toUpperCase() : _src[_i]; |
| | | } |
| | | newSrc += _src.substr(_i); |
| | | _src = newSrc; |
| | | } |
| | | } |
| | | this.imgList.push(_src); |
| | | } |
| | | } |
| | | if (styleObj.display == 'inline') styleObj.display = ''; |
| | | if (attrs.ignore) { |
| | | styleObj['max-width'] = styleObj['max-width'] || '100%'; |
| | | attrs.style += ';-webkit-touch-callout:none'; |
| | | } |
| | | // 设置的宽度超出屏幕,为避免变形,高度转为自动 |
| | | |
| | | if (parseInt(styleObj.width) > windowWidth) styleObj.height = void 0; // 记录是否设置了宽高 |
| | | |
| | | if (styleObj.width) { |
| | | if (styleObj.width.includes('auto')) styleObj.width = '';else { |
| | | node.w = 'T'; |
| | | if (styleObj.height && !styleObj.height.includes('auto')) node.h = 'T'; |
| | | } |
| | | } |
| | | } else if (node.name == 'svg') { |
| | | siblings.push(node); |
| | | this.stack.push(node); |
| | | this.popNode(); |
| | | return; |
| | | } |
| | | for (var key in styleObj) { |
| | | if (styleObj[key]) attrs.style += ';'.concat(key, ':').concat(styleObj[key].replace(' !important', '')); |
| | | } |
| | | attrs.style = attrs.style.substr(1) || void 0; |
| | | } else { |
| | | if (node.name == 'pre' || (attrs.style || '').includes('white-space') && attrs.style.includes('pre')) this.pre = node.pre = true; |
| | | node.children = []; |
| | | this.stack.push(node); |
| | | } // 加入节点树 |
| | | |
| | | siblings.push(node); |
| | | }; |
| | | /** |
| | | * @description 解析到标签结束 |
| | | * @param {String} name 标签名 |
| | | * @private |
| | | */ |
| | | |
| | | parser.prototype.onCloseTag = function (name) { |
| | | // 依次出栈到匹配为止 |
| | | name = this.xml ? name : name.toLowerCase(); |
| | | var i; |
| | | for (i = this.stack.length; i--;) { |
| | | if (this.stack[i].name == name) break; |
| | | } |
| | | if (i != -1) { |
| | | while (this.stack.length > i) { |
| | | this.popNode(); |
| | | } |
| | | } else if (name == 'p' || name == 'br') { |
| | | var siblings = this.stack.length ? this.stack[this.stack.length - 1].children : this.nodes; |
| | | siblings.push({ |
| | | name: name, |
| | | attrs: {} |
| | | }); |
| | | } |
| | | }; |
| | | /** |
| | | * @description 处理标签出栈 |
| | | * @private |
| | | */ |
| | | |
| | | parser.prototype.popNode = function () { |
| | | var node = this.stack.pop(); |
| | | var attrs = node.attrs; |
| | | var children = node.children; |
| | | var parent = this.stack[this.stack.length - 1]; |
| | | var siblings = parent ? parent.children : this.nodes; |
| | | if (!this.hook(node) || config.ignoreTags[node.name]) { |
| | | // 获取标题 |
| | | if (node.name == 'title' && children.length && children[0].type == 'text' && this.options.setTitle) { |
| | | uni.setNavigationBarTitle({ |
| | | title: children[0].text |
| | | }); |
| | | } |
| | | siblings.pop(); |
| | | return; |
| | | } |
| | | if (node.pre) { |
| | | // 是否合并空白符标识 |
| | | node.pre = this.pre = void 0; |
| | | for (var i = this.stack.length; i--;) { |
| | | if (this.stack[i].pre) this.pre = true; |
| | | } |
| | | } |
| | | var styleObj = {}; // 转换 svg |
| | | |
| | | if (node.name == 'svg') { |
| | | var src = ''; |
| | | var _attrs = attrs, |
| | | style = _attrs.style; |
| | | attrs.style = ''; |
| | | attrs.xmlns = 'http://www.w3.org/2000/svg'; |
| | | (function traversal(node) { |
| | | src += "<".concat(node.name); |
| | | for (var item in node.attrs) { |
| | | var val = node.attrs[item]; |
| | | if (val) { |
| | | if (item == 'viewbox') item = 'viewBox'; |
| | | src += ' '.concat(item, '="').concat(val, '"'); |
| | | } |
| | | } |
| | | if (!node.children) src += '/>';else { |
| | | src += '>'; |
| | | for (var _i2 = 0; _i2 < node.children.length; _i2++) { |
| | | traversal(node.children[_i2]); |
| | | } |
| | | src += "</".concat(node.name, ">"); |
| | | } |
| | | })(node); |
| | | node.name = 'img'; |
| | | node.attrs = { |
| | | src: "data:image/svg+xml;utf8,".concat(src.replace(/#/g, '%23')), |
| | | style: style, |
| | | ignore: 'T' |
| | | }; |
| | | node.children = void 0; |
| | | this.xml = false; |
| | | return; |
| | | } |
| | | // 转换 align 属性 |
| | | |
| | | if (attrs.align) { |
| | | if (node.name == 'table') { |
| | | if (attrs.align == 'center') styleObj['margin-inline-start'] = styleObj['margin-inline-end'] = 'auto';else styleObj.float = attrs.align; |
| | | } else styleObj['text-align'] = attrs.align; |
| | | attrs.align = void 0; |
| | | } // 转换 font 标签的属性 |
| | | |
| | | if (node.name == 'font') { |
| | | if (attrs.color) { |
| | | styleObj.color = attrs.color; |
| | | attrs.color = void 0; |
| | | } |
| | | if (attrs.face) { |
| | | styleObj['font-family'] = attrs.face; |
| | | attrs.face = void 0; |
| | | } |
| | | if (attrs.size) { |
| | | var size = parseInt(attrs.size); |
| | | if (!isNaN(size)) { |
| | | if (size < 1) size = 1;else if (size > 7) size = 7; |
| | | styleObj['font-size'] = ['xx-small', 'x-small', 'small', 'medium', 'large', 'x-large', 'xx-large'][size - 1]; |
| | | } |
| | | attrs.size = void 0; |
| | | } |
| | | } |
| | | // 一些编辑器的自带 class |
| | | |
| | | if ((attrs.class || '').includes('align-center')) styleObj['text-align'] = 'center'; |
| | | Object.assign(styleObj, this.parseStyle(node)); |
| | | if (parseInt(styleObj.width) > windowWidth) { |
| | | styleObj['max-width'] = '100%'; |
| | | styleObj['box-sizing'] = 'border-box'; |
| | | } |
| | | if (config.blockTags[node.name]) node.name = 'div'; // 未知标签转为 span,避免无法显示 |
| | | else if (!config.trustTags[node.name] && !this.xml) node.name = 'span'; |
| | | if (node.name == 'a' || node.name == 'ad') this.expose(); |
| | | |
| | | // 列表处理 |
| | | else if ((node.name == 'ul' || node.name == 'ol') && node.c) { |
| | | var types = { |
| | | a: 'lower-alpha', |
| | | A: 'upper-alpha', |
| | | i: 'lower-roman', |
| | | I: 'upper-roman' |
| | | }; |
| | | if (types[attrs.type]) { |
| | | attrs.style += ";list-style-type:".concat(types[attrs.type]); |
| | | attrs.type = void 0; |
| | | } |
| | | for (var _i4 = children.length; _i4--;) { |
| | | if (children[_i4].name == 'li') children[_i4].c = 1; |
| | | } |
| | | } // 表格处理 |
| | | else if (node.name == 'table') { |
| | | // cellpadding、cellspacing、border 这几个常用表格属性需要通过转换实现 |
| | | var padding = parseFloat(attrs.cellpadding); |
| | | var spacing = parseFloat(attrs.cellspacing); |
| | | var border = parseFloat(attrs.border); |
| | | if (node.c) { |
| | | // padding 和 spacing 默认 2 |
| | | if (isNaN(padding)) padding = 2; |
| | | if (isNaN(spacing)) spacing = 2; |
| | | } |
| | | if (border) attrs.style += ";border:".concat(border, "px solid gray"); |
| | | if (node.flag && node.c) { |
| | | // 有 colspan 或 rowspan 且含有链接的表格通过 grid 布局实现 |
| | | styleObj.display = 'grid'; |
| | | if (spacing) { |
| | | styleObj['grid-gap'] = "".concat(spacing, "px"); |
| | | styleObj.padding = "".concat(spacing, "px"); |
| | | } // 无间隔的情况下避免边框重叠 |
| | | else if (border) attrs.style += ';border-left:0;border-top:0'; |
| | | var width = []; |
| | | // 表格的列宽 |
| | | var trList = []; |
| | | // tr 列表 |
| | | var cells = []; |
| | | // 保存新的单元格 |
| | | var map = {}; // 被合并单元格占用的格子 |
| | | |
| | | (function traversal(nodes) { |
| | | for (var _i5 = 0; _i5 < nodes.length; _i5++) { |
| | | if (nodes[_i5].name == 'tr') trList.push(nodes[_i5]);else traversal(nodes[_i5].children || []); |
| | | } |
| | | })(children); |
| | | for (var row = 1; row <= trList.length; row++) { |
| | | var col = 1; |
| | | for (var j = 0; j < trList[row - 1].children.length; j++, col++) { |
| | | var td = trList[row - 1].children[j]; |
| | | if (td.name == 'td' || td.name == 'th') { |
| | | // 这个格子被上面的单元格占用,则列号++ |
| | | while (map["".concat(row, ".").concat(col)]) { |
| | | col++; |
| | | } |
| | | var _style2 = td.attrs.style || ''; |
| | | var start = _style2.indexOf('width') ? _style2.indexOf(';width') : 0; // 提取出 td 的宽度 |
| | | |
| | | if (start != -1) { |
| | | var end = _style2.indexOf(';', start + 6); |
| | | if (end == -1) end = _style2.length; |
| | | if (!td.attrs.colspan) width[col] = _style2.substring(start ? start + 7 : 6, end); |
| | | _style2 = _style2.substr(0, start) + _style2.substr(end); |
| | | } |
| | | _style2 += (border ? ';border:'.concat(border, 'px solid gray') + (spacing ? '' : ';border-right:0;border-bottom:0') : '') + (padding ? ';padding:'.concat(padding, 'px') : ''); // 处理列合并 |
| | | |
| | | if (td.attrs.colspan) { |
| | | _style2 += ';grid-column-start:'.concat(col, ';grid-column-end:').concat(col + parseInt(td.attrs.colspan)); |
| | | if (!td.attrs.rowspan) _style2 += ';grid-row-start:'.concat(row, ';grid-row-end:').concat(row + 1); |
| | | col += parseInt(td.attrs.colspan) - 1; |
| | | } // 处理行合并 |
| | | |
| | | if (td.attrs.rowspan) { |
| | | _style2 += ';grid-row-start:'.concat(row, ';grid-row-end:').concat(row + parseInt(td.attrs.rowspan)); |
| | | if (!td.attrs.colspan) _style2 += ';grid-column-start:'.concat(col, ';grid-column-end:').concat(col + 1); // 记录下方单元格被占用 |
| | | |
| | | for (var k = 1; k < td.attrs.rowspan; k++) { |
| | | map["".concat(row + k, ".").concat(col)] = 1; |
| | | } |
| | | } |
| | | if (_style2) td.attrs.style = _style2; |
| | | cells.push(td); |
| | | } |
| | | } |
| | | if (row == 1) { |
| | | var temp = ''; |
| | | for (var _i6 = 1; _i6 < col; _i6++) { |
| | | temp += "".concat(width[_i6] ? width[_i6] : 'auto', " "); |
| | | } |
| | | styleObj['grid-template-columns'] = temp; |
| | | } |
| | | } |
| | | node.children = cells; |
| | | } else { |
| | | // 没有使用合并单元格的表格通过 table 布局实现 |
| | | if (node.c) styleObj.display = 'table'; |
| | | if (!isNaN(spacing)) styleObj['border-spacing'] = "".concat(spacing, "px"); |
| | | if (border || padding) { |
| | | // 遍历 |
| | | (function traversal(nodes) { |
| | | for (var _i7 = 0; _i7 < nodes.length; _i7++) { |
| | | var _td = nodes[_i7]; |
| | | if (_td.name == 'th' || _td.name == 'td') { |
| | | if (border) _td.attrs.style = 'border:'.concat(border, 'px solid gray;').concat(_td.attrs.style || ''); |
| | | if (padding) _td.attrs.style = 'padding:'.concat(padding, 'px;').concat(_td.attrs.style || ''); |
| | | } else if (_td.children) traversal(_td.children); |
| | | } |
| | | })(children); |
| | | } |
| | | } // 给表格添加一个单独的横向滚动层 |
| | | |
| | | if (this.options.scrollTable && !(attrs.style || '').includes('inline')) { |
| | | var table = _objectSpread({}, node); |
| | | node.name = 'div'; |
| | | node.attrs = { |
| | | style: 'overflow:auto' |
| | | }; |
| | | node.children = [table]; |
| | | attrs = table.attrs; |
| | | } |
| | | } else if ((node.name == 'td' || node.name == 'th') && (attrs.colspan || attrs.rowspan)) { |
| | | for (var _i8 = this.stack.length; _i8--;) { |
| | | if (this.stack[_i8].name == 'table') { |
| | | this.stack[_i8].flag = 1; // 指示含有合并单元格 |
| | | |
| | | break; |
| | | } |
| | | } |
| | | } // 转换 ruby |
| | | else if (node.name == 'ruby') { |
| | | node.name = 'span'; |
| | | for (var _i9 = 0; _i9 < children.length - 1; _i9++) { |
| | | if (children[_i9].type == 'text' && children[_i9 + 1].name == 'rt') { |
| | | children[_i9] = { |
| | | name: 'div', |
| | | attrs: { |
| | | style: 'display:inline-block' |
| | | }, |
| | | children: [{ |
| | | name: 'div', |
| | | attrs: { |
| | | style: 'font-size:50%;text-align:start' |
| | | }, |
| | | children: children[_i9 + 1].children |
| | | }, children[_i9]] |
| | | }; |
| | | children.splice(_i9 + 1, 1); |
| | | } |
| | | } |
| | | } else if (node.c) { |
| | | node.c = 2; |
| | | for (var _i10 = node.children.length; _i10--;) { |
| | | if (!node.children[_i10].c || node.children[_i10].name == 'table') node.c = 1; |
| | | } |
| | | } |
| | | if ((styleObj.display || '').includes('flex') && !node.c) { |
| | | for (var _i11 = children.length; _i11--;) { |
| | | var _item = children[_i11]; |
| | | if (_item.f) { |
| | | _item.attrs.style = (_item.attrs.style || '') + _item.f; |
| | | _item.f = void 0; |
| | | } |
| | | } |
| | | } // flex 布局时部分样式需要提取到 rich-text 外层 |
| | | |
| | | var flex = parent && (parent.attrs.style || '').includes('flex') |
| | | // 检查基础库版本 virtualHost 是否可用 |
| | | && !(node.c && wx.getNFCAdapter); |
| | | if (flex) node.f = ';max-width:100%'; |
| | | for (var key in styleObj) { |
| | | if (styleObj[key]) { |
| | | var val = ';'.concat(key, ':').concat(styleObj[key].replace(' !important', '')); |
| | | if (flex && (key.includes('flex') && key != 'flex-direction' || key == 'align-self' || styleObj[key][0] == '-' || key == 'width' && val.includes('%'))) { |
| | | node.f += val; |
| | | if (key == 'width') attrs.style += ';width:100%'; |
| | | } else { |
| | | attrs.style += val; |
| | | } |
| | | } |
| | | } |
| | | attrs.style = attrs.style.substr(1) || void 0; |
| | | }; |
| | | /** |
| | | * @description 解析到文本 |
| | | * @param {String} text 文本内容 |
| | | */ |
| | | |
| | | parser.prototype.onText = function (text) { |
| | | if (!this.pre) { |
| | | // 合并空白符 |
| | | var trim = ''; |
| | | var flag; |
| | | for (var i = 0, len = text.length; i < len; i++) { |
| | | if (!blankChar[text[i]]) trim += text[i];else { |
| | | if (trim[trim.length - 1] != ' ') trim += ' '; |
| | | if (text[i] == '\n' && !flag) flag = true; |
| | | } |
| | | } // 去除含有换行符的空串 |
| | | |
| | | if (trim == ' ' && flag) return; |
| | | text = trim; |
| | | } |
| | | var node = Object.create(null); |
| | | node.type = 'text'; |
| | | node.text = decodeEntity(text); |
| | | if (this.hook(node)) { |
| | | var siblings = this.stack.length ? this.stack[this.stack.length - 1].children : this.nodes; |
| | | siblings.push(node); |
| | | } |
| | | }; |
| | | /** |
| | | * @description html 词法分析器 |
| | | * @param {Object} handler 高层处理器 |
| | | */ |
| | | |
| | | function lexer(handler) { |
| | | this.handler = handler; |
| | | } |
| | | /** |
| | | * @description 执行解析 |
| | | * @param {String} content 要解析的文本 |
| | | */ |
| | | |
| | | lexer.prototype.parse = function (content) { |
| | | this.content = content || ''; |
| | | this.i = 0; // 标记解析位置 |
| | | |
| | | this.start = 0; // 标记一个单词的开始位置 |
| | | |
| | | this.state = this.text; // 当前状态 |
| | | |
| | | for (var len = this.content.length; this.i != -1 && this.i < len;) { |
| | | this.state(); |
| | | } |
| | | }; |
| | | /** |
| | | * @description 检查标签是否闭合 |
| | | * @param {String} method 如果闭合要进行的操作 |
| | | * @returns {Boolean} 是否闭合 |
| | | * @private |
| | | */ |
| | | |
| | | lexer.prototype.checkClose = function (method) { |
| | | var selfClose = this.content[this.i] == '/'; |
| | | if (this.content[this.i] == '>' || selfClose && this.content[this.i + 1] == '>') { |
| | | if (method) this.handler[method](this.content.substring(this.start, this.i)); |
| | | this.i += selfClose ? 2 : 1; |
| | | this.start = this.i; |
| | | this.handler.onOpenTag(selfClose); |
| | | if (this.handler.tagName == 'script') { |
| | | this.i = this.content.indexOf('</', this.i); |
| | | if (this.i != -1) { |
| | | this.i += 2; |
| | | this.start = this.i; |
| | | } |
| | | this.state = this.endTag; |
| | | } else this.state = this.text; |
| | | return true; |
| | | } |
| | | return false; |
| | | }; |
| | | /** |
| | | * @description 文本状态 |
| | | * @private |
| | | */ |
| | | |
| | | lexer.prototype.text = function () { |
| | | this.i = this.content.indexOf('<', this.i); // 查找最近的标签 |
| | | |
| | | if (this.i == -1) { |
| | | // 没有标签了 |
| | | if (this.start < this.content.length) this.handler.onText(this.content.substring(this.start, this.content.length)); |
| | | return; |
| | | } |
| | | var c = this.content[this.i + 1]; |
| | | if (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z') { |
| | | // 标签开头 |
| | | if (this.start != this.i) this.handler.onText(this.content.substring(this.start, this.i)); |
| | | this.start = ++this.i; |
| | | this.state = this.tagName; |
| | | } else if (c == '/' || c == '!' || c == '?') { |
| | | if (this.start != this.i) this.handler.onText(this.content.substring(this.start, this.i)); |
| | | var next = this.content[this.i + 2]; |
| | | if (c == '/' && (next >= 'a' && next <= 'z' || next >= 'A' && next <= 'Z')) { |
| | | // 标签结尾 |
| | | this.i += 2; |
| | | this.start = this.i; |
| | | return this.state = this.endTag; |
| | | } // 处理注释 |
| | | |
| | | var end = '-->'; |
| | | if (c != '!' || this.content[this.i + 2] != '-' || this.content[this.i + 3] != '-') end = '>'; |
| | | this.i = this.content.indexOf(end, this.i); |
| | | if (this.i != -1) { |
| | | this.i += end.length; |
| | | this.start = this.i; |
| | | } |
| | | } else this.i++; |
| | | }; |
| | | /** |
| | | * @description 标签名状态 |
| | | * @private |
| | | */ |
| | | |
| | | lexer.prototype.tagName = function () { |
| | | if (blankChar[this.content[this.i]]) { |
| | | // 解析到标签名 |
| | | this.handler.onTagName(this.content.substring(this.start, this.i)); |
| | | while (blankChar[this.content[++this.i]]) {} |
| | | if (this.i < this.content.length && !this.checkClose()) { |
| | | this.start = this.i; |
| | | this.state = this.attrName; |
| | | } |
| | | } else if (!this.checkClose('onTagName')) this.i++; |
| | | }; |
| | | /** |
| | | * @description 属性名状态 |
| | | * @private |
| | | */ |
| | | |
| | | lexer.prototype.attrName = function () { |
| | | var c = this.content[this.i]; |
| | | if (blankChar[c] || c == '=') { |
| | | // 解析到属性名 |
| | | this.handler.onAttrName(this.content.substring(this.start, this.i)); |
| | | var needVal = c == '='; |
| | | var len = this.content.length; |
| | | while (++this.i < len) { |
| | | c = this.content[this.i]; |
| | | if (!blankChar[c]) { |
| | | if (this.checkClose()) return; |
| | | if (needVal) { |
| | | // 等号后遇到第一个非空字符 |
| | | this.start = this.i; |
| | | return this.state = this.attrVal; |
| | | } |
| | | if (this.content[this.i] == '=') needVal = true;else { |
| | | this.start = this.i; |
| | | return this.state = this.attrName; |
| | | } |
| | | } |
| | | } |
| | | } else if (!this.checkClose('onAttrName')) this.i++; |
| | | }; |
| | | /** |
| | | * @description 属性值状态 |
| | | * @private |
| | | */ |
| | | |
| | | lexer.prototype.attrVal = function () { |
| | | var c = this.content[this.i]; |
| | | var len = this.content.length; // 有冒号的属性 |
| | | |
| | | if (c == '"' || c == "'") { |
| | | this.start = ++this.i; |
| | | this.i = this.content.indexOf(c, this.i); |
| | | if (this.i == -1) return; |
| | | this.handler.onAttrVal(this.content.substring(this.start, this.i)); |
| | | } // 没有冒号的属性 |
| | | else { |
| | | for (; this.i < len; this.i++) { |
| | | if (blankChar[this.content[this.i]]) { |
| | | this.handler.onAttrVal(this.content.substring(this.start, this.i)); |
| | | break; |
| | | } else if (this.checkClose('onAttrVal')) return; |
| | | } |
| | | } |
| | | while (blankChar[this.content[++this.i]]) {} |
| | | if (this.i < len && !this.checkClose()) { |
| | | this.start = this.i; |
| | | this.state = this.attrName; |
| | | } |
| | | }; |
| | | /** |
| | | * @description 结束标签状态 |
| | | * @returns {String} 结束的标签名 |
| | | * @private |
| | | */ |
| | | |
| | | lexer.prototype.endTag = function () { |
| | | var c = this.content[this.i]; |
| | | if (blankChar[c] || c == '>' || c == '/') { |
| | | this.handler.onCloseTag(this.content.substring(this.start, this.i)); |
| | | if (c != '>') { |
| | | this.i = this.content.indexOf('>', this.i); |
| | | if (this.i == -1) return; |
| | | } |
| | | this.start = ++this.i; |
| | | this.state = this.text; |
| | | } else this.i++; |
| | | }; |
| | | module.exports = parser; |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"], __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/wx.js */ 1)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 468 */, |
| | | /* 469 */, |
| | | /* 470 */, |
| | | /* 471 */, |
| | | /* 472 */, |
| | | /* 473 */, |
| | | /* 474 */, |
| | | /* 475 */ |
| | | /*!******************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/libs/mixin/button.js ***! |
| | | \******************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | |
| | | |
| | | Object.defineProperty(exports, "__esModule", { |
| | | value: true |
| | | }); |
| | | exports.default = void 0; |
| | | var _default = { |
| | | props: { |
| | | lang: String, |
| | | sessionFrom: String, |
| | | sendMessageTitle: String, |
| | | sendMessagePath: String, |
| | | sendMessageImg: String, |
| | | showMessageCard: Boolean, |
| | | appParameter: String, |
| | | formType: String, |
| | | openType: String |
| | | } |
| | | }; |
| | | exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 476 */ |
| | | /*!********************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/libs/mixin/openType.js ***! |
| | | \********************************************************************************/ |
| | | /*! no static exports found */ |
| | | /***/ (function(module, exports, __webpack_require__) { |
| | | |
| | | "use strict"; |
| | | |
| | | |
| | | Object.defineProperty(exports, "__esModule", { |
| | | value: true |
| | | }); |
| | | exports.default = void 0; |
| | | var _default = { |
| | | props: { |
| | | openType: String |
| | | }, |
| | | methods: { |
| | | onGetUserInfo: function onGetUserInfo(event) { |
| | | this.$emit('getuserinfo', event.detail); |
| | | }, |
| | | onContact: function onContact(event) { |
| | | this.$emit('contact', event.detail); |
| | | }, |
| | | onGetPhoneNumber: function onGetPhoneNumber(event) { |
| | | this.$emit('getphonenumber', event.detail); |
| | | }, |
| | | onError: function onError(event) { |
| | | this.$emit('error', event.detail); |
| | | }, |
| | | onLaunchApp: function onLaunchApp(event) { |
| | | this.$emit('launchapp', event.detail); |
| | | }, |
| | | onOpenSetting: function onOpenSetting(event) { |
| | | this.$emit('opensetting', event.detail); |
| | | } |
| | | } |
| | | }; |
| | | exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 477 */ |
| | | /*!**************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-button/props.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 = void 0; |
| | | /* |
| | | * @Author : LQ |
| | | * @Description : |
| | | * @version : 1.0 |
| | | * @Date : 2021-08-16 10:04:04 |
| | | * @LastAuthor : LQ |
| | | * @lastTime : 2021-08-16 10:04:24 |
| | | * @FilePath : /u-view2.0/uview-ui/components/u-button/props.js |
| | | */ |
| | | var _default = { |
| | | props: { |
| | | // 是否细边框 |
| | | hairline: { |
| | | type: Boolean, |
| | | default: uni.$u.props.button.hairline |
| | | }, |
| | | // 按钮的预置样式,info,primary,error,warning,success |
| | | type: { |
| | | type: String, |
| | | default: uni.$u.props.button.type |
| | | }, |
| | | // 按钮尺寸,large,normal,small,mini |
| | | size: { |
| | | type: String, |
| | | default: uni.$u.props.button.size |
| | | }, |
| | | // 按钮形状,circle(两边为半圆),square(带圆角) |
| | | shape: { |
| | | type: String, |
| | | default: uni.$u.props.button.shape |
| | | }, |
| | | // 按钮是否镂空 |
| | | plain: { |
| | | type: Boolean, |
| | | default: uni.$u.props.button.plain |
| | | }, |
| | | // 是否禁止状态 |
| | | disabled: { |
| | | type: Boolean, |
| | | default: uni.$u.props.button.disabled |
| | | }, |
| | | // 是否加载中 |
| | | loading: { |
| | | type: Boolean, |
| | | default: uni.$u.props.button.loading |
| | | }, |
| | | // 加载中提示文字 |
| | | loadingText: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.button.loadingText |
| | | }, |
| | | // 加载状态图标类型 |
| | | loadingMode: { |
| | | type: String, |
| | | default: uni.$u.props.button.loadingMode |
| | | }, |
| | | // 加载图标大小 |
| | | loadingSize: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.button.loadingSize |
| | | }, |
| | | // 开放能力,具体请看uniapp稳定关于button组件部分说明 |
| | | // https://uniapp.dcloud.io/component/button |
| | | openType: { |
| | | type: String, |
| | | default: uni.$u.props.button.openType |
| | | }, |
| | | // 用于 <form> 组件,点击分别会触发 <form> 组件的 submit/reset 事件 |
| | | // 取值为submit(提交表单),reset(重置表单) |
| | | formType: { |
| | | type: String, |
| | | default: uni.$u.props.button.formType |
| | | }, |
| | | // 打开 APP 时,向 APP 传递的参数,open-type=launchApp时有效 |
| | | // 只微信小程序、QQ小程序有效 |
| | | appParameter: { |
| | | type: String, |
| | | default: uni.$u.props.button.appParameter |
| | | }, |
| | | // 指定是否阻止本节点的祖先节点出现点击态,微信小程序有效 |
| | | hoverStopPropagation: { |
| | | type: Boolean, |
| | | default: uni.$u.props.button.hoverStopPropagation |
| | | }, |
| | | // 指定返回用户信息的语言,zh_CN 简体中文,zh_TW 繁体中文,en 英文。只微信小程序有效 |
| | | lang: { |
| | | type: String, |
| | | default: uni.$u.props.button.lang |
| | | }, |
| | | // 会话来源,open-type="contact"时有效。只微信小程序有效 |
| | | sessionFrom: { |
| | | type: String, |
| | | default: uni.$u.props.button.sessionFrom |
| | | }, |
| | | // 会话内消息卡片标题,open-type="contact"时有效 |
| | | // 默认当前标题,只微信小程序有效 |
| | | sendMessageTitle: { |
| | | type: String, |
| | | default: uni.$u.props.button.sendMessageTitle |
| | | }, |
| | | // 会话内消息卡片点击跳转小程序路径,open-type="contact"时有效 |
| | | // 默认当前分享路径,只微信小程序有效 |
| | | sendMessagePath: { |
| | | type: String, |
| | | default: uni.$u.props.button.sendMessagePath |
| | | }, |
| | | // 会话内消息卡片图片,open-type="contact"时有效 |
| | | // 默认当前页面截图,只微信小程序有效 |
| | | sendMessageImg: { |
| | | type: String, |
| | | default: uni.$u.props.button.sendMessageImg |
| | | }, |
| | | // 是否显示会话内消息卡片,设置此参数为 true,用户进入客服会话会在右下角显示"可能要发送的小程序"提示, |
| | | // 用户点击后可以快速发送小程序消息,open-type="contact"时有效 |
| | | showMessageCard: { |
| | | type: Boolean, |
| | | default: uni.$u.props.button.showMessageCard |
| | | }, |
| | | // 额外传参参数,用于小程序的data-xxx属性,通过target.dataset.name获取 |
| | | dataName: { |
| | | type: String, |
| | | default: uni.$u.props.button.dataName |
| | | }, |
| | | // 节流,一定时间内只能触发一次 |
| | | throttleTime: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.button.throttleTime |
| | | }, |
| | | // 按住后多久出现点击态,单位毫秒 |
| | | hoverStartTime: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.button.hoverStartTime |
| | | }, |
| | | // 手指松开后点击态保留时间,单位毫秒 |
| | | hoverStayTime: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.button.hoverStayTime |
| | | }, |
| | | // 按钮文字,之所以通过props传入,是因为slot传入的话 |
| | | // nvue中无法控制文字的样式 |
| | | text: { |
| | | type: [String, Number], |
| | | default: uni.$u.props.button.text |
| | | }, |
| | | // 按钮图标 |
| | | icon: { |
| | | type: String, |
| | | default: uni.$u.props.button.icon |
| | | }, |
| | | // 按钮图标 |
| | | iconColor: { |
| | | type: String, |
| | | default: uni.$u.props.button.icon |
| | | }, |
| | | // 按钮颜色,支持传入linear-gradient渐变色 |
| | | color: { |
| | | type: String, |
| | | default: uni.$u.props.button.color |
| | | } |
| | | } |
| | | }; |
| | | exports.default = _default; |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 478 */, |
| | | /* 479 */, |
| | | /* 480 */, |
| | | /* 481 */, |
| | | /* 482 */, |
| | | /* 483 */, |
| | | /* 484 */, |
| | | /* 485 */, |
| | | /* 486 */, |
| | | /* 487 */, |
| | | /* 488 */, |
| | | /* 489 */, |
| | | /* 490 */, |
| | | /* 491 */, |
| | | /* 492 */, |
| | | /* 493 */, |
| | | /* 494 */, |
| | | /* 495 */, |
| | | /* 496 */, |
| | | /* 497 */, |
| | | /* 498 */, |
| | | /* 499 */ |
| | | /*!********************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-loading-icon/props.js ***! |
| | | \********************************************************************************************/ |
| | |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 440 */, |
| | | /* 441 */, |
| | | /* 442 */, |
| | | /* 443 */, |
| | | /* 444 */, |
| | | /* 445 */, |
| | | /* 446 */, |
| | | /* 447 */ |
| | | /* 500 */, |
| | | /* 501 */, |
| | | /* 502 */, |
| | | /* 503 */, |
| | | /* 504 */, |
| | | /* 505 */, |
| | | /* 506 */, |
| | | /* 507 */ |
| | | /*!***************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-toolbar/props.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 = void 0; |
| | | var _default = { |
| | | props: { |
| | | // 是否展示工具条 |
| | | show: { |
| | | type: Boolean, |
| | | default: uni.$u.props.toolbar.show |
| | | }, |
| | | // 取消按钮的文字 |
| | | cancelText: { |
| | | type: String, |
| | | default: uni.$u.props.toolbar.cancelText |
| | | }, |
| | | // 确认按钮的文字 |
| | | confirmText: { |
| | | type: String, |
| | | default: uni.$u.props.toolbar.confirmText |
| | | }, |
| | | // 取消按钮的颜色 |
| | | cancelColor: { |
| | | type: String, |
| | | default: uni.$u.props.toolbar.cancelColor |
| | | }, |
| | | // 确认按钮的颜色 |
| | | confirmColor: { |
| | | type: String, |
| | | default: uni.$u.props.toolbar.confirmColor |
| | | }, |
| | | // 标题文字 |
| | | title: { |
| | | type: String, |
| | | default: uni.$u.props.toolbar.title |
| | | } |
| | | } |
| | | }; |
| | | exports.default = _default; |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 508 */, |
| | | /* 509 */, |
| | | /* 510 */, |
| | | /* 511 */, |
| | | /* 512 */, |
| | | /* 513 */, |
| | | /* 514 */, |
| | | /* 515 */ |
| | | /*!************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-line/props.js ***! |
| | | \************************************************************************************/ |
| | |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 448 */, |
| | | /* 449 */, |
| | | /* 450 */, |
| | | /* 451 */, |
| | | /* 452 */, |
| | | /* 453 */, |
| | | /* 454 */, |
| | | /* 455 */ |
| | | /* 516 */, |
| | | /* 517 */, |
| | | /* 518 */, |
| | | /* 519 */, |
| | | /* 520 */, |
| | | /* 521 */, |
| | | /* 522 */, |
| | | /* 523 */ |
| | | /*!***************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-overlay/props.js ***! |
| | | \***************************************************************************************/ |
| | |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 456 */, |
| | | /* 457 */, |
| | | /* 458 */, |
| | | /* 459 */, |
| | | /* 460 */, |
| | | /* 461 */, |
| | | /* 462 */, |
| | | /* 463 */ |
| | | /* 524 */, |
| | | /* 525 */, |
| | | /* 526 */, |
| | | /* 527 */, |
| | | /* 528 */, |
| | | /* 529 */, |
| | | /* 530 */, |
| | | /* 531 */ |
| | | /*!******************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-transition/props.js ***! |
| | | \******************************************************************************************/ |
| | |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 464 */ |
| | | /* 532 */ |
| | | /*!***********************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-transition/transition.js ***! |
| | | \***********************************************************************************************/ |
| | |
| | | exports.default = void 0; |
| | | var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 30)); |
| | | var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 32)); |
| | | var _nvueAniMap = _interopRequireDefault(__webpack_require__(/*! ./nvue.ani-map.js */ 465)); |
| | | var _nvueAniMap = _interopRequireDefault(__webpack_require__(/*! ./nvue.ani-map.js */ 533)); |
| | | // 定义一个一定时间后自动成功的promise,让调用nextTick方法处,进入下一个then方法 |
| | | var nextTick = function nextTick() { |
| | | return new Promise(function (resolve) { |
| | |
| | | exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 465 */ |
| | | /* 533 */ |
| | | /*!*************************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-transition/nvue.ani-map.js ***! |
| | | \*************************************************************************************************/ |
| | |
| | | exports.default = _default; |
| | | |
| | | /***/ }), |
| | | /* 466 */, |
| | | /* 467 */, |
| | | /* 468 */, |
| | | /* 469 */, |
| | | /* 470 */, |
| | | /* 471 */, |
| | | /* 472 */, |
| | | /* 473 */ |
| | | /* 534 */, |
| | | /* 535 */, |
| | | /* 536 */, |
| | | /* 537 */, |
| | | /* 538 */, |
| | | /* 539 */, |
| | | /* 540 */, |
| | | /* 541 */ |
| | | /*!******************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-status-bar/props.js ***! |
| | | \******************************************************************************************/ |
| | |
| | | /* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"])) |
| | | |
| | | /***/ }), |
| | | /* 474 */, |
| | | /* 475 */, |
| | | /* 476 */, |
| | | /* 477 */, |
| | | /* 478 */, |
| | | /* 479 */, |
| | | /* 480 */, |
| | | /* 481 */ |
| | | /* 542 */, |
| | | /* 543 */, |
| | | /* 544 */, |
| | | /* 545 */, |
| | | /* 546 */, |
| | | /* 547 */, |
| | | /* 548 */, |
| | | /* 549 */ |
| | | /*!*******************************************************************************************!*\ |
| | | !*** D:/豆米/jinkuai/small-program/node_modules/uview-ui/components/u-safe-bottom/props.js ***! |
| | | \*******************************************************************************************/ |