mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-02 10:16:38 +08:00
更改
This commit is contained in:
parent
03f91822aa
commit
83e69b2a28
@ -6,6 +6,7 @@
|
||||
<div class="ts-banner-swiper-container">
|
||||
<swiper :options="headerSwiperOption">
|
||||
<swiper-slide>
|
||||
<a target="_blank" @click="diaoqi">
|
||||
<picture>
|
||||
<source
|
||||
media="(max-width: 768px)"
|
||||
@ -17,9 +18,11 @@
|
||||
/>
|
||||
<img src="/images/banner/pc-weixin.png" />
|
||||
</picture>
|
||||
</a>
|
||||
</swiper-slide>
|
||||
|
||||
<swiper-slide>
|
||||
<a href="#" target="_blank">
|
||||
<picture>
|
||||
<source
|
||||
media="(max-width: 768px)"
|
||||
@ -31,9 +34,10 @@
|
||||
/>
|
||||
<img src="/images/banner/two.jpg" />
|
||||
</picture>
|
||||
</a>
|
||||
</swiper-slide>
|
||||
|
||||
<swiper-slide>
|
||||
<a href="#" target="_blank">
|
||||
<picture>
|
||||
<source
|
||||
media="(max-width: 768px)"
|
||||
@ -45,6 +49,7 @@
|
||||
/>
|
||||
<img src="/images/banner/three.jpg" />
|
||||
</picture>
|
||||
</a>
|
||||
</swiper-slide>
|
||||
|
||||
<!-- <swiper-slide>
|
||||
@ -1400,28 +1405,27 @@ export default {
|
||||
console.log(this.realIndex);
|
||||
console.log(this.realIndex);
|
||||
vm.indexacindex=this.realIndex;
|
||||
if (this.realIndex == 0) {
|
||||
console.log("0");
|
||||
// window.location.href ='https://blog.csdn.net/smallnetvisitor/article/details/84817905';
|
||||
|
||||
|
||||
} else if (this.realIndex == 1) {
|
||||
// window.location.href ='https://blog.csdn.net/smallnetvisitor/article/details/84817905';
|
||||
console.log("1");
|
||||
} else if (this.realIndex == 2) {
|
||||
// if (this.realIndex == 0) {
|
||||
// console.log("0");
|
||||
// // window.location.href ='https://blog.csdn.net/smallnetvisitor/article/details/84817905';
|
||||
// } else if (this.realIndex == 1) {
|
||||
// // window.location.href ='https://blog.csdn.net/smallnetvisitor/article/details/84817905';
|
||||
// console.log("1");
|
||||
// }
|
||||
if (this.realIndex == 2) {
|
||||
console.log(vm.userdata.data.id)
|
||||
setTimeout(() => {
|
||||
var option = {
|
||||
customer: {
|
||||
id: "",
|
||||
name: "",
|
||||
email: "",
|
||||
mobile: "",
|
||||
memberId: vm.userdata.data.id,
|
||||
},
|
||||
};
|
||||
dis_livchat(option);
|
||||
}, 500);
|
||||
// setTimeout(() => {
|
||||
// var option = {
|
||||
// customer: {
|
||||
// id: "",
|
||||
// name: "",
|
||||
// email: "",
|
||||
// mobile: "",
|
||||
// memberId: vm.userdata.data.id,
|
||||
// },
|
||||
// };
|
||||
// dis_livchat(option);
|
||||
// }, 500);
|
||||
|
||||
}
|
||||
},
|
||||
@ -1516,6 +1520,21 @@ export default {
|
||||
window.removeEventListener("scroll", this.scrollToTop);
|
||||
},
|
||||
methods: {
|
||||
diaoqi(){
|
||||
console.log('----');
|
||||
setTimeout(() => {
|
||||
var option = {
|
||||
customer: {
|
||||
id: "",
|
||||
name: "",
|
||||
email: "",
|
||||
mobile: "",
|
||||
memberId: vm.userdata.data.id,
|
||||
},
|
||||
};
|
||||
dis_livchat(option);
|
||||
}, 500);
|
||||
},
|
||||
...mapMutations(["checkIsLogin"]),
|
||||
playMobileVideo(item) {
|
||||
let videoPath = item.video;
|
||||
|
Loading…
Reference in New Issue
Block a user