Commit 5cd77b00 authored by agping's avatar agping

修改

parent 6b55b4f1
......@@ -248,6 +248,7 @@ define(['doT', 'text!temp/house_template_tpl.html', 'css!style/home.css', 'ckfin
business.detailTabIndex = _this.index();
$('.detail-modal-body-sec:nth-of-type('+(business.detailTabIndex+1)+')').show().siblings().hide();
if(business.detailTabIndex == 1){
checkLogin();
$('.iframe-shop-detail').attr('src', '/app_broker/shop_detail_pc?shop_id='+business.id);
}else if(business.detailTabIndex == 0){
checkLogin();
......
......@@ -51,18 +51,6 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
$("#reset").click(function () {
document.getElementById("form_search").reset();
});
/* $("#close").click(function () {
document.getElementById("add_user_form").reset();
$(".user-ul").empty();
});
$(".close").click(function(){
document.getElementById("add_user_form").reset();
$(".user-ul").empty();
});*/
$("#confirm_delete").click(function(){
var params = {};
params.id = user.announcementdel_id;
......@@ -82,7 +70,6 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
document.getElementById("add_user_form").reset();
});
// ===========================新增文章====================
$ (document).delegate ("#add_news", "click", function () {//新增文章
user.user_id = $ (this).attr ("data-id");
user.add_news();
......
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