奇点
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
12 KiB

import{o as e,c as t,w as a,a as l,b as s,r as i,n,d as o,e as u,f as r,F as c,i as d,g as p,S as m,h as g,j as A,k as f,l as h,m as b,s as w,p as y,q as x,t as k,u as B,v as K}from"./index.22b081e2.js";import{r as E,_ as C}from"./uni-app.es.4e3b1402.js";import{p as D,a as S,b as F}from"./user.b3821dab.js";import{_ as T}from"./plugin-vue_export-helper.21dcd24c.js";import{_ as U}from"./youshou.7bfade13.js";var v=T({props:{list:{type:Array,default:()=>[]},imgKey:{type:String,required:!0},height:{type:Number,default:200},imgRadius:{type:Number,default:0},imgShadow:{type:Boolean,default:!1},previousMargin:{type:Number,default:0},nextMargin:{type:Number,default:0},imgWidth:{type:String,default:"100%"},loop:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},interval:{type:Number,default:2e3},duration:{type:Number,default:1200},dots:{type:Boolean,default:!1},bottom:{type:Number,default:10},crown:{type:Boolean,default:!1}},data:()=>({current:0,slots:!1}),watch:{list:{handler(e){e.length>=0&&this.$slots.default&&(this.slots=!0)},immediate:!0}},methods:{change(e){let t=e.detail.current;this.current=t,this.$emit("change",this.list[t])}}},[["render",function(A,f,h,b,w,y){const x=d,k=p,B=m,K=g;return e(),t(k,{class:"wrap"},{default:a((()=>[l(K,{class:"swiper",style:o({height:2*h.height+"rpx"}),autoplay:h.autoplay,interval:h.interval,duration:h.duration,circular:h.loop,onChange:y.change,"previous-margin":h.previousMargin+"rpx","next-margin":h.nextMargin+"rpx"},{default:a((()=>[(e(!0),s(c,null,i(h.list,((l,s)=>(e(),t(B,{key:s,onClick:e=>A.$emit("clickItem",l)},{default:a((()=>[h.list&&h.list.length>0?(e(),t(k,{key:0,class:n(["item",[h.crown?w.current==s?"crown-active":"crown":""]])},{default:a((()=>[w.slots?u(A.$slots,"default",{key:1,data:l},void 0,!0):(e(),t(x,{key:0,class:n(["item-img",[h.imgShadow?"imgShadow":""]]),src:l[h.imgKey],style:o({borderRadius:h.imgRadius+"px",width:h.imgWidth}),mode:""},null,8,["class","src","style"]))])),_:2},1032,["class"])):r("",!0)])),_:2},1032,["onClick"])))),128))])),_:3},8,["style","autoplay","interval","duration","circular","onChange","previous-margin","next-margin"]),h.dots?(e(),t(k,{key:0,class:"dots flex",style:o({bottom:2*h.bottom+"rpx"})},{default:a((()=>[(e(!0),s(c,null,i(h.list,((a,l)=>(e(),t(k,{class:n(["dot",[w.current==l?"curr-dot":""]]),key:l},null,8,["class"])))),128))])),_:1},8,["style"])):r("",!0)])),_:3})}],["__scopeId","data-v-d70353d8"]]);var Q=T({components:{LsSwiper:v},onShow(){D({}).then((e=>{console.log(e,"轮播"),this.swiperList=e.data})),S({}).then((e=>{this.zuopin=e.data,F({id:e.data[this.scstate].id}).then((e=>{console.log(e),this.zuopinlist=e.data.list;let t=A("users");this.zuopinlist.map((a=>{if(2==a.state||3==a.state){let e=new Date(a.timeSale.replace(/-/g,"/")).getTime(),t=(new Date).getTime();a.ismw=e>t}else a.ismw=!1;a.tupian=a.surfacePlot;let l=new Date(e.data.utime.replace(/-/g,"/")).getTime(),s="";t&&(s=new Date(t.createdTime.replace(/-/g,"/")).getTime()),console.log(l,"uti",s,"tim"),t&&a.newcomer&&l>s?a.sfgm=!0:a.sfgm=!1,a.timeSale=a.timeSale.substring(5);let i=a.timeSale.split(" "),n=i[0].split("-"),o=Number(n[0])+"月"+Number(n[1])+"日 "+i[1];return a.timeSale=o,a})),console.log()}))}))},onHide(){f()},setup(){let e=h(0),t=h(1);let a=h([]);let l=!1;function s(){l=!1,w({title:"加载中"}),f()}s();let i=h([{imgUrl:"../../static/banner.png",id:1,state:0},{imgUrl:"../../static/banner.png",id:1,state:0},{imgUrl:"../../static/banner.png",id:1,state:0}]),n=h([]),o=h([]);return{jiazai:function(){w({title:"加载中"}),l||(l=!0,f())},swiperList:i,godateils:function(e){y({url:"../details/details?id="+e.id})},golist:function(){y({url:"../liebiao/liebiao"})},shichangset:function(t,a){e.value=t,F({id:a.id}).then((e=>{console.log(e),o.value=e.data.list;let t=A("users");o.value.map((a=>{if(2==a.state||3==a.state){let e=new Date(a.timeSale.replace(/-/g,"/")).getTime(),t=(new Date).getTime();a.ismw=e>t}else a.ismw=!1;a.tupian=a.surfacePlot;let l=new Date(e.data.utime.replace(/-/g,"/")).getTime(),s="";t&&(s=new Date(t.createdTime.replace(/-/g,"/")).getTime()),t&&a.newcomer&&l>s?a.sfgm=!0:a.sfgm=!1,a.timeSale=a.timeSale.substring(5);let i=a.timeSale.split(" "),n=i[0].split("-"),o=Number(n[0])+"月"+Number(n[1])+"日 "+i[1];return a.timeSale=o,a}))}))},scstate:e,phbsset:function(e){a.value=[],t.value=e,s()},phbstate:t,zuopin:n,zuopinlist:o,paihb:a,xuanzhong:function(e){if(console.log(e),6==e.state){let e=A("users");if(console.log(""==e),""==e)return void y({url:"../login/login"});e.realNameState?y({url:"../realname/realname?issm=true"}):y({url:"../realname/realname?issm=false"})}else 4==e.state?y({url:"../details/details?id="+e.objectId}):1!=e.state&&2!=e.state&&3!=e.state||y({url:"../wzxq/wzxq?id="+e.id+"&state="+e.state})},paihbxx:s}}},[["render",function(u,m,g,A,f,h){const w=p,y=x("ls-swiper"),D=d,S=k,F=E(B("tabber"),C);return e(),s(c,null,[l(w,{class:"beijin"},{default:a((()=>[l(w,{class:"toplogin"},{default:a((()=>[l(w,null,{default:a((()=>[b("奇点艺术")])),_:1})])),_:1}),l(y,{class:"lunbo",list:A.swiperList,imgKey:"pictureUrl",crown:!0,loop:!0,interval:4e3,autoplay:!0,shadow:!0,height:"130",previousMargin:"120",nextMargin:"120",imgRadius:"5",onClickItem:A.xuanzhong},null,8,["list","onClickItem"])])),_:1}),l(w,{class:"Collections"},{default:a((()=>[l(w,{class:"Collections_top",onClick:A.golist},{default:a((()=>[l(w,null,{default:a((()=>[l(D,{class:"img1",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAA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oAsqes065hQu8w4gxSN0rqT3aPRJF6FWxqH4Tr7oxkUHE0/vh3XZc/KAncW0tzvkFV0GVZWE1asiL9afUw54FTjf+/4FkyMJT4wwzLQAAAAASUVORK5CYII="}),l(w,null,{default:a((()=>[b("热门作品")])),_:1})])),_:1}),l(w,null,{default:a((()=>[l(D,{class:"img2",src:U})])),_:1})])),_:1},8,["onClick"]),l(S,{"scroll-x":"true",class:"Collections_biaoqian"},{default:a((()=>[l(w,{style:{display:"flex"}},{default:a((()=>[(e(!0),s(c,null,i(A.zuopin,((l,s)=>(e(),t(w,{class:n(["neir",A.scstate==s?"xz":""]),onClick:e=>A.shichangset(s,l)},{default:a((()=>[b(K(l.seriesName),1)])),_:2},1032,["onClick","class"])))),256))])),_:1})])),_:1}),l(S,{"scroll-x":"true",class:"Collections_content"},{default:a((()=>[l(w,{class:"items"},{default:a((()=>[(e(!0),s(c,null,i(A.zuopinlist,((s,i)=>(e(),t(w,{onClick:e=>A.godateils(s)},{default:a((()=>[2==s.state||3==s.state?(e(),t(w,{key:0,class:"daojis"},{default:a((()=>[l(D,{src:"/assets/daojs.a2b5996a.png"}),l(w,null,{default:a((()=>[b(K(s.timeSale),1)])),_:2},1024)])),_:2},1024)):r("",!0),l(D,{src:s.tupian},null,8,["src"]),l(w,{class:"neiron"},{default:a((()=>[l(w,null,{default:a((()=>[b(K(s.collectionName),1)])),_:2},1024),l(w,{style:o(s.ismw||0==s.numberRemaining||7==s.state||s.sfgm?"background: #8D8C9F;":"")},{default:a((()=>[b("¥"+K(s.price),1)])),_:2},1032,["style"])])),_:2},1024),l(w,{class:"waicheng"},{default:a((()=>[l(w,{class:"maoboli"})])),_:1})])),_:2},1032,["onClick"])))),256))])),_:1})])),_:1})])),_:1}),l(w,{class:"paihangbang"},{default:a((()=>[l(w,{class:"paihangbang_top"},{default:a((()=>[l(w,{onClick:m[0]||(m[0]=e=>A.phbsset(1))},{default:a((()=>[l(D,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAACLklEQVRYR+2XTyjEQRTH/crBwcFxDxTl4KDszUkUR8qNgwO1B8WBOFCEKBTloJDERVIOiiO1ai9OlAs52EJyoxwc1Pp8NaPZnyW77PrTb+rbzM68+b3ve/Pem1kv75c075fwyAuI+E/i73skkUi0YFUjKDTWPdJve563mUncZeQRSEyibOAdhVOQGUyXTNpEIBFCyY1RNEcfN+MK+k7wBEohc50OmUyI1KIgKgIoK3OVQfKS38WgjrWDnyRyIW8EROwRcDT/0CMmK5QZasoABeWDY/VHwfp1j0CgAGULoA3kOxGvQjUKmWnNIZd1IiNSaAjcmV6EbOV8SclcEDlBaSWIoHDFOYoNxq1gjvneXBBJeb4otp5ag0jHnyUC8Wq8OQXCTtxdMZ7HsCU791ri36sBX/EIe3X/HAElQqrWBpl1LWSbyDg6hkAM9ACVAzVdjkIMIjW5ILKKknag9B9zEuBNCci2RwIiSSWAYM3II+ecYTlo4Dz3nfO0AeevI1fIlbip4M88fi+zHgETyA4736xnvAdeH1dujOywoMewInzLbFKJ7waloJ+PzfJxvcBkudYWwamRlYwyQy2E7C2yfYxngOqGnpU2a5oZ14Fd5Jq0wSWiwhMFqXI+znyYTffa9NnHM3JFiKuOiKS/6TLV/XWYRMQoqKKXK2W1bceyxpKwk+bvhCyzxPVUkIVJfyfMs6KLNRU3e6vbynpmv5f24zmFZd8yFRDxuzHwiN8jzwt4uzKRoeP3AAAAAElFTkSuQmCC"}),l(w,null,{default:a((()=>[b("邀请排行榜")])),_:1}),l(w,{class:n(1==A.phbstate?"ddd xz":"ddd")},null,8,["class"])])),_:1}),l(w,{onClick:m[1]||(m[1]=e=>A.phbsset(2))},{default:a((()=>[l(D,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACIAAAAiCAYAAAA6RwvCAAAC70lEQVRYR+2XwWvTcBTH329Jy9R2ePQwcIcddhEv8zZhgqDgxSHCZFYaETwoOJp0RRD8iYetW1N7UFBEW5zgDsJ28DBB0YMHwYMTFB1MXPEPsKzp6KHNz5cmadPapElnSw8NFEryfu993nvf9/slBHrkIj3CAX2Qxk7UVSSZyIgMYJLjOWl2NrTZzbZVQeLxx8M8x//WgiPMiiQJFzoBUonD+2IA6ldRvPzIjFEFmZ9Pj/h98Mt4sCZKwtT/BqH0QSAY2P8J/Y5pvssqGZ2bC//U/ncNhNL04FAQVhmD00aC23ll9wil15SugshyZhkYu6hDMAWIb0IUQ1+62hpZTt9G4dEKAoMiEO6sJF16bW29p9YsLqYP+f3c4VyuvEmpkHOjIVl+ehUYeVjNnJErkWj4ie34thLrPcxKZewWyopHJ0UtQzEqxJ1gUqlnp8ql8hraDFbsCK4RhTvN1riqSGNWVUcOjmV5+Siw0kcTAreEDG4Jgh14S5BGh5jWB+z0hEVkCxFJuGkNYFT3Hd4b0bUJ6/kCTGE7i22BaCMXDMD3mkPyXIyGQ1bxGSVP5fPZKKW0pO8V+z4j8Kghzg2lsHvcHNO2QJKJ9Ass6bS+mG3lFYJzr2eFMDHMdKFWGfJyRykIQ4EDqwzYSeP+NgP/pCTNZJ20pMvHuBrFCoStm2rXRm6AI+ORSPib1WEymb7BVEhVYQjk0PagAa5wvG/c7ZllA0K2sALDptBUHLlok5HTK5M5B0xdMaZJr53NXuFUFbuK1NYwXRdOTpaWMmcGCLtvaOkHlMl1MRZ+26od1uctQOp14cWxV1tbEDtdeA3g1t4WxEkXbp17sWsKgiP7HnfBE14c7dW25c661wBu1/dBGitloxHyRlHYebdlbceu8X2mCmIcVn+sO2Q7AdyuwcAbO0r2mHZQamvqvmsSicxdAtrLT3cujufHzLPon09OhJnBm9P4C3QUZwBe4SEqmzH63762U9PRNrhw3jOt+Qu7R2Ey9xcLMQAAAABJRU5ErkJggg=="}),l(w,null,{default:a((()=>[b("藏品名人榜")])),_:1}),l(w,{class:n(2==A.phbstate?"ddd xz":"ddd")},null,8,["class"])])),_:1})])),_:1}),l(S,{"scroll-y":"true",class:"paihangbang_scrv",onScrolltoupper:A.paihbxx,onScrolltolower:A.jiazai},{default:a((()=>[l(w,{class:"paiminglist"},{default:a((()=>[0!=A.paihb.length?(e(!0),s(c,{key:0},i(A.paihb,((s,i)=>(e(),t(w,null,{default:a((()=>[l(w,null,{default:a((()=>[l(w,{class:n(0==i?"item1":1==i?"item2":2==i?"item3":"item4")},{default:a((()=>[b(K(i+1),1)])),_:2},1032,["class"]),l(D,{src:s.headPhoto},null,8,["src"]),l(w,{class:"neiron"},{default:a((()=>[b(K(s.nickname),1)])),_:2},1024)])),_:2},1024),l(w,null,{default:a((()=>[l(D,{src:1==A.phbstate?"../../static/huohua1.png":"../../static/huohua.png"},null,8,["src"]),l(w,null,{default:a((()=>[b(K((A.phbstate,s.numberInvitation)),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),256)):r("",!0),0==A.paihb.length?(e(),t(w,{key:1,style:{color:"#ffffff","text-align":"center",margin:"auto"}},{default:a((()=>[b("暂无排名")])),_:1})):r("",!0)])),_:1})])),_:1},8,["onScrolltoupper","onScrolltolower"])])),_:1}),l(F,{selecttb:"1"})],64)}],["__scopeId","data-v-4d023c01"]]);export{Q as default};