index-legacy.bb5c7bba.js 5.3 KB

1
  1. ;(function(){var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._itemWrap_1qjns_1{margin-bottom:25px;margin-right:14px;position:relative;cursor:pointer}._itemWrap_1qjns_1 ._albumType_1qjns_7{position:absolute;left:0;top:0;background:linear-gradient(180deg,#ff8900 0%,#ff5100 100%);box-shadow:0 1px 2px rgba(150,13,0,.11);border-radius:10px 0;font-size:12px;padding:0 6px;line-height:20px;color:#fff;z-index:9}._itemWrap_1qjns_1:hover ._albumType_1qjns_7,._itemWrap_1qjns_1:hover ._hold_1qjns_24{transform:translateY(-10px);transition:linear .1s}._itemWrap_1qjns_1:hover ._hold_1qjns_24 ._masker_1qjns_28{visibility:visible;z-index:99}._itemWrap_1qjns_1:hover ._hold_1qjns_24 ._masker_1qjns_28 img{width:48px;height:48px;-webkit-animation-name:_showPaly_1qjns_1;animation-name:_showPaly_1qjns_1;-webkit-animation-duration:.6s;animation-duration:.6s;-webkit-animation-timing-function:linear;animation-timing-function:linear;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes _showPaly_1qjns_1{0%{transform:scale(.5)}50%{transform:scale(1.2)}to{transform:scale(1)}}@keyframes _showPaly_1qjns_1{0%{transform:scale(.5)}50%{transform:scale(1.2)}to{transform:scale(1)}}._itemWrap_1qjns_1 ._hold_1qjns_24{position:relative;width:160px;height:160px;border-radius:10px;overflow:hidden}._itemWrap_1qjns_1 ._hold_1qjns_24 ._masker_1qjns_28{visibility:hidden;width:160px;height:160px;background-color:rgba(0,0,0,.4);top:0;left:0;display:flex;flex-direction:row;align-items:center;justify-content:center;position:absolute;z-index:99}._itemWrap_1qjns_1 ._hold_1qjns_24 ._masker_1qjns_28 img{width:48px;height:48px}._itemWrap_1qjns_1 ._hold_1qjns_24 img{width:100%;transition:all .3s ease-in-out}._itemWrap_1qjns_1:nth-child(4n){margin-right:0}._itemWrap_1qjns_1 ._startImage_1qjns_83{width:24px;height:24px;z-index:1000;position:absolute;top:8px;right:8px}._itemWrap_1qjns_1 h2{font-size:18px;font-weight:400;color:#000;line-height:25px;margin:18px 0 3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:160px}._itemWrap_1qjns_1 span{color:#999;font-size:14px}._itemWrap_1qjns_1 ._itemBottom_1qjns_107{display:flex;flex-direction:row;justify-content:space-between}._itemWrap_1qjns_1 ._itemBottom_1qjns_107 img{width:18px;margin-right:4px}._itemWrap_1qjns_1 ._itemBottom_1qjns_107 ._itemBottomR_1qjns_116{margin-right:1px}._itemWrap_1qjns_1 ._itemBottom_1qjns_107 ._itemBottomL_1qjns_119,._itemWrap_1qjns_1 ._itemBottom_1qjns_107 ._itemBottomR_1qjns_116{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;font-size:14px;line-height:20px}\n";document.head.appendChild(__vite_style__);System.register(['./hold-legacy.fa388436.js','./lineStart-legacy.660bfbea.js','./player-legacy.c7d3b4b9.js','./vendor-legacy.56734a87.js'],function(exports){'use strict';var hold$1,lineStart,start,player,defineComponent,reactive,watch,useRouter,createVNode,createTextVNode,Fragment;return{setters:[function(module){hold$1=module.h;},function(module){lineStart=module.l;start=module.s;},function(module){player=module.p;},function(module){defineComponent=module.d;reactive=module.r;watch=module.S;useRouter=module.f;createVNode=module.c;createTextVNode=module.a;Fragment=module.F;}],execute:function execute(){var itemWrap="_itemWrap_1qjns_1";var albumType="_albumType_1qjns_7";var hold="_hold_1qjns_24";var masker="_masker_1qjns_28";var showPaly="_showPaly_1qjns_1";var startImage="_startImage_1qjns_83";var itemBottom="_itemBottom_1qjns_107";var itemBottomR="_itemBottomR_1qjns_116";var itemBottomL="_itemBottomL_1qjns_119";var classes={itemWrap:itemWrap,albumType:albumType,hold:hold,masker:masker,showPaly:showPaly,startImage:startImage,itemBottom:itemBottom,itemBottomR:itemBottomR,itemBottomL:itemBottomL};var albumItem=exports('a',defineComponent({name:'albumItem',props:{detail:{type:Object,default:{albumCoverUrl:'',albumDesc:'',albumFavoriteCount:0,albumName:'',albumStatus:0,albumTag:'',auditVersion:0,createBy:0,createTime:'',delFlag:null,hotFlag:null,id:0,musicSheetCount:0,musicTagNames:'',sortNumber:0,topFlag:null,updateBy:34,updateTime:'',favorite:0}}},setup:function setup(props){var state=reactive({detail:props.detail});watch(function(){return props.detail;},function(detail){state.detail=detail;});var router=useRouter();var gotoAlbum=function gotoAlbum(){router.push({path:'/albumDetail',query:{id:state.detail.id}});};return function(){return createVNode(Fragment,null,[createVNode("div",{"class":classes.itemWrap,"onClick":function onClick(){gotoAlbum();}},[state.detail.paymentType==='CHARGE'&&createVNode("span",{"class":classes.albumType},[createTextVNode("\u4ED8\u8D39")]),createVNode("img",{"class":classes.startImage,"src":state.detail.favorite?lineStart:start,"alt":""},null),createVNode("div",{"class":classes.hold},[createVNode("div",{"class":classes.masker},[createVNode("img",{"src":player,"alt":""},null)]),createVNode("img",{"src":state.detail.albumCoverUrl?state.detail.albumCoverUrl:hold$1,"alt":""},null)]),createVNode("h2",null,[state.detail.albumName]),createVNode("div",{"class":classes.itemBottom},[createVNode("div",{"class":classes.itemBottomL},[createVNode("span",null,[state.detail.musicSheetCount,createTextVNode("\u9996")])]),createVNode("div",{"class":classes.itemBottomR},[createVNode("span",null,[state.detail.albumFavoriteCount,createTextVNode("\u6536\u85CF")])])])])]);};}}));}};});})();