brand-list-box.vue
1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<template>
<div>
<header-box title="品牌" ref="header"></header-box>
<resources :content-code="contentCode"></resources>
<brand-list :channel="channel"></brand-list>
</div>
</template>
<script>
import contentCode from 'content-code';
import qs from 'yoho-qs';
import cookie from 'yoho-cookie';
import tab from 'channel/tab.vue';
import resources from 'component/resources/index.vue';
import brandList from 'channel/brand-list.vue';
import brandSearch from 'channel/brand-search.vue';
import HeaderBox from 'component/header.vue';
const detaultChannel = qs.channel || cookie.get('_Channel') || 'men';
export default {
data() {
return {
page: 'brand',
channel: detaultChannel,
contentCode: contentCode.brand[detaultChannel]
};
},
components: {
tab,
brandSearch,
resources,
brandList,
HeaderBox
}
};
</script>
<style>
</style>