dengjie commit : 我的页面及其绑定公司,浏览记录,我的收藏页面 的样式初步完成
This commit is contained in:
@@ -1,19 +1,6 @@
|
||||
<template>
|
||||
<view style="margin-top: 20rpx; height: 1176rpx;background: #FFFFFF;">
|
||||
<view class="xw_content" v-for="(item,index) in cjsList" :key="index" @click="click(index)">
|
||||
<u--image :src="item.src" width="112rpx" height="112rpx" :lazy-load="true">
|
||||
</u--image>
|
||||
<view class="xw_right">
|
||||
<view class="xw_title">
|
||||
{{item.title}}
|
||||
</view>
|
||||
<view style="display: flex;">
|
||||
<text class="cj_tags" v-for="(tagsItem,tagsIndex) in item.tags" :key="tagsIndex">
|
||||
{{tagsItem.tag}}
|
||||
</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<certifiedCj></certifiedCj>
|
||||
<view v-if="cjsShow" class="no-data">已经到底啦!</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -23,46 +10,9 @@
|
||||
data() {
|
||||
return {
|
||||
cjsShow: true,
|
||||
cjsList: [{
|
||||
src: '/static/report/zhanwei_xf(1).png',
|
||||
title: '西安兴沃丰餐饮管理有限责任公司',
|
||||
tags: [{
|
||||
tag: '咖啡'
|
||||
},
|
||||
{
|
||||
tag: '饮品'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
src: '/static/report/zhanwei_xf(2).png',
|
||||
title: '福建省海纳川食品有限公司',
|
||||
tags: [{
|
||||
tag: '活冻鲍鱼'
|
||||
},
|
||||
{
|
||||
tag: '鲍鱼罐头'
|
||||
},
|
||||
{
|
||||
tag: '佛跳墙'
|
||||
},
|
||||
{
|
||||
tag: '海螺片'
|
||||
}
|
||||
|
||||
]
|
||||
},
|
||||
]
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
click(index) {
|
||||
if (index == 0) {
|
||||
uni.navigateTo({
|
||||
url: '/pages/detail/certifiedCjDetail/certifiedCjDetail'
|
||||
})
|
||||
}
|
||||
}
|
||||
// this.cjsShow = this.list.length === 0 ? true : false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user