2 lines
20 KiB
JavaScript
2 lines
20 KiB
JavaScript
"use strict";const e=require("../../common/vendor.js"),t=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:e.inject("menuTop"),menuH:e.inject("menuHeight"),navH:e.inject("navHeight"),windowWidth:e.inject("windowWidth"),contentTop:"",listTop:"",screenCategoryList:[{icon:"/static/icon/home/timeScreen.png",title:"时间筛选"},{icon:"/static/icon/home/industryScreen.png",title:"行业筛选"},{icon:"/static/icon/home/eventLevel.png",title:"事件等级"},{icon:"/static/icon/home/sort.png",title:"最新排序"}],isRefreshing:!1,keywords:"",timeCategoryList:[],selectTimeCategory:0,stockCategoryList:[],topScrollWidth:0,secondScrollWidth:0,selectTopCategory:0,topScrollLeft:0,selectSecondCategory:0,secondScrollLeft:0,selectScreenCategory:0,quickTimeList:["最新","盘中","午盘","早盘","今日全天","昨日","近一周","近一月"],selectQuickTimeIndex:-1,startDateStr:"",startTimeStamp:"",endDateStr:"",endTimeStamp:"",yearList:[],monthList:[],dayList:[],hourList:[],minuteList:[],selectDateRangeIndex:-1,startDateValue:[0,0,0,0,0],endDateValue:[0,0,0,0,0],industryCategoryList:[],industryKeywords:"",searchResultList:[],selectIndustryTopCategory:0,selectIndustrySecondCategory:-1,selectIndustryThirdCategory:-1,selectIndustryForthCategory:-1,importanceList:[],selectImportanceIndex:0,sortTypeList:[],selectSortKey:"",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(e,t){return 0==t?"#355422":8==t?"#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+.192*this.windowWidth,this.listTop=this.contentTop+.232*this.windowWidth,this.sortListTop=this.navH+182/750*this.windowWidth,this.generateDateListData(),Promise.all([this.getEventFilterListData(),this.getIndustryCategoryListData(),this.getStockCategoryListData()]).then((e=>{this.getEventListData()})).catch((e=>{}))},onReady(){e.index.createSelectorQuery().select("#topCategory").boundingClientRect((e=>{this.topScrollWidth=Math.round(e.width)})).exec(),e.index.createSelectorQuery().select("#secondCategory").boundingClientRect((e=>{e&&(this.secondScrollWidth=Math.round(e.width))})).exec()},methods:{generateDateListData(){let e=new Date,t=e.getFullYear(),s=e.getMonth(),r=e.getDate(),i=e.getHours(),o=e.getMinutes(),a=new Date(t,s+1,0).getDate();for(var n=2e3;n<2060;n++)this.yearList.push(n);for(n=0;n<720;n++)this.monthList.push(n%12+1);for(n=0;n<60*a;n++)this.dayList.push(n%a+1);for(n=0;n<1440;n++)this.hourList.push(n%24);for(n=0;n<3600;n++)this.minuteList.push(n%60);let c=this;setTimeout((function(){c.startDateValue=[t-2e3,s+360,r-1+30*a,i+720,o+1800],c.endDateValue=[t-2e3,s+360,r-1+30*a,i+720,o+1800]}),100)},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(e){this.selectTimeCategory!=e&&(this.selectTimeCategory=e,0==e?this.getEventListData():this.getHotEventListData())},clickSortListItem(e){this.selectSortKey=e.key,this.$refs.screenPopup.close(),0==this.selectTimeCategory?this.getEventListData():this.getHotEventListData()},clickScreenItem(e){this.selectScreenCategory=e,this.$refs.screenPopup.open()},clickCancel(){this.$refs.screenPopup.close()},clickCertain(){if(0==this.selectScreenCategory){if(!this.startDateStr)return void e.index.showToast({title:"请选择开始时间",icon:"none"});if(!this.endDateStr)return void e.index.showToast({title:"请选择结束时间",icon:"none"});if(this.endTimeStamp<this.startTimeStamp)return void e.index.showToast({title:"开始时间不能晚于结束时间",icon:"none"})}this.clickCancel(),this.clickSearch()},clickScreenCategoryItem(e){this.selectScreenCategory!=e&&(this.selectScreenCategory=e)},clickTopCategoryItem(e,t){if(this.selectTopCategory!=t){this.selectTopCategory=t,this.selectSecondCategory=0;let s=e.currentTarget.offsetLeft;this.topScrollLeft=s-this.topScrollWidth/2,this.listTop=0==t?this.contentTop+.232*this.windowWidth:this.contentTop+.344*this.windowWidth,0==this.selectTimeCategory?this.getEventListData():this.getHotEventListData()}},clickSecondCategoryItem(e,t){if(this.selectSecondCategory!=t){this.selectSecondCategory=t;let s=e.currentTarget.offsetLeft;this.secondScrollLeft=s-this.secondScrollWidth/2,0==this.selectTimeCategory?this.getEventListData():this.getHotEventListData()}},clickQuickTimeItem(e){this.selectDateRangeIndex=-1,this.selectQuickTimeIndex!=e&&(this.selectQuickTimeIndex=e)},clickDateRangeItem(e){this.selectQuickTimeIndex=-1,this.selectDateRangeIndex!=e&&(this.selectDateRangeIndex=e)},dateChange(e){let t=e.detail.value;if(0==this.selectDateRangeIndex){if(t[1]!=this.startDateValue[1]){let e=t[0]+2e3,r=t[1]%12,i=new Date(e,r+1,0).getDate();this.dayList=[];for(var s=0;s<60*i;s++)this.dayList.push(s%i+1)}this.startDateValue=e.detail.value;let i=t[0]+2e3,o=t[1]%12+1,a=new Date(i,o,0).getDate(),n=t[2]%a+1,c=t[3]%24,l=t[4]%60;this.startDateStr=i+"-"+(o>9?o:"0"+o)+"-"+(n>9?n:"0"+n)+" "+(c>9?c:"0"+c)+":"+(l>9?l:"0"+l);var r=this.startDateStr.replace(/-/g,"/")+":00";this.startTimeStamp=new Date(r).getTime()}else if(1==this.selectDateRangeIndex){if(t[1]!=this.endDateValue[1]){let e=t[0]+2e3,r=t[1]%12,i=new Date(e,r+1,0).getDate();this.dayList=[];for(s=0;s<60*i;s++)this.dayList.push(s%i+1)}this.endDateValue=e.detail.value;let r=t[0]+2e3,o=t[1]%12+1,a=new Date(r,o,0).getDate(),n=t[2]%a+1,c=t[3]%24,l=t[4]%60;this.endDateStr=r+"-"+(o>9?o:"0"+o)+"-"+(n>9?n:"0"+n)+" "+(c>9?c:"0"+c)+":"+(l>9?l:"0"+l);var i=this.endDateStr.replace(/-/g,"/")+":00";this.endTimeStamp=new Date(i).getTime()}},clickIndustryTopCategoryItem(e){this.selectIndustryTopCategory!=e&&(this.selectIndustryTopCategory=e)},industrySearch(e){let t=e.detail.value;this.industryKeywords=t;let s=[];for(let r of this.industryCategoryList){let e=this.industryCategoryList.indexOf(r);for(let i of r.hierarchy){let o=r.hierarchy.indexOf(i),a=[];i.level1_sector.indexOf(t)>-1&&(a.push(i),s.push({classification_name:r.classification_name,hierarchy:a}));for(let n of i.level2_sectors){let c=i.level2_sectors.indexOf(n),l=[];n.level2_sector.indexOf(t)>-1&&(l.push(n),a.push({level1_sector:i.level1_sector,level2_sectors:l}),s.push({classification_name:r.classification_name,hierarchy:a}));for(let d of n.level3_sectors){let h=n.level3_sectors.indexOf(d),y=[];d.level3_sector.indexOf(t)>-1&&(d.index=e,d.index1=o,d.index2=c,d.index3=h,y.push(d),l.push({level2_sector:n.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(e){this.industryKeywords="",this.selectIndustryTopCategory=e.index,this.selectIndustrySecondCategory=e.index1,this.selectIndustryThirdCategory=e.index2,this.selectIndustryForthCategory=e.index3},clickIndustrySecondCategoryItem(e){this.selectIndustrySecondCategory!=e&&(this.selectIndustrySecondCategory=e),this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[e].isSpread=!this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[e].isSpread},clickIndustryThirdCategoryItem(e,t){this.selectIndustrySecondCategory!=e&&(this.selectIndustrySecondCategory=e),this.selectIndustryThirdCategory!=t&&(this.selectIndustryThirdCategory=t),this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[e].level2_sectors[t].isSpread=!this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[e].level2_sectors[t].isSpread},clickIndustryForthCategoryItem(e,t,s){this.selectIndustrySecondCategory!=e&&(this.selectIndustrySecondCategory=e),this.selectIndustryThirdCategory!=t&&(this.selectIndustryThirdCategory=t),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(e){this.selectImportanceIndex!=e&&(this.selectImportanceIndex=e)},clickExpandOrRetract(e){this.eventList[e].isExpand=!this.eventList[e].isExpand},clickLookRelatedStockItem(t,s){e.index.navigateTo({url:"/pages/index/stockDetails/stockDetails?type=1&code="+s+"&id="+t})},clickFollowEvent(s){t.followEvent(s).then((t=>{e.index.showToast({title:t.message,icon:"none"}),this.clickSearch()})).catch((e=>{}))},clickEventItem(t){let s=this;e.index.$on("editSuccess",(t=>{s.clickSearch(),e.index.$off("editSuccess")})),e.index.navigateTo({url:"/pages/index/eventDetails/eventDetails?id="+t})},getEventFilterListData(){return new Promise(((s,r)=>{t.filterOptions().then((t=>{if(200==t.code){s(1);let e=[...t.data.sort_options];this.timeCategoryList=e.splice(0,2);let r=[...t.data.sort_options];for(let t of r)"最新"==t.name&&(t.icon="/static/icon/home/new.png"),"热门"==t.name&&(t.icon="/static/icon/home/hot.png"),"收益率"==t.name&&(t.icon="/static/icon/home/yield.png");this.sortTypeList=t.data.sort_options.slice(0,3),this.importanceList=t.data.importance_options,this.importanceList.unshift({desc:"全部",key:"all",name:"全部"})}else s(1),e.index.showToast({title:t.message,icon:"none"})})).catch((e=>{r(1)}))}))},getIndustryCategoryListData(){return new Promise(((e,s)=>{t.industryCategoryList().then((t=>{this.industryCategoryList=t.data,e(1)})).catch((e=>{s(1)}))}))},getStockCategoryListData(){return new Promise(((s,r)=>{t.stockCategoryList().then((t=>{if(200==t.code){for(let e of t.data)e.sub_sectors.unshift("全部");t.data.unshift({primary_sector:"全部",sub_sectors:[]}),this.stockCategoryList=t.data,s(1)}else e.index.showToast({title:t.message,icon:"none"}),r(1)})).catch((e=>{r(1)}))}))},getEventListData(){let e={page:this.page,q:this.keywords};this.selectTopCategory>0&&(e.stock_sector=this.stockCategoryList[this.selectTopCategory].primary_sector),this.selectSecondCategory>0&&(e.secondary_sector=this.stockCategoryList[this.selectTopCategory].sub_sectors[this.selectSecondCategory]),this.startDateStr&&(e.start_date=this.startDateStr),this.endDateStr&&(e.end_date=this.endDateStr),this.selectImportanceIndex>0&&(e.importance=this.importanceList[this.selectImportanceIndex].key),this.selectSortKey&&(e.sort=this.selectSortKey),this.selectIndustryForthCategory>-1?(e.industry_level=4,e.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[this.selectIndustrySecondCategory].level2_sectors[this.selectIndustryThirdCategory].level3_sectors[this.selectIndustryForthCategory].level3_sector):this.selectIndustryThirdCategory>-1?(e.industry_level=3,e.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[this.selectIndustrySecondCategory].level2_sectors[this.selectIndustryThirdCategory].level2_sector):this.selectIndustrySecondCategory>-1?(e.industry_level=2,e.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].hierarchy[this.selectIndustrySecondCategory].level1_sector):(e.industry_level=1,e.industry_classification=this.industryCategoryList[this.selectIndustryTopCategory].classification_name),t.eventList(e).then((e=>{this.isRefreshing=!1,e.success&&(1==this.page?this.eventList=e.data.events:this.eventList=this.eventList.concat(e.data.events),this.loadAll=!e.data.pagination.has_next)})).catch((e=>{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.startDateStr&&(s.start_date=this.startDateStr),this.endDateStr&&(s.end_date=this.endDateStr),this.selectImportanceIndex>0&&(s.importance=this.importanceList[this.selectImportanceIndex].key),this.selectSortKey&&(s.sort=this.selectSortKey),t.homeData(s).then((t=>{200==t.code?1==this.page?this.eventList=t.data.events:this.eventList=this.eventList.concat(t.data.events):e.index.showToast({title:t.message,icon:"none"})})).catch((e=>{}))}}};if(!Array){(e.resolveComponent("navBar")+e.resolveComponent("uni-popup"))()}Math||((()=>"../../components/navBar/navBar.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const a=e._export_sfc(o,[["render",function(t,s,i,o,a,n){return e.e({a:r._imports_0,b:e.p({leftText:"事件中心",hideNavBg:!0,hideBack:!0}),c:r._imports_1,d:a.keywords,e:e.o((e=>a.keywords=e.detail.value)),f:e.f(a.screenCategoryList,((t,s,r)=>e.e({a:t.icon,b:e.t(t.title),c:e.n("item flex "+(2==s?"level":"")),d:e.o((e=>n.clickScreenItem(s)),s),e:s<a.screenCategoryList.length-1},(a.screenCategoryList.length,{}),{f:s}))),g:r._imports_3,h:e.f(a.timeCategoryList,((t,s,r)=>({a:e.t(t.name),b:e.n("item "+(a.selectTimeCategory==s?"select":"")),c:s,d:e.o((e=>n.clickTimeCategoryItem(s)),s)}))),i:e.f(a.stockCategoryList,((t,s,r)=>({a:e.t(t.primary_sector),b:e.n("item relative "+(a.selectTopCategory==s?"select":"")),c:s,d:e.o((e=>n.clickTopCategoryItem(e,s)),s)}))),j:a.topScrollLeft,k:e.s("top:"+a.navH+"px;"),l:e.f(a.eventList,((t,s,i)=>e.e({a:e.t(t.importance),b:e.n("level "+t.importance),c:e.t(t.title),d:e.t(t.description),e:e.n("content "+(t.isExpand?"":"retract")),f:e.o((e=>n.clickExpandOrRetract(s)),s),g:a.getRateUpOrDown(t.related_avg_chg)},a.getRateUpOrDown(t.related_avg_chg)?{h:r._imports_1$1}:{i:r._imports_2$1},{j:e.t(a.getRateStr(t.related_avg_chg)),k:e.n("rateItem "+(a.getRateUpOrDown(t.related_avg_chg)?"down":"up")),l:a.getRateUpOrDown(t.related_max_chg)},a.getRateUpOrDown(t.related_max_chg)?{m:r._imports_1$1}:{n:r._imports_2$1},{o:e.t(a.getRateStr(t.related_max_chg)),p:e.n("rateItem "+(a.getRateUpOrDown(t.related_max_chg)?"down":"up")),q:a.getRateUpOrDown(t.related_week_chg)},a.getRateUpOrDown(t.related_week_chg)?{r:r._imports_1$1}:{s:r._imports_2$1},{t:e.t(a.getRateStr(t.related_week_chg)),v:e.n("rateItem "+(a.getRateUpOrDown(t.related_week_chg)?"down":"up")),w:e.t(a.getLocaleTime(t.created_at)),x:e.t(t.view_count),y:e.t(t.post_count),z:e.t(t.follower_count),A:e.o((e=>n.clickFollowEvent(t.id)),s),B:e.o((e=>n.clickEventItem(t.id)),s),C:s}))),m:r._imports_3$1,n:r._imports_4,o:r._imports_10$1,p:e.s("top:"+a.listTop+"px"),q:a.isRefreshing,r:e.o((e=>n.pullDownRefresh())),s:e.o((e=>n.loadMoreData())),t:r._imports_2,v:e.s("height:"+a.menuH+"px;"),w:e.f(a.screenCategoryList,((t,s,r)=>e.e({a:t.icon,b:e.t(t.title),c:e.n("item flex "+(2==s?"level":"")),d:e.o((e=>n.clickScreenItem(s)),s),e:s<a.screenCategoryList.length-1},(a.screenCategoryList.length,{}),{f:s}))),x:r._imports_3,y:0==a.selectScreenCategory},0==a.selectScreenCategory?e.e({z:r._imports_9,A:a.startDateStr},a.startDateStr?{B:e.t(a.startDateStr)}:{},{C:e.n("dateC start flexCenter flex1 "+(0==a.selectDateRangeIndex?"select":"")),D:e.o((e=>n.clickDateRangeItem(0))),E:r._imports_9,F:a.endDateStr},a.endDateStr?{G:e.t(a.endDateStr)}:{},{H:e.n("dateC end flexCenter flex1 "+(1==a.selectDateRangeIndex?"select":"")),I:e.o((e=>n.clickDateRangeItem(1))),J:e.f(a.yearList,((t,s,r)=>({a:e.t(t),b:s}))),K:e.f(a.monthList,((t,s,r)=>({a:e.t(t),b:s}))),L:e.f(a.dayList,((t,s,r)=>({a:e.t(t),b:s}))),M:e.f(a.hourList,((t,s,r)=>({a:e.t(t),b:s}))),N:e.f(a.minuteList,((t,s,r)=>({a:e.t(t),b:s}))),O:0==a.selectDateRangeIndex?a.startDateValue:a.endDateValue,P:e.o(((...e)=>n.dateChange&&n.dateChange(...e)))}):{},{Q:1==a.selectScreenCategory},1==a.selectScreenCategory?e.e({R:e.f(a.industryCategoryList,((t,s,r)=>({a:e.t(t.classification_name),b:e.n("item "+(a.selectIndustryTopCategory==s?"select":"")),c:s,d:e.o((e=>n.clickIndustryTopCategoryItem(s)),s)}))),S:r._imports_10,T:e.o([e=>a.industryKeywords=e.detail.value,(...e)=>n.industrySearch&&n.industrySearch(...e)]),U:a.industryKeywords,V:a.industryKeywords.length>0},a.industryKeywords.length>0?{W:e.f(a.searchResultList,((t,s,r)=>({a:e.f(t.hierarchy,((t,s,r)=>({a:e.f(t.level2_sectors,((s,r,i)=>({a:e.f(s.level3_sectors,((r,i,o)=>({a:e.f(r.level3_sector+"/"+s.level2_sector+"/"+t.level1_sector,((t,s,r)=>({a:e.t(t),b:e.n(a.industryKeywords.indexOf(t)>-1?"key":""),c:s}))),b:e.o((e=>n.clickIndustrySearchItem(r)),i),c:i}))),b:r}))),b:s}))),b:s})))}:e.e({X:a.selectIndustrySecondCategory>-1},a.selectIndustrySecondCategory>-1?e.e({Y:a.selectIndustrySecondCategory>-1},a.selectIndustrySecondCategory>-1?{Z:e.t(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[a.selectIndustrySecondCategory].level1_sector),aa:r._imports_11,ab:e.o((e=>n.deleteIndustrySecondCategoryItem()))}:{},{ac:a.selectIndustryThirdCategory>-1},a.selectIndustryThirdCategory>-1?{ad:e.t(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[a.selectIndustrySecondCategory].level2_sectors[a.selectIndustryThirdCategory].level2_sector),ae:r._imports_11,af:e.o((e=>n.deleteIndustryThirdCategoryItem()))}:{},{ag:a.selectIndustryForthCategory>-1},a.selectIndustryForthCategory>-1?{ah:e.t(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[a.selectIndustrySecondCategory].level2_sectors[a.selectIndustryThirdCategory].level3_sectors[a.selectIndustryForthCategory].level3_sector),ai:r._imports_11,aj:e.o((e=>n.deleteIndustryForthCategoryItem()))}:{}):{},{ak:e.t(a.industryCategoryList[a.selectIndustryTopCategory].classification_name),al:e.f(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy,((t,s,i)=>e.e({a:e.t(a.selectIndustrySecondCategory==s&&t.isSpread?"-":"+"),b:e.t(t.level1_sector),c:e.n("categoryC flex "+(a.selectIndustrySecondCategory==s?"select":"")),d:e.o((e=>n.clickIndustrySecondCategoryItem(s)),s),e:t.isSpread},t.isSpread?{f:e.f(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[s].level2_sectors,((t,i,o)=>e.e({a:e.t(a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==i&&t.isSpread?"-":"+"),b:e.t(t.level2_sector),c:e.n("categoryC flex "+(a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==i?"select":"")),d:e.o((e=>n.clickIndustryThirdCategoryItem(s,i)),i),e:t.isSpread},t.isSpread?{f:e.f(a.industryCategoryList[a.selectIndustryTopCategory].hierarchy[s].level2_sectors[i].level3_sectors,((t,o,c)=>e.e({a:e.t(t.level3_sector),b:a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==i&&a.selectIndustryForthCategory==o},a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==i&&a.selectIndustryForthCategory==o?{c:r._imports_12}:{},{d:e.n("categoryC flex "+(a.selectIndustrySecondCategory==s&&a.selectIndustryThirdCategory==i&&a.selectIndustryForthCategory==o?"select":"")),e:e.o((e=>n.clickIndustryForthCategoryItem(s,i,o)),o),f:o})))}:{},{g:i})))}:{},{g:s})))})):{},{am:2==a.selectScreenCategory},2==a.selectScreenCategory?{an:e.f(a.importanceList,((t,s,i)=>e.e({a:e.t(t.name),b:a.selectImportanceIndex==s},a.selectImportanceIndex==s?{c:r._imports_13}:{},{d:e.n("item flex "+(a.selectImportanceIndex==s?"select":"")),e:s,f:e.o((e=>n.clickImportanceItem(s)),s)})))}:{},{ao:3==a.selectScreenCategory},3==a.selectScreenCategory?{ap:e.f(a.sortTypeList,((t,s,r)=>({a:t.icon,b:e.t(t.name),c:e.n("item flex "+(a.selectSortKey==t.key?"select":"")),d:s,e:e.o((e=>n.clickSortListItem(t)),s)})))}:{},{aq:3!=a.selectScreenCategory},3!=a.selectScreenCategory?{ar:e.o((e=>n.clickCancel())),as:e.o((e=>n.clickCertain()))}:{},{at:e.s("padding-top:"+a.menuTop+"px;"),av:e.sr("screenPopup","9dfd58d8-1"),aw:e.p({type:"top"})})}]]);wx.createPage(a);
|