Commit 4c3c7688 authored by zhanglw's avatar zhanglw

商务通

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