"use strict"; const common_vendor = require("../../../common/vendor.js"); const common_assets = require("../../../common/assets.js"); var _documentCurrentScript = typeof document !== "undefined" ? document.currentScript : null; if (!Array) { const _easycom_up_navbar2 = common_vendor.resolveComponent("up-navbar"); const _easycom_moreRight2 = common_vendor.resolveComponent("moreRight"); const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup"); (_easycom_up_navbar2 + _easycom_moreRight2 + _easycom_up_popup2)(); } const _easycom_up_navbar = () => "../../../uni_modules/uview-plus/components/u-navbar/u-navbar.js"; const _easycom_moreRight = () => "../../../components/moreRight/moreRight.js"; const _easycom_up_popup = () => "../../../uni_modules/uview-plus/components/u-popup/u-popup.js"; if (!Math) { (_easycom_up_navbar + _easycom_moreRight + commentItem + _easycom_up_popup)(); } const commentItem = () => "./comp/commentItem.js"; const _sfc_main = { __name: "vipEntry", setup(__props) { const tabData = common_vendor.ref([ { name: "精选试题", icon: new URL("@/static/images/vip/vipicon2.png", typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.src || new URL("pages/vip/vipEntry/vipEntry.js", document.baseURI).href).href, id: "1" }, { name: "仿真考试", icon: new URL("@/static/images/vip/vipicon3.png", typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.src || new URL("pages/vip/vipEntry/vipEntry.js", document.baseURI).href).href, id: "1" }, { name: "考前密卷", icon: new URL("@/static/images/vip/vipicon4.png", typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.src || new URL("pages/vip/vipEntry/vipEntry.js", document.baseURI).href).href, id: "1" }, { name: "高频错题", icon: new URL("@/static/images/vip/vipicon5.png", typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.src || new URL("pages/vip/vipEntry/vipEntry.js", document.baseURI).href).href, id: "1" }, { name: "语音讲解", icon: new URL("@/static/images/vip/vipicon1.png", typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.src || new URL("pages/vip/vipEntry/vipEntry.js", document.baseURI).href).href, id: "1" } ]); const stepData = common_vendor.ref([ { name: "精选试题", num: "一", oneTxt: "练", txt: "提炼易错、易考试题,减少相似题目练习,缩短备考时间", icon: new URL("@/static/images/vip/coveb.png", typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.src || new URL("pages/vip/vipEntry/vipEntry.js", document.baseURI).href).href, id: "1" }, { name: "还原真实考场", num: "二", oneTxt: "考", txt: "100%还原考试界面,磨练考试技巧、增强心理素质、提高考试成绩", icon: new URL("@/static/images/vip/covec.png", typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.src || new URL("pages/vip/vipEntry/vipEntry.js", document.baseURI).href).href, id: "1" }, { name: "考前秘卷", num: "三", oneTxt: "冲", txt: "考前精选 高频难题 直击考点 稳上高分", icon: new URL("@/static/images/vip/coved.png", typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.src || new URL("pages/vip/vipEntry/vipEntry.js", document.baseURI).href).href, id: "1" }, { name: "温故高频错题", num: "四", oneTxt: "复", txt: "汇总您的专属高频错题,全力攻破最后的难关", icon: new URL("@/static/images/vip/covea.png", typeof document === "undefined" ? require("url").pathToFileURL(__filename).href : _documentCurrentScript && _documentCurrentScript.src || new URL("pages/vip/vipEntry/vipEntry.js", document.baseURI).href).href, id: "1" } ]); const curVipItem = common_vendor.ref({ name: "全科VIP", price: 15, day: 180 }); const vipItemData = common_vendor.ref([ { name: "全科VIP", price: 15, day: 180 }, { name: "科目一VIP", price: 10, day: 180 }, { name: "科目四VIP", price: 10, day: 180 } ]); let show = common_vendor.ref(false); function lookMore() { console.log("我是一个h5"); } function chooseVip(item) { curVipItem.value = item; } return (_ctx, _cache) => { return common_vendor.e({ a: common_vendor.p({ leftText: " ", leftIconColor: "#fff", safeAreaInsetTop: true, autoBack: true, title: " ", fixed: true, bgColor: "transparent" }), b: common_vendor.o(($event) => _ctx.$goPage("/pages/vip/vipQuestions/vipQuestions")), c: curVipItem.value.name == "全科VIP" }, curVipItem.value.name == "全科VIP" ? { d: common_assets._imports_0$2, e: common_assets._imports_1, f: common_assets._imports_2, g: common_assets._imports_3, h: common_assets._imports_4 } : {}, { i: curVipItem.value.name == "全科VIP" ? 1 : "", j: common_vendor.f(vipItemData.value, (item, index, i0) => { return { a: common_vendor.t(item.name), b: common_vendor.t(item.price), c: common_vendor.t(item.day), d: index, e: curVipItem.value.name == item.name ? 1 : "", f: common_vendor.o(($event) => chooseVip(item), index) }; }), k: common_vendor.t(curVipItem.value.price), l: common_vendor.t(curVipItem.value.day), m: common_vendor.p({ text: "查看全部" }), n: common_assets._imports_5, o: common_assets._imports_6, p: common_vendor.f(tabData.value, (item, index, i0) => { return { a: item.icon, b: common_vendor.t(item.name), c: index }; }), q: common_vendor.f(stepData.value, (item, index, i0) => { return { a: common_vendor.t(item.num), b: common_vendor.t(item.oneTxt), c: item.icon, d: index }; }), r: common_vendor.p({ text: "查看全部" }), s: common_vendor.o(lookMore), t: common_vendor.f(6, (item, index, i0) => { return { a: "5f0ca787-3-" + i0, b: index }; }), v: common_vendor.f(10, (item, index, i0) => { return { a: index, b: "5f0ca787-5-" + i0 + ",5f0ca787-4" }; }), w: common_vendor.o(($event) => common_vendor.isRef(show) ? show.value = false : show = false), x: common_vendor.o(($event) => common_vendor.isRef(show) ? show.value = $event : show = $event), y: common_vendor.p({ mode: "bottom", round: "20rpx", closeable: true, show: common_vendor.unref(show) }) }); }; } }; const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5f0ca787"]]); wx.createPage(MiniProgramPage);