|
@@ -44,7 +44,7 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12" class="productList" v-for="(item, index) in productList" :key="index" @click.native="productDetail(item.id)">
|
|
<el-col :span="12" class="productList" v-for="(item, index) in productList" :key="index" @click.native="productDetail(item.id)">
|
|
<!-- <el-image :src="item.image[0].url"></el-image> -->
|
|
<!-- <el-image :src="item.image[0].url"></el-image> -->
|
|
- <template v-if="item.image">
|
|
|
|
|
|
+ <template v-if="item.image.length">
|
|
<el-image :src="item.image[0].url"></el-image>
|
|
<el-image :src="item.image[0].url"></el-image>
|
|
</template>
|
|
</template>
|
|
<template v-else>暂无图片</template>
|
|
<template v-else>暂无图片</template>
|
|
@@ -91,7 +91,7 @@
|
|
<el-col :span="24" class="downLeftInfo">
|
|
<el-col :span="24" class="downLeftInfo">
|
|
<el-col :span="24" class="bankingList" v-for="(item, index) in serviceList" :key="index" @click.native="serviceDetail(item.id)">
|
|
<el-col :span="24" class="bankingList" v-for="(item, index) in serviceList" :key="index" @click.native="serviceDetail(item.id)">
|
|
<el-col :span="10">
|
|
<el-col :span="10">
|
|
- <template v-if="item.image">
|
|
|
|
|
|
+ <template v-if="item.image.length">
|
|
<el-image :src="item.image[0].url"></el-image>
|
|
<el-image :src="item.image[0].url"></el-image>
|
|
</template>
|
|
</template>
|
|
<template v-else>暂无图片</template>
|
|
<template v-else>暂无图片</template>
|
|
@@ -210,10 +210,10 @@ export default {
|
|
this.$router.push({ path: '/market/marketlists', query: { totaltype: 0, id: id, display: 2, column_name: '技术供求' } });
|
|
this.$router.push({ path: '/market/marketlists', query: { totaltype: 0, id: id, display: 2, column_name: '技术供求' } });
|
|
},
|
|
},
|
|
toServiceList() {
|
|
toServiceList() {
|
|
- this.$router.push({ path: '/market/marketlists', query: { totaltype: 2, column_name: '技术供求', display: 1 } });
|
|
|
|
|
|
+ this.$router.push({ path: '/market/marketlists', query: { totaltype: 2, column_name: '服务供求', display: 1 } });
|
|
},
|
|
},
|
|
serviceDetail(id) {
|
|
serviceDetail(id) {
|
|
- this.$router.push({ path: '/market/marketlists', query: { totaltype: 2, id: id, display: 2, column_name: '技术供求' } });
|
|
|
|
|
|
+ this.$router.push({ path: '/market/marketlists', query: { totaltype: 2, id: id, display: 2, column_name: '服务供求' } });
|
|
},
|
|
},
|
|
zhuanjia() {
|
|
zhuanjia() {
|
|
this.$router.push({ path: '/market/marketlists', query: { column_name: '专家供求', display: 1 } });
|
|
this.$router.push({ path: '/market/marketlists', query: { column_name: '专家供求', display: 1 } });
|