@model COMCMS.Core.Product @{ ViewBag.title = "编辑商品详情"; Admin my = Admin.GetMyInfo(); List aclist = new List(); if (my.Roles.IsSuperAdmin != 1 && !string.IsNullOrEmpty(my.Roles.AuthorizedCagegory)) { aclist = Newtonsoft.Json.JsonConvert.DeserializeObject>(my.Roles.AuthorizedCagegory); } }
@ViewBag.title
@using (Html.BeginForm(null, null, FormMethod.Post, new { id = "editProductForm", @class = "form-horizontal m-t" })) {
@*
*@
@*
*@
@*
*@
@if (!string.IsNullOrEmpty(Model.ItemImg)) { string[] arrimg = Model.ItemImg.Split(new string[] { "|||" }, StringSplitOptions.None); int i = 1; foreach (string s in arrimg) { if (!string.IsNullOrEmpty(s) && COMCMS.Common.Utils.IsImgFilename(s)) {
@if (!string.IsNullOrEmpty(s)) { } else { }
i++; } } }
}