index-legacy.21779c2e.js 7.0 KB

1
  1. !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var n=document.createElement("style");n.innerHTML="._theSong_zefq7_1{padding-left:.26667rem;background-color:#fff;border-radius:.21333rem;box-shadow:0 .05333rem .26667rem rgba(229,229,229,.1)}._theSong_zefq7_1 ._item_zefq7_7{display:flex;align-items:center;border-bottom:.02667rem solid #f2f2f2;padding:.42667rem 0}._theSong_zefq7_1 ._item_zefq7_7:last-child{border-bottom:0}._theSong_zefq7_1 ._item_zefq7_7:last-child{border:none}._theSong_zefq7_1 ._content_zefq7_19{flex:1}._theSong_zefq7_1 ._content_zefq7_19 ._top_zefq7_22{display:flex;align-items:center;margin-bottom:.26667rem}._theSong_zefq7_1 ._content_zefq7_19 ._tag_zefq7_27{flex-shrink:0;padding:.05333rem .10667rem 0;border-radius:.10667rem}._theSong_zefq7_1 ._content_zefq7_19 ._tag_zefq7_27:not(:first-child){margin-left:.16rem}._theSong_zefq7_1 ._content_zefq7_19 ._user_zefq7_35{display:flex;align-items:center}._theSong_zefq7_1 ._content_zefq7_19 ._user_zefq7_35 ._name_zefq7_39{font-size:.32rem;color:#999;line-height:.42667rem;margin-right:.32rem;padding-top:.05333rem;max-width:3.2rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._theSong_zefq7_1 ._content_zefq7_19 ._user_zefq7_35 ._tags_zefq7_50>span{display:inline-block;background:#effbf9;border-radius:.53333rem;color:var(--van-primary-color);padding:.10667rem .21333rem;margin-right:.10667rem;font-size:.32rem;transform:scale(.9)}._theSong_zefq7_1 ._content_zefq7_19 ._title_zefq7_60{max-width:4.4rem;font-size:.42667rem;font-weight:700;color:#1a1a1a;margin-right:.16rem}._theSong_zefq7_1 ._content_zefq7_19 ._singer_zefq7_67{max-width:1.33333rem;font-size:.32rem;color:#999}._theSong_zefq7_1 ._play_zefq7_72{flex-shrink:0;display:flex;align-items:center}._mb100_zefq7_77{margin-bottom:2.66667rem}._pImg_zefq7_80{width:1.33333rem;height:1.33333rem;border-radius:.26667rem;overflow:hidden;flex-shrink:0}._moreSection_zefq7_87{margin-left:.16rem;display:flex;align-items:center;justify-content:center;width:.74667rem;height:.74667rem}._collection_zefq7_95{width:.34667rem;height:.32rem;margin-right:.21333rem}._musicInfo_zefq7_100{padding-top:.61333rem!important;padding-bottom:.61333rem!important;margin-bottom:.26667rem}._musicInfo_zefq7_100 ._tag_zefq7_27{flex-shrink:0;border-radius:.10667rem}._musicInfo_zefq7_100 ._info_zefq7_109{margin-left:.37333rem;flex:1;margin-right:.37333rem;word-break:break-all}._musicInfo_zefq7_100 ._info_zefq7_109>h4{font-size:.42667rem;font-weight:700;color:#1a1a1a;width:5.33333rem;padding-bottom:.08rem}._musicInfo_zefq7_100 ._info_zefq7_109>p{font-size:.32rem;color:#999;line-height:.45333rem}._shareIcon_zefq7_127{display:flex;width:.58667rem;height:.50667rem;margin-right:.37333rem}._shareIcon_zefq7_127 ._share_zefq7_127{width:.53333rem;height:.53333rem}._shareMate_zefq7_137{position:relative;margin-top:1.33333rem;display:flex;flex:1;align-items:center;padding:.29333rem .32rem;background:#ffffff;border-radius:.26667rem}._shareMate_zefq7_137 ._icon_zefq7_147{width:.96rem;height:.96rem;border-radius:.26667rem}._shareMate_zefq7_137 ._info_zefq7_109{margin-left:.37333rem;flex:1;margin-right:.37333rem;word-break:break-all}._shareMate_zefq7_137 ._info_zefq7_109>h4{color:var(--music-list-item-title-color);font-size:.37333rem;font-weight:600;width:5.33333rem}._shareMate_zefq7_137 ._info_zefq7_109>p{color:var(--music-list-item-mate-color);line-height:.45333rem}._shareMate_zefq7_137 ._tagDiscount_zefq7_168{position:absolute;top:-.69333rem;left:.4rem;padding:.05333rem .26667rem .02667rem;height:.61333rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.37333rem;font-weight:600;color:#fff;line-height:.53333rem}._exquisiteFlag_zefq7_181{width:.37333rem;margin-right:.13333rem;flex-shrink:0}._songAlbum_zefq7_186{width:.4rem;height:.4rem;margin-right:.13333rem;flex-shrink:0}\n",document.head.appendChild(n),System.register(["./icon_uploader-legacy.db3a8c90.js","./icon-xin-legacy.18ed4a9d.js","./icon_album-legacy.d489a774.js","./icon_album_active-legacy.d2829e23.js","./icon_exquisite-legacy.178b582f.js","./icon_music_active-legacy.cc68af68.js","./index-legacy.b2528a15.js","./index-legacy.ca42ae97.js","./icon-play-legacy.50b88257.js"],(function(n){"use strict";var r,i,_,a,o,f,s,m,c,l,g,d,u,h,p,z,q,b,y,v,w;return{setters:[function(e){r=e._,i=e.a,_=e.b,a=e.c,o=e.d,f=e.e,s=e.f},function(e){m=e._},function(e){c=e._},function(e){l=e._},function(e){g=e._},function(e){d=e._},function(e){u=e.d,h=e.U,p=e.Q,z=e.W,q=e.i,b=e.A,y=e.N},function(e){v=e.I},function(e){w=e.I}],execute:function(){var x="_theSong_zefq7_1",S="_item_zefq7_7",j="_content_zefq7_19",O="_top_zefq7_22",k="_user_zefq7_35",P="_name_zefq7_39",I="_tags_zefq7_50",N="_title_zefq7_60",M="_singer_zefq7_67",C="_play_zefq7_72",D="_collection_zefq7_95",T="_exquisiteFlag_zefq7_181",A="_songAlbum_zefq7_186",E=function(e){var t="../images/".concat(e);return{"../images/collection.png":r,"../images/collection_active.png":i,"../images/icon-xin.png":m,"../images/icon_ai.png":_,"../images/icon_album.png":c,"../images/icon_album_active.png":l,"../images/icon_author.png":a,"../images/icon_download.png":o,"../images/icon_exquisite.png":g,"../images/icon_music_active.png":d,"../images/icon_share.png":f,"../images/icon_uploader.png":s}[t].default};n("S",u({name:"TheSong",props:{list:{type:Array,default:function(){return[]}},showPlay:{type:Boolean,default:!0},musicNameClass:{type:String},authorClass:{type:String}},emits:["detail"],setup:function(n,r){var i=r.emit;h(!1),h({}),p();var _=z((function(){return n.list.map((function(n){return"string"==typeof n.paymentType&&(n.paymentType=n.paymentType.split(",")),function(n){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?e(Object(i),!0).forEach((function(e){t(n,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e))}))}return n}({},n)}))}));return function(){return q("div",{class:x},[_.value.map((function(e){return q("div",{class:S,onClick:function(){return i("detail",e)}},[q("div",{class:j},[q("div",{class:O},[1===e.exquisiteFlag&&q(v,{class:T,src:E("icon_exquisite.png")},null),e.albumNums>0&&q(v,{class:A,src:E("icon_album_active.png")},null),q("span",{class:[N,n.musicNameClass,"van-ellipsis"]},[e.musicSheetName]),q("span",{class:[M,n.authorClass,"van-ellipsis"]},[b("-"),e.composer])]),q("div",{class:k},[1===e.favorite&&q(v,{src:E("collection_active.png"),class:D},null),q("span",{class:[P]},[e.addName?"上传者:".concat(e.addName):"作曲:".concat(e.composer)]),q("div",{class:I},[null==e?void 0:e.subjectNames.split(",").map((function(e){return q("span",null,[e])}))])])]),q("div",{class:C},[n.showPlay&&q(y,{name:w,size:28},null)])])}))])}}}))}}}))}();