hengmei-two/unpackage/dist/build/mp-baidu/common/vendor.js

9 lines
411 KiB
JavaScript
Raw Normal View History

2021-08-19 06:40:59 +00:00
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/vendor"],{"0cc9":function(e,a,l){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=[[{label:"市辖区",value:"1101"}],[{label:"市辖区",value:"1201"}],[{label:"石家庄市",value:"1301"},{label:"唐山市",value:"1302"},{label:"秦皇岛市",value:"1303"},{label:"邯郸市",value:"1304"},{label:"邢台市",value:"1305"},{label:"保定市",value:"1306"},{label:"张家口市",value:"1307"},{label:"承德市",value:"1308"},{label:"沧州市",value:"1309"},{label:"廊坊市",value:"1310"},{label:"衡水市",value:"1311"}],[{label:"太原市",value:"1401"},{label:"大同市",value:"1402"},{label:"阳泉市",value:"1403"},{label:"长治市",value:"1404"},{label:"晋城市",value:"1405"},{label:"朔州市",value:"1406"},{label:"晋中市",value:"1407"},{label:"运城市",value:"1408"},{label:"忻州市",value:"1409"},{label:"临汾市",value:"1410"},{label:"吕梁市",value:"1411"}],[{label:"呼和浩特市",value:"1501"},{label:"包头市",value:"1502"},{label:"乌海市",value:"1503"},{label:"赤峰市",value:"1504"},{label:"通辽市",value:"1505"},{label:"鄂尔多斯市",value:"1506"},{label:"呼伦贝尔市",value:"1507"},{label:"巴彦淖尔市",value:"1508"},{label:"乌兰察布市",value:"1509"},{label:"兴安盟",value:"1522"},{label:"锡林郭勒盟",value:"1525"},{label:"阿拉善盟",value:"1529"}],[{label:"沈阳市",value:"2101"},{label:"大连市",value:"2102"},{label:"鞍山市",value:"2103"},{label:"抚顺市",value:"2104"},{label:"本溪市",value:"2105"},{label:"丹东市",value:"2106"},{label:"锦州市",value:"2107"},{label:"营口市",value:"2108"},{label:"阜新市",value:"2109"},{label:"辽阳市",value:"2110"},{label:"盘锦市",value:"2111"},{label:"铁岭市",value:"2112"},{label:"朝阳市",value:"2113"},{label:"葫芦岛市",value:"2114"}],[{label:"长春市",value:"2201"},{label:"吉林市",value:"2202"},{label:"四平市",value:"2203"},{label:"辽源市",value:"2204"},{label:"通化市",value:"2205"},{label:"白山市",value:"2206"},{label:"松原市",value:"2207"},{label:"白城市",value:"2208"},{label:"延边朝鲜族自治州",value:"2224"}],[{label:"哈尔滨市",value:"2301"},{label:"齐齐哈尔市",value:"2302"},{label:"鸡西市",value:"2303"},{label:"鹤岗市",value:"2304"},{label:"双鸭山市",value:"2305"},{label:"大庆市",value:"2306"},{label:"伊春市",value:"2307"},{label:"佳木斯市",value:"2308"},{label:"七台河市",value:"2309"},{label:"牡丹江市",value:"2310"},{label:"黑河市",value:"2311"},{label:"绥化市",value:"2312"},{label:"大兴安岭地区",value:"2327"}],[{label:"市辖区",value:"3101"}],[{label:"南京市",value:"3201"},{label:"无锡市",value:"3202"},{label:"徐州市",value:"3203"},{label:"常州市",value:"3204"},{label:"苏州市",value:"3205"},{label:"南通市",value:"3206"},{label:"连云港市",value:"3207"},{label:"淮安市",value:"3208"},{label:"盐城市",value:"3209"},{label:"扬州市",value:"3210"},{label:"镇江市",value:"3211"},{label:"泰州市",value:"3212"},{label:"宿迁市",value:"3213"}],[{label:"杭州市",value:"3301"},{label:"宁波市",value:"3302"},{label:"温州市",value:"3303"},{label:"嘉兴市",value:"3304"},{label:"湖州市",value:"3305"},{label:"绍兴市",value:"3306"},{label:"金华市",value:"3307"},{label:"衢州市",value:"3308"},{label:"舟山市",value:"3309"},{label:"台州市",value:"3310"},{label:"丽水市",value:"3311"}],[{label:"合肥市",value:"3401"},{label:"芜湖市",value:"3402"},{label:"蚌埠市",value:"3403"},{label:"淮南市",value:"3404"},{label:"马鞍山市",value:"3405"},{label:"淮北市",value:"3406"},{label:"铜陵市",value:"3407"},{label:"安庆市",value:"3408"},{label:"黄山市",value:"3410"},{label:"滁州市",value:"3411"},{label:"阜阳市",value:"3412"},{label:"宿州市",value:"3413"},{label:"六安市",value:"3415"},{label:"亳州市",value:"3416"},{label:"池州市",value:"3417"},{label:"宣城市",value:"3418"}],[{label:"福州市",value:"3501"},{label:"厦门市",v
/*!
* Vue.js v2.6.11
* (c) 2014-2021 Evan You
* Released under the MIT License.
*/
var l=Object.freeze({});function n(e){return void 0===e||null===e}function u(e){return void 0!==e&&null!==e}function v(e){return!0===e}function t(e){return!1===e}function r(e){return"string"===typeof e||"number"===typeof e||"symbol"===typeof e||"boolean"===typeof e}function p(e){return null!==e&&"object"===typeof e}var m=Object.prototype.toString;function b(e){return"[object Object]"===m.call(e)}function o(e){return"[object RegExp]"===m.call(e)}function i(e){var a=parseFloat(String(e));return a>=0&&Math.floor(a)===a&&isFinite(e)}function s(e){return u(e)&&"function"===typeof e.then&&"function"===typeof e.catch}function c(e){return null==e?"":Array.isArray(e)||b(e)&&e.toString===m?JSON.stringify(e,null,2):String(e)}function f(e){var a=parseFloat(e);return isNaN(a)?e:a}function d(e,a){for(var l=Object.create(null),n=e.split(","),u=0;u<n.length;u++)l[n[u]]=!0;return a?function(e){return l[e.toLowerCase()]}:function(e){return l[e]}}d("slot,component",!0);var h=d("key,ref,slot,slot-scope,is");function y(e,a){if(e.length){var l=e.indexOf(a);if(l>-1)return e.splice(l,1)}}var _=Object.prototype.hasOwnProperty;function g(e,a){return _.call(e,a)}function $(e){var a=Object.create(null);return function(l){var n=a[l];return n||(a[l]=e(l))}}var O=/-(\w)/g,w=$((function(e){return e.replace(O,(function(e,a){return a?a.toUpperCase():""}))})),A=$((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),S=/\B([A-Z])/g,k=$((function(e){return e.replace(S,"-$1").toLowerCase()}));function j(e,a){function l(l){var n=arguments.length;return n?n>1?e.apply(a,arguments):e.call(a,l):e.call(a)}return l._length=e.length,l}function P(e,a){return e.bind(a)}var x=Function.prototype.bind?P:j;function E(e,a){a=a||0;var l=e.length-a,n=new Array(l);while(l--)n[l]=e[l+a];return n}function C(e,a){for(var l in a)e[l]=a[l];return e}function I(e){for(var a={},l=0;l<e.length;l++)e[l]&&C(a,e[l]);return a}function D(e,a,l){}var T=function(e,a,l){return!1},M=function(e){return e};function U(e,a){if(e===a)return!0;var l=p(e),n=p(a);if(!l||!n)return!l&&!n&&String(e)===String(a);try{var u=Array.isArray(e),v=Array.isArray(a);if(u&&v)return e.length===a.length&&e.every((function(e,l){return U(e,a[l])}));if(e instanceof Date&&a instanceof Date)return e.getTime()===a.getTime();if(u||v)return!1;var t=Object.keys(e),r=Object.keys(a);return t.length===r.length&&t.every((function(l){return U(e[l],a[l])}))}catch(m){return!1}}function L(e,a){for(var l=0;l<e.length;l++)if(U(e[l],a))return l;return-1}function R(e){var a=!1;return function(){a||(a=!0,e.apply(this,arguments))}}var V=["component","directive","filter"],N=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],B={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:T,isReservedAttr:T,isUnknownElement:T,getTagNamespace:D,parsePlatformTagName:M,mustUseProp:T,async:!0,_lifecycleHooks:N},F=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function H(e){var a=(e+"").charCodeAt(0);return 36===a||95===a}function z(e,a,l,n){Object.defineProperty(e,a,{value:l,enumerable:!!n,writable:!0,configurable:!0})}var J=new RegExp("[^"+F.source+".$_\\d]");function q(e){if(!J.test(e)){var a=e.split(".");return function(e){for(var l=0;l<a.length;l++){if(!e)return;e=e[a[l]]}return e}}}var W,G="__proto__"in{},K="undefined"!==typeof window,X="undefined"!==typeof WXEnvironment&&!!WXEnvironment.platform,Q=X&&WXEnvironment.platform.toLowerCase(),Z=K&&window.navigator.userAgent.toLowerCase(),Y=Z&&/msie|trident/.test(Z),ee=(Z&&Z.indexOf("msie 9.0"),Z&&Z.indexOf("edge/")>0),ae=(Z&&Z.indexOf("android"),Z&&/iphone|ipad|ipod|ios/.test(Z)||"ios"===Q),le=(Z&&/chrome\/\d+/.test(Z),Z&&/phantomjs/.test(Z),Z&&Z.match(/firefox\/(\d+)/),{}.watch);if(K)try{var ne={};Object.defineProperty(ne,"passive",{get:fun
//!hideLoading && uni.showToast({title: loadingText,icon:'loading'})
e.request({url:"".concat(n.default.BASE_URL).concat(l),method:t,data:v(l,u),header:p,success:function(l){200==l.statusCode?0==l.data.code?a(l.data):""==e.getStorageSync("token")?(e.showToast({title:"登录失效,请重新授权登录",icon:"none"}),setTimeout((function(){e.reLaunch({url:"/pages/login/login"})}),1e3)):r(l,b):b({msg:"请求错误("+l.statusCode+")"})},fail:function(e){r(e,b)},complete:function(){!m&&e.hideToast()}})}))},m=function(a,l){var u=l||{};return e.showLoading({title:"上传中..."}),new Promise((function(l,v){e.uploadFile({url:"".concat(n.default.BASE_URL).concat(a),filePath:u.file,name:"image",fileType:"image",formData:u,header:{"Content-Type":"multipart/form-data;charset=UTF-8",Authorization:"Bearer "+e.getStorageSync("token")||!1},success:function(a){if(200==a.statusCode){var n=JSON.parse(a.data);0==n.code?l(n):(v(n),e.showToast({title:n.msg||"接口错误("+n.code+")",icon:"none"}))}else e.showToast({title:"未知错误(".concat(a.statusCode,")"),icon:"none"})},fail:function(e){},complete:function(){e.hideLoading()}})}))},b={get:function(e,a){return p("get",e,a)},post:function(e,a){return p("post",e,a)},postForm:function(e,a){return p("postForm",e,a)},upload:function(e,a){return m(e,a)}};a.default=b}).call(this,l("5486")["default"])},f0c5:function(e,a,l){"use strict";function n(e,a,l,n,u,v,t,r,p,m){var b,o="function"===typeof e?e.options:e;if(p){o.components||(o.components={});var i=Object.prototype.hasOwnProperty;for(var s in p)i.call(p,s)&&!i.call(o.components,s)&&(o.components[s]=p[s])}if(m&&((m.beforeCreate||(m.beforeCreate=[])).unshift((function(){this[m.__module]=this})),(o.mixins||(o.mixins=[])).push(m)),a&&(o.render=a,o.staticRenderFns=l,o._compiled=!0),n&&(o.functional=!0),v&&(o._scopeId="data-v-"+v),t?(b=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),u&&u.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(t)},o._ssrRegister=b):u&&(b=r?function(){u.call(this,this.$root.$options.shadowRoot)}:u),b)if(o.functional){o._injectStyles=b;var c=o.render;o.render=function(e,a){return b.call(a),c(e,a)}}else{var f=o.beforeCreate;o.beforeCreate=f?[].concat(f,b):[b]}return{exports:e,options:o}}l.d(a,"a",(function(){return n}))},fd52:function(e,a,l){"use strict";function n(e,a){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter((function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable}))),l.push.apply(l,n)}return l}function u(e){for(var a=1;a<arguments.length;a++){var l=null!=arguments[a]?arguments[a]:{};a%2?n(Object(l),!0).forEach((function(a){v(e,a,l[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):n(Object(l)).forEach((function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(l,a))}))}return e}function v(e,a,l){return a in e?Object.defineProperty(e,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):e[a]=l,e}Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var t="production",r={development:{BASE_URL:"https://dengrui.scdxtc.cn/api/",IMG_URL:"https://xx",BASE_UPLOAD_URL:""},test:{BASE_URL:"https://xxx",IMG_URL:"https://xxx",BASE_UPLOAD_URL:""},production:{BASE_URL:"https://xx",IMG_URL:"https://xx",BASE_UPLOAD_URL:""}},p=u({ENV:t},r[t]);a.default=p}}]);