webUi
赵桐华 5 years ago
parent 51c4f98607
commit 2ce3a95642
  1. 5
      frontend/web/assets/js/model.js

@ -10,11 +10,12 @@ $(function(){
$(".model-bg").each(function (i) { $(".model-bg").each(function (i) {
var _that=$(this); var _that=$(this);
$.each(arr,function (index) { $.each(arr,function (key,value) {
_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); console.log(key);
console.log(value);
// $('#side-menu .av').eq(index).addClass('boo'); // $('#side-menu .av').eq(index).addClass('boo');
}); });
_that.find(".Previous").click(function () { _that.find(".Previous").click(function () {

Loading…
Cancel
Save