|
|
import{b as a,o as e,c as s,w as t,d as l,e as c,t as u,i as n,v as o,r as d,A as f,B as A,m as r,k as m,f as i,g as p,F as x,u as b,C as g,n as v,j as B,D as h,E as Y}from"./index-IX2tYR8R.js";import{_ as C}from"./u-navbar.BTvKBpLV.js";import{r as I}from"./uni-app.es.Bc5t55A8.js";import{_ as w}from"./u-icon.sW6sruaF.js";import{_ as U}from"./_plugin-vue_export-helper.BCo6x5W8.js";import{_ as j}from"./u-popup.CPuol-R0.js";import{c as X}from"./car.C_k88K1b.js";import"./u-status-bar.weuqoXTS.js";const E=U({props:["text"]},[["render",function(o,d,f,A,r,m){const i=n,p=I(a("u-icon"),w);return e(),s(i,{class:"moreBox"},{default:t((()=>[l(i,{class:"txt"},{default:t((()=>[c(u(f.text),1)])),_:1}),l(p,{name:"arrow-right",color:"#686B73",size:"14"})])),_:1})}],["__scopeId","data-v-f3babdcb"]]),D=U({__name:"commentItem",props:["item"],setup:a=>(d,f)=>{const A=o,r=n;return e(),s(r,{class:"commentItem"},{default:t((()=>[l(r,{class:"flex"},{default:t((()=>[l(r,{class:"avatar"},{default:t((()=>[l(A,{src:a.item.avatar,mode:"widthFix"},null,8,["src"])])),_:1}),l(r,{class:"name"},{default:t((()=>[c(u(a.item.name),1)])),_:1}),l(r,{class:"tag"},{default:t((()=>[c(u(a.item.label),1)])),_:1})])),_:1}),l(r,{class:"text"},{default:t((()=>[c(u(a.item.description),1)])),_:1})])),_:1})}},[["__scopeId","data-v-9d5b2ba4"]]),R=U({__name:"vipEntry",setup(w){let U=X();const R=d([{name:"精选试题",icon:new URL("/h5/assets/vipicon2-D5_LoOS7.png",import.meta.url).href,id:"1"},{name:"仿真考试",icon:new URL("/h5/assets/vipicon3-CSGyr1j3.png",import.meta.url).href,id:"1"},{name:"考前密卷",icon:new URL("/h5/assets/vipicon4-wENFYUu7.png",import.meta.url).href,id:"1"},{name:"高频错题",icon:new URL("/h5/assets/vipicon5-Bm70_oAx.png",import.meta.url).href,id:"1"},{name:"语音讲解",icon:new URL("/h5/assets/vipicon1-B6n-rpey.png",import.meta.url).href,id:"1"}]),V=d([{name:"精选试题",num:"一",oneTxt:"练",txt:"提炼易错、易考试题,减少相似题目练习,缩短备考时间",icon:new URL("/h5/assets/coveb-Cxf7E3vD.png",import.meta.url).href,id:"1"},{name:"还原真实考场",num:"二",oneTxt:"考",txt:"100%还原考试界面,磨练考试技巧、增强心理素质、提高考试成绩",icon:new URL("/h5/assets/covec-BfSbZHec.png",import.meta.url).href,id:"1"},{name:"考前秘卷",num:"三",oneTxt:"冲",txt:"考前精选 高频难题 直击考点 稳上高分",icon:new URL("/h5/assets/coved-BYt_hdol.png",import.meta.url).href,id:"1"},{name:"温故高频错题",num:"四",oneTxt:"复",txt:"汇总您的专属高频错题,全力攻破最后的难关",icon:new URL("/h5/assets/covea-BcyQztHn.png",import.meta.url).href,id:"1"}]),O=d({name:"全科VIP",price:15,days:180}),z=d([]);let P=d(!1);function Q(){P.value=!0}!async function(){const{data:a}=await f(U.carInfo.carType);a.length&&(z.value=a,console.log(a))}();let G=d([]);return async function(){let a={carType:U.carInfo.carType,pageNum:1,pageSize:6};const e=await A(a);console.log(e),e.rows.length&&(G.value=e.rows)}(),(d,f)=>{const A=I(a("up-navbar"),C),w=n,U=o,X=B,F=I(a("moreRight"),E),J=Y,T=h,W=I(a("up-popup"),j);return e(),s(w,{class:"content"},{default:t((()=>[l(A,{leftText:" ",leftIconColor:"#fff",safeAreaInsetTop:!0,autoBack:!0,title:" ",fixed:!0,bgColor:"transparent"}),l(w,{class:m(["topBg",{bigBg:"5"==O.value.type}])},{default:t((()=>[l(w,{class:"tag"},{default:t((()=>[c("朱XX成为VIP会员")])),_:1}),l(w,{class:"tag"},{default:t((()=>[c("一次搞定")])),_:1}),l(w,{class:"tag"},{default:t((()=>[c("五大特权")])),_:1}),l(w,{class:"tag"},{default:t((()=>[c("最低仅需0.5元/天")])),_:1}),l(w,{class:"tag",onClick:f[0]||(f[0]=a=>d.$goPage("/pages/vip/vipQuestions/vipQuestions"))},{default:t((()=>[c("常见问题")])),_:1}),"5"==O.value.type?(e(),s(w,{key:0,class:"allSubRow"},{default:t((()=>[l(w,{class:"allsbItem"},{default:t((()=>[l(w,{class:"icon"},{default:t((()=>[l(U,{src:"/h5/assets/allSbu1-cqpRpPy7.png",mode:""})])),_:1}),l(w,{class:"text"},{default:t((()=>[c("科一VIP")])),_:1})])),_:1}),l(w,{class:"allsbItem"},{default:t((()=>[l(w,{class:"icon_arrow"},{default:
|