orchard/src/renderer/views/pages/radio.ejs
2022-09-13 19:35:03 +01:00

33 lines
1.1 KiB
Text

<script type="text/x-template" id="cider-radio">
<div class="content-inner">
<h1 class="header-text">{{$root.getLz("term.radio")}}</h1>
<template v-if="data.editorial">
<template v-for="(recom,index) in data.editorial[4]">
<div class="row">
<mediaitem-scroller-horizontal-mvview :imagesize="800"
:browsesp="index == 0"
:kind="recom.attributes.editorialElementKind"
:items="recom.relationships.children ? recom.relationships.children.data.limit(10) : recom.relationships.contents.data.limit(10)"></mediaitem-scroller-horizontal-mvview>
</div>
</template>
</template>
</div>
</script>
<script>
Vue.component('cider-radio', {
template: "#cider-radio",
props: ["data"],
data: function() {
return {
app: this.$root,
};
},
mounted() {
this.$root.getRadioPage();
},
methods: {}
});
</script>