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.
xuan-pay-cweb/unpackage/dist/build/h5/static/js/pages-tabBar-home-home.e3c0...

1 line
27 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-tabBar-home-home"],{"0652":function(t,a,e){e("d3b7");var n=getApp();function i(t,a,e){return new Promise((function(i){uni.request({method:t,url:a,data:e,header:{Accept:"*/*","content-type":"application/json;charset=utf-8",Authorization:n.globalData.token},success:function(t){i(t),401!==t.statusCode&&102014!=t.data.return_code&&104001!=t.data.return_code||(n.globalData.userInfo="",n.globalData.token="",uni.setStorage({key:"user",data:""}),uni.setStorage({key:"token",data:""}),uni.showToast({title:"登录信息过期,请重新授权",icon:"none",duration:2e3,success:function(){setTimeout((function(){uni.navigateTo({url:"/pages/login/login"})}),2e3)}}))},fail:function(t){uni.showToast({title:"请求失败",icon:"none",duration:1500})}})}))}function f(t,a,e){return i(t,a,e)}t.exports={POST:f}},"0f00":function(t,a,e){t.exports=e.p+"static/img/head.a17fc86b.png"},1349:function(t,a,e){"use strict";var n=e("d584"),i=e.n(n);i.a},"1e30":function(t,a,e){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var n=e("cf43"),i=getApp(),f={data:function(){return{funcList:[],userInfo:i.globalData.userInfo,auditnum:""}},onLoad:function(){3!=this.userInfo.secUser.objectType?4!=this.userInfo.secUser.objectType?5!=this.userInfo.secUser.objectType||(this.funcList=[{title:"收款记录",url:"../../index/collectNotes/collectNotes",img:"../../../static/img/home1.png"},{title:"绑定设备",url:"../../index/serviceBuild/serviceBuild",img:"../../../static/img/home2.png"}]):this.funcList=[{title:"收款记录",url:"../../index/collectNotes/collectNotes",img:"../../../static/img/home1.png"},{title:"门店管理",url:"../../index/doorManage/doorManage",img:"../../../static/img/home3.png"}]:this.funcList=[{title:"新增商户",url:"../../index/merchant-incoming-parts/merchant-incoming-parts",img:"../../../static/img/home3.png"},{title:"商户管理",url:"../../index/merchant-management/merchant-management",img:"../../../static/img/home4.png"}]},onShow:function(){3==this.userInfo.secUser.objectType&&this.moveHomeCount(),4==this.userInfo.secUser.objectType&&this.mermoveHomeCount(),5==this.userInfo.secUser.objectType&&this.storemoveHomeCount()},methods:{moveHomeCount:function(){var t=this;(0,n.moveHomeCount)().then((function(a){"000000"==a.return_code&&(t.auditnum=a.return_data)}))},mermoveHomeCount:function(){var t=this;(0,n.mermoveHomeCount)().then((function(a){"000000"==a.return_code&&(t.auditnum=a.return_data.today)}))},storemoveHomeCount:function(){var t=this;(0,n.storemoveHomeCount)().then((function(a){"000000"==a.return_code&&(t.auditnum=a.return_data.today)}))},jumpdesfun:function(t){uni.navigateTo({url:t})},jumpmescon:function(){uni.navigateTo({url:"../../index/message-center/message-center"})}}};a.default=f},"2b44":function(t,a,e){var n=e("24fb");a=n(!1),a.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */\n/* 字体大小 */.font11[data-v-09f42f82]{font-size:11px}.font12[data-v-09f42f82]{font-size:12px}.font13[data-v-09f42f82]{font-size:13px}.fontlet[data-v-09f42f82]{letter-spacing:2px}.font14[data-v-0