index.js 2.2 KB

1
  1. "use strict";const e=require("../../common/vendor.js"),y=require("../../store/system.js");if(!Array){const m=e.resolveComponent("up-search"),c=e.resolveComponent("up-tabs"),t=e.resolveComponent("up-sticky"),n=e.resolveComponent("up-image"),s=e.resolveComponent("custom-layout");(m+c+t+n+s)()}const b=()=>"../../uni_modules/uview-plus/components/u-search/u-search.js",w=()=>"../../uni_modules/uview-plus/components/u-tabs/u-tabs.js",x=()=>"../../uni_modules/uview-plus/components/u-sticky/u-sticky.js",k=()=>"../../uni_modules/uview-plus/components/u-image/u-image.js",j=()=>"../../components/custom-layout/custom-layout.js";Math||(b+w+x+k+j)();const C="https://img.js.design/assets/img/66f77cb0c6ebda7a2a394736.png#846fab95fed56db08fcbc92025765a68",S="https://img.js.design/assets/img/66f7f501b50663ba27c0adc7.png#5e31df675fe6a23fe7219d6fe07b48b4",_={__name:"index",setup(m){const{bgColor:c}=y.useSystemStore(),t=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:"婚礼"},{state:7,name:"校园"}]);e.ref(-1);const s=e.ref([{},{},{},{},{},{},{},{},{},{},{},{},{},{}]),r=e.ref(1),a=e.ref(),f=u=>{const{pageNo:i,pageSize:o}=u;i>1?r.value<2?(r.value++,a.value.complete(s.value)):a.value.complete([]):(r.value=2,a.value.complete(s.value))},l=e.ref(0),d=u=>{l.value=u};return e.onMounted(()=>{}),(u,i)=>({a:e.o(o=>t.value=o),b:e.p({placeholder:"卡皮巴拉",showAction:!1,borderColor:"rgba(0, 224, 176, 1)",modelValue:t.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":l.value>40?e.unref(c):""}),e:e.f(10,(o,g,p)=>({a:"8d87f12a-4-"+p+",8d87f12a-0",b:e.f(3,(M,h,v)=>({a:"8d87f12a-5-"+p+"-"+v+",8d87f12a-0",b:h})),c:g})),f:e.p({"show-loading":!0,src:C,radius:"20rpx",width:"161.95rpx",height:"155.87rpx"}),g:e.p({"show-loading":!0,src:S,radius:"20rpx",width:"114rpx",height:"106rpx"}),h:e.sr(a,"8d87f12a-0",{k:"layout"}),i:e.o(f),j:e.o(d),k:e.o(o=>s.value=o),l:e.p({showBottom:!0,back:{show:!1,logoShow:!0},modelValue:s.value})})}},A=e._export_sfc(_,[["__scopeId","data-v-8d87f12a"]]);_.__runtimeHooks=1;wx.createPage(A);