Commit c80d1a00 authored by 黄奎's avatar 黄奎

新增是否显示标题字段

parent c7affdb4
......@@ -109,8 +109,13 @@ namespace Mall.Model.Entity.MarketingCenter
public int IsSchoolHomePage { get; set; }
/// <summary>
/// 是否显示底部导航
/// 是否显示底部导航(是否显示底部导航栏(1-显示)
/// </summary>
public int IsShowBottomTabBar { get; set; }
/// <summary>
/// 是否不显示标题(1-不显示,0-显示)
/// </summary>
public int IsNoShowTitle { get; set; }
}
}
......@@ -115,6 +115,7 @@ namespace Mall.Module.MarketingCenter
fileds.Add(nameof(RB_Miniprogram_Page_Templ_Extend.IsShowNav), extModel.IsShowNav);
fileds.Add(nameof(RB_Miniprogram_Page_Templ_Extend.IsHome), extModel.IsHome);
fileds.Add(nameof(RB_Miniprogram_Page_Templ_Extend.IsShowBottomTabBar), extModel.IsShowBottomTabBar);
fileds.Add(nameof(RB_Miniprogram_Page_Templ_Extend.IsNoShowTitle), extModel.IsNoShowTitle);
flag = pageRepository.Update(fileds, new WhereHelper(nameof(RB_Miniprogram_Page_Templ_Extend.Id), extModel.Id));
}
else
......
......@@ -200,6 +200,7 @@ namespace Mall.WebApi.Controllers.MallBase
show_navs = targetPage.IsShowNav,
is_home_page = targetPage.IsHome,
is_show_bottom_nav=targetPage.IsShowBottomTabBar,
is_noshow_title = targetPage.IsNoShowTitle == 1,
navs = list
};
}
......@@ -275,6 +276,7 @@ namespace Mall.WebApi.Controllers.MallBase
show_navs = selfHomePage.IsShowNav,
is_home_page = selfHomePage.IsHome,
is_show_bottom_nav = selfHomePage.IsShowBottomTabBar,
is_noshow_title = selfHomePage.IsNoShowTitle==1,
navs = list
};
}
......@@ -292,6 +294,7 @@ namespace Mall.WebApi.Controllers.MallBase
title = miniProgram.MallName,
show_navs = 0,
is_home_page = 0,
is_noshow_title = false,
navs = list
};
}
......@@ -305,6 +308,7 @@ namespace Mall.WebApi.Controllers.MallBase
show_navs = 1,
is_home_page = 1,
is_show_bottom_nav = 1,
is_noshow_title = false,
navs = list
};
}
......
......@@ -181,6 +181,7 @@ namespace Mall.WebApi.Controllers.MarketingCenter
IsUse = parms.GetInt("IsUse"),
IsShowNav = parms.GetInt("IsShowNav"),
IsShowBottomTabBar = parms.GetInt("IsShowBottomTabBar"),
IsNoShowTitle = parms.GetInt("IsNoShowTitle"),
DetailsList = new List<RB_Miniprogram_Page_Templ_Details_Extend>(),
};
string detailsListStr = parms.GetStringValue("DetailsList");
......
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