@using MySystem.Models; @{ActivityInfo editData = ViewBag.data as ActivityInfo;} @{ string RightInfo = ViewBag.RightInfo as string; string right = ViewBag.right as string; } 活动信息(修改)
  • 基本信息
@{Dictionary KqProductBrandDic = new MySystem.DictionaryClass().getKqProductBrandDic();}
@{string KqProductBrandJson = "[";} @foreach (string key in KqProductBrandDic.Keys) { KqProductBrandJson += "{\"value\": \"" + key + "\", \"title\": \"" + KqProductBrandDic[key] + "\" },"; } @{KqProductBrandJson = KqProductBrandJson.TrimEnd(','); KqProductBrandJson += "]";}
@(new MySystem.PublicFunction().GetUploadHint("ActivityInfoActBanner"))
@if (!string.IsNullOrEmpty(editData.ActBanner)) { }