奇点
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
1.4 KiB

import{l as e,o as a,c as l,w as o,a as s,b as t,r as i,F as n,f as r,m as u,J as c,p,g as d,t as m,v as f,i as g}from"./index.22b081e2.js";import{G as h}from"./user.b3821dab.js";import{_}from"./plugin-vue_export-helper.21dcd24c.js";var v=_({onShow(){this.init()},setup(){let a=e([]),l=1;function o(){l=1,h({pageNum:l,pageSize:10}).then((e=>{console.log(e),a.value=e.rows,a.value.map((e=>{c(e.id)}))}))}return o(),{list:a,gocomposedetails:function(e){p({url:"/pages/composedetails/composedetails?id="+e.id})},init:o,jiazai:function(){l++,h({pageNum:l,pageSize:10}).then((e=>{console.log(e),0==e.rows.length&&l--,e.rows.map((e=>{a.value.push(e)})),a.value.map((e=>{c(e.id)}))}))}}}},[["render",function(e,c,p,h,_,v){const w=g,S=d,b=m;return a(),l(b,{class:"scv","scroll-y":"true",onScrolltolower:h.jiazai,onScrolltoupper:h.init},{default:o((()=>[s(S,{class:"max-box"},{default:o((()=>[h.list.length>0?(a(!0),t(n,{key:0},i(h.list,(e=>(a(),l(S,null,{default:o((()=>[s(w,{src:e.thumbnail},null,8,["src"]),s(S,null,{default:o((()=>[u(f(e.collName),1)])),_:2},1024),s(S,{onClick:a=>h.gocomposedetails(e)},{default:o((()=>[u("合成")])),_:2},1032,["onClick"])])),_:2},1024)))),256)):r("",!0),0==h.list.length?(a(),l(S,{key:1,style:{color:"#fff","text-align":"center",margin:"auto"}},{default:o((()=>[u("暂无合成活动")])),_:1})):r("",!0)])),_:1})])),_:1},8,["onScrolltolower","onScrolltoupper"])}],["__scopeId","data-v-35e57f6c"]]);export{v as default};