/// <summary> /// 主题设置 /// </summary> private void setTheme() { Himall.DTO.Theme vmTheme = ThemeApplication.getTheme(); ViewBag.TypeId = vmTheme.TypeId; ViewBag.WritingColor = vmTheme.WritingColor; ViewBag.SecondaryColor = vmTheme.SecondaryColor; ViewBag.MainColor = vmTheme.MainColor; ViewBag.FrameColor = vmTheme.FrameColor; ViewBag.ClassifiedsColor = vmTheme.ClassifiedsColor; }
public ActionResult OrderTopBarCss() { Himall.DTO.Theme vmTheme = ThemeApplication.getTheme(); return(PartialView("_OrderTopBarCss", vmTheme)); }
public ActionResult UserCenterCss() { Himall.DTO.Theme vmTheme = ThemeApplication.getTheme(); return(PartialView("_UserCenterCss", vmTheme)); }
public ActionResult SetTheme() { return(View(ThemeApplication.getTheme())); }