item-legacy.e630fbc9.js 6.9 KB

12
  1. ;(function(){var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._liveClass_1wai0_1 .el-tabs__item{font-size:18px;font-weight:600;color:#999;height:56px;line-height:56px;padding-right:40px;padding-left:0}._liveClass_1wai0_1 .el-tabs__item.is-active{font-size:20px;color:#000}._liveClass_1wai0_1 .el-tabs__nav-wrap:after{height:1px;background:#eeeeee}._liveClass_1wai0_1 .el-tabs__active-bar{height:4px}._liveClass_1wai0_1 ._badge_1wai0_21{display:inline}._liveClass_1wai0_1 ._badge_1wai0_21 .el-badge__content.is-fixed{top:-2px;right:0}._itemWrap_1wai0_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_1wai0_28 ._left_1wai0_49{display:flex;flex-direction:row;align-items:center}._itemWrap_1wai0_28 ._left_1wai0_49 ._imgWrap_1wai0_54{width:88px;height:88px;border-radius:10px;margin-right:20px;overflow:hidden}._itemWrap_1wai0_28 ._left_1wai0_49 ._textWrap_1wai0_61 p{font-weight:600;color:#000;line-height:22px;font-size:18px;margin-bottom:7px;display:flex;align-items:center}._itemWrap_1wai0_28 ._left_1wai0_49 ._textWrap_1wai0_61 ._authorInfo_1wai0_70{display:flex;flex-direction:row;align-items:center}._itemWrap_1wai0_28 ._left_1wai0_49 ._textWrap_1wai0_61 ._authorInfo_1wai0_70 span{font-weight:400;color:#999;font-size:16px}._itemWrap_1wai0_28 ._left_1wai0_49 ._textWrap_1wai0_61 ._authorInfo_1wai0_70 ._icon_1wai0_80{width:18px;height:18px;border-radius:27px;margin-right:6px;-o-object-fit:cover;object-fit:cover}._itemWrap_1wai0_28 ._left_1wai0_49 ._textWrap_1wai0_61 ._authorInfo_1wai0_70 ._authorName_1wai0_87{color:#333;font-size:12px;margin-right:8px}._itemWrap_1wai0_28 ._tagList_1wai0_92{display:flex;flex-direction:row;align-items:center;margin-top:10px}._itemWrap_1wai0_28 ._tagList_1wai0_92 ._tag_1wai0_92{background-color:#bcfdf1;color:#00886d;padding:5px 16px;font-size:12px;margin-right:5px;border-radius:20px}._itemWrap_1wai0_28 ._right_1wai0_106{display:flex;flex-direction:row;align-items:center;cursor:pointer}._itemWrap_1wai0_28 ._right_1wai0_106 ._arrow_1wai0_112{width:20px;height:20px;margin-left:12px}._itemWrap_1wai0_28 ._touchButton_1wai0_117{width:48px;height:22px;background:#e1f0ff;border-radius:6px;line-height:22px;color:#fff;text-align:center;font-size:14px;margin-right:6px}._itemWrap_1wai0_28 ._touchButton_1wai0_117._vip_1wai0_128{background-color:#c8a430;color:#fff}._itemWrap_1wai0_28 ._touchButton_1wai0_117._free_1wai0_132{background-color:#4ca751;color:#fff}._itemWrap_1wai0_28 ._touchButton_1wai0_117._charge_1wai0_136{background-color:#3f90d6;color:#fff}._iconFine_1wai0_140{display:inline-block;width:18px;height:22px;margin-right:8px}._iconAlbum_1wai0_146{display:inline-block;width:18px;height:18px;margin-right:8px}\n";document.head.appendChild(__vite_style__);System.register(['./vendor-legacy.7f609859.js','./icon_album_active-legacy.72d719cb.js'],function(exports){'use strict';var defineComponent,reactive,useRouter,watch,createVNode,createTextVNode,ElButton,iconFine$1,iconAlbum$1;return{setters:[function(module){defineComponent=module.d;reactive=module.r;useRouter=module.f;watch=module.S;createVNode=module.c;createTextVNode=module.a;ElButton=module.k;},function(module){iconFine$1=module.i;iconAlbum$1=module.a;}],execute:function execute(){var liveClass="_liveClass_1wai0_1";var badge="_badge_1wai0_21";var itemWrap="_itemWrap_1wai0_28";var left="_left_1wai0_49";var imgWrap="_imgWrap_1wai0_54";var textWrap="_textWrap_1wai0_61";var authorInfo="_authorInfo_1wai0_70";var icon="_icon_1wai0_80";var authorName="_authorName_1wai0_87";var tagList="_tagList_1wai0_92";var tag="_tag_1wai0_92";var right="_right_1wai0_106";var arrow$1="_arrow_1wai0_112";var touchButton="_touchButton_1wai0_117";var vip="_vip_1wai0_128";var free="_free_1wai0_132";var charge="_charge_1wai0_136";var iconFine="_iconFine_1wai0_140";var iconAlbum="_iconAlbum_1wai0_146";var styles=exports('s',{liveClass:liveClass,badge:badge,itemWrap:itemWrap,left:left,imgWrap:imgWrap,textWrap:textWrap,authorInfo:authorInfo,icon:icon,authorName:authorName,tagList:tagList,tag:tag,right:right,arrow:arrow$1,touchButton:touchButton,vip:vip,free:free,charge:charge,iconFine:iconFine,iconAlbum:iconAlbum});var music="./assets/music.24d07fa6.png";var arrow="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAPlJREFUWEft2LENAiEUBuB3tlaUOIyJK1gwgreAA9BZOcHlmttBK9dxBhJzuRgSCxtN4P0/kgg1kC8/JLxHJ5WPrnKfNKD2hFqCP0lwGIbDsizWGHNyzj20iG/rk494HMfNPM/316YXY8yeiUwGeu9X1tqbiOxKIJOBETVN0zqEcBWRLRuZBSyJzAaWQqqAJZBqIBsJATKRMCALCQUykHAgGkkBIpE04Afkue/7Y0px8b9A1HtNSRCFi1cBDkTi4EA0Dgpk4GBAFg4CZOLUQDZOBSyBywaWwmUBq287q2/cY+xVf32klEqIufC3GIF636MBtYm2BLUJPgHTXfIpPDsbwQAAAABJRU5ErkJggg==";var MusicItem=exports('M',defineComponent({name:'music-item',props:{item:{type:Object,default:function _default(){return{};}},onClick:{type:Function,default:function _default(item){}},onChangeState:{type:Function,default:function _default(item){}}},setup:function setup(props){var state=reactive({item:props.item});useRouter();watch(function(){return props.item;},function(item){state.item=item;});var gotoMusicDetail=function gotoMusicDetail(){console.log(1);// router.push({ path: '/muiscDetial', query: { id: state.item.id } })
  2. };return function(){return createVNode("div",{"onClick":function onClick(){props.onClick(state.item);}},[createVNode("div",{"class":styles.itemWrap,"onClick":function onClick(){return gotoMusicDetail();}},[createVNode("div",{"class":styles.left},[createVNode("div",{"class":styles.imgWrap},[createVNode("img",{"src":state.item.titleImg||music,"alt":""},null)]),createVNode("div",{"class":styles.textWrap},[createVNode("p",null,[state.item.exquisiteFlag===1&&createVNode("img",{"src":iconFine$1,"class":styles.iconFine},null),state.item.albumNums>0&&createVNode("img",{"src":iconAlbum$1,"class":styles.iconAlbum},null),state.item.musicSheetName]),createVNode("div",{"class":styles.authorInfo},[createVNode("span",null,[createTextVNode("\u4F5C\u66F2: "),state.item.composer])]),createVNode("div",{"class":styles.tagList},[state.item.subjectNames?createVNode("div",{"class":styles.tag},[state.item.subjectNames]):null])])]),createVNode("div",{"class":styles.right},[state.item.auditStatus==='PASS'&&createVNode(ElButton,{"plain":true,"type":"danger","round":true,"size":"small","style":{padding:'8px 12px'},"onClick":function onClick(e){e.stopPropagation();props.onChangeState(state.item);}},{default:function _default(){return[createTextVNode("\u4E0B\u67B6")];}}),createVNode("img",{"class":styles.arrow,"src":arrow,"alt":""},null)])])]);};}}));}};});})();