openModalLogin: function (event){
event.preventDefault();
var view = this;
this.modalLogin = new Views.Modal_Login({
el: "#modal_login",
model : view.model
});
this.modalRegister = new Views.Modal_Register({
el: "#modal_register",
model : view.model
});
this.modalLogin.openModal();
$('.open-register-modal').click(function(modalLogin){
view.modalLogin.closeModal();
view.modalRegister = new Views.Modal_Register({
el: "#modal_register",
model : view.model
});
view.modalRegister.openModal();
});
},
首先将打开登录模式,它包含一个按钮,该按钮将关闭登录模式并打开寄存器模式,但是当它打开时,我无法滚动它。并在后台完成滚动操作。