44 lines
696 B
Vue
44 lines
696 B
Vue
<template>
|
|
<view class="index">
|
|
<Card cardTitle='商品样式'></Card> <!-- 设置轮播图下的标题 -->
|
|
<CommodityList></CommodityList> <!-- 显示标题下的商品列表 -->
|
|
</view>
|
|
|
|
</template>
|
|
|
|
<script scoped>
|
|
//导入组件
|
|
import Card from '@/components/common/Card.vue'
|
|
import CommodityList from '@/components/common/CommodityList.vue'
|
|
import process from '../../utils/process.js'
|
|
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
//引入组件
|
|
components:{
|
|
Card,
|
|
CommodityList,
|
|
},
|
|
onShow() {
|
|
process.pageState[0] = process.pageState[0] + 1;
|
|
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
|
|
.index{
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
|
|
</style>
|