webUi
赵桐华 5 years ago
parent 2ce3a95642
commit 62849f2061
  1. 7
      frontend/web/assets/js/model.js

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

Loading…
Cancel
Save