Files
JiaZhiQianYan/unpackage/dist/build/mp-weixin/pages/index/index.js
2025-11-26 17:19:38 +08:00

2 lines
19 KiB
JavaScript

"use strict";const t=require("../../common/vendor.js"),e=require("../../request/api.js"),s=require("../../utils/util.js"),r=require("../../common/assets.js"),i=require("../../uni_modules/lime-echart/static/echarts.min.js"),o={data:()=>({menuTop:t.inject("menuTop"),menuH:t.inject("menuHeight"),navH:t.inject("navHeight"),windowWidth:t.inject("windowWidth"),contentTop:"",listTop:"",sortListTop:"",isRefreshing:!1,keywords:"",sortList:[],selectSortKey:"",timeCategoryList:[],selectTimeCategory:0,stockCategoryList:[],topScrollWidth:0,secondScrollWidth:0,selectTopCategory:0,topScrollLeft:0,selectSecondCategory:0,secondScrollLeft:0,screenCategoryList:["日期范围","行业分类","重要性"],selectYearMonth:"",startDate:"",startTimeStamp:"",endDate:"",endTimeStamp:"",weekList:["一","二","三","四","五","六","日"],monthDateList:[],selectMonthIndex:0,selectMonth:"",industryCategoryList:[],industryKeywords:"",searchResultList:[],selectIndustryTopCategory:0,selectIndustrySecondCategory:-1,selectIndustryThirdCategory:-1,selectIndustryForthCategory:-1,selectScreenCategory:0,importanceList:[],selectImportanceIndex:0,option:{tooltip:{trigger:"axis",axisPointer:{type:"shadow"},confine:!0},grid:{left:"0%",right:"0%",top:"10%",bottom:"20%"},xAxis:[{type:"category",data:["跌停","跌停~5%","5~1%","1~0%","平盘","0~1%","1~5%","5%~涨停","涨停"],axisTick:{show:!1},axisLine:{show:!1},axisLabel:{fontSize:10,interval:"0",textStyle:{color:function(t,e){return 0==e?"#355422":8==e?"#C00000":"#515151"}}}}],yAxis:[{type:"value",show:!1,axisTick:{show:!1}}],series:[{name:"热度",type:"bar",label:{show:!0,position:"top",fontSize:12},itemStyle:{borderRadius:[5,5,0,0]},data:[]}]},eventList:[],page:1,loadAll:!1,getRateStr:s.getRateStr,getRateUpOrDown:s.getRateUpOrDown,getLocaleTime:s.getLocaleTime}),onLoad(){this.contentTop=this.navH+94/750*this.windowWidth,this.listTop=this.contentTop+.232*this.windowWidth,this.sortListTop=this.navH+182/750*this.windowWidth,Promise.all([this.getEventFilterListData(),this.getIndustryCategoryListData(),this.getStockCategoryListData()]).then((t=>{this.getEventListData()})).catch((t=>{}));let t=new Date,e=t.getFullYear(),s=t.getMonth()+1,r=t.getDate(),i=[];this.selectMonthIndex=240+s-1,this.selectMonth=e+"-"+(s>9?s:"0"+s);for(var o=e-20;o<e+20;o++)for(var a=0;a<12;a++){let t=new Date(o,a+1,0),n=new Date(o,a+1,0);n.setDate(1);let l=t.getDate(),h=n.getDay()||7,d=[];for(var c=1;c<=l;c++){let t=new Date(o,a+1,0);t.setDate(c);let i=t.getMonth()+1,n=t.getDate(),l=t.getTime(),h=o+"-"+(i>9?i:"0"+i)+"-"+(n>9?n:"0"+n);d.push({date:h,year:o,month:i,day:n,isToday:o==e&&i==s&&n==r,isCurrentMonth:!0,timestamp:l})}for(c=0;c<h-1;c++){let t=o,e=a;a<1&&(t=o-1,e=12);let s=new Date(t,e,0).getDate(),r=new Date(t,e-1,s-c),i=r.getMonth()+1,n=r.getDate(),l=r.getTime(),h=t+"-"+(i>9?i:"0"+i)+"-"+(n>9?n:"0"+n);d.unshift({date:h,year:t,month:i,day:n,isToday:!1,isCurrentMonth:!1,timestamp:l})}let y=new Date(o,a+1,1),g=new Date(y-864e5).getDay()||7;for(c=1;c<8-g;c++){let t=o,e=a;e>11&&(e=0,t++);let s=new Date(t,e+1,c),r=s.getMonth()+1,i=s.getDate(),n=s.getTime(),l=t+"-"+(r>9?r:"0"+r)+"-"+(i>9?i:"0"+i);d.push({date:l,year:t,month:r,day:i,isToday:!1,isCurrentMonth:!1,timestamp:n})}i.push(d)}this.monthDateList=i},onReady(){t.index.createSelectorQuery().select("#topCategory").boundingClientRect((t=>{this.topScrollWidth=Math.round(t.width)})).exec(),t.index.createSelectorQuery().select("#secondCategory").boundingClientRect((t=>{t&&(this.secondScrollWidth=Math.round(t.width))})).exec()},methods:{pullDownRefresh(){this.isRefreshing=!0,this.clickSearch()},loadMoreData(){this.loadAll||(this.page++,0==this.selectScreenCategory?this.getEventListData():this.getHotEventListData())},async init(){(await this.$refs.chartRef.init(i)).setOption(this.option)},clickSearch(){this.page=1,0==this.selectTimeCategory?this.getEventListData():this.getHotEventListData()},clickTimeCategoryItem(t){this.selectTimeCategory!=t&&(this.selectTimeCategory=t,0==t?this.getEventListData():this.getHotEventListData())},clickSort(){this.$refs.sortPopup.open()},clickSortListItem(t){this.selectSortKey=t.key,this.$refs.sortPopup.close(),0==this.selectTimeCategory?this.getEventListData():this.getHotEventListData()},clickScreenItem(){this.$refs.screenPopup.open()},clickCancel(){this.$refs.screenPopup.close()},clickCertain(){this.clickCancel(),this.clickSearch()},clickScreenCategoryItem(t){this.selectScreenCategory!=t&&(this.selectScreenCategory=t)},clickTopCategoryItem(t,e){if(this.selectTopCategory!=e){this.selectTopCategory=e,this.selectSecondCategory=0;let s=t.currentTarget.offsetLeft;this.topScrollLeft=s-this.topScrollWidth/2,this.listTop=0==e?this.contentTop+.232*this.windowWidth:this.contentTop+.344*this.windowWidth,0==this.selectTimeCategory?this.getEventListData():this.getHotEventListData()}},clickSecondCategoryItem(t,e){if(this.selectSecondCategory!=e){this.selectSecondCategory=e;let s=t.currentTarget.offsetLeft;this.secondScrollLeft=s-this.secondScrollWidth/2,0==this.selectTimeCategory?this.getEventListData():this.getHotEventListData()}},clickPreMonth(){if(this.selectMonthIndex>0){this.selectMonthIndex--;let t=this.monthDateList[this.selectMonthIndex],e="";for(let s of t)if(s.isCurrentMonth){e=s.month;break}this.selectMonth=this.monthDateList[this.selectMonthIndex][0].year+"-"+(e>9?e:"0"+e)}},clickNextMonth(){if(this.selectMonthIndex<this.monthDateList.length-1){this.selectMonthIndex++;let t=this.monthDateList[this.selectMonthIndex],e="";for(let s of t)if(s.isCurrentMonth){e=s.month;break}this.selectMonth=this.monthDateList[this.selectMonthIndex][0].year+"-"+(e>9?e:"0"+e)}},clickSelectDate(t){if(this.startDate)if(this.endDate)this.startDate=t.date,this.startTimeStamp=t.timestamp,this.endDate=null,this.endTimeStamp=null;else{new Date(this.startDate)>new Date(t.date)?(this.endDate=this.startDate,this.endTimeStamp=this.startTimeStamp,this.startDate=t.date,this.startTimeStamp=t.timestamp):(this.endDate=t.date,this.endTimeStamp=t.timestamp)}else this.startDate=t.date,this.startTimeStamp=t.timestamp},clickIndustryTopCategoryItem(t){this.selectIndustryTopCategory!=t&&(this.selectIndustryTopCategory=t)},industrySearch(t){let e=t.detail.value;this.industryKeywords=e;let s=[];for(let r of this.industryCategoryList){let t=this.industryCategoryList.indexOf(r);for(let i of r.hierarchy){let o=r.hierarchy.indexOf(i),a=[];i.level1_sector.indexOf(e)>-1&&(a.push(i),s.push({classification_name:r.classification_name,hierarchy:a}));for(let c of i.level2_sectors){let n=i.level2_sectors.indexOf(c),l=[];c.level2_sector.indexOf(e)>-1&&(l.push(c),a.push({level1_sector:i.level1_sector,level2_sectors:l}),s.push({classification_name:r.classification_name,hierarchy:a}));for(let h of c.level3_sectors){let d=c.level3_sectors.indexOf(h),y=[];h.level3_sector.indexOf(e)>-1&&(h.index=t,h.index1=o,h.index2=n,h.index3=d,y.push(h),l.push({level2_sector:c.level2_sector,level3_sectors:y}),a.push({level1_sector:i.level1_sector,level2_sectors:l}),s.push({classification_name:r.classification_name,hierarchy:a}))}}}}this.searchResultList=s},clickIndustrySearchItem(t){this.industryKeywords="",this.selectIndustryTopCategory=t.index,this.selectIndustrySecondCategory=t.index1,this.selectIndustryThirdCategory=t.index2,this.selectIndustryForthCategory=t.index3},clickIndustrySecondCategoryItem(t){this.selectIndustrySecondCategory!=t&&(this.selectIndustrySecondCategory=t),this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[t].isSpread=!this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[t].isSpread},clickIndustryThirdCategoryItem(t,e){this.selectIndustrySecondCategory!=t&&(this.selectIndustrySecondCategory=t),this.selectIndustryThirdCategory!=e&&(this.selectIndustryThirdCategory=e),this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[t].level2_sectors[e].isSpread=!this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[t].level2_sectors[e].isSpread},clickIndustryForthCategoryItem(t,e,s){this.selectIndustrySecondCategory!=t&&(this.selectIndustrySecondCategory=t),this.selectIndustryThirdCategory!=e&&(this.selectIndustryThirdCategory=e),this.selectIndustryForthCategory!=s&&(this.selectIndustryForthCategory=s)},deleteIndustrySecondCategoryItem(){this.selectIndustrySecondCategory=-1,this.selectIndustryThirdCategory=-1,this.selectIndustryForthCategory=-1},deleteIndustryThirdCategoryItem(){this.selectIndustryThirdCategory=-1,this.selectIndustryForthCategory=-1},deleteIndustryForthCategoryItem(){this.selectIndustryForthCategory=-1},clickImportanceItem(t){this.selectImportanceIndex!=t&&(this.selectImportanceIndex=t)},clickExpandOrRetract(t){this.eventList[t].isExpand=!this.eventList[t].isExpand},clickLookRelatedStockItem(e,s){t.index.navigateTo({url:"/pages/index/stockDetails/stockDetails?type=1&code="+s+"&id="+e})},clickFollowEvent(s){e.followEvent(s).then((e=>{t.index.showToast({title:e.message,icon:"none"}),this.clickSearch()})).catch((t=>{}))},clickEventItem(e){let s=this;t.index.$on("editSuccess",(e=>{s.clickSearch(),t.index.$off("editSuccess")})),t.index.navigateTo({url:"/pages/index/eventDetails/eventDetails?id="+e})},getEventFilterListData(){return new Promise(((s,r)=>{e.filterOptions().then((e=>{if(200==e.code){s(1);let t=[...e.data.sort_options];this.timeCategoryList=t.splice(0,2);let r=[...e.data.sort_options];for(let e of r)"最新"==e.name&&(e.icon="/static/icon/home/new.png"),"热门"==e.name&&(e.icon="/static/icon/home/hot.png"),"收益率"==e.name&&(e.icon="/static/icon/home/yield.png");this.sortList=e.data.sort_options.splice(0,3),this.importanceList=e.data.importance_options,this.importanceList.unshift({desc:"全部",key:"all",name:"全部"})}else s(1),t.index.showToast({title:e.message,icon:"none"})})).catch((t=>{r(1)}))}))},getIndustryCategoryListData(){return new Promise(((t,s)=>{e.industryCategoryList().then((e=>{this.industryCategoryList=e.data,t(1)})).catch((t=>{s(1)}))}))},getStockCategoryListData(){return new Promise(((s,r)=>{e.stockCategoryList().then((e=>{if(200==e.code){for(let t of e.data)t.sub_sectors.unshift("全部");e.data.unshift({primary_sector:"全部",sub_sectors:[]}),this.stockCategoryList=e.data,s(1)}else t.index.showToast({title:e.message,icon:"none"}),r(1)})).catch((t=>{r(1)}))}))},getEventListData(){let t={page:this.page,q:this.keywords};this.selectTopCategory>0&&(t.stock_sector=this.stockCategoryList[this.selectTopCategory].primary_sector),this.selectSecondCategory>0&&(t.secondary_sector=this.stockCategoryList[this.selectTopCategory].sub_sectors[this.selectSecondCategory]),this.startDate&&(t.start_date=this.startDate),this.endDate&&(t.end_date=this.endDate),this.selectImportanceIndex>0&&(t.importance=this.importanceList[this.selectImportanceIndex].key),this.selectSortKey&&(t.sort=this.selectSortKey),this.selectIndustryForthCategory>-1?(t.industry_level=4,t.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[this.selectIndustrySecondCategory].level2_sectors[this.selectIndustryThirdCategory].level3_sectors[this.selectIndustryForthCategory].level3_sector):this.selectIndustryThirdCategory>-1?(t.industry_level=3,t.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[this.selectIndustrySecondCategory].level2_sectors[this.selectIndustryThirdCategory].level2_sector):this.selectIndustrySecondCategory>-1?(t.industry_level=2,t.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[this.selectIndustrySecondCategory].level1_sector):(t.industry_level=1,t.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].classification_name),e.eventList(t).then((t=>{this.isRefreshing=!1,t.success&&(1==this.page?this.eventList=t.data.events:this.eventList=this.eventList.concat(t.data.events),this.loadAll=!t.data.pagination.has_next)})).catch((t=>{this.isRefreshing=!1}))},getHotEventListData(){let s={page:this.page,q:this.keywords};this.selectTopCategory>0&&(s.stock_sector=this.stockCategoryList[this.selectTopCategory].primary_sector),this.selectSecondCategory>0&&(s.secondary_sector=this.stockCategoryList[this.selectTopCategory].sub_sectors[this.selectSecondCategory]),this.startDate&&(s.start_date=this.startDate),this.endDate&&(s.end_date=this.endDate),this.selectImportanceIndex>0&&(s.importance=this.importanceList[this.selectImportanceIndex].key),this.selectSortKey&&(s.sort=this.selectSortKey),e.homeData(s).then((e=>{200==e.code?1==this.page?this.eventList=e.data.events:this.eventList=this.eventList.concat(e.data.events):t.index.showToast({title:e.message,icon:"none"})})).catch((t=>{}))}}};if(!Array){t.resolveComponent("uni-popup")()}Math;const a=t._export_sfc(o,[["render",function(e,s,i,o,a,c){return t.e({a:r._imports_0,b:t.s("top:"+a.menuTop+"px;line-height:"+a.menuH+"px;"),c:r._imports_1,d:a.keywords,e:t.o((t=>a.keywords=t.detail.value)),f:t.o((t=>c.clickSearch())),g:t.s("top:"+a.navH+"px;"),h:t.f(a.timeCategoryList,((e,s,r)=>({a:t.t(e.name),b:t.n("item "+(a.selectTimeCategory==s?"select":"")),c:s,d:t.o((t=>c.clickTimeCategoryItem(s)),s)}))),i:r._imports_2$1,j:t.o((t=>c.clickSort())),k:r._imports_3$1,l:t.o((t=>c.clickScreenItem())),m:t.f(a.stockCategoryList,((e,s,r)=>({a:t.t(e.primary_sector),b:t.n("item relative "+(a.selectTopCategory==s?"select":"")),c:s,d:t.o((t=>c.clickTopCategoryItem(t,s)),s)}))),n:a.topScrollLeft,o:a.stockCategoryList.length>0&&a.stockCategoryList[a.selectTopCategory].sub_sectors.length>0},a.stockCategoryList.length>0&&a.stockCategoryList[a.selectTopCategory].sub_sectors.length>0?{p:t.f(a.stockCategoryList[a.selectTopCategory].sub_sectors,((e,s,r)=>({a:t.t(e),b:t.n("item "+(a.selectSecondCategory==s?"select":"")),c:s,d:t.o((t=>c.clickSecondCategoryItem(t,s)),s)}))),q:a.secondScrollLeft}:{},{r:t.s("top:"+a.contentTop+"px"),s:t.f(a.eventList,((e,s,i)=>t.e({a:t.t(e.importance),b:t.n("level "+e.importance),c:t.t(e.title),d:t.t(e.description),e:t.n("content "+(e.isExpand?"":"retract")),f:t.o((t=>c.clickExpandOrRetract(s)),s),g:a.getRateUpOrDown(e.related_avg_chg)},a.getRateUpOrDown(e.related_avg_chg)?{h:r._imports_1$1}:{i:r._imports_2$2},{j:t.t(a.getRateStr(e.related_avg_chg)),k:t.n("rateItem "+(a.getRateUpOrDown(e.related_avg_chg)?"down":"up")),l:a.getRateUpOrDown(e.related_max_chg)},a.getRateUpOrDown(e.related_max_chg)?{m:r._imports_1$1}:{n:r._imports_2$2},{o:t.t(a.getRateStr(e.related_max_chg)),p:t.n("rateItem "+(a.getRateUpOrDown(e.related_max_chg)?"down":"up")),q:a.getRateUpOrDown(e.related_week_chg)},a.getRateUpOrDown(e.related_week_chg)?{r:r._imports_1$1}:{s:r._imports_2$2},{t:t.t(a.getRateStr(e.related_week_chg)),v:t.n("rateItem "+(a.getRateUpOrDown(e.related_week_chg)?"down":"up")),w:t.t(a.getLocaleTime(e.created_at)),x:t.t(e.view_count),y:t.t(e.post_count),z:t.t(e.follower_count),A:t.o((t=>c.clickFollowEvent(e.id)),s),B:t.o((t=>c.clickEventItem(e.id)),s),C:s}))),t:r._imports_3,v:r._imports_4,w:r._imports_10,x:t.s("top:"+a.listTop+"px"),y:a.isRefreshing,z:t.o((t=>c.pullDownRefresh())),A:t.o((t=>c.loadMoreData())),B:r._imports_13$1,C:t.f(a.sortList,((e,s,r)=>({a:e.icon,b:t.t(e.name),c:s,d:t.o((t=>c.clickSortListItem(e)),s)}))),D:t.s("margin-top:"+a.sortListTop+"px;"),E:t.sr("sortPopup","eb4215a0-0"),F:t.p({type:"top","mask-background-color":"transparent",animation:!1}),G:r._imports_2,H:t.s("height:"+a.menuH+"px;"),I:t.f(a.screenCategoryList,((e,s,r)=>t.e({a:t.t(e),b:a.selectScreenCategory==s},(a.selectScreenCategory,{}),{c:t.n("item relative "+(a.selectScreenCategory==s?"select":"")),d:s,e:t.o((t=>c.clickScreenCategoryItem(s)),s)}))),J:0==a.selectScreenCategory},0==a.selectScreenCategory?{K:t.t(a.startDate),L:t.t(a.endDate),M:r._imports_5,N:t.o((t=>c.clickPreMonth())),O:t.t(a.selectMonth),P:r._imports_6,Q:t.o((t=>c.clickNextMonth())),R:t.f(a.weekList,((e,s,r)=>({a:t.t(e),b:s}))),S:t.f(a.monthDateList[a.selectMonthIndex],((e,s,r)=>t.e({a:e.isToday},e.isToday?{b:t.t(e.day)}:t.e({c:e.date==a.startDate||e.date==a.endDate},e.date==a.startDate||e.date==a.endDate?{d:t.t(e.day)}:e.timestamp>a.startTimeStamp&&e.timestamp<a.endTimeStamp?{f:t.t(e.day)}:t.e({g:!e.isCurrentMonth},e.isCurrentMonth?{i:t.t(e.day)}:{h:t.t(e.day)}),{e:e.timestamp>a.startTimeStamp&&e.timestamp<a.endTimeStamp}),{j:s,k:t.o((t=>c.clickSelectDate(e)),s)})))}:{},{T:1==a.selectScreenCategory},1==a.selectScreenCategory?t.e({U:t.f(a.industryCategoryList,((e,s,r)=>({a:t.t(e.classification_name),b:t.n("item "+(a.selectIndustryTopCategory==s?"select":"")),c:s,d:t.o((t=>c.clickIndustryTopCategoryItem(s)),s)}))),V:r._imports_1,W:t.o([t=>a.industryKeywords=t.detail.value,(...t)=>c.industrySearch&&c.industrySearch(...t)]),X:a.industryKeywords,Y:a.industryKeywords.length>0},a.industryKeywords.length>0?{Z:t.f(a.searchResultList,((e,s,r)=>({a:t.f(e.hierarchy,((e,s,r)=>({a:t.f(e.level2_sectors,((s,r,i)=>({a:t.f(s.level3_sectors,((r,i,o)=>({a:t.f(r.level3_sector+"/"+s.level2_sector+"/"+e.level1_sector,((e,s,r)=>({a:t.t(e),b:t.n(a.industryKeywords.indexOf(e)>-1?"key":""),c:s}))),b:t.o((t=>c.clickIndustrySearchItem(r)),i),c:i}))),b:r}))),b:s}))),b:s})))}:t.e({aa:a.selectIndustrySecondCategory>-1},a.selectIndustrySecondCategory>-1?t.e({ab:a.selectIndustrySecondCategory>-1},a.selectIndustrySecondCategory>-1?{ac:t.t(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[a.selectIndustrySecondCategory].level1_sector),ad:r._imports_13,ae:t.o((t=>c.deleteIndustrySecondCategoryItem()))}:{},{af:a.selectIndustryThirdCategory>-1},a.selectIndustryThirdCategory>-1?{ag:t.t(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[a.selectIndustrySecondCategory].level2_sectors[a.selectIndustryThirdCategory].level2_sector),ah:r._imports_13,ai:t.o((t=>c.deleteIndustryThirdCategoryItem()))}:{},{aj:a.selectIndustryForthCategory>-1},a.selectIndustryForthCategory>-1?{ak:t.t(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[a.selectIndustrySecondCategory].level2_sectors[a.selectIndustryThirdCategory].level3_sectors[a.selectIndustryForthCategory].level3_sector),al:r._imports_13,am:t.o((t=>c.deleteIndustryForthCategoryItem()))}:{}):{},{an:t.t(a.industryCategoryList[a.selectIndustryTopCategory].classification_name),ao:t.f(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy,((e,s,i)=>t.e({a:t.t(a.selectIndustrySecondCategory==s&&e.isSpread?"-":"+"),b:t.t(e.level1_sector),c:t.n("categoryC flex "+(a.selectIndustrySecondCategory==s?"select":"")),d:t.o((t=>c.clickIndustrySecondCategoryItem(s)),s),e:e.isSpread},e.isSpread?{f:t.f(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[s].level2_sectors,((e,i,o)=>t.e({a:t.t(a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==i&&e.isSpread?"-":"+"),b:t.t(e.level2_sector),c:t.n("categoryC flex "+(a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==i?"select":"")),d:t.o((t=>c.clickIndustryThirdCategoryItem(s,i)),i),e:e.isSpread},e.isSpread?{f:t.f(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[s].level2_sectors[i].level3_sectors,((e,o,n)=>t.e({a:t.t(e.level3_sector),b:a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==i&&a.selectIndustryForthCategory==o},a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==i&&a.selectIndustryForthCategory==o?{c:r._imports_14}:{},{d:t.n("categoryC flex "+(a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==i&&a.selectIndustryForthCategory==o?"select":"")),e:t.o((t=>c.clickIndustryForthCategoryItem(s,i,o)),o),f:o})))}:{},{g:i})))}:{},{g:s})))})):{},{ap:2==a.selectScreenCategory},2==a.selectScreenCategory?{aq:t.f(a.importanceList,((e,s,r)=>({a:t.t(e.name),b:t.n("item "+(a.selectImportanceIndex==s?"select":"")),c:s,d:t.o((t=>c.clickImportanceItem(s)),s)})))}:{},{ar:t.o((t=>c.clickCancel())),as:t.o((t=>c.clickCertain())),at:t.s("padding-top:"+a.menuTop+"px;"),av:t.sr("screenPopup","eb4215a0-1"),aw:t.p({type:"top"})})}]]);wx.createPage(a);