Commit 4cf86cc9 by lmf

优化首页轮播图路径

parent 0f23b148
......@@ -203,9 +203,9 @@
}
}
var img_arr = ["https://media.joshine.com/carousel/pc/1.jpg", "https://media.joshine.com/carousel/pc/2.jpg"];
var img_arr = ["/media/carousel/pc/1.jpg", "/media/carousel/pc/2.jpg"];
if (isMobile()) {
img_arr = ["https://media.joshine.com/carousel/mobile/1.jpg", "https://media.joshine.com/carousel/mobile/2.jpg"];
img_arr = ["/media/carousel/mobile/1.jpg", "/media/carousel/mobile/2.jpg"];
}
$(".banner1").banner({
img: img_arr,
......
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