"use strict";const e=require("../../../common/vendor.js");if(!Array){const i=e.resolveComponent("uni-nav-bar"),o=e.resolveComponent("uni-pagination");(i+o)()}const g=()=>"../../../uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.js";Math||(v+g)();const v=()=>"../../components/header_tops_tips.js",m={__name:"index",setup(i){e.onLoad(()=>{l()});const o=e.ref(0),a=e.ref({pageNo:1,pageSize:6,total:20}),c=e.ref(["消费明细","充值明细"]);function u(t){o.value!==t&&(o.value=t)}function r(){e.index.navigateBack()}async function l(){const t=await detailApi.searchCart({pageNo:1,pageSize:6,type:0});console.log(t,"response"),a.value.total=t.data.total}function p(t){console.log(t,"e")}return(t,d)=>({a:e.o(r),b:e.p({["left-icon"]:"left",title:"余额明细",backgroundColor:"#e6eafa"}),c:e.f(c.value,(s,n,_)=>({a:e.t(s),b:e.n(n==o.value?"segmenteditems isactive":"segmenteditems"),c:n,d:e.o(b=>u(n),n)})),d:e.f(13,(s,n,_)=>({a:n})),e:e.t(a.value.pageNo),f:e.t(a.value.total),g:e.t(a.value.pageSize),h:e.o(p),i:e.p({current:a.value.pageNo,total:a.value.total,title:"标题文字",["show-icon"]:!0})})}},f=e._export_sfc(m,[["__scopeId","data-v-fb187299"],["__file","D:/xiangmu/佰安出行/app/s-applet/pages/home/detail/index.vue"]]);wx.createPage(f);