"use strict";const e=require("../../common/vendor.js"),o=require("../../common/libraries/getPageConfig.js");if(require("../../common/store/useWeAppAuthStore.js"),require("../../gen/Apis.js"),require("../../common/libraries/request.js"),require("../../common/store/useWorkStore.js"),require("../../common/libraries/setTabBar.js"),require("../../common/libraries/apiLoading.js"),!Array){(e.resolveComponent("uni-icons")+e.resolveComponent("hs-button")+e.resolveComponent("up-divider")+e.resolveComponent("up-keyboard"))()}Math||((()=>"../../uni_modules/uni-icons/components/uni-icons/uni-icons.js")+(()=>"../../components/hs-button/hs-button.js")+(()=>"../../node-modules/uview-plus/components/u-divider/u-divider.js")+(()=>"../../node-modules/uview-plus/components/u-keyboard/u-keyboard.js"))();const n=e.defineComponent({__name:"index",setup(n){const l=[{label:"缴费记录",icon:"calendar",url:"/INDEX/parking_payment_record/index"},{label:"我的车辆",icon:"car",url:"/ME/vehicle_management/list/index"},{label:"开具发票",icon:"red-packet",url:"/ME/issue_invoice/index"}],i=e.ref(["粤","B","F","R","2","3","2","3"]),r=e.ref("粤BFR2323"),u=e.ref(!1),a=e.ref("car"),s=e.ref(!1),t=()=>{s.value=!0,a.value="car",u.value=!1},v=e=>{var o,n;if((null==(o=null==r?void 0:r.value)?void 0:o.length)<8){r.value+=e;for(let e=0;e<8;e++)i.value[e]=r.value[e]||"",console.log(r.value[e])}8===(null==(n=null==r?void 0:r.value)?void 0:n.length)&&(s.value=!1,u.value=!1)},d=()=>{var e;r.value=null==(e=r.value)?void 0:e.slice(0,-1);for(let o=0;o<8;o++)i.value[o]=r.value[o]||"",console.log(r.value[o])},c=()=>{var o;(null==(o=null==r?void 0:r.value)?void 0:o.length)<7?e.index.showToast({title:"请输入完整的车牌号！",icon:"none"}):e.index.navigateTo({url:"/ME/parking_fee/index"})};return(n,r)=>({a:e.f(i.value,((n,l,i)=>e.e({a:!n&&7===l},n||7!==l?{d:e.t(n),e:e.s(l<2?e.unref(o.getStyleBgInfo)():"")}:{b:"6d6f18c6-0-"+i,c:e.p({type:"plusempty",color:"#2A7EFB",size:"13"})},{f:1===l},{},{g:`iten_${l}`}))),b:e.o(t),c:e.o(c),d:e.p({label:"查询停车费",size:"md"}),e:e.f(1,((e,o,n)=>({a:`item_${o}`}))),f:e.f(l,((o,n,l)=>({a:`/static/svg/${null==o?void 0:o.icon}.svg`,b:e.t(null==o?void 0:o.label),c:`item_${n}`,d:e.o((n=>{return l=null==o?void 0:o.url,void e.index.navigateTo({url:l});var l}),`item_${n}`)}))),g:e.p({text:"会员停车权益说明"}),h:e.sr("uKeyboard","6d6f18c6-3"),i:e.o((e=>s.value=!1)),j:e.o(v),k:e.o(d),l:e.o((e=>s.value=!1)),m:e.o((e=>s.value=!1)),n:e.p({mode:a.value,show:s.value})})}});wx.createPage(n);
