41 lines
1.0 KiB
Vue
41 lines
1.0 KiB
Vue
<template>
|
|
<view class="pad-x160">
|
|
<status-container :ifReturn="false" titlet="分类">
|
|
<view slot="content">
|
|
<column-function @chooseEv="chooseEv" :list="funList"></column-function>
|
|
</view>
|
|
</status-container>
|
|
<!-- 底部tab -->
|
|
<foot-tab current="1"></foot-tab>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
// 底部组件
|
|
import footTab from '@/components/foot-tabs/foot-tab.vue';
|
|
import columnFunction from '@/components/function-list/column/column-function.vue';
|
|
export default {
|
|
components:{
|
|
'foot-tab' :footTab,
|
|
columnFunction
|
|
},
|
|
data() {
|
|
return {
|
|
funList:[
|
|
{url:'/pagesA/shopping-cart/shopping-cart',title:'购物车',iconsrc:'',iconWidth:60,iconHeight:60,content:'',contentColor:'#999999',ifNext:true},
|
|
{url:'/pagesA/shopping-cart-slide/shopping-cart-slide',title:'购物车-滑动删除',iconsrc:'',iconWidth:60,iconHeight:60,content:'',contentColor:'#999999',ifNext:true},
|
|
]
|
|
}
|
|
},
|
|
methods: {
|
|
chooseEv(obj) {
|
|
console.log(obj);
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
|
|
</style>
|