2 lines
21 KiB
JavaScript
2 lines
21 KiB
JavaScript
"use strict";const t=require("../../common/vendor.js"),e=require("../../request/api.js"),s=require("../../utils/util.js"),o=require("../../common/assets.js"),r=require("../../uni_modules/lime-echart/static/echarts.min.js"),i={data:()=>({menuTop:t.inject("menuTop"),menuH:t.inject("menuHeight"),navH:t.inject("navHeight"),windowWidth:t.inject("windowWidth"),contentTop:"",listTop:"",sortListTop:"",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,o=t.getDate(),r=[];this.selectMonthIndex=240+s-1,this.selectMonth=e+"-"+(s>9?s:"0"+s);for(var i=e-20;i<e+20;i++)for(var a=0;a<12;a++){let t=new Date(i,a+1,0),n=new Date(i,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(i,a+1,0);t.setDate(c);let r=t.getMonth()+1,n=t.getDate(),l=t.getTime(),h=i+"-"+(r>9?r:"0"+r)+"-"+(n>9?n:"0"+n);d.push({date:h,year:i,month:r,day:n,isToday:i==e&&r==s&&n==o,isCurrentMonth:!0,timestamp:l})}for(c=0;c<h-1;c++){let t=i,e=a;a<1&&(t=i-1,e=12);let s=new Date(t,e,0).getDate(),o=new Date(t,e-1,s-c),r=o.getMonth()+1,n=o.getDate(),l=o.getTime(),h=t+"-"+(r>9?r:"0"+r)+"-"+(n>9?n:"0"+n);d.unshift({date:h,year:t,month:r,day:n,isToday:!1,isCurrentMonth:!1,timestamp:l})}let y=new Date(i,a+1,1),g=new Date(y-864e5).getDay()||7;for(c=1;c<8-g;c++){let t=i,e=a;e>11&&(e=0,t++);let s=new Date(t,e+1,c),o=s.getMonth()+1,r=s.getDate(),n=s.getTime(),l=t+"-"+(o>9?o:"0"+o)+"-"+(r>9?r:"0"+r);d.push({date:l,year:t,month:o,day:r,isToday:!1,isCurrentMonth:!1,timestamp:n})}r.push(d)}this.monthDateList=r},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()},onPullDownRefresh(){this.clickSearch()},methods:{loadMoreData(){this.loadAll||(this.page++,0==this.selectScreenCategory?this.getEventListData():this.getHotEventListData())},async init(){(await this.$refs.chartRef.init(r)).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 o of this.industryCategoryList){let t=this.industryCategoryList.indexOf(o);for(let r of o.hierarchy){let i=o.hierarchy.indexOf(r),a=[];r.level1_sector.indexOf(e)>-1&&(a.push(r),s.push({classification_name:o.classification_name,hierarchy:a}));for(let c of r.level2_sectors){let n=r.level2_sectors.indexOf(c),l=[];c.level2_sector.indexOf(e)>-1&&(l.push(c),a.push({level1_sector:r.level1_sector,level2_sectors:l}),s.push({classification_name:o.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=i,h.index2=n,h.index3=d,y.push(h),l.push({level2_sector:c.level2_sector,level3_sectors:y}),a.push({level1_sector:r.level1_sector,level2_sectors:l}),s.push({classification_name:o.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,o)=>{e.filterOptions().then((e=>{if(200==e.code){s(1);let t=[...e.data.sort_options];this.timeCategoryList=t.splice(0,2);let o=[...e.data.sort_options];for(let e of o)"最新"==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 o(1),t.index.showToast({title:e.message,icon:"none"})})).catch((t=>{o(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,o)=>{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"}),o(1)})).catch((t=>{o(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=>{if(t.success){let e=[],s=t.data.overall_stats.change_distribution;e.push({value:s.limit_down,itemStyle:{color:"#35542266"},label:{textStyle:{color:"#35542266"}}}),e.push({value:s.down_over_5,itemStyle:{color:"#35542299"},label:{textStyle:{color:"#355422"}}}),e.push({value:s.down_5_to_1,itemStyle:{color:"#355422CC"},label:{textStyle:{color:"#355422"}}}),e.push({value:s.down_within_1,itemStyle:{color:"#355422"},label:{textStyle:{color:"#355422"}}}),e.push({value:s.flat,itemStyle:{color:"#ACB0C0"},label:{textStyle:{color:"#666"}}}),e.push({value:s.up_within_1,itemStyle:{color:"#C00000"},label:{textStyle:{color:"#C00000"}}}),e.push({value:s.up_1_to_5,itemStyle:{color:"#C00000CC"},label:{textStyle:{color:"#C00000"}}}),e.push({value:s.up_over_5,itemStyle:{color:"#C0000099"},label:{textStyle:{color:"#C00000"}}}),e.push({value:s.limit_up,itemStyle:{color:"#C0000066"},label:{textStyle:{color:"#C0000066"}}}),this.option.series[0].data=e,this.init(),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=>{}))},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("l-echart")+t.resolveComponent("uni-popup"))()}Math||((()=>"../../uni_modules/lime-echart/components/l-echart/l-echart.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const a=t._export_sfc(i,[["render",function(e,s,r,i,a,c){return t.e({a:o._imports_0,b:t.s("top:"+a.menuTop+"px;line-height:"+a.menuH+"px;"),c:o._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,o)=>({a:t.t(e.name),b:t.n("item "+(a.selectTimeCategory==s?"select":"")),c:s,d:t.o((t=>c.clickTimeCategoryItem(s)),s)}))),i:o._imports_2$1,j:t.o((t=>c.clickSort())),k:o._imports_3$1,l:t.o((t=>c.clickScreenItem())),m:t.f(a.stockCategoryList,((e,s,o)=>({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,o)=>({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.sr("chartRef","eb4215a0-0"),t:t.f(a.eventList,((e,s,r)=>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:o._imports_1$1}:{i:o._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:o._imports_1$1}:{n:o._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:o._imports_1$1}:{s:o._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.f(e.related_stocks,((s,o,r)=>({a:t.t(s.stock_name),b:t.t((a.getRateUpOrDown(s.daily_change)?"":"+")+s.daily_change),c:t.n("change "+(a.getRateUpOrDown(s.daily_change)?"down":"up")),d:o,e:t.o((t=>c.clickLookRelatedStockItem(e.id,s.stock_code)),o)}))),x:t.t(a.getLocaleTime(e.created_at)),y:t.t(e.view_count),z:t.t(e.post_count),A:t.t(e.follower_count),B:t.o((t=>c.clickFollowEvent(e.id)),s),C:t.o((t=>c.clickEventItem(e.id)),s),D:s}))),v:o._imports_3,w:o._imports_4,x:o._imports_10,y:t.s("top:"+a.listTop+"px"),z:t.o((t=>c.loadMoreData())),A:o._imports_13$1,B:t.f(a.sortList,((e,s,o)=>({a:e.icon,b:t.t(e.name),c:s,d:t.o((t=>c.clickSortListItem(e)),s)}))),C:t.s("margin-top:"+a.sortListTop+"px;"),D:t.sr("sortPopup","eb4215a0-1"),E:t.p({type:"top","mask-background-color":"transparent"}),F:o._imports_2,G:t.s("height:"+a.menuH+"px;"),H:t.f(a.screenCategoryList,((e,s,o)=>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)}))),I:0==a.selectScreenCategory},0==a.selectScreenCategory?{J:t.t(a.startDate),K:t.t(a.endDate),L:o._imports_5,M:t.o((t=>c.clickPreMonth())),N:t.t(a.selectMonth),O:o._imports_6,P:t.o((t=>c.clickNextMonth())),Q:t.f(a.weekList,((e,s,o)=>({a:t.t(e),b:s}))),R:t.f(a.monthDateList[a.selectMonthIndex],((e,s,o)=>t.e({a:e.isToday||e.date==a.startDate||e.date==a.endDate},e.isToday||e.date==a.startDate||e.date==a.endDate?{b:t.t(e.day)}:t.e({c:e.timestamp>a.startTimeStamp&&e.timestamp<a.endTimeStamp},e.timestamp>a.startTimeStamp&&e.timestamp<a.endTimeStamp?{d:t.t(e.day)}:t.e({e:!e.isCurrentMonth},e.isCurrentMonth?{g:t.t(e.day)}:{f:t.t(e.day)})),{h:s,i:t.o((t=>c.clickSelectDate(e)),s)})))}:{},{S:1==a.selectScreenCategory},1==a.selectScreenCategory?t.e({T:t.f(a.industryCategoryList,((e,s,o)=>({a:t.t(e.classification_name),b:t.n("item "+(a.selectIndustryTopCategory==s?"select":"")),c:s,d:t.o((t=>c.clickIndustryTopCategoryItem(s)),s)}))),U:o._imports_1,V:t.o([t=>a.industryKeywords=t.detail.value,(...t)=>c.industrySearch&&c.industrySearch(...t)]),W:a.industryKeywords,X:a.industryKeywords.length>0},a.industryKeywords.length>0?{Y:t.f(a.searchResultList,((e,s,o)=>({a:t.f(e.hierarchy,((e,s,o)=>({a:t.f(e.level2_sectors,((s,o,r)=>({a:t.f(s.level3_sectors,((o,r,i)=>({a:t.f(o.level3_sector+"/"+s.level2_sector+"/"+e.level1_sector,((e,s,o)=>({a:t.t(e),b:t.n(a.industryKeywords.indexOf(e)>-1?"key":""),c:s}))),b:t.o((t=>c.clickIndustrySearchItem(o)),r),c:r}))),b:o}))),b:s}))),b:s})))}:t.e({Z:a.selectIndustrySecondCategory>-1},a.selectIndustrySecondCategory>-1?t.e({aa:a.selectIndustrySecondCategory>-1},a.selectIndustrySecondCategory>-1?{ab:t.t(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[a.selectIndustrySecondCategory].level1_sector),ac:o._imports_13,ad:t.o((t=>c.deleteIndustrySecondCategoryItem()))}:{},{ae:a.selectIndustryThirdCategory>-1},a.selectIndustryThirdCategory>-1?{af:t.t(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[a.selectIndustrySecondCategory].level2_sectors[a.selectIndustryThirdCategory].level2_sector),ag:o._imports_13,ah:t.o((t=>c.deleteIndustryThirdCategoryItem()))}:{},{ai:a.selectIndustryForthCategory>-1},a.selectIndustryForthCategory>-1?{aj:t.t(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[a.selectIndustrySecondCategory].level2_sectors[a.selectIndustryThirdCategory].level3_sectors[a.selectIndustryForthCategory].level3_sector),ak:o._imports_13,al:t.o((t=>c.deleteIndustryForthCategoryItem()))}:{}):{},{am:t.t(a.industryCategoryList[a.selectIndustryTopCategory].classification_name),an:t.f(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy,((e,s,r)=>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,r,i)=>t.e({a:t.t(a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==r&&e.isSpread?"-":"+"),b:t.t(e.level2_sector),c:t.n("categoryC flex "+(a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==r?"select":"")),d:t.o((t=>c.clickIndustryThirdCategoryItem(s,r)),r),e:e.isSpread},e.isSpread?{f:t.f(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[s].level2_sectors[r].level3_sectors,((e,i,n)=>t.e({a:t.t(e.level3_sector),b:a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==r&&a.selectIndustryForthCategory==i},a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==r&&a.selectIndustryForthCategory==i?{c:o._imports_14}:{},{d:t.n("categoryC flex "+(a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==r&&a.selectIndustryForthCategory==i?"select":"")),e:t.o((t=>c.clickIndustryForthCategoryItem(s,r,i)),i),f:i})))}:{},{g:r})))}:{},{g:s})))})):{},{ao:2==a.selectScreenCategory},2==a.selectScreenCategory?{ap:t.f(a.importanceList,((e,s,o)=>({a:t.t(e.name),b:t.n("item "+(a.selectImportanceIndex==s?"select":"")),c:s,d:t.o((t=>c.clickImportanceItem(s)),s)})))}:{},{aq:t.o((t=>c.clickCancel())),ar:t.o((t=>c.clickCertain())),as:t.s("padding-top:"+a.menuTop+"px;"),at:t.sr("screenPopup","eb4215a0-2"),av:t.p({type:"top"})})}]]);wx.createPage(a);
|