<img src="img/fangda.png" class="fangda pos-ab btn_link">
var btn_index = 0
$(".btn_link").click(function(){
if(btn_index == 0){
console.log('img/big2.png');
// $(".iframe").attr("src", "https://720yun.com/t/6evkbeil089#scene_id=88514234");
$(".btn_link").attr("data-val","0");
$(".slide1 .big1").attr("src","img/big2.png")
// console.log($(".btn_link").attr("data-val"));
}
if(btn_index == 1){
console.log('img/big1.png');
$(".btn_link").attr("data-val","1");
$(".slide2 .big1").attr("src","img/big1.png")
// console.log($(".btn_link").attr("data-val"));
}
if(btn_index == 2){
// console.log('跳转璟苑');
console.log('img/big3.png');
$(".btn_link").attr("data-val","2");
$(".slide3 .big1").attr("src","img/big3.png")
// console.log($(".btn_link").attr("data-val"));
}if(btn_index == 3){
// console.log('跳转逸苑');
console.log('img/big4.png');
$(".btn_link").attr("data-val","3");
$(".slide4 .big1").attr("src","img/big4.png")
// console.log($(".btn_link").attr("data-val"));
}if(btn_index == 4){
// console.log('跳转雅苑');
console.log('img/big5.png');
$(".btn_link").attr("data-val","4");
$(".slide5 .big1").attr("src","img/big5.png")
// console.log($(".btn_link").attr("data-val"));
}if(btn_index == 5){
// console.log('跳转宽境');
console.log('img/big6.png');
$(".btn_link").attr("data-val","5");
$(".slide6 .big1").attr("src","img/big6.png")
// console.log($(".btn_link").attr("data-val"));
}
// console.log(btn_index);
})
01-17
1499
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)