"use strict";const e=require("../../common/vendor.js"),f=require("../../store/system.js");if(!Array){const l=e.resolveComponent("up-tabs"),a=e.resolveComponent("up-sticky"),n=e.resolveComponent("custom-layout");(l+a+n)()}const v=()=>"../../uni_modules/uview-plus/components/u-tabs/u-tabs.js",y=()=>"../../uni_modules/uview-plus/components/u-sticky/u-sticky.js",d=()=>"../../components/custom-layout/custom-layout.js";Math||(g+v+y+d)();const g=()=>"./components/fortuneInfo.js",b={__name:"fortune",setup(l){const{bgColor:a}=f.useSystemStore();e.ref(1);const 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 t=e.ref([{},{},{},{},{},{},{},{},{},{},{},{},{},{}]),u=e.ref(1),o=e.ref(),_=s=>{const{pageNo:m,pageSize:c}=s;m>1?u.value<2?(u.value++,o.value.complete(t.value)):o.value.complete([]):(u.value=2,o.value.complete(t.value))},r=e.ref(0),i=s=>{r.value=s};return e.onMounted(()=>{}),(s,m)=>({a:e.p({list:n.value,"line-height":0,"active-style":{fontSize:"30rpx",fontWeight:"600"}}),b:e.p({"offset-top":"0","customNav-height":"0","bg-color":r.value>170?e.unref(a):""}),c:e.f(t.value,(c,p,k)=>({a:p})),d:e.sr(o,"35adc31d-0",{k:"layout"}),e:e.o(_),f:e.o(i),g:e.o(c=>t.value=c),h:e.p({showBottom:!0,title:"启运",modelValue:t.value})})}},h=e._export_sfc(b,[["__scopeId","data-v-35adc31d"]]);wx.createPage(h);
