1 |
- !function(){var e=document.createElement("style");e.innerHTML="._theMusicGrid_1hsn0_1 .van-grid{margin:0 -.10667rem}._theMusicGrid_1hsn0_1 .van-grid-item{width:calc(100% / 3)}._theMusicGrid_1hsn0_1 .van-grid-item__content{display:block;padding:0 .21333rem;background-color:transparent}._theMusicGrid_1hsn0_1 ._item_1hsn0_12{margin-bottom:.53333rem}._theMusicGrid_1hsn0_1 ._item_1hsn0_12 ._title_1hsn0_15{font-size:.34667rem;color:#131415;line-height:.53333rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:.05333rem}._theMusicGrid_1hsn0_1 ._item_1hsn0_12 ._des_1hsn0_24{font-size:.32rem;color:#999;line-height:.42667rem}._theMusicGrid_1hsn0_1 ._imgWrap_1hsn0_29{position:relative;height:2.34667rem;border-radius:.26667rem;overflow:hidden;margin-bottom:.16rem}._theMusicGrid_1hsn0_1 ._imgWrap_1hsn0_29 ._albumType_1hsn0_36{position:absolute;left:0;top:0;background:linear-gradient(to right,#FF3760 0%,#FF7857 100%);border-radius:.26667rem 0;font-size:.32rem;padding:.02667rem .16rem 0;line-height:.53333rem;color:#fff;z-index:9}._theMusicGrid_1hsn0_1 ._imgWrap_1hsn0_29 ._model_1hsn0_48{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_1hsn0_1 ._imgWrap_1hsn0_29 ._num_1hsn0_63{margin-left:.08rem}\n",document.head.appendChild(e),System.register(["./index-legacy.b903c881.js","./index-legacy.1b471fb9.js","./index-legacy.5b93d63d.js","./icon-xin2-legacy.d521c9ab.js"],(function(e){"use strict";var t,i,n,r,s,o,a,l,_;return{setters:[function(e){t=e.d,i=e.j,n=e.z,r=e.M,s=e.Z},function(e){o=e.G,a=e.a},function(e){l=e.I},function(e){_=e.I}],execute:function(){var m={theMusicGrid:"_theMusicGrid_1hsn0_1",item:"_item_1hsn0_12",title:"_title_1hsn0_15",des:"_des_1hsn0_24",imgWrap:"_imgWrap_1hsn0_29",albumType:"_albumType_1hsn0_36",model:"_model_1hsn0_48",num:"_num_1hsn0_63"};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:m.theMusicGrid},[i(o,{border:!1,columnNum:3},(d=t=e.list.map((function(t){var s="";return console.log(e.lightText,"props.lightText"),s=e.lightText?t.albumName.replace(e.lightText,'<span style="color: #FE2451">'.concat(e.lightText,"</span>")):t.albumName,i(a,null,{default:function(){return[i("div",{class:m.item,onClick:function(){return c("goto",t)}},[i("div",{class:m.imgWrap},["CHARGE"===t.paymentType&&!e.isHiddenTag&&i("span",{class:m.albumType},[n("付费")]),i(l,{class:m.image,width:"100%",height:"100%",fit:"cover",src:t.albumCoverUrl},null),i("div",{class:m.model},[i(r,{name:_},null),i("span",{class:m.num},[t.albumFavoriteCount,n("人")])])]),i("div",{class:m.title,innerHTML:s},null)])]}})})),"function"==typeof d||"[object Object]"===Object.prototype.toString.call(d)&&!s(d)?t:{default:function(){return[t]}}))])}}}))}}}))}();
|