123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- @using M55128_rec.Models.ViewModels.GallerMangerModel
- @model Tuple<List<HotMenuModel>, List<ImageMenuInfoModel>, string>
- @if (Model.Item3 == "1")
- {
- if (Model.Item1!= null && Model.Item1.Count > 0)
- {
- <div class="tuku-area">
- <div class="tuku-area-item area-selected">
- <span>@Model.Item1[0].ItemName</span>
- </div>
- @for (int i = 1; i < Model.Item1.Count; i++)
- {
- <div class="tuku-area-item">
- <span>@Model.Item1[i].ItemName</span>
- </div>
- }
- </div>
- }
- if (Model.Item2 != null)
- {
- <ul class="tuku-list-wrapper row">
- @if (ViewBag.p == 1)
- {
- <input type="hidden" id="totalpage" value="@ViewBag.totalp" />
- }
- @foreach (ImageMenuInfoModel subitem in Model.Item2)
- {
- <li class="tuku-list border-1px col-xs-12 col-sm-8 col-md-6 col-lg-4">
- <a @(subitem.HasImage == 1 ? "href="+ ViewBag.qs + "_"+subitem.AreaCode+subitem.PK+".html" : "style=color:rgba(0,0,0,0.4);")>
- @(subitem.AreaCode)@(subitem.GalleryNumber < 10 ? "0" + subitem.GalleryNumber.ToString() : subitem.GalleryNumber.ToString()) @subitem.GalleryName
- </a>
- </li>
- }
- </ul>
- }
- }
- else if (Model.Item2 != null)
- {
- if (ViewBag.p == 1)
- {
- <input type="hidden" id="totalpage" value="@ViewBag.totalp" />
- }
- foreach (ImageMenuInfoModel subitem in Model.Item2)
- {
- <li class="tuku-list border-1px col-xs-12 col-sm-8 col-md-6 col-lg-4">
- <a @(subitem.HasImage == 1 ? "href="+ ViewBag.qs + "_"+subitem.AreaCode+subitem.PK+".html" : "style=color:rgba(0,0,0,0.4);")>
- @(subitem.AreaCode)@(subitem.GalleryNumber < 10 ? "0" + subitem.GalleryNumber.ToString() : subitem.GalleryNumber.ToString()) @subitem.GalleryName
- </a>
- </li>
- }
-
- }
|