TraceabilityAPP/unpackage/dist/build/app-plus/app-config-service.js

11 lines
67 KiB
JavaScript
Raw Normal View History

2023-10-17 16:02:55 +08:00
;(function(){
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"种植溯源","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"3.98","entryPagePath":"pages/index/massif","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"tabBar":{"position":"bottom","color":"#272822","selectedColor":"#34D190","borderStyle":"white","blurEffect":"none","fontSize":"10px","iconWidth":"24px","spacing":"3px","height":"50px","backgroundColor":"#EBF1EF","list":[{"pagePath":"pages/index/massif","text":"首页","iconPath":"/static/tabber/a-a.png","selectedIconPath":"/static/tabber/a.png"},{"pagePath":"pages/index/index","text":"地块","iconPath":"/static/tabber/b-b.png","selectedIconPath":"/static/tabber/b.png"},{"pagePath":"pages/index/personal","text":"我的","iconPath":"/static/tabber/c-a.png","selectedIconPath":"/static/tabber/c.png"}],"selectedIndex":0,"shown":true},"locales":{},"darkmode":false,"themeConfig":{}};
const __uniRoutes = [{"path":"pages/index/massif","meta":{"isQuit":true,"isEntry":true,"isTabBar":true,"tabBarIndex":0,"enablePullDownRefresh":false,"navigationBar":{"backgroundColor":"#F4F4F4","titleText":"地块","style":"custom","type":"default","titleColor":"#000000"},"isNVue":false}},{"path":"pages/index/index","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":1,"enablePullDownRefresh":true,"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/landDetail/index","meta":{"enablePullDownRefresh":false,"navigationBar":{"backgroundColor":"#F4F4F4","titleText":"土地详情","type":"default","titleColor":"#000000"},"isNVue":false}},{"path":"pages/landDetail/tudi","meta":{"enablePullDownRefresh":false,"navigationBar":{"backgroundColor":"#F4F4F4","titleText":"种植详情","type":"default","titleColor":"#000000"},"isNVue":false}},{"path":"pages/husbandryForm/harvest","meta":{"enablePullDownRefresh":false,"navigationBar":{"backgroundColor":"#F4F4F4","titleText":"添加收获信息","type":"default","titleColor":"#000000"},"isNVue":false}},{"path":"pages/husbandryForm/Pest","meta":{"enablePullDownRefresh":false,"navigationBar":{"backgroundColor":"#F4F4F4","titleText":"添加虫害防治信息","type":"default","titleColor":"#000000"},"isNVue":false}},{"path":"pages/husbandryForm/irrigate","meta":{"enablePullDownRefresh":false,"navigationBar":{"backgroundColor":"#F4F4F4","titleText":"添加灌溉信息","type":"default","titleColor":"#000000"},"isNVue":false}},{"path":"pages/husbandryForm/weeding","meta":{"enablePullDownRefresh":false,"navigationBar":{"backgroundColor":"#F4F4F4","titleText":"添加除草信息","type":"default","titleColor":"#000000"},"isNVue":false}},{"path":"pages/husbandryForm/fertilize","meta":{"enablePullDownRefresh":false,"navigationBar":{"backgroundColor":"#F4F4F4","titleText":"添加施肥信息","type":"default","titleColor":"#000000"},"isNVue":false}},{"path":"pages/husbandryForm/sow","meta":{"enablePullDownRefresh":false,"navigationBar":{"backgroundColor":"#F4F4F4","titleText":"添加种植信息","type":"default","titleColor":"#000000"},"isNVue":false}},{"path":"pages/live/live","meta":{"enablePullDownRefresh":false,"navigationBar":{"backgroundColor":"#F4F4F4","titleText":"苗情监测","type":"default","titleColor":"#000000"},"isNVue":true}},{"path":"pages/addLand/addLand","meta":{"enablePullDownRefresh":false,"navigationBar":{"backgroundColor":"#F4F4F4","titleText":"添加土地信息","type":"default","titleColor":"#000000"},"isNVue":false}},{"path":"pages/landDetail/results","meta":{"enablePullDownRefresh":false,"navigationBar":{"backgroundColor":"#F4F4F4","titleText":"溯源结果","type":"default","titleColor":"#000000"},"isNVue":false}},{"path":"pages/updatePassword/updatePassword","meta":{"enablePullDownRefresh":false,"navigationBar":{"backgroundColor":"#F4F4F4","titleText":"密码修改","type":"default","titleColor":"#000000"},"isNVue":false}},{"path":"pages/index/personal","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":2,"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/Login/login","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/Login/resgier","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
__uniConfig.styles=[{"u-line-1":{"":{"lines":1,"textOverflow":"ellipsis","overflow":"hidden","flex":1}},"u-line-2":{"":{"lines":2,"textOverflow":"ellipsis","overflow":"hidden","flex":1}},"u-line-3":{"":{"lines":3,"textOverflow":"ellipsis","overflow":"hidden","flex":1}},"u-line-4":{"":{"lines":4,"textOverflow":"ellipsis","overflow":"hidden","flex":1}},"u-line-5":{"":{"lines":5,"textOverflow":"ellipsis","overflow":"hidden","flex":1}},"u-border":{"":{"!borderWidth":0.5,"!borderColor":"#dadbde","borderStyle":"solid"}},"u-border-top":{"":{"!borderTopWidth":0.5,"!borderColor":"#dadbde","borderTopStyle":"solid"}},"u-border-left":{"":{"!borderLeftWidth":0.5,"!borderColor":"#dadbde","borderLeftStyle":"solid"}},"u-border-right":{"":{"!borderRightWidth":0.5,"!borderColor":"#dadbde","borderRightStyle":"solid"}},"u-border-bottom":{"":{"!borderBottomWidth":0.5,"!borderColor":"#dadbde","borderBottomStyle":"solid"}},"u-border-top-bottom":{"":{"!borderTopWidth":0.5,"!borderBottomWidth":0.5,"!borderColor":"#dadbde","borderTopStyle":"solid","borderBottomStyle":"solid"}},"u-reset-button":{"":{"paddingTop":0,"paddingRight":0,"paddingBottom":0,"paddingLeft":0,"backgroundColor":"rgba(0,0,0,0)","borderWidth":0}},"u-hover-class":{"":{"opacity":0.7}},"u-flex":{"":{"flexDirection":"row"}},"u-flex-row":{"":{"flexDirection":"row"}},"u-flex-x":{"":{"flexDirection":"row"}},"u-flex-y":{"":{"flexDirection":"column"}},"u-flex-column":{"":{"flexDirection":"column"}},"u-flex-x-center":{"":{"flexDirection":"row","justifyContent":"center"}},"u-flex-xy-center":{"":{"flexDirection":"row","justifyContent":"center","alignItems":"center"}},"u-flex-y-center":{"":{"flexDirection":"row","alignItems":"center"}},"u-flex-x-left":{"":{"flexDirection":"row"}},"u-flex-x-reverse":{"":{"flexDirection":"row-reverse"}},"u-flex-row-reverse":{"":{"flexDirection":"row-reverse"}},"u-flex-y-reverse":{"":{"flexDirection":"column-reverse"}},"u-flex-column-reverse":{"":{"flexDirection":"column-reverse"}},"u-flex-wrap":{"":{"flexWrap":"wrap"}},"u-flex-wrap-reverse":{"":{"flexWrap":"wrap-reverse"}},"u-flex-start":{"":{"justifyContent":"flex-start"}},"u-flex-center":{"":{"justifyContent":"center"}},"u-flex-end":{"":{"justifyContent":"flex-end"}},"u-flex-between":{"":{"justifyContent":"space-between"}},"u-flex-around":{"":{"justifyContent":"space-around"}},"u-flex-items-start":{"":{"alignItems":"flex-start"}},"u-flex-items-center":{"":{"alignItems":"center"}},"u-flex-items-end":{"":{"alignItems":"flex-end"}},"u-flex-items-stretch":{"":{"alignItems":"stretch"}},"u-flex-self-start":{"":{"alignSelf":"flex-start"}},"u-flex-self-center":{"":{"alignSelf":"center"}},"u-flex-self-end":{"":{"alignSelf":"flex-end"}},"u-flex-self-baseline":{"":{"alignSelf":"baseline"}},"u-flex-self-stretch":{"":{"alignSelf":"stretch"}},"u-flex-content-start":{"":{"alignContent":"flex-start"}},"u-flex-content-center":{"":{"alignContent":"center"}},"u-flex-content-end":{"":{"alignContent":"flex-end"}},"u-flex-content-between":{"":{"alignContent":"space-between"}},"u-flex-content-around":{"":{"alignContent":"space-around"}},"u-flex-middle":{"":{"justifyContent":"center","alignItems":"center","alignSelf":"center","alignContent":"center"}},"u-flex-grow":{"":{"flexGrow":1}},"u-flex-shrink":{"":{"flexShrink":1}},"u-margin-0":{"":{"!marginTop":"0rpx","!marginRight":"0rpx","!marginBottom":"0rpx","!marginLeft":"0rpx"}},"u-m-0":{"":{"!marginTop":"0rpx","!marginRight":"0rpx","!marginBottom":"0rpx","!marginLeft":"0rpx"}},"u-padding-0":{"":{"!paddingTop":"0rpx","!paddingRight":"0rpx","!paddingBottom":"0rpx","!paddingLeft":"0rpx"}},"u-p-0":{"":{"!paddingTop":"0rpx","!paddingRight":"0rpx","!paddingBottom":"0rpx","!paddingLeft":"0rpx"}},"u-m-l-0":{"":{"!marginLeft":"0rpx"}},"u-p-l-0":{"":{"!paddingLeft":"0rpx"}},"u-margin-left-0":{"":{"!marginLeft":"0rpx"}},"u-padding-left-0":{"":{"!paddingLeft":"0rpx"}},"u-m-t-0":{"":{"!marginTop":"0rpx"}},"u-p-t-0":{"":{"!paddingTop":"0rpx"}},"u-margin-top-0":{"":{"!marginTop":"0rpx"}},"u-padding-top-0":{"":{"!paddingTop":"0rpx"}},"u-m-r-0":{"":{"!marginRight":"0rpx"}},"u-p-r-0":{"":{"!padding
2023-10-17 16:02:55 +08:00
__uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
__uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:16})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:u,window:u,document:u,frames:u,self:u,location:u,navigator:u,localStorage:u,history:u,Caches:u,screen:u,alert:u,confirm:u,prompt:u,fetch:u,XMLHttpRequest:u,WebSocket:u,webkit:u,print:u}}}});
})();