首页图片获取,行业报告中行业新闻及详情页和新品发布及详情页接口对接完毕

This commit is contained in:
clay
2022-12-28 22:15:56 +08:00
parent 8c63db07ab
commit b3b0b620bf
9 changed files with 89 additions and 184 deletions

View File

@@ -1,7 +1,7 @@
<template>
<view>
<view class="xw_content" v-for="(item,index) in cjsList" :key="index" @click="clickCj(item)">
<u--image :src="item.cover" width="112rpx" height="112rpx" :lazy-load="true">
<u--image :src="imgUrl+item.cover" width="112rpx" height="112rpx" :lazy-load="true">
</u--image>
<view class="xw_right">
<view class="xw_title">
@@ -22,42 +22,13 @@
export default {
data() {
return {
cjsList: [
// {
// src: '/static/report/zhanwei_xf(1).png',
// title: '西安兴沃丰餐饮管理有限责任公司',
// tags: [{
// tag: '咖啡'
// },
// {
// tag: '饮品'
// }
// ]
// },
// {
// src: '/static/report/zhanwei_xf(1).png',
// title: '福建省海纳川食品有限公司',
// tags: [{
// tag: '活冻鲍鱼'
// },
// {
// tag: '鲍鱼罐头'
// },
// {
// tag: '佛跳墙'
// },
// {
// tag: '海螺片'
// }
// ]
// },
]
cjsList: [],
imgUrl: '',
}
},
created() {
this.getCertifiedCj()
this.imgUrl = uni.getStorageSync('img_url')
},
methods: {
// 获取认证厂家列表