You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
3.7 KiB
1 line
3.7 KiB
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["common/main"],{"22ed":function(e,t,n){"use strict";(function(e){n("2804");var t=o(n("66fd")),a=o(n("ab79")),r=o(n("21da"));function o(e){return e&&e.__esModule?e:{default:e}}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(){n.e("pages/commponent/public/nodata").then(function(){return resolve(n("8874"))}.bind(null,n)).catch(n.oe)};t.default.prototype.request=r.default.request,t.default.component("nodata",f),t.default.config.productionTip=!1,t.default.mixin({methods:{setData:function(e,t){var n=this,a=function(e,t,n){return t=t.split("."),t.forEach((function(t){if(null===e[t]||void 0===e[t]){var a=/^[0-9]+$/;e[t]=a.test(n)?[]:{},e=e[t]}else e=e[t]})),e},r=function(e){return"function"==typeof e||!1};Object.keys(e).forEach((function(t){var r,o,c=e[t];t=t.replace(/\]/g,"").replace(/\[/g,".");var u=t.lastIndexOf(".");-1!=u?(o=t.slice(u+1),r=a(n,t.slice(0,u),o)):(o=t,r=n),r.$data&&void 0===r.$data[o]?(Object.defineProperty(r,o,{get:function(){return r.$data[o]},set:function(e){r.$data[o]=e,n.$forceUpdate()},enumerable:!0,configurable:!0}),r[o]=c):n.$set(r,o,c)})),r(t)&&this.$nextTick(t)}}}),a.default.mpType="app";var i=new t.default(u({},a.default));e(i).$mount()}).call(this,n("543d")["createApp"])},"57bc":function(e,t,n){},7111:function(e,t,n){"use strict";var a=n("57bc"),r=n.n(a);r.a},ab79:function(e,t,n){"use strict";n.r(t);var a=n("f3c2");for(var r in a)"default"!==r&&function(e){n.d(t,e,(function(){return a[e]}))}(r);n("7111");var o,c,u,l,f=n("f0c5"),i=Object(f["a"])(a["default"],o,c,!1,null,null,null,!1,u,l);t["default"]=i.exports},d0ce:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n("c041"),r=c(n("1b9a")),o=c(n("21da"));function c(e){return e&&e.__esModule?e:{default:e}}var u=(0,a.getConfig)(),l="";u&&(l=u.color),e.$ajax=o.default.request;var f={onLaunch:function(){var t=this;e.getSetting({success:function(n){n.authSetting["scope.userInfo"]&&e.getUserInfo({success:function(e){t.globalData.userInfo=e.userInfo,t.userInfoReadyCallback&&t.userInfoReadyCallback(e)}})}}),e.getSystemInfo({complete:function(e){t.globalData.statusHeight=e.statusBarHeight,"ios"==e.platform?t.globalData.toBar=44:"android"==e.platform?t.globalData.toBar=48:t.globalData.toBar=44}});var n=(0,a.getConfig)();if(n&&""!==n.color){e.setTabBarStyle({selectedColor:n.color});var r=n.tabList;if(n.tabList)for(var o=0;o<r.length;o++){var c=r[o];e.setTabBarItem({index:o,selectedIconPath:c})}}else{var u={color:"#fa436a",name:"default"};(0,a.setConfig)(u),e.setTabBarStyle({selectedColor:"#fa436a"})}var l=(0,a.getCart)(),f="";l&&(0,a.getToken)()&&(f=l.length,e.setTabBarBadge({index:2,text:String(f)}))},globalData:{userInfo:null,statusHeight:"20",toBar:"44",newColor:l||"#fa436a",config:r.default.themeList},methods:{}};t.default=f}).call(this,n("543d")["default"])},f3c2:function(e,t,n){"use strict";n.r(t);var a=n("d0ce"),r=n.n(a);for(var o in a)"default"!==o&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=r.a}},[["22ed","common/runtime","common/vendor"]]]); |