Files
smartDriveEEUniApp/unpackage/dist/build/mp-weixin/pages/workbench/workbench.js
2026-04-17 09:41:37 +08:00

2 lines
1.2 KiB
JavaScript

"use strict";const e=require("../../common/vendor.js");const o={components:{SalesScenarioNew:()=>"./components/sales_scenario_new.js",AiAnalysisDashboardBody:()=>"../../components/ai-analysis-dashboard-body.js"},data:()=>({contentTop:2*function(){try{return{statusBarHeight:e.index.getSystemInfoSync().statusBarHeight||20}}catch(o){return{statusBarHeight:20}}}().statusBarHeight+88+"rpx",contentBottom:"96rpx",isSalesScenario:!1,isSoftSalesScenario:!1}),onShow(){this.refreshScenario()},methods:{refreshScenario(){const o=(e.index.getStorageSync("backend-scenario")||"").toString().trim().toLowerCase();this.isSalesScenario="sales"===o,this.isSoftSalesScenario="soft_sales"===o}}};if(!Array){(e.resolveComponent("uni-nav-bar")+e.resolveComponent("sales-scenario-new")+e.resolveComponent("ai-analysis-dashboard-body"))()}Math;const t=e._export_sfc(o,[["render",function(o,t,n,s,a,r){return e.e({a:e.p({fixed:!0,statusBar:!0,border:!1,title:"工作台",color:"#333",backgroundColor:"#FFFFFF"}),b:a.isSalesScenario},a.isSalesScenario?{c:e.p({contentTop:a.contentTop,contentBottom:a.contentBottom})}:a.isSoftSalesScenario?{e:e.p({"content-top":a.contentTop,"content-bottom":a.contentBottom})}:{},{d:a.isSoftSalesScenario})}],["__scopeId","data-v-493fce2d"]]);wx.createPage(t);