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

var l=Object.defineProperty,t=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,e=(t,s,a)=>s in t?l(t,s,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[s]=a;import{B as i,l as n,M as u,C as o,o as r,b as c,a as f,w as d,m as p,n as h,f as _,c as g,v as m,d as b,F as y,I as k,p as j,i as w,g as z,P as v}from"./index.22b081e2.js";import{A as O}from"./user.b3821dab.js";import{_ as x}from"./fanhui.37cee083.js";import{_ as C}from"./plugin-vue_export-helper.21dcd24c.js";var P=C({props:["id"],setup(l){let r=i({list:{}}),c=n(!0),f=n(!0);return O({id:l.id}).then((l=>{console.log(l),r.list=l.data,-1!=r.list.nftUrl.indexOf("http")?r.list.islj=!0:r.list.islj=!1,r.list.tupian=r.list.imagePath,-1!=r.list.tupian.indexOf("mp4")?c.value=!1:(c.value=!0,u({src:r.list.tupian,success:function(l){console.log(l.width),console.log(l.height),l.width>l.height?that.ykwz=!0:l.width<l.height&&(that.ykwz=!1)}}))})),((l,i)=>{for(var n in i||(i={}))s.call(i,n)&&e(l,n,i[n]);if(t)for(var n of t(i))a.call(i,n)&&e(l,n,i[n]);return l})({sftp:c,gozhuan:function(){j({url:"../zhuanzhen/zhuanzhen?id="+l.id})},ykwz:f,fanhui:function(){k({})},goshangliasn:function(){r.list.islj&&(location.href=r.list.nftUrl)},details:r},o(r))}},[["render",function(l,t,s,a,e,i){const n=w,u=z,o=v;return r(),c(y,null,[f(u,{class:"head_top"},{default:d((()=>[f(n,{onClick:a.fanhui,src:x},null,8,["onClick"]),f(u,null,{default:d((()=>[p("作品详情")])),_:1}),f(u)])),_:1}),f(u,{class:"details_top"},{default:d((()=>[f(u,{class:"max_box"},{default:d((()=>[a.sftp?(r(),c("img",{key:0,class:h(a.ykwz?"img1":"img2"),src:l.list.tupian},null,10,["src"])):_("",!0),a.sftp?_("",!0):(r(),g(o,{key:1,class:h(a.ykwz?"img1":"img2"),src:l.list.tupian,loop:"true",autoplay:"true","enable-progress-gesture":!1,controls:!1,"object-fit":"cover","show-center-play-btn":!1},null,8,["class","src"]))])),_:1})])),_:1}),f(u,{class:"zuoping"},{default:d((()=>[f(u,null,{default:d((()=>[p(m(l.list.collectionName),1)])),_:1}),f(u,null,{default:d((()=>[f(u,null,{default:d((()=>[f(n,{src:l.list.writerAvatar},null,8,["src"]),f(u,null,{default:d((()=>[p(m(l.list.artistName),1)])),_:1})])),_:1}),f(u,null,{default:d((()=>[p(m(l.list.collectorNumber),1)])),_:1})])),_:1})])),_:1}),f(u,{class:"prices"},{default:d((()=>[f(u,null,{default:d((()=>[f(u,null,{default:d((()=>[p("收藏者")])),_:1}),f(u,null,{default:d((()=>[p(m(l.list.nickname),1)])),_:1})])),_:1}),f(u,null,{default:d((()=>[f(u,null,{default:d((()=>[p(m(l.list.islj?"上链地址":"哈希值"),1)])),_:1}),f(u,{style:b(l.list.islj?"color:#0b81ff":""),onClick:a.goshangliasn},{default:d((()=>[p(m(l.list.nftUrl),1)])),_:1},8,["style","onClick"])])),_:1})])),_:1}),(r(),g(u,{key:0,class:"zhuanzhen",onClick:a.gozhuan},{default:d((()=>[p(" 转赠 ")])),_:1},8,["onClick"]))],64)}],["__scopeId","data-v-fa0ed828"]]);export{P as default};