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.
1 lines
6.7 KiB
1 lines
6.7 KiB
var s=Object.defineProperty,e=Object.prototype.hasOwnProperty,t=Object.getOwnPropertySymbols,i=Object.prototype.propertyIsEnumerable,a=(e,t,i)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,r=(s,r)=>{for(var n in r||(r={}))e.call(r,n)&&a(s,n,r[n]);if(t)for(var n of t(r))i.call(r,n)&&a(s,n,r[n]);return s};import{_ as n}from"./returnBar.35b6215f.js";import{_ as l}from"./genduo@2x.06c5d856.js";import{B as o,x as c,K as d,v as u,T as p,G as m,p as y,m as g,c as v,t as w,u as b,s as f,F as k,q as h,w as I,o as _}from"./vendor.269b2875.js";import"./pinlun@2x.628190cf.js";import"./paixu@2x.fd1743af.js";const T={components:{ReturnBar:n},setup(){const{proxy:s}=o(),e=c({TabCur:0,masterId:"",classId:"",message:{},regeList:[],moreList:[],isFlag:"",isIndustrynew:!1,isJourney:!1,isMaster:!1,swiper1:null,swiper2:null});d((()=>s.$route),((e,t)=>{const i=s;e.query.master!=t.query.master&&null!=e.query.master&&(i.masterId=e.query.master,s.$router.go(0),window.scrollTo(0,0))})),u((()=>{const e=s;switch(e.masterId=s.$route.query.master,e.classId=s.$route.query.classid,e.isFlag=s.$route.query.flag,e.isFlag){case"industrynew":e.isIndustrynew=!0;break;case"master":e.isMaster=!0;break;case"journey":e.isJourney=!0}window.scrollTo(0,0),t(),i(),a()}));let t=()=>{const e=s;let t={BaseId:e.masterId};e.$http.get(s.$API.GETAPPROACHBYID,{params:t}).then((s=>{200==s.type?e.message=s.data:p(s.content)})).catch((s=>{}))},i=()=>{const e=s;let t={NowId:e.masterId,ClassId:e.classId,nShow:10};e.$http.get(s.$API.GETAPPROACHLISTMORE,{params:t}).then((t=>{200==t.type?(e.moreList=t.data,"industrynew"==e.isFlag?s.$nextTick((function(){s.swiperIndustry()})):"master"!=e.isFlag&&"journey"!=e.isFlag||s.$nextTick((function(){s.swiperMaster()}))):p(t.content)})).catch((s=>{}))},a=()=>{const e=s;let t={BaseId:e.masterId};e.$http.get(s.$API.GETAPPROACHDETAILSLIST,{params:t}).then((s=>{200==s.type?e.regeList=s.data:p(s.content)})).catch((s=>{}))};return r(r({},m(e)),{toBack:()=>{s.$router.go(-1)},changeSub:e=>{const t=s;t.TabCur=e,"industrynew"==t.isFlag?s.$nextTick((function(){s.swiperIndustry()})):"master"!=t.isFlag&&"journey"!=t.isFlag||s.$nextTick((function(){s.swiperMaster()}))},GetApproachById:t,swiperIndustry:()=>{e.swiper1=new Swiper(".swiper-container1",{loop:!0,watchSlidesProgress:!0,resistanceRatio:0,on:{init:function(){let s=this.slides;for(let e=0;e<s.length;e++){s.eq(e).css("zIndex",100-e)}},resize:function(s){s.update()},setTranslate:function(){let s=this.slides,e=this.width;for(let t=0;t<s.length;t++){let i=s.eq(t),a=s[t].progress;a<=0&&(i.transform("translateX("+a*e+"px) scale("+(1-Math.abs(a)/20)+")"),i.css("opacity",a+3)),a>0&&(i.transform("rotate("+5*-a+"deg)"),i.css("opacity",1-a))}},setTransition:function(s,e){for(let t=0;t<this.slides.length;t++){this.slides.eq(t).transition(e)}}}})},swiperMaster:()=>{e.swiper2=new Swiper(".swiper-container2",{slidesPerView:"auto",spaceBetween:30})},GetApproachDetailsList:a,toDeatil:(e,t,i)=>{s.$router.push({path:"/leadingDeatil",query:{master:e,classid:t,flag:i}})},toAbouthisDeatil:t=>{s.$router.push({path:"/regarDeatil",query:{regarid:t,masterId:e.masterId}})}})}},C=I("data-v-f0fe98ea");y("data-v-f0fe98ea");const x={class:"box"},$={class:"page_top"},j=w("span",{class:"backtrack icon iconfont"},"",-1),A={key:0,class:"industry_info"},L={class:"industry_info_title journey_title"},P={key:0,class:"subtitle"},q={key:1,class:"journey_top"},M=w("div",{class:"topmask"},null,-1),B={key:2,class:"journey_info"},D={class:"journey_title"},S={class:"sublist"},F={class:"sublist_title"},O={class:"sublist_title"},J={key:0,class:"tabCont_wrap"},E={class:"industry_more"},G=w("div",{class:"industry_more_title"},[w("img",{src:l})],-1),R={key:0,class:"swiper-container1"},H={class:"swiper-wrapper"},z={class:"swiper_cont"},K={class:"entrepreneurtitle"},N={key:1,class:"swiper-container2"},V={class:"swiper-wrapper"},X={class:"masteritem",style:{"background-image":"url(https://img.ftznlib.com/img/dashi@2x.png)"}},Y={class:"mastername"},Q={class:"masterduty"},U={key:2,class:"swiper-container2"},W={class:"swiper-wrapper"},Z={class:"exhibitionitem"},ss={class:"exhibitiontitle"},es={key:1,class:"tabCont_wrap"},ts={class:"regard"},is={class:"ragardtitle"};g();const as=C(((s,e,t,i,a,r)=>(_(),v("div",x,[w("div",{class:["topimg",{topimg_industry:1==s.isIndustrynew},{topimg_master:1==s.isMaster}]},[w("div",$,[w("div",{class:"back-di",onClick:e[1]||(e[1]=(...s)=>i.toBack&&i.toBack(...s))},[j])]),1!=s.isJourney?(_(),v("div",A,[w("div",{class:["industry_info_img",{industry_info_img1:1==s.isIndustrynew},{industry_info_img2:1==s.isMaster}],style:{"background-image":"url("+s.message.cover+")"}},null,6),w("div",null,[w("div",L,b(s.message.title),1),1==s.isMaster||1!=s.isJourney?(_(),v("div",P,b(s.message.subtitle),1)):f("",!0)])])):f("",!0),1==s.isJourney?(_(),v("div",q,[w("img",{class:"topcover",src:s.message.cover},null,8,["src"]),M])):f("",!0),1==s.isJourney?(_(),v("div",B,[w("div",D,b(s.message.title),1)])):f("",!0),w("div",S,[w("div",F,[w("span",{onClick:e[2]||(e[2]=s=>i.changeSub(0)),class:["title",{sub_title_active:1==s.TabCur}]},"简介",2)]),w("div",O,[w("span",{onClick:e[3]||(e[3]=s=>i.changeSub(1)),class:["title",{sub_title_active:0==s.TabCur}]},"关于TA",2)])])],2),0==s.TabCur?(_(),v("div",J,[w("div",{class:"introductory",innerHTML:s.message.description},null,8,["innerHTML"]),w("div",E,[G,1==s.isIndustrynew?(_(),v("div",R,[w("div",H,[(_(!0),v(k,null,h(s.moreList,((s,e)=>(_(),v("div",{class:"swiper-slide",key:e,onClick:e=>i.toDeatil(s.id,s.classId,"industrynew")},[w("div",z,[w("div",{class:"entrepreneurimg",style:{"background-image":"url("+s.cover+")"}},null,4),w("span",K,b(s.title),1)])],8,["onClick"])))),128))])])):f("",!0),1==s.isMaster?(_(),v("div",N,[w("div",V,[(_(!0),v(k,null,h(s.moreList,((s,e)=>(_(),v("div",{class:"swiper-slide",key:e,onClick:e=>i.toDeatil(s.id,s.classId,"master")},[w("div",X,[w("div",{class:"avatarimg",style:{"background-image":"url("+s.cover+")"}},null,4),w("text",Y,b(s.title),1),w("text",Q,b(s.subtitle),1)])],8,["onClick"])))),128))])])):f("",!0),1==s.isJourney?(_(),v("div",U,[w("div",W,[(_(!0),v(k,null,h(s.moreList,((s,e)=>(_(),v("div",{class:"swiper-slide",key:e,onClick:e=>i.toDeatil(s.id,s.classId,"journey")},[w("div",Z,[w("div",{class:"exhibitionimg",style:{"background-image":"url("+s.cover+")"}},null,4),w("span",ss,b(s.title),1)])],8,["onClick"])))),128))])])):f("",!0)])])):f("",!0),1==s.TabCur?(_(),v("div",es,[w("div",ts,[(_(!0),v(k,null,h(s.regeList,((s,e)=>(_(),v("div",{class:"ragarditem",onClick:e=>i.toAbouthisDeatil(s.id),key:e},[w("div",{class:"ragardimg",style:{"background-image":"url("+s.cover+")"}},null,4),w("span",is,b(s.title),1)],8,["onClick"])))),128))])])):f("",!0)]))));T.render=as,T.__scopeId="data-v-f0fe98ea";export{T as default};
|