webUi
赵桐华 5 years ago
parent 8f0f9a9987
commit 51c4f98607
  1. 4
      frontend/web/assets/js/model.js

@ -11,11 +11,11 @@ $(function(){
$(".model-bg").each(function (i) { $(".model-bg").each(function (i) {
var _that=$(this); var _that=$(this);
$.each(arr,function (index) { $.each(arr,function (index) {
console.log(index);
_that.find(".nextPage").click(function () { _that.find(".nextPage").click(function () {
_that.addClass("unchoose"); _that.addClass("unchoose");
$(".model-bg").eq(i+1).removeClass("unchoose"); $(".model-bg").eq(i+1).removeClass("unchoose");
console.log(index);
// $('#side-menu .av').eq(index).addClass('boo');
}); });
_that.find(".Previous").click(function () { _that.find(".Previous").click(function () {
_that.addClass("unchoose"); _that.addClass("unchoose");

Loading…
Cancel
Save