@@ -226,7 +226,6 @@
methods: {
// 公共跳转
toCommon(e) {
- console.log(e);
uni.navigateTo({
url: `/${e}`
})
@@ -11,7 +11,11 @@
</view>
<view class="two_2">
- 右侧商品
+ <view class="marketList" v-for="(tag,indexs) in marketList" :key="indexs">
+ <view class="title">
+ {{tag.name}}
+ </view>
@@ -22,6 +26,7 @@
export default {
data() {
return {
+ active: '0',
typeList: [ //商品分类
{
name: '休闲食品'
@@ -62,6 +67,15 @@
name: '植物饮食'
}
+ ],
+ marketList: [ //产品列表
+ {
+ name: '坚果炒货'
+
+ },
+ }
]
};
},
@@ -116,6 +130,33 @@
.two_2 {
width: 75vw;
border: 1px solid #0000ff;
+ // .marketList {
+ // .title {
+ // font-size: 16px;
+ // margin: 0 0 2vw 0;
+ // }
+ // .market {
+ // display: flex;
+ // flex-direction: row;
+ // justify-content: space-around;
+ // flex-wrap: wrap;
+ // .list {
+ // text-align: center;
+ // .image {
+ // width: 10vw;
+ // height: 10vw;
+ // .name {
+ // font-size: 14px;