index-legacy.59fabeb9.js 3.1 KB

1
  1. !function(){var e=document.createElement("style");e.innerHTML="._theMusicGrid_4ynwa_1 .van-grid{margin:0 -.10667rem}._theMusicGrid_4ynwa_1 .van-grid-item{width:calc(100% / 3)}._theMusicGrid_4ynwa_1 .van-grid-item__content{display:block;padding:0 .21333rem;background-color:transparent}._theMusicGrid_4ynwa_1 ._item_4ynwa_12{margin-bottom:.37333rem}._theMusicGrid_4ynwa_1 ._item_4ynwa_12 ._title_4ynwa_15{font-size:.37333rem;color:#333;line-height:.53333rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:.05333rem}._theMusicGrid_4ynwa_1 ._item_4ynwa_12 ._des_4ynwa_24{font-size:.32rem;color:#999;line-height:.42667rem}._theMusicGrid_4ynwa_1 ._imgWrap_4ynwa_29{position:relative;height:2.77333rem;border-radius:.26667rem;overflow:hidden;margin-bottom:.16rem}._theMusicGrid_4ynwa_1 ._imgWrap_4ynwa_29 ._albumType_4ynwa_36{position:absolute;left:0;top:0;background:linear-gradient(180deg,#ff8900 0%,#ff5100 100%);box-shadow:0 .02667rem .05333rem rgba(150,13,0,.11);border-radius:.26667rem 0;font-size:.32rem;padding:0 .16rem;line-height:.53333rem;color:#fff;z-index:9}._theMusicGrid_4ynwa_1 ._imgWrap_4ynwa_29 ._model_4ynwa_49{position:absolute;left:.10667rem;bottom:.10667rem;background:rgba(67,67,67,.3);backdrop-filter:blur(.53333rem);-webkit-backdrop-filter:blur(.53333rem);display:flex;align-items:center;padding:.10667rem .16rem;border-radius:.53333rem;font-size:.32rem;color:#fff;transform:scale(.9)}._theMusicGrid_4ynwa_1 ._imgWrap_4ynwa_29 ._num_4ynwa_64{margin-left:.08rem}\n",document.head.appendChild(e),System.register(["./index-legacy.e29ebc18.js","./index-legacy.0476c0b9.js","./index-legacy.bd25e127.js","./icon-xin2-legacy.d521c9ab.js"],(function(e){"use strict";var t,i,n,r,a,o,l,_,m;return{setters:[function(e){t=e.d,i=e.j,n=e.z,r=e.M,a=e.Z},function(e){o=e.G,l=e.a},function(e){_=e.I},function(e){m=e.I}],execute:function(){var s={theMusicGrid:"_theMusicGrid_4ynwa_1",item:"_item_4ynwa_12",title:"_title_4ynwa_15",des:"_des_4ynwa_24",imgWrap:"_imgWrap_4ynwa_29",albumType:"_albumType_4ynwa_36",model:"_model_4ynwa_49",num:"_num_4ynwa_64"};e("M",t({name:"TheMusicGrid",props:{isHiddenTag:{type:Boolean,default:!1},showLight:{type:Boolean,default:!1},lightText:{type:String,default:""},list:{type:Array,default:function(){return[]}}},emits:["goto"],setup:function(e,t){var c=t.emit;return function(){var t,d;return i("div",{class:s.theMusicGrid},[i(o,{border:!1,columnNum:3},(d=t=e.list.map((function(t){var a="";return console.log(e.lightText,"props.lightText"),a=e.lightText?t.albumName.replace(e.lightText,'<span style="color: #FE2451">'.concat(e.lightText,"</span>")):t.albumName,i(l,null,{default:function(){return[i("div",{class:s.item,onClick:function(){return c("goto",t)}},[i("div",{class:s.imgWrap},["CHARGE"===t.paymentType&&!e.isHiddenTag&&i("span",{class:s.albumType},[n("付费")]),i(_,{class:s.image,width:"100%",height:"100%",fit:"cover",src:t.albumCoverUrl},null),i("div",{class:s.model},[i(r,{name:m},null),i("span",{class:s.num},[t.albumFavoriteCount,n("人")])])]),i("div",{class:s.title,innerHTML:a},null)])]}})})),"function"==typeof d||"[object Object]"===Object.prototype.toString.call(d)&&!a(d)?t:{default:function(){return[t]}}))])}}}))}}}))}();