index-legacy-8016ef8e.js 3.7 KB

1
  1. !function(){function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function t(t){for(var i=1;i<arguments.length;i++){var r=null!=arguments[i]?arguments[i]:{};i%2?e(Object(r),!0).forEach((function(e){n(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function n(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(n!==undefined){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}System.register(["./index-legacy-32e0248a.js","./index-legacy-384568ae.js","./index-legacy-fad4e6c2.js","./index-legacy-4f84df4f.js"],(function(e,n){"use strict";var i,r,a,_,s,o;return{setters:[e=>{i=e.O},e=>{r=e.d,a=e.a,_=e.O,s=e.m},e=>{o=e.I},null],execute:function(){var n=document.createElement("style");n.textContent='._container_1askh_1{min-height:100vh;display:flex;flex-direction:column}._container_1askh_1 .van-nav-bar .van-icon{color:#333}._container_1askh_1 .van-nav-bar__text{color:#01c1b5}._container_1askh_1 ._content_1askh_12{flex:1;background-color:#f5f5f5;padding:.32rem}._container_1askh_1 ._content_1askh_12 ._arrow_1askh_17{font-size:.48rem;width:.53333rem;height:.53333rem}._container_1askh_1 ._content_1askh_12 ._title_1askh_22{color:#333;font-size:.48rem;font-weight:500;display:flex;align-items:center}._container_1askh_1 ._content_1askh_12 ._title_1askh_22:before{content:"";display:block;width:.10667rem;height:.48rem;border-radius:.05333rem;background-color:#01c1b5;margin-right:.16rem}._container_1askh_1 ._content_1askh_12 ._items_1askh_38{display:flex;align-items:center;flex-wrap:wrap}._container_1askh_1 ._content_1askh_12 ._items_1askh_38>div{margin-top:.53333rem;width:33.333%;max-width:4.8rem;text-align:center}._container_1askh_1 ._content_1askh_12 ._items_1askh_38>div ._inner_1askh_49{width:2.8rem;margin:0 auto}._container_1askh_1 ._content_1askh_12 ._items_1askh_38>div ._img_1askh_53{margin-top:0}._container_1askh_1 ._content_1askh_12 ._items_1askh_38>div .van-image,._container_1askh_1 ._content_1askh_12 ._items_1askh_38>div .van-image__error,._container_1askh_1 ._content_1askh_12 ._items_1askh_38>div .van-image__loading{width:2.8rem;min-height:3.57333rem}._container_1askh_1 ._content_1askh_12 ._items_1askh_38>div>div{margin-top:.18667rem;font-size:.37333rem;font-weight:500;color:#1a1a1a;line-height:.53333rem}\n',document.head.appendChild(n);e("default",r({name:"classify-list",data:()=>({list:[],liveConfig:!1}),mounted(){const e=sessionStorage.getItem("musicScoreList");if(e){const t=JSON.parse(e);this.list=t}else this.$router.replace("/")},methods:{toDetail(e){this.$router.push({path:"/music-list/"+e.id,query:t({},this.$route.query)})},goBack(){this.$router.push({path:"/",query:t({},this.$route.query)})}},render(){return a("div",{"class":"_container_1askh_1"},[a(i,{position:"top"},{"default":()=>[a(_,{border:!1,isFixed:!1,backIconColor:"white"},null)]}),a("div",{"class":"_content_1askh_12"},[a("div",{"class":"_title_1askh_22"},[s("教材")]),a("div",{"class":"_items_1askh_38"},[this.list.map((e=>a("div",{key:e.id,onClick:()=>this.toDetail(e)},[a("div",{"class":"_inner_1askh_49"},[a(o,{src:e.coverImg,"class":"_img_1askh_53"},null),a("div",{"class":"van-ellipsis"},[e.name])])])))])])])}}))}}}))}();