80 lines
1.1 KiB
Vue
80 lines
1.1 KiB
Vue
<template>
|
|
<div class="details">
|
|
<h4>Index of /eve/data_access/eve_data/products/level2</h4>
|
|
<ul>
|
|
|
|
<li v-for="(item,index) in list" :key="index" class="cursor" @click="handleClick(item.id)">
|
|
{{ item.title }}
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
name: 'ProDetails',
|
|
components: {
|
|
// VideoCatalog
|
|
},
|
|
props: {},
|
|
data() {
|
|
return {
|
|
list: [
|
|
{
|
|
title: '2021',
|
|
id: 0
|
|
},
|
|
{
|
|
title: '2021',
|
|
id: 1
|
|
},
|
|
{
|
|
title: '2021',
|
|
id: 0
|
|
},
|
|
{
|
|
title: '2021',
|
|
id: 1
|
|
},
|
|
{
|
|
title: '2021',
|
|
id: 0
|
|
},
|
|
{
|
|
title: '2021',
|
|
id: 1
|
|
},
|
|
{
|
|
title: '2021',
|
|
id: 0
|
|
},
|
|
{
|
|
title: '2021',
|
|
id: 1
|
|
}
|
|
]
|
|
}
|
|
},
|
|
mounted() {
|
|
// 获取最新动态列表
|
|
// this.init()
|
|
},
|
|
methods: {
|
|
init() {
|
|
|
|
},
|
|
handleCatalog() {
|
|
|
|
},
|
|
submitForm() {
|
|
|
|
},
|
|
handleClick(data) {
|
|
console.log(data)
|
|
}
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|