<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">var de=Object.defineProperty,me=Object.defineProperties;var pe=Object.getOwnPropertyDescriptors;var Y=Object.getOwnPropertySymbols;var ye=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable;var Z=(e,t,n)=&gt;t in e?de(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ee=(e,t)=&gt;{for(var n in t||(t={}))ye.call(t,n)&amp;&amp;Z(e,n,t[n]);if(Y)for(var n of Y(t))he.call(t,n)&amp;&amp;Z(e,n,t[n]);return e},se=(e,t)=&gt;me(e,pe(t));var P=(e,t,n)=&gt;new Promise((i,u)=&gt;{var y=r=&gt;{try{h(n.next(r))}catch(s){u(s)}},c=r=&gt;{try{h(n.throw(r))}catch(s){u(s)}},h=r=&gt;r.done?i(r.value):Promise.resolve(r.value).then(y,c);h((n=n.apply(e,t)).next())});import{d as x,r as D,x as ae,c as v,o as b,e as H,g as U,a as o,b as g,z as fe,p as te,t as I,h as $,G as be,H as ue,J as ge,f as V,w as F,K as ve,q as M,P as ne,v as Ie,n as we,F as $e,i as Ce,s as _e,l as Pe}from"./entry.93f3d6b7.js";import{f as Te,c as N,h as Se,i as O,g as ke,s as le}from"./tools.d04843e9.js";import{_ as R}from"./_plugin-vue_export-helper.c27b6911.js";import{d as oe,a as T}from"./dayjs.min.5412829e.js";import{u as L,e as E}from"./use-touch.099cce32.js";const Ae=x({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const i=D(!1);return ae(()=&gt;{i.value=!0}),u=&gt;{var r;if(i.value)return(r=t.default)==null?void 0:r.call(t);const y=t.fallback||t.placeholder;if(y)return y();const c=u.fallback||u.placeholder||"",h=u.fallbackTag||u.placeholderTag||"span";return v(h,n,c)}}}),xe=["src"],De=x({__name:"count-exposure",props:{ad:{type:Number,required:!0},sgid:{type:Number||String,default:0}},setup(e){return(t,n)=&gt;{const i=Ae;return b(),H(i,null,{default:U(()=&gt;[o("img",{src:g(Te)(e.ad,e.sgid),alt:""},null,8,xe)]),_:1})}}});const Hs=R(De,[["__scopeId","data-v-24587019"]]),Ne=["src","alt"],Re={class:"middle-warp"},Be=["herf"],Le={key:0,class:"dealer-price"},Ee={key:1,class:"no-price"},je={key:2,class:"quan-price"},Ve={key:3,class:"quan-price"},Fe={key:4,class:"quan-price"},Me={class:"right-warp"},Oe={class:"discount-bg"},qe={class:"discount-price"},He={key:0,class:"activity-time"},Ue={key:0,class:"city-tag"},ze=x({__name:"subsidy-list-item",props:{subsidy:{type:Object,default:{}},from:{type:String,default:""}},emits:["receiveSubsidy"],setup(e,{emit:t}){const n=e,i=t,y=fe().params.cId||0,c=()=&gt;{const s=oe(n.subsidy.startAt).format("MM.DD"),p=oe(n.subsidy.endAt).format("MM.DD");return`娲诲姩鏃堕棿锛�${s}-${p}`},h=()=&gt;{location.href=`/subsidy/c${n.subsidy.cityId}-sg${n.subsidy.sgId}.html#ad=${n.from==="home"?26507:26621}`},r=()=&gt;{n.from==="home"?N(10216):N(10228),i("receiveSubsidy")};return(s,p)=&gt;(b(),v("div",{class:"subsidy-list-item",onClick:h},[p[5]||(p[5]=o("img",{class:"top-bg",src:"https://www1.pcauto.com.cn/pcauto-subsidy/wap/202412/subsidy-item-top-bg.webp"},null,-1)),o("img",{class:"series-pic",src:e.subsidy.sgPic,alt:`${e.subsidy.sgName}浼樻儬鏀跨瓥`},null,8,Ne),o("div",Re,[o("h2",null,[o("a",{herf:`/subsidy/c${e.subsidy.cityId}-sg${e.subsidy.sgId}.html#ad=${e.from==="home"?26507:26621}`,class:"series-name",onClick:p[0]||(p[0]=te(()=&gt;{},["prevent"]))},I(e.subsidy.sgName)+" 浼樻儬鏀跨瓥 ",9,Be)]),e.subsidy.dealerPrice||e.subsidy.gfPrice?(b(),v("div",Le,I(e.subsidy.dealerPrice||e.subsidy.gfPrice),1)):(b(),v("div",Ee,"鏆傛棤鎶ヤ环")),e.subsidy.platformAmount?(b(),v("div",je,I(`骞冲彴琛ヨ创 楼${e.subsidy.platformAmount}`),1)):$("",!0),e.subsidy.govItemAmount?(b(),v("div",Ve,I(`鏀垮簻琛ヨ创 楼${e.subsidy.govItemAmount}`),1)):$("",!0),e.subsidy.dealerAmount?(b(),v("div",Fe,I(`缁忛攢鍟嗚ˉ璐� 楼${e.subsidy.dealerAmount}`),1)):$("",!0)]),o("div",Me,[o("div",Oe,[p[1]||(p[1]=o("img",{src:"https://www1.pcauto.com.cn/pcauto-subsidy/wap/202412/subsidy-item-discount-bg.webp"},null,-1)),p[2]||(p[2]=o("div",{class:"tip-text"},"闄愭椂绔嬪噺",-1)),o("div",qe,I(e.subsidy.sumAmount),1)]),o("div",{class:"subsidy-btn",onClick:te(r,["stop"])},p[3]||(p[3]=[o("img",{src:"https://www1.pcauto.com.cn/pcauto-subsidy/wap/202412/subsidy-item-btn-bg.webp"},null,-1)])),e.subsidy.startAt&amp;&amp;e.subsidy.endAt?(b(),v("div",He,I(c()),1)):$("",!0)]),g(y)?$("",!0):(b(),v("div",Ue,[p[4]||(p[4]=o("img",{src:"https://www1.pcauto.com.cn/pcauto-subsidy/detail/wap/202412/icon-locate-gray.webp"},null,-1)),o("span",null,I(e.subsidy.city),1)]))]))}});const Us=R(ze,[["__scopeId","data-v-b5f14c11"]]),ce=()=&gt;{const{qdfront:e,act1:t,qdcore:n,etGuard:i}=be();return{enrollErrorLog:m=&gt;{const l="pcauto-subsidy-wap-clue",d=Se(l),C=l+Date.now(),z=m.expandContent||"";return m.sourceId||(m.sourceId=23),m.frontEndLocation=location.href,m.backEndLocation="",m.errorTime=new Date().valueOf(),m.expandContent=z?`${d}, ${z},${C}`:d,L(`${t}/bm/api/enrollError/save`,m,{judgeIsSuccess(B){return!0},returnRawData:!0,transform:B=&gt;(B==null?void 0:B.data)||null})},sendCaptcha:m=&gt;L(`${t}/brndsub/api/message/captcha`,m,{judgeIsSuccess(l){return!0},returnRawData:!0,transform:l=&gt;(l==null?void 0:l.data)||null}),checkCaptcha:m=&gt;L(`${t}/brndsub/api/message/checkCaptcha`,m,{judgeIsSuccess(l){return!0},returnRawData:!0,transform:l=&gt;(l==null?void 0:l.data)||null}),getOrderVerifyCtrl:m=&gt;E(`${e}/interface/order/getOrderVerifyCtrl.xsp`,m,{judgeIsSuccess(l){return!0},returnRawData:!0}),phoneEncrypt:m=&gt;E(`${i}/encrypt.xsp?phones=${encodeURIComponent(m)}`,{},{judgeIsSuccess(l){return!0},returnRawData:!0}),commonClueSave:m=&gt;E(`${n}/order/internal/commEntry.xsp`,m,{judgeIsSuccess(l){return!0},returnRawData:!0}),sendQuanClueSave:m=&gt;L(`${t}/act/collection/api/enroll/batchSubmit`,m,{judgeIsSuccess(l){return!0},returnRawData:!0}),getBuyCarActivityRule:()=&gt;E(`${t}/act/collection/api/buyCarBonus/rule`,{},{judgeIsSuccess(m){return!0},returnRawData:!0,transform:m=&gt;(m==null?void 0:m.data)||null})}};function Ge(e){const t=ue()==="production"?"prod":"qa",n=e.phone.slice(0,3)+"****"+e.phone.slice(7);window.saveCacheInfo&amp;&amp;window.saveCacheInfo(n,e.encryptPhone,t)}function Je(){const e=O.get("xunjiaInfo3");return e?JSON.parse(e):null}function Ke(e){const t=ue()==="production"?"prod":"qa";return e===t}const j=e=&gt;{let t="鑾峰彇搴曚环",n="璇环涓�...",i="璇环澶辫触锛岃閲嶈瘯",u="锛屾彁浜ゅ悗缁忛攢鍟嗗皢缁欐偍鑷寸數鎻愪緵鏈€鏂版姤浠�";return(e==="pcauto-subsidy"||e==="gov-subsidy"||e==="dealer-subsidy"||e==="common-subsidy")&amp;&amp;(t="椹笂棰嗗彇",n="棰嗗彇涓�...",i="棰嗗彇澶辫触锛岃閲嶈瘯",u=""),{submitTitle:t,loadingText:n,toastText:i,statement:u}},q=e=&gt;{let t={exposureId:10128,clueClickId:10129,clueSuccessId:10131,ruleClickId:0};return e==="pcauto-subsidy"?t={exposureId:10121,clueClickId:10122,clueSuccessId:10125,ruleClickId:10124}:e==="transaction-price"?t={exposureId:10115,clueClickId:10116,clueSuccessId:10118}:e==="dealer-subsidy"?t={exposureId:10176,clueClickId:10177,clueSuccessId:10178}:e==="common-subsidy"&amp;&amp;(t={exposureId:10232,clueClickId:10233,clueSuccessId:10234}),t},ie=e=&gt;/^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\d{8}$/.test(e),Qe=x({props:{isShow:{type:Boolean,default:!0},dialogType:{type:String,default:""},clueParams:{type:Object,default:{}}},setup(e,{emit:t}){const{sendCaptcha:n,checkCaptcha:i,getOrderVerifyCtrl:u,phoneEncrypt:y,commonClueSave:c,sendQuanClueSave:h,enrollErrorLog:r}=ce(),s=ge({showPhone:"",encryptPhone:"",phoneInputDisabled:!1,captcha:"",sendCaptchaText:"鍙戦€�",remainTime:60,captchaTimer:null,isShowCaptcha:!1,isAgreeStatement:!1,statement:"锛屾彁浜ゅ悗缁忛攢鍟嗗皢缁欐偍鑷寸數鎻愪緵鏈€鏂版姤浠�",submitTitle:"鑾峰彇搴曚环",isLoading:!1,loadingText:"璇环涓�..."}),p=V(()=&gt;{const a="https://www1.pcauto.com.cn/zt/2022/brand-subsidy/wap-dialog/images";return s.isAgreeStatement?`${a}/selected-icon1.png`:`${a}/un-selected-icon.png`}),S=()=&gt;{const a=Je(),f=Ke((a==null?void 0:a.type)||"");console.log("[ cookiePhoneObj ] &gt;",a),console.log("[ isSameEnv ] &gt;",f),a&amp;&amp;f?(s.showPhone=a.phone+" (涓婃浣跨敤)",s.encryptPhone=a.encryptPhone,s.phoneInputDisabled=!0):(s.showPhone="",s.encryptPhone="",s.phoneInputDisabled=!1)},m=()=&gt;{window.xunjiaInfo?S():ke("//js.3conline.com/pcautonew2/wap/2022/xunjia/xunjiaInfo3.js",function(){S()})},l=(a,f,A,k)=&gt;P(this,null,function*(){yield r({code:5e3,sourceId:36,ia:!0,expandContent:JSON.stringify({title:a,url:f,params:A,response:k})})}),d={phoneNumInput(){s.showPhone=s.showPhone.replace(/[^\d]/g,"")},clearPhone(){s.showPhone="",s.encryptPhone="",s.phoneInputDisabled=!1},timerCountDown(){s.captchaTimer=setInterval(()=&gt;{s.remainTime===0?(clearInterval(s.captchaTimer),s.remainTime=60,s.captchaTimer=null,s.sendCaptchaText="閲嶆柊鍙戦€�"):(s.remainTime-=1,s.sendCaptchaText=`${s.remainTime}s`)},1e3)},sendCaptcha(){if(s.remainTime===60)if(s.encryptPhone)C.sendCaptcha();else{let a="";s.showPhone?ie(s.showPhone)||(a="璇疯緭鍏�11浣嶆湁鏁堟墜鏈哄彿"):a="璇疯緭鍏ユ墜鏈哄彿鐮�",a?T(a):C.sendCaptcha()}},toggleAgreement(){s.isAgreeStatement=!s.isAgreeStatement},isValidParams(){let a="";return!s.encryptPhone&amp;&amp;!s.showPhone?a="璇疯緭鍏ユ墜鏈哄彿鐮�":!s.encryptPhone&amp;&amp;!ie(s.showPhone)?a="璇疯緭鍏�11浣嶆湁鏁堟墜鏈哄彿":s.isShowCaptcha&amp;&amp;!s.captcha?a="璇疯緭鍏ラ獙璇佺爜":s.isShowCaptcha&amp;&amp;s.captcha.length!==6?a="璇疯緭鍏�6浣嶉獙璇佺爜":s.isAgreeStatement||(a="璇峰嬀閫夈€婁釜浜轰俊鎭姭闇插強淇濇姢澹版槑銆�"),a?(T(a),!1):!0},submitClue(){return P(this,null,function*(){N(q(e.dialogType).clueClickId),d.isValidParams()&amp;&amp;(s.isShowCaptcha?(yield C.checkCaptcha())&amp;&amp;C.saveClue():C.saveClue())})},dealClueSuccess(a){N(q(e.dialogType).clueSuccessId),s.isLoading=!1,s.showPhone.length==11&amp;&amp;s.encryptPhone&amp;&amp;Ge({phone:s.showPhone,encryptPhone:s.encryptPhone||""}),t("saveClueSuccess",a),T("棰嗗彇鎴愬姛锛�")},dealClueFail(a){s.isLoading=!1,T(a.message||j(e.dialogType).toastText),l(a.alarmTitle,a.alarmApi,a.params,a.result)}},C={getNeedVerify(){return P(this,null,function*(){const{data:a}=yield u({positionId:1});a&amp;&amp;a.value.status===200&amp;&amp;(s.isAgreeStatement=Boolean(a.value.checkBoxNeedVerify),s.isShowCaptcha=Boolean(a.value.needVerify))})},sendCaptcha(){return P(this,null,function*(){let a=s.encryptPhone||s.showPhone;if(!s.encryptPhone){let A=window.encryStr(String(a));const{data:k}=yield y(A);k.value.code===1&amp;&amp;k.value.msg&amp;&amp;(a=k.value.msg[0].encrypt)}const{data:f}=yield n({phone:a});f.value&amp;&amp;f.value.code===0?(T("鍙戦€佹垚鍔�"),d.timerCountDown()):T(f.value.data.msg)})},checkCaptcha(){return P(this,null,function*(){let a=s.encryptPhone||s.showPhone;try{const{data:f}=yield i({phone:a,captcha:s.captcha});return f&amp;&amp;f.value.code===1?!0:(T("楠岃瘉鐮佽緭鍏ユ湁璇�"),!1)}catch(f){return T("楠岃瘉鐮侀敊璇紝璇烽噸鏂拌幏鍙�"),!1}})},saveClue(){return P(this,null,function*(){var G,J,K,Q,W,X;if(s.isLoading)return;s.isLoading=!0;let a="wap绔�-鍏叡璇环鐣欒祫寮圭獥",f="/order/internal/commEntry.xsp";const A=((G=e.clueParams)==null?void 0:G.cityId)||-1,k=((J=e.clueParams)==null?void 0:J.cityName)||"骞垮窞",re=((K=e.clueParams)==null?void 0:K.dataType)||"default";if(!s.encryptPhone&amp;&amp;s.showPhone){let _=window.encryStr(String(s.showPhone));const{data:w}=yield y(_);w.value.code===1&amp;&amp;w.value.msg&amp;&amp;(s.encryptPhone=w.value.msg[0].encrypt)}if(e.clueParams.autoInfoList){a="wap绔�-浼樻儬娲诲姩鍏叡鐣欒祫寮圭獥",f="/act/collection/api/enroll/batchSubmit";const _={phone:s.encryptPhone||s.showPhone,cityId:A,cityName:k,locateType:re,autoInfoList:e.clueParams.autoInfoList,source:1,currentFrom:location.href,cookie:O.get("pcsuv")||""};try{const{data:w}=yield h(_);w.value&amp;&amp;w.value.code===200?d.dealClueSuccess(w.value.data.subsidyType):d.dealClueFail({message:((Q=w.value)==null?void 0:Q.message)||"",alarmTitle:a,alarmApi:f,params:_,result:w})}catch(w){d.dealClueFail({message:"",alarmTitle:a,alarmApi:f,params:_,result:w})}}else{const _={phone:s.encryptPhone||s.showPhone,regionId:A,serialGroupId:e.clueParams.sgId,modelId:e.clueParams.modelId,dIds:e.clueParams.dealerId||"",entryid:e.clueParams.entryId,entryPortal:e.clueParams.entryPortal,origin:2,referer:location.href,cookie:O.get("pcsuv")||""};try{const{data:w}=yield c(_);((W=w.value)==null?void 0:W.code)===0?d.dealClueSuccess(1):d.dealClueFail({message:((X=w.value)==null?void 0:X.msg)||"",alarmTitle:a,alarmApi:f,params:_,result:w})}catch(w){d.dealClueFail({message:"",alarmTitle:a,alarmApi:f,params:_,result:w})}}})}};return F(()=&gt;e.isShow,a=&gt;{console.log("[ nValnValnVal ] &gt;",a),s.captchaTimer&amp;&amp;(clearInterval(s.captchaTimer),s.remainTime=60,s.captchaTimer=null,s.sendCaptchaText="鍙戦€�",s.captcha=""),a&amp;&amp;(m(),C.getNeedVerify())},{immediate:!0}),F(()=&gt;e.dialogType,a=&gt;{const f=a;s.submitTitle=j(f).submitTitle,s.loadingText=j(f).loadingText,s.statement=j(f).statement},{immediate:!0}),se(ee({},ve(s)),{circleImg:p,methods:d})}});const We={class:"common-clue-container"},Xe={class:"input-warp"},Ye={class:"input-box"},Ze=["disabled"],es={key:0,class:"input-warp"},ss={class:"input-box"},ts={class:"agree-statement"},ns=["src"],os={class:"tips"};function is(e,t,n,i,u,y){return b(),v("div",We,[o("div",Xe,[t[9]||(t[9]=o("div",{class:"input-type"},"鎵嬫満鍙�",-1)),o("div",Ye,[M(o("input",{"onUpdate:modelValue":t[0]||(t[0]=c=&gt;e.showPhone=c),maxlength:"11",placeholder:"璇疯緭鍏ユ墜鏈哄彿鐮�",disabled:e.phoneInputDisabled,onInput:t[1]||(t[1]=c=&gt;e.methods.phoneNumInput())},null,40,Ze),[[ne,e.showPhone]]),M(o("div",{class:"input-close-btn",onClick:t[2]||(t[2]=(...c)=&gt;e.methods.clearPhone&amp;&amp;e.methods.clearPhone(...c))},null,512),[[Ie,e.showPhone]])])]),e.isShowCaptcha?(b(),v("div",es,[t[10]||(t[10]=o("div",{class:"input-type"},"楠岃瘉鐮�",-1)),o("div",ss,[M(o("input",{"onUpdate:modelValue":t[3]||(t[3]=c=&gt;e.captcha=c),maxlength:"6",placeholder:"璇疯緭鍏ラ獙璇佺爜"},null,512),[[ne,e.captcha]]),o("div",{class:we(["sms-btn",e.remainTime!=60?"sms-btn-disable":""]),onClick:t[4]||(t[4]=(...c)=&gt;e.methods.sendCaptcha&amp;&amp;e.methods.sendCaptcha(...c))},I(e.sendCaptchaText),3)])])):$("",!0),o("div",{class:"submit-clue-btn",onClick:t[5]||(t[5]=(...c)=&gt;e.methods.submitClue&amp;&amp;e.methods.submitClue(...c))},I(e.isLoading?e.loadingText:e.submitTitle),1),o("div",ts,[o("img",{class:"selected-icon",src:e.circleImg,onClick:t[6]||(t[6]=(...c)=&gt;e.methods.toggleAgreement&amp;&amp;e.methods.toggleAgreement(...c))},null,8,ns),o("div",os,[o("span",{class:"agree-text",onClick:t[7]||(t[7]=(...c)=&gt;e.methods.toggleAgreement&amp;&amp;e.methods.toggleAgreement(...c))},"宸查槄璇诲苟鍚屾剰"),t[11]||(t[11]=o("a",{href:"https://www1.pcauto.com.cn/zt/gz20171127/declare/wap.html",target:"_blank"},"銆婁釜浜轰俊鎭姭闇插強淇濇姢澹版槑銆�",-1)),e.statement?(b(),v("span",{key:0,class:"agree-text",onClick:t[8]||(t[8]=(...c)=&gt;e.methods.toggleAgreement&amp;&amp;e.methods.toggleAgreement(...c))},I(e.statement),1)):$("",!0)])])])}const as=R(Qe,[["render",is],["__scopeId","data-v-a1083a59"]]),us={class:"subsidy-clue-container"},ls={key:0,class:"quan-list"},cs={class:"quan-item"},rs={class:"top-jianbian"},ds={class:"subsidy-type"},ms={class:"price-warp"},ps={class:"price"},ys={key:1,class:"single-quan"},hs={class:"left-warp"},fs={class:"discount"},bs={class:"right-warp"},gs={class:"quan-type"},vs={class:"quan-desc"},Is={class:"clue-warp"},ws=x({__name:"subsidy-clue-pop",props:{visible:{type:Boolean,default:!1},subsidyInfo:{type:Object,default:{}}},emits:["showRule","close"],setup(e,{emit:t}){const n=e;F(()=&gt;n.visible,r=&gt;{r&amp;&amp;N(q("common-subsidy").exposureId)});const i=t,u=V(()=&gt;{const r=[],s=n.subsidyInfo.entryType||"all";if(n.subsidyInfo.platformAmount&amp;&amp;(s==="all"||s==="pcauto-subsidy"||s==="drive"||s==="brand")){let p=n.subsidyInfo.platformAmount;s==="drive"?p=168:s==="brand"&amp;&amp;(p=n.subsidyInfo.subsidies),r.push({type:"骞冲彴琛ヨ创",amount:p,desc:"涓庨棬搴椾紭鎯犲悓浜�"})}return n.subsidyInfo.govItemAmount&amp;&amp;(s==="all"||s==="gov")&amp;&amp;(n.subsidyInfo.couponInfo?r.push({type:n.subsidyInfo.couponInfo.policyName,amount:n.subsidyInfo.couponInfo.govBonus,desc:`${n.subsidyInfo.couponInfo.endAt}鎴`}):r.push({type:"鏀垮簻琛ヨ创",amount:n.subsidyInfo.govItemAmount,desc:"澶ч璐溅鏉冪泭琛ヨ创"})),n.subsidyInfo.dealerAmount&amp;&amp;s==="all"&amp;&amp;r.push({type:"缁忛攢鍟嗚ˉ璐�",amount:n.subsidyInfo.dealerAmount,desc:"鎰熸仼鍥為澶ф斁浠�"}),r}),y=V(()=&gt;{const r=n.subsidyInfo.entryType||"all";if(n.subsidyInfo.platformAmount&amp;&amp;(r==="all"||r==="pcauto-subsidy"||r==="drive"||r==="brand")){const s=[],p={entryPortal:25,entryId:n.subsidyInfo.entryId,brandId:n.subsidyInfo.brandId,brandName:n.subsidyInfo.brandName,seriesId:n.subsidyInfo.sgId,seriesName:n.subsidyInfo.sgName,seriesImgUrl:n.subsidyInfo.sgPic,vipCount:0,actId:n.subsidyInfo.actId,testDriveSourceDetail:n.subsidyInfo.testDriveSourceDetail,brandSubsidySourceDetail:n.subsidyInfo.brandSubsidySourceDetail};return s.push(p),{autoInfoList:s,cityId:n.subsidyInfo.cityId,cityName:n.subsidyInfo.city,dataType:"route"}}else return{cityId:n.subsidyInfo.cityId,cityName:n.subsidyInfo.city,dataType:"route",sgId:n.subsidyInfo.sgId,entryPortal:25,entryId:n.subsidyInfo.entryId}}),c=()=&gt;{i("showRule")},h=()=&gt;{i("close")};return(r,s)=&gt;{const p=as,S=le;return b(),H(S,{show:e.visible,round:!0,style:{borderTopLeftRadius:"12px",borderTopRightRadius:"12px"},position:"bottom"},{default:U(()=&gt;[o("div",us,[o("div",{class:"top-warp"},[o("div",{class:"rule-btn",onClick:c},"璇存槑"),s[0]||(s[0]=o("div",{class:"pop-title"},null,-1)),o("div",{class:"close-btn",onClick:h})]),s[3]||(s[3]=o("div",{class:"tip-text"},"鍚嶉鏈夐檺 鍏堝埌鍏堝緱",-1)),g(u).length&gt;1?(b(),v("div",ls,[(b(!0),v($e,null,Ce(g(u),m=&gt;(b(),v("div",cs,[o("div",rs,[o("div",ds,I(m.type),1)]),o("div",ms,[o("div",ps,I(m.amount),1),s[1]||(s[1]=o("div",{class:"tag"},null,-1))])]))),256))])):g(u).length===1?(b(),v("div",ys,[o("div",hs,[o("div",fs,I(g(u)[0].amount),1),s[2]||(s[2]=o("div",{class:"tag"},null,-1))]),o("div",bs,[o("span",gs,I(g(u)[0].type),1),o("span",vs,I(g(u)[0].desc),1)])])):$("",!0),o("div",Is,[_e(p,{isShow:e.visible,dialogType:"common-subsidy",clueParams:g(y),onSaveClueSuccess:h},null,8,["isShow","clueParams"])])])]),_:1},8,["show"])}}});const zs=R(ws,[["__scopeId","data-v-ddc0a8ac"]]),$s={class:"subsidy-clue-rule-container"},Cs={id:"rule-content-warp",class:"rule-content-warp"},_s={key:0,class:"rule-item"},Ps={class:"rule-title"},Ts=["innerHTML"],Ss={key:1,class:"rule-item"},ks={class:"rule-title"},As=["innerHTML"],xs={key:2,class:"rule-item"},Ds={class:"rule-title"},Ns=["innerHTML"],Rs={key:3,class:"rule-item"},Bs={class:"rule-title"},Ls=["innerHTML"],Es=x({__name:"subsidy-clue-rule-pop",props:{visible:{type:Boolean,default:!1},subsidyInfo:{type:Object,default:{}}},emits:["goback","close"],setup(e,{emit:t}){const{getBuyCarActivityRule:n}=ce(),i=e;F(()=&gt;i.visible,l=&gt;{setTimeout(()=&gt;{const d=document.getElementById("rule-content-warp");l&amp;&amp;d&amp;&amp;d.scrollTo({top:0,behavior:"smooth"})},200)});const u=D(null),y=D(null),c=D(null),h=D(null),r=V(()=&gt;{const l=i.subsidyInfo.entryType||"all";let d="";return i.subsidyInfo.platformAmount&amp;&amp;(l==="all"||l==="pcauto-subsidy"||l==="drive"||l==="brand")&amp;&amp;(l==="drive"?d+="2":l==="brand"?d+="3":i.subsidyInfo.hasTestDriveBonus&amp;&amp;i.subsidyInfo.subsidies?d+="23":i.subsidyInfo.hasTestDriveBonus?d+="2":i.subsidyInfo.subsidies&amp;&amp;(d+="3")),(i.subsidyInfo.govItemAmount||i.subsidyInfo.isHasGov)&amp;&amp;(l==="all"||l==="gov")&amp;&amp;(d+="4"),i.subsidyInfo.dealerAmount&amp;&amp;l==="all"&amp;&amp;(d+="5"),d}),s=()=&gt;P(this,null,function*(){const{data:l}=yield n();l.value.length&amp;&amp;(u.value=l.value[0],y.value=l.value[1],c.value=l.value[2],h.value=l.value[3])}),p=t,S=()=&gt;{const l=i.subsidyInfo.entryType||"all";p("goback",l,{entryId:i.subsidyInfo.entryId,brandSubsidySourceDetail:i.subsidyInfo.brandSubsidySourceDetail,testDriveSourceDetail:i.subsidyInfo.testDriveSourceDetail})},m=()=&gt;{p("close")};return ae(()=&gt;{Pe(()=&gt;{s()})}),(l,d)=&gt;{const C=le;return b(),H(C,{show:e.visible,round:!0,style:{borderTopLeftRadius:"12px",borderTopRightRadius:"12px"},position:"bottom"},{default:U(()=&gt;[o("div",$s,[o("div",{class:"top-warp"},[d[0]||(d[0]=o("div",{class:"pop-title"},"娲诲姩瑙勫垯",-1)),o("div",{class:"close-btn",onClick:m})]),o("div",Cs,[g(r).indexOf("2")&gt;-1?(b(),v("div",_s,[o("div",Ps,I(g(u).subTitle),1),o("div",{class:"rule-content",innerHTML:g(u).content},null,8,Ts)])):$("",!0),g(r).indexOf("3")&gt;-1?(b(),v("div",Ss,[o("div",ks,I(g(y).subTitle),1),o("div",{class:"rule-content",innerHTML:g(y).content},null,8,As)])):$("",!0),g(r).indexOf("4")&gt;-1?(b(),v("div",xs,[o("div",Ds,I(g(c).subTitle),1),o("div",{class:"rule-content",innerHTML:g(c).content},null,8,Ns)])):$("",!0),g(r).indexOf("5")&gt;-1?(b(),v("div",Rs,[o("div",Bs,I(g(h).subTitle),1),o("div",{class:"rule-content",innerHTML:g(h).content},null,8,Ls)])):$("",!0),d[1]||(d[1]=o("div",{class:"tip_text"},"濡傚娲诲姩鏈変笉鐞嗚В锛屽彲鎵爜鍜ㄨ瀹㈡湇",-1)),d[2]||(d[2]=o("img",{class:"kefu-img",src:"https://www1.pcauto.com.cn/model-wap/subsidy/20241121/icon-kefu.png",alt:""},null,-1))]),d[3]||(d[3]=o("div",{class:"mask"},null,-1)),o("div",{class:"goback",onClick:S},"绔嬪嵆棰嗗彇")])]),_:1},8,["show"])}}});const Gs=R(Es,[["__scopeId","data-v-bd20450c"]]),Js=(e,t)=&gt;{let n="";e.cityId?n=`c${e.cityId}`:e.proId&amp;&amp;(n=`p${e.proId}`);let i="";return t.id&amp;&amp;(i=n?`-nb${t.id}`:`nb${t.id}`),n||i?`/subsidy/${n}${i}/`:"/subsidy/"},Ks=(e,t,n)=&gt;{let i="";e.cityName?i=e.cityName:e.proName&amp;&amp;(i=e.proName);let u="";t.brandName&amp;&amp;(u=t.brandName);let y="",c="",h="";return e.proId&amp;&amp;t.id?(y=`${i}${u}浼樻儬鏀跨瓥_${i}璐溅琛ヨ创 - 澶钩娲嬫苯杞,c=`澶钩娲嬫苯杞︿负鎮ㄦ暣鐞嗕簡鏈€鏂扮殑${i}${u}浼樻儬鏀跨瓥銆�${i}璐溅琛ヨ创锛屼负鎮ㄦ彁渚涘叏闈笖璇︾粏鐨勮喘杞﹁ˉ璐翠俊鎭€傛兂瑕佸強鏃朵簡瑙�${i}${u}浼樻儬鏀跨瓥锛�${i}璐溅琛ヨ创鐨勭浉鍏充俊鎭紝灏变笂澶钩娲嬫苯杞︺€俙,h=`${i}${u}浼樻儬鏀跨瓥,${i}璐溅琛ヨ创`):e.proId?(y=`${i}璐溅琛ヨ创_${i}璐溅琛ヨ创鏀跨瓥 - 澶钩娲嬫苯杞,c=`澶钩娲嬫苯杞︿负鎮ㄦ暣鐞嗕簡鏈€鏂扮殑${i}璐溅琛ヨ创銆�${i}璐溅琛ヨ创鏀跨瓥锛屼负鎮ㄦ彁渚涘叏闈笖璇︾粏鐨勮喘杞﹁ˉ璐翠俊鎭€傛兂瑕佸強鏃朵簡瑙�${i}璐溅琛ヨ创鏀跨瓥鐨勭浉鍏充俊鎭紝灏变笂澶钩娲嬫苯杞︺€俙,h=`${i}璐溅琛ヨ创,${i}璐溅琛ヨ创鏀跨瓥`):t.id?(y=`${u}浼樻儬鏀跨瓥_${u}璐溅琛ヨ创 - 澶钩娲嬫苯杞,c=`澶钩娲嬫苯杞︿负鎮ㄦ暣鐞嗕簡鏈€鏂扮殑${u}浼樻儬鏀跨瓥銆�${u}璐溅琛ヨ创锛屼负鎮ㄦ彁渚涘叏闈笖璇︾粏鐨勮喘杞﹁ˉ璐翠俊鎭€傛兂瑕佸強鏃朵簡瑙�${u}璐溅琛ヨ创鏀跨瓥鐨勭浉鍏充俊鎭紝灏变笂澶钩娲嬫苯杞︺€俙,h=`${u}浼樻儬鏀跨瓥,${u}璐溅琛ヨ创`):(y="鍏ㄥ浗璐溅琛ヨ创_鍏ㄥ浗璐溅琛ヨ创鏀跨瓥 - 澶钩娲嬫苯杞�",c="澶钩娲嬫苯杞︿负鎮ㄦ暣鐞嗕簡鍏ㄥ浗璐溅琛ヨ创銆佸叏鍥借喘杞﹁ˉ璐存斂绛栵紝涓烘偍鎻愪緵鍏ㄩ潰涓旇缁嗙殑璐溅琛ヨ创淇℃伅銆傛兂瑕佸強鏃朵簡瑙ｅ叏鍥借喘杞﹁ˉ璐存斂绛栫殑鐩稿叧淇℃伅锛屽氨涓婂お骞虫磱姹借溅銆�",h="鍏ㄥ浗璐溅琛ヨ创,鍏ㄥ浗璐溅琛ヨ创鏀跨瓥"),{title:y,meta:[{name:"description",content:c},{name:"keywords",content:h}],link:[{rel:"canonical",href:`https://www.pcauto.com.cn${n}`}]}},Qs=e=&gt;{const t=e.city||"",n=e.sgName||"",i=`${t}${n}浼樻儬鏀跨瓥_${t}${n}璐溅琛ヨ创 - 澶钩娲嬫苯杞,u=`澶钩娲嬫苯杞︿负鎮ㄦ暣鐞嗕簡鏈€鏂扮殑${t}${n}浼樻儬鏀跨瓥銆�${t}${n}璐溅琛ヨ创锛屼负鎮ㄦ彁渚涘叏闈笖璇︾粏鐨勮喘杞﹁ˉ璐翠俊鎭€傛兂瑕佸強鏃朵簡瑙�${t}${n}璐溅琛ヨ创浼樻儬鏀跨瓥鐨勭浉鍏充俊鎭紝灏变笂澶钩娲嬫苯杞︺€俙,y=`${t}${n}浼樻儬鏀跨瓥,${t}${n}璐溅琛ヨ创`;return{title:i,meta:[{name:"description",content:u},{name:"keywords",content:y}],link:[{rel:"canonical",href:`https://www.pcauto.com.cn/subsidy/c${e.cityId}-sg${e.sgId}.html`}]}};export{Us as S,Hs as _,as as a,zs as b,Gs as c,Ks as d,Js as e,Qs as g};
</pre></body></html>