"use strict";const e=require("../../common/vendor.js"),v=require("../../store/system.js"),y=require("../../common/assets.js");if(!Array){const i=e.resolveComponent("up-icon"),c=e.resolveComponent("up-tabs"),a=e.resolveComponent("up-sticky"),o=e.resolveComponent("custom-layout");(i+c+a+o)()}const g=()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js",x=()=>"../../uni_modules/uview-plus/components/u-tabs/u-tabs.js",b=()=>"../../uni_modules/uview-plus/components/u-sticky/u-sticky.js",d=()=>"../../components/custom-layout/custom-layout.js";Math||(g+x+b+d)();const h={__name:"index",setup(i){const{bgColor:c}=v.useSystemStore(),a=e.ref([{state:-1,name:"热门新款"},{state:1,name:"简约"},{state:2,name:"卡通"},{state:3,name:"复古"},{state:4,name:"运动"},{state:5,name:"艺术"},{state:6,name:"运动"},{state:7,name:"艺术"}]),o=e.ref([{},{},{},{},{},{},{},{},{},{},{},{},{},{}]),u=e.ref(1),s=e.ref(),_=t=>{const{pageNo:p,pageSize:n}=t;p>1?u.value<2?(u.value++,s.value.complete(o.value)):s.value.complete([]):(u.value=2,s.value.complete(o.value))},m=t=>{e.index.navigateTo({url:t})},r=e.ref(0),f=t=>{r.value=t};return(t,p)=>({a:e.unref(y.qing),b:e.p({"custom-prefix":"iconfont",name:"icon-icon_aifilter",size:"30"}),c:e.p({"custom-prefix":"iconfont",name:"icon-icon_picture",size:"30"}),d:e.p({"custom-prefix":"iconfont",name:"icon-icon_next",size:"50rpx"}),e:e.p({"custom-prefix":"iconfont",name:"icon-icon_cutout",size:"30"}),f:e.p({"custom-prefix":"iconfont",name:"icon-icon_next",size:"50rpx"}),g:e.p({list:a.value,"line-height":0,"active-style":{fontSize:"30rpx",fontWeight:"600"}}),h:e.p({"custom-prefix":"iconfont",name:"icon-huoyan",size:"34rpx",color:"rgba(237, 100, 100, 1)"}),i:e.p({name:"arrow-right",size:"24rpx"}),j:e.o(n=>m("/pages/index/fortune")),k:e.p({"offset-top":"0","customNav-height":"0","bg-color":r.value>170?e.unref(c):""}),l:e.f(o.value,(n,l,k)=>({a:l,b:e.o(w=>m("/pages/index/canvas_edit"),l)})),m:e.sr(s,"1cf27b2a-0",{k:"layout"}),n:e.o(_),o:e.o(f),p:e.o(n=>o.value=n),q:e.p({showBottom:!0,back:{show:!1,logoShow:!0},modelValue:o.value})})}},z=e._export_sfc(h,[["__scopeId","data-v-1cf27b2a"]]);wx.createPage(z);
