item-legacy.5de8a9b2.js 5.1 KB

1
  1. !function(){var t=document.createElement("style");t.innerHTML="._liveClass_13hh6_1 .el-tabs__item{font-size:18px;font-weight:600;color:#999;height:56px;line-height:56px;padding-right:40px;padding-left:0}._liveClass_13hh6_1 .el-tabs__item.is-active{font-size:20px;color:#000}._liveClass_13hh6_1 .el-tabs__nav-wrap:after{height:1px;background:#eeeeee}._liveClass_13hh6_1 .el-tabs__active-bar{height:4px}._liveClass_13hh6_1 ._badge_13hh6_21{display:inline}._liveClass_13hh6_1 ._badge_13hh6_21 .el-badge__content.is-fixed{top:-2px;right:0}._itemWrap_13hh6_28{--music-list-item-background-color: #fff;--music-list-item-title-color: #333;--music-list-item-desc-color: #333;--music-list-item-mate-color: #6a6a6a;--music-list-item-border-color: #f1f1f1;--music-list-item-vip-bg: #fff1cd;--music-list-item-vip-color: #ff6c00;--music-list-item-free-bg: #fff1e7;--music-list-item-free-color: #ff4700;--music-list-item-charge-bg: #e1f0ff;--music-list-item-charge-color: #0086ff;display:flex;flex-direction:row;justify-content:space-between;width:100%;border-radius:12px;margin-bottom:10px;padding:10px 0;cursor:pointer}._itemWrap_13hh6_28 ._left_13hh6_49{display:flex;flex-direction:row;align-items:center}._itemWrap_13hh6_28 ._left_13hh6_49 ._imgWrap_13hh6_54{width:88px;height:88px;border-radius:10px;margin-right:20px;overflow:hidden}._itemWrap_13hh6_28 ._left_13hh6_49 ._textWrap_13hh6_61 p{font-weight:600;color:#000;line-height:22px;font-size:18px;margin-bottom:7px;display:flex}._itemWrap_13hh6_28 ._left_13hh6_49 ._textWrap_13hh6_61 ._authorInfo_13hh6_69{display:flex;flex-direction:row;align-items:center}._itemWrap_13hh6_28 ._left_13hh6_49 ._textWrap_13hh6_61 ._authorInfo_13hh6_69 span{font-weight:400;color:#999;font-size:16px}._itemWrap_13hh6_28 ._left_13hh6_49 ._textWrap_13hh6_61 ._authorInfo_13hh6_69 ._icon_13hh6_79{width:18px;height:18px;border-radius:27px;margin-right:6px;-o-object-fit:cover;object-fit:cover}._itemWrap_13hh6_28 ._left_13hh6_49 ._textWrap_13hh6_61 ._authorInfo_13hh6_69 ._authorName_13hh6_86{color:#333;font-size:12px;margin-right:8px}._itemWrap_13hh6_28 ._tagList_13hh6_91{display:flex;flex-direction:row;align-items:center;margin-top:10px}._itemWrap_13hh6_28 ._tagList_13hh6_91 ._tag_13hh6_91{background-color:#bcfdf1;color:#00886d;padding:5px 16px;font-size:12px;margin-right:5px;border-radius:20px}._itemWrap_13hh6_28 ._right_13hh6_105{display:flex;flex-direction:row;align-items:center;cursor:pointer}._itemWrap_13hh6_28 ._right_13hh6_105 ._arrow_13hh6_111{width:20px;height:20px;margin-left:12px}._itemWrap_13hh6_28 ._touchButton_13hh6_116{width:48px;height:22px;background:#e1f0ff;border-radius:10px 0;line-height:22px;color:#fff;text-align:center;font-size:14px;margin-left:6px}._itemWrap_13hh6_28 ._touchButton_13hh6_116._vip_13hh6_127{background-color:#c8a430;color:#fff}._itemWrap_13hh6_28 ._touchButton_13hh6_116._free_13hh6_131{background-color:#4ca751;color:#fff}._itemWrap_13hh6_28 ._touchButton_13hh6_116._charge_13hh6_135{background-color:#3f90d6;color:#fff}\n",document.head.appendChild(t),System.register(["./index-legacy.60a2d2dd.js"],(function(t){"use strict";var e,i,_,h,r,a;return{setters:[function(t){e=t.d,i=t.r,_=t.u,h=t.w,r=t.c,a=t.a}],execute:function(){var o=t("s",{liveClass:"_liveClass_13hh6_1",badge:"_badge_13hh6_21",itemWrap:"_itemWrap_13hh6_28",left:"_left_13hh6_49",imgWrap:"_imgWrap_13hh6_54",textWrap:"_textWrap_13hh6_61",authorInfo:"_authorInfo_13hh6_69",icon:"_icon_13hh6_79",authorName:"_authorName_13hh6_86",tagList:"_tagList_13hh6_91",tag:"_tag_13hh6_91",right:"_right_13hh6_105",arrow:"_arrow_13hh6_111",touchButton:"_touchButton_13hh6_116",vip:"_vip_13hh6_127",free:"_free_13hh6_131",charge:"_charge_13hh6_135"}),l=""+new URL("music.24d07fa6.png",module.meta.url).href,c={CHARGE:"点播",FREE:"免费",VIP:"VIP"};t("M",e({name:"music-item",props:{item:{type:Object,default:function(){return{}}},onClick:{type:Function,default:function(t){}}},setup:function(t){var e=i({item:t.item});_(),h((function(){return t.item}),(function(t){e.item=t}));return function(){var i;return r("div",{onClick:function(){t.onClick(e.item)}},[r("div",{class:o.itemWrap,onClick:function(){console.log(1)}},[r("div",{class:o.left},[r("div",{class:o.imgWrap},[r("img",{src:e.item.titleImg||l,alt:""},null)]),r("div",{class:o.textWrap},[r("p",null,[e.item.musicSheetName,r("div",{class:[o.touchButton,o[null===(i=e.item.chargeType)||void 0===i?void 0:i.toLocaleLowerCase()]]},[c[e.item.chargeType]?c[e.item.chargeType]:"点播"])]),r("div",{class:o.authorInfo},[r("span",null,[a("作曲: "),e.item.composer])]),r("div",{class:o.tagList},[e.item.subjectNames?r("div",{class:o.tag},[e.item.subjectNames]):null])])]),r("div",{class:o.right},[r("img",{class:o.arrow,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAPlJREFUWEft2LENAiEUBuB3tlaUOIyJK1gwgreAA9BZOcHlmttBK9dxBhJzuRgSCxtN4P0/kgg1kC8/JLxHJ5WPrnKfNKD2hFqCP0lwGIbDsizWGHNyzj20iG/rk494HMfNPM/316YXY8yeiUwGeu9X1tqbiOxKIJOBETVN0zqEcBWRLRuZBSyJzAaWQqqAJZBqIBsJATKRMCALCQUykHAgGkkBIpE04Afkue/7Y0px8b9A1HtNSRCFi1cBDkTi4EA0Dgpk4GBAFg4CZOLUQDZOBSyBywaWwmUBq287q2/cY+xVf32klEqIufC3GIF636MBtYm2BLUJPgHTXfIpPDsbwQAAAABJRU5ErkJggg==",alt:""},null)])])])}}}))}}}))}();