1 |
- ;(function(){var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._albumType_1hn8v_1{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:999}\n";document.head.appendChild(__vite_style__);System.register(['./lineStart-legacy.cf9abd3c.js','./vendor-legacy.9ba3db9d.js'],function(exports){'use strict';var iconStartActive,iconStart,defineComponent,createVNode,createTextVNode,ElImage;return{setters:[function(module){iconStartActive=module.i;iconStart=module.a;},function(module){defineComponent=module.d;createVNode=module.c;createTextVNode=module.a;ElImage=module.x;}],execute:function execute(){var hold="./assets/hold.abbcc7ab.png";var albumType="_albumType_1hn8v_1";var styles={albumType:albumType};var Item=exports('I',defineComponent({name:'item',props:{item:{type:Object,default:function _default(){return{};}},onItemClick:{type:Function,default:function _default(item){}}},render:function render(){var _this=this;var item=this.item;return createVNode("div",{"class":"rounded-[10px] w-[156px] cursor-pointer overflow-hidden relative transition-all","onClick":function onClick(){_this.onItemClick(item);}},[item.paymentType==='CHARGE'&&createVNode("span",{"class":styles.albumType},[createTextVNode("\u4ED8\u8D39")]),createVNode(ElImage,{"src":item.favorite?iconStartActive:iconStart,"class":"w-6 h-6 !absolute top-2 right-4 z-10"},null),createVNode(ElImage,{"class":"w-full h-[156px] align-middle rounded-[10px]","fit":"cover","src":item.albumCoverUrl||hold},null),createVNode("div",{"class":"text-lg text-black whitespace-nowrap text-ellipsis overflow-hidden pb-0.5 pt-2"},[item.albumName]),createVNode("div",{"class":"flex justify-between text-sm text-[#999]"},[createVNode("div",{"class":"flex items-center"},[createVNode("span",null,[item.musicSheetCount,createTextVNode("\u9996")])]),createVNode("div",{"class":"flex items-center "},[createVNode("span",null,[item.albumFavoriteCount,createTextVNode("\u6536\u85CF")])])])]);}}));}};});})();
|