33 lines
1.1 KiB
Text
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>
|