Commit 4c3c7688 authored by zhanglw's avatar zhanglw

商务通

parent 4d824c8a
......@@ -7,10 +7,14 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= webpackConfig.name %></title>
<!-- <style >-->
<!-- #LRdiv0{display:none !important;}-->
<!-- </style>-->
<script type="text/javascript" src="https://api.map.baidu.com/api?v=1.0&type=webgl&ak=686ljhxEzzmQTsn2nYUnngIYKZfLTVsm"></script>
</head>
<body>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
<script type="text/javascript" src="http://dct.zoosnet.net/JS/LsJS.aspx?siteid=DCT66957702&lng=cn"></script>
</html>
<template>
<div class="fixed-contact">
<ul class="fixed-contact-list">
<li class="fixed-contact-item">
<li class="fixed-contact-item" @click="customerQA">
<svg-icon icon-class="z_msg" class-name="icon" />
<div class="label">在线客服</div>
<div class="line-s" />
......@@ -48,6 +48,11 @@ export default {
})
},
methods: {
customerQA() {
/* eslint-disable */
openZoosUrl('chatwin')
/* eslint-enable */
},
goTop() {
this.$parent.goTop()
}
......
......@@ -32,6 +32,7 @@
<home-footer ref="homeFooter" />
<inquiry-view ref="inquiryView" />
<el-backtop />
<float-btn ref="floatBtn" />
</div>
</template>
<script>
......@@ -42,9 +43,10 @@ import languageSetting from '../components/languageSettingV2'
import breadcrumb from '../components/breadcrumb'
import homeFooter from '../components/homeFooter'
import inquiryView from '../components/inquiryView'
import floatBtn from '../components/floatBtn'
export default {
components: { titleMenus, userLogin, languageSetting, breadcrumb, homeFooter, inquiryView },
components: { titleMenus, userLogin, languageSetting, breadcrumb, homeFooter, inquiryView, floatBtn },
dicts: [],
data() {
return {
......
......@@ -318,7 +318,8 @@ export default {
onDictReady(dict) {
this.currentProductTypeObj = dict.product_type[0]
HttpReq.webClientApi.homePageGetProduct({
preview: false
preview: false,
productType: this.currentProductTypeObj.value
}).then((res) => {
this.showcaseProducts = res.data.showcaseProducts
})
......@@ -330,7 +331,12 @@ export default {
if (this.currentProductTypeObj === item) {
return
}
console.log(item)
HttpReq.webClientApi.homePageGetProduct({
preview: false,
productType: this.currentProductTypeObj.value
}).then((res) => {
this.showcaseProducts = res.data.showcaseProducts
})
this.currentProductTypeObj = item
}, this.throttleTime)
},
......
......@@ -33,6 +33,7 @@
<home-footer ref="homeFooter" />
<inquiry-view ref="inquiryView" />
<el-backtop />
<float-btn ref="floatBtn" />
</div>
</template>
<script>
......@@ -43,9 +44,10 @@ import userLogin from '../components/userLoginV2'
import languageSetting from '../components/languageSettingV2'
import homeFooter from '../components/homeFooter'
import inquiryView from '../components/inquiryView'
import floatBtn from '../components/floatBtn'
export default {
components: { titleMenus, userLogin, languageSetting, homeFooter, inquiryView },
components: { titleMenus, userLogin, languageSetting, homeFooter, inquiryView, floatBtn },
dicts: [],
data() {
return {
......
......@@ -66,6 +66,7 @@
<home-footer ref="homeFooter" />
<inquiry-view ref="inquiryView" />
<el-backtop />
<float-btn ref="floatBtn" />
</div>
</template>
<script>
......@@ -77,9 +78,10 @@ import languageSetting from '../components/languageSettingV2'
import breadcrumb from '../components/breadcrumb'
import homeFooter from '../components/homeFooter'
import inquiryView from '../components/inquiryView'
import floatBtn from '../components/floatBtn'
export default {
components: { titleMenus, userLogin, languageSetting, breadcrumb, homeFooter, inquiryView },
components: { titleMenus, userLogin, languageSetting, breadcrumb, homeFooter, inquiryView, floatBtn },
dicts: [],
data() {
return {
......
......@@ -126,6 +126,7 @@
<home-footer ref="homeFooter" />
<inquiry-view ref="inquiryView" />
<el-backtop />
<float-btn ref="floatBtn" />
</div>
</template>
<script>
......@@ -135,9 +136,10 @@ import userLogin from '../components/userLoginV2'
import languageSetting from '../components/languageSettingV2'
import homeFooter from '../components/homeFooter'
import inquiryView from '../components/inquiryView'
import floatBtn from '../components/floatBtn'
export default {
components: { titleMenus, userLogin, languageSetting, homeFooter, inquiryView },
components: { titleMenus, userLogin, languageSetting, homeFooter, inquiryView, floatBtn },
dicts: ['product_type', 'area_province'],
data() {
return {
......
......@@ -177,6 +177,7 @@
<home-footer ref="homeFooter" />
<inquiry-view ref="inquiryView" />
<el-backtop />
<float-btn ref="floatBtn" />
</div>
</template>
<script>
......@@ -189,9 +190,10 @@ import languageSetting from '../components/languageSettingV2'
import breadcrumb from '../components/breadcrumb'
import homeFooter from '../components/homeFooter'
import inquiryView from '../components/inquiryView'
import floatBtn from '../components/floatBtn'
export default {
components: { titleMenus, userLogin, languageSetting, breadcrumb, homeFooter, inquiryView },
components: { titleMenus, userLogin, languageSetting, breadcrumb, homeFooter, inquiryView, floatBtn },
dicts: ['product_type', 'area_province'],
data() {
return {
......
......@@ -68,6 +68,7 @@
<home-footer ref="homeFooter" />
<inquiry-view ref="inquiryView" />
<el-backtop />
<float-btn ref="floatBtn" />
</div>
</template>
<script>
......@@ -80,9 +81,10 @@ import languageSetting from '../components/languageSettingV2'
import breadcrumb from '../components/breadcrumb'
import homeFooter from '../components/homeFooter'
import inquiryView from '../components/inquiryView'
import floatBtn from '../components/floatBtn'
export default {
components: { titleMenus, userLogin, languageSetting, breadcrumb, homeFooter, inquiryView },
components: { titleMenus, userLogin, languageSetting, breadcrumb, homeFooter, inquiryView, floatBtn },
dicts: [],
data() {
return {
......
......@@ -31,6 +31,7 @@
<home-footer ref="homeFooter" />
<inquiry-view ref="inquiryView" />
<el-backtop />
<float-btn ref="floatBtn" />
</div>
</template>
<script>
......@@ -41,9 +42,10 @@ import languageSetting from '../components/languageSettingV2'
import breadcrumb from '../components/breadcrumb'
import homeFooter from '../components/homeFooter'
import inquiryView from '../components/inquiryView'
import floatBtn from '../components/floatBtn'
export default {
components: { titleMenus, userLogin, languageSetting, breadcrumb, homeFooter, inquiryView },
components: { titleMenus, userLogin, languageSetting, breadcrumb, homeFooter, inquiryView, floatBtn },
dicts: [],
data() {
return {
......
......@@ -121,6 +121,7 @@
<home-footer ref="homeFooter" />
<inquiry-view ref="inquiryView" />
<el-backtop />
<float-btn ref="floatBtn" />
</div>
</template>
<script>
......@@ -133,9 +134,10 @@ import languageSetting from '../components/languageSettingV2'
import breadcrumb from '../components/breadcrumb'
import homeFooter from '../components/homeFooter'
import inquiryView from '../components/inquiryView'
import floatBtn from '../components/floatBtn'
export default {
components: { titleMenus, userLogin, languageSetting, breadcrumb, homeFooter, inquiryView },
components: { titleMenus, userLogin, languageSetting, breadcrumb, homeFooter, inquiryView, floatBtn },
dicts: ['product_type', 'area_province'],
data() {
return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment