"use strict";const e=require("../../common/vendor.js"),y=require("../../store/system.js");if(!Array){const r=e.resolveComponent("up-search"),c=e.resolveComponent("up-tabs"),s=e.resolveComponent("up-sticky"),n=e.resolveComponent("custom-layout");(r+c+s+n)()}const f=()=>"../../uni_modules/uview-plus/components/u-search/u-search.js",h=()=>"../../uni_modules/uview-plus/components/u-tabs/u-tabs.js",d=()=>"../../uni_modules/uview-plus/components/u-sticky/u-sticky.js",g=()=>"../../components/custom-layout/custom-layout.js";Math||(f+h+d+g)();const b={__name:"index",setup(r){const{bgColor:c}=y.useSystemStore(),s=e.ref("卡皮巴拉"),n=e.ref([{state:-1,name:"热门新款"},{state:1,name:"简约"},{state:2,name:"卡通"},{state:3,name:"复古"},{state:4,name:"运动"},{state:5,name:"艺术"},{state:6,name:"节日"}]);e.ref(-1);const o=e.ref([{},{},{},{},{},{},{},{},{},{},{},{},{},{}]),l=e.ref(1),a=e.ref(),p=u=>{const{pageNo:_,pageSize:t}=u;_>1?l.value<2?(l.value++,a.value.complete(o.value)):a.value.complete([]):(l.value=2,a.value.complete(o.value))},m=e.ref(0),i=u=>{m.value=u};return e.onMounted(()=>{}),(u,_)=>({a:e.o(t=>s.value=t),b:e.p({placeholder:"卡皮巴拉",showAction:!1,borderColor:"rgba(0, 224, 176, 1)",modelValue:s.value}),c:e.p({list:n.value,"line-height":0,"active-style":{fontSize:"30rpx",fontWeight:"600"}}),d:e.p({"offset-top":"0","customNav-height":"0","bg-color":m.value>40?e.unref(c):""}),e:e.f(o.value,(t,v,k)=>({a:v})),f:e.sr(a,"380f8012-0",{k:"layout"}),g:e.o(p),h:e.o(i),i:e.o(t=>o.value=t),j:e.p({showBottom:!0,back:{show:!1,logoShow:!0},modelValue:o.value})})}},w=e._export_sfc(b,[["__scopeId","data-v-380f8012"]]);wx.createPage(w);
