|
|
@@ -82,15 +82,16 @@
|
|
|
@click="navigateTo('/pagesNews/News', false)"
|
|
|
/>
|
|
|
</van-grid>
|
|
|
-
|
|
|
- <van-image
|
|
|
- width="100%"
|
|
|
- height="90px"
|
|
|
- class="pathImg"
|
|
|
- :radius="4"
|
|
|
- src="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/home_img_3dimt.jpg"
|
|
|
- @click="navigateTo('/pagesHome/ShowView', false)"
|
|
|
- />
|
|
|
+ <div class="pathImg">
|
|
|
+ <van-image
|
|
|
+ width="100%"
|
|
|
+ height="90px"
|
|
|
+ :radius="4"
|
|
|
+ v-if="tDurl && tDurl !== 'null'"
|
|
|
+ src="http://imttech.oss-cn-hangzhou.aliyuncs.com/micro/home_img_3dimt.jpg"
|
|
|
+ @click="navigateTo('/pagesHome/ShowView', false)"
|
|
|
+ />
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="hot" v-if="hotProductsList.length > 0">
|
|
|
<div class="title">
|
|
|
@@ -266,7 +267,8 @@ export default {
|
|
|
brands: '',
|
|
|
url: '/product/show',
|
|
|
tagIds: '',
|
|
|
- applicationField: ''
|
|
|
+ applicationField: '',
|
|
|
+ tDurl: ''
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
|
@@ -356,6 +358,9 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
onLoad() {
|
|
|
+ this.$http.get('/sysConfig/get/ThreeD_URL').then(res => {
|
|
|
+ this.tDurl = res.value;
|
|
|
+ });
|
|
|
getBanner('HOME').then(res => {
|
|
|
console.log(res);
|
|
|
this.banners = res;
|
|
|
@@ -563,8 +568,8 @@ export default {
|
|
|
}
|
|
|
|
|
|
.pathImg {
|
|
|
+ margin-top: 30px;
|
|
|
.van-image {
|
|
|
- margin-top: 30px;
|
|
|
margin-bottom: 45px;
|
|
|
}
|
|
|
}
|