|
@@ -73,7 +73,7 @@
|
|
|
</span>
|
|
|
</el-col>
|
|
|
<el-col :span="24" class="downRightImage">
|
|
|
- <el-image src="http://img2.imgtn.bdimg.com/it/u=1300722955,3173826431&fm=26&gp=0.jpg"></el-image>
|
|
|
+ <el-image :src="serviceImage"></el-image>
|
|
|
</el-col>
|
|
|
<el-col :span="24">
|
|
|
<el-col :span="24" class="downRightList" v-for="(item, index) in bankingList" :key="index">
|
|
@@ -82,28 +82,27 @@
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
-
|
|
|
- <el-col :span="24">
|
|
|
- <el-col :span="24" class="downLeftTop">
|
|
|
- <el-image :src="downLeftTopImage"></el-image>
|
|
|
- <span class="topTexts">
|
|
|
- <span>最新发布</span>
|
|
|
- <span
|
|
|
- ><p>B</p>
|
|
|
- <p>anking</p></span
|
|
|
- >
|
|
|
- <span @click="fabu()">我要发布</span>
|
|
|
- </span>
|
|
|
- <el-col :span="24" class="downLeftInfos">
|
|
|
- <el-col :span="12" class="bankingLists" v-for="(item, index) in serviceList" :key="index" @click.native="serviceDetail(item.id)">
|
|
|
- <el-col :span="10">
|
|
|
- <el-image :src="item.image[0].url"></el-image>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <span class="textOvers">{{ item.name }}</span>
|
|
|
- <span>{{ item.introduction }}</span>
|
|
|
- </el-col>
|
|
|
- </el-col>
|
|
|
+ </el-col>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="24" class="marketNew">
|
|
|
+ <el-col :span="24" class="downLeftTop">
|
|
|
+ <el-image :src="downLeftTopImage"></el-image>
|
|
|
+ <span class="topTexts">
|
|
|
+ <span>最新发布</span>
|
|
|
+ <span
|
|
|
+ ><p>N</p>
|
|
|
+ <p>ewing</p></span
|
|
|
+ >
|
|
|
+ <span @click="fabu()">我要发布</span>
|
|
|
+ </span>
|
|
|
+ <el-col :span="24" class="downLeftInfos">
|
|
|
+ <el-col :span="12" class="bankingLists" v-for="(item, index) in newList" :key="index" @click.native="productDetail(item.id)">
|
|
|
+ <el-col :span="10">
|
|
|
+ <el-image :src="item.image[0].url"></el-image>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="12">
|
|
|
+ <span class="textOvers">{{ item.name }}</span>
|
|
|
+ <span>{{ item.introduction }}</span>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
|
</el-col>
|
|
@@ -126,6 +125,7 @@ export default {
|
|
|
data: () => ({
|
|
|
gongqiuImage: require('@/assets/live/main2.png'),
|
|
|
downLeftTopImage: require('@/assets/live/square_big.png'),
|
|
|
+ serviceImage: require('@/assets/live/service_picture_one.jpg'),
|
|
|
productList: [],
|
|
|
tecList: [],
|
|
|
bankingList: [
|
|
@@ -159,6 +159,7 @@ export default {
|
|
|
},
|
|
|
],
|
|
|
serviceList: [],
|
|
|
+ newList: [],
|
|
|
}),
|
|
|
created() {
|
|
|
this.search();
|
|
@@ -182,32 +183,40 @@ export default {
|
|
|
if (this.$checkRes(res)) this.$set(this, `tecList`, res.data);
|
|
|
res = await this.query({ skip: 0, limit: 4, totaltype: '1' });
|
|
|
if (this.$checkRes(res)) this.$set(this, `productList`, res.data);
|
|
|
+ if (this.$checkRes(res)) this.$set(this, `newList`, res.data);
|
|
|
res = await this.query({ skip: 0, limit: 4, totaltype: '2' });
|
|
|
if (this.$checkRes(res)) this.$set(this, `serviceList`, res.data);
|
|
|
// res = await this.expertQuery({ skip: 0, limit: 4 });
|
|
|
// if (this.$checkRes(res)) this.$set(this, `expertsList`, res.data);
|
|
|
},
|
|
|
toProductList() {
|
|
|
- window.location.href = 'http://free.liaoningdoupo.com/platweb/supermaket/supermarketlist?totaltype=1';
|
|
|
+ // window.location.href = 'http://free.liaoningdoupo.com/platweb/supermaket/supermarketlist?totaltype=1';
|
|
|
+ window.open('http://free.liaoningdoupo.com/platweb/supermaket/supermarketlist?totaltype=1');
|
|
|
},
|
|
|
productDetail(id) {
|
|
|
- window.location.href = 'http://free.liaoningdoupo.com/platweb/supermaket/supermarketdetail?totaltype=2&&?&id=' + id + '';
|
|
|
+ // window.location.href = 'http://free.liaoningdoupo.com/platweb/supermaket/supermarketdetail?totaltype=2&&?&id=' + id + '';
|
|
|
+ window.open('http://free.liaoningdoupo.com/platweb/supermaket/supermarketdetail?totaltype=2&&?&id=' + id + '');
|
|
|
},
|
|
|
toTecList() {
|
|
|
- window.location.href = 'http://free.liaoningdoupo.com/platweb/supermaket/supermarketlist?totaltype=0';
|
|
|
+ // window.location.href = 'http://free.liaoningdoupo.com/platweb/supermaket/supermarketlist?totaltype=0';
|
|
|
+ window.open('http://free.liaoningdoupo.com/platweb/supermaket/supermarketlist?totaltype=0');
|
|
|
},
|
|
|
tecDetail(id) {
|
|
|
- window.location.href = 'http://free.liaoningdoupo.com/platweb/supermaket/supermarketdetail?totaltype=0&&?&id=' + id + '';
|
|
|
+ // window.location.href = 'http://free.liaoningdoupo.com/platweb/supermaket/supermarketdetail?totaltype=0&&?&id=' + id + '';
|
|
|
+ window.open('//free.liaoningdoupo.com/platweb/supermaket/supermarketdetail?totaltype=0&&?&id=' + id + '');
|
|
|
},
|
|
|
toServiceList() {
|
|
|
- window.location.href = 'http://free.liaoningdoupo.com/platweb/supermaket/supermarketlist?totaltype=2';
|
|
|
+ // window.location.href = 'http://free.liaoningdoupo.com/platweb/supermaket/supermarketlist?totaltype=2';
|
|
|
+ window.open('http://free.liaoningdoupo.com/platweb/supermaket/supermarketlist?totaltype=2');
|
|
|
},
|
|
|
serviceDetail(id) {
|
|
|
- window.location.href = 'http://free.liaoningdoupo.com/platweb/supermaket/supermarketdetail?totaltype=2&&?&id=' + id + '';
|
|
|
+ // window.location.href = 'http://free.liaoningdoupo.com/platweb/supermaket/supermarketdetail?totaltype=2&&?&id=' + id + '';
|
|
|
+ window.open('http://free.liaoningdoupo.com/platweb/supermaket/supermarketdetail?totaltype=2&&?&id=' + id + '');
|
|
|
},
|
|
|
|
|
|
fabu() {
|
|
|
- window.location.href = 'http://free.liaoningdoupo.com/platweb/enterprise/enterprisexuqiu';
|
|
|
+ // window.location.href = 'http://free.liaoningdoupo.com/platweb/enterprise/enterprisexuqiu';
|
|
|
+ window.open('http://free.liaoningdoupo.com/platweb/enterprise/enterprisexuqiu');
|
|
|
},
|
|
|
},
|
|
|
};
|
|
@@ -384,7 +393,7 @@ export default {
|
|
|
color: #044b79;
|
|
|
}
|
|
|
.marketDown {
|
|
|
- height: 780px;
|
|
|
+ height: 550px;
|
|
|
overflow: hidden;
|
|
|
margin: 20px 0 20px 0;
|
|
|
background: #e9edf6;
|
|
@@ -575,4 +584,13 @@ export default {
|
|
|
text-overflow: ellipsis;
|
|
|
display: inline-block;
|
|
|
}
|
|
|
+.marketNew {
|
|
|
+ float: none;
|
|
|
+ width: 80%;
|
|
|
+ margin: 30px auto;
|
|
|
+ height: 400px;
|
|
|
+}
|
|
|
+.downLeftInfos {
|
|
|
+ height: 330px;
|
|
|
+}
|
|
|
</style>
|