Commit ae6c0c7d by lmf

优化轮播图路径

parent 7055bca6
......@@ -203,9 +203,9 @@
}
}
var img_arr = ["/media/wysiwyg/202210281.png", "/media/wysiwyg/202210282.png"];
var img_arr = ["/media/carousel/pc/1.jpg", "/media/carousel/pc/2.jpg"];
if (isMobile()) {
img_arr = ["/media/wysiwyg/202210281-m.png", "/media/wysiwyg/202210282-m.png"];
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