初始提交
This commit is contained in:
43
pages/productlist/productlist.vue
Normal file
43
pages/productlist/productlist.vue
Normal file
@@ -0,0 +1,43 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user