Commit c2496957 authored by zhengke's avatar zhengke

2

parent fcdad8e6
 
<style>
.dataListDiv {
width:260px;
height:auto;
float:left;
border-right:1px solid #ddd;
border-bottom:1px solid #ddd;
}
.dataDarstr {
width: 100%;
height: 28px;
background-color: #DDDDDD;
line-height:28px;
text-align: center;
}
.dataInfoList {
width:100%;
height:150px;
padding:10px;
overflow-y:auto;
}
.dataListP {
margin-bottom:10px;
padding-bottom:10px;
border-bottom:1px dashed #d1d1d1;
}
.dataListP:last-child {
border-bottom:0;
}
#MonthDiv {
border-left:1px solid #ddd;
}
</style>
@{ @{
Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml"; Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
ViewBag.Title = "剧场管理-场次月度看板"; ViewBag.Title = "剧场管理-场次月度看板";
...@@ -17,7 +50,7 @@ ...@@ -17,7 +50,7 @@
<div class="tableTools-container"> <div class="tableTools-container">
@Html.Action("ListButtons", "AdminPermission", new { area="", menuactions = ViewBag.MenuActions, name = ViewBag.MenuController }) @Html.Action("ListButtons", "AdminPermission", new { area="", menuactions = ViewBag.MenuActions, name = ViewBag.MenuController })
</div> </div>
<div id="MonthDiv"> <div id="MonthDiv" class="clearfix">
</div> </div>
@section scripts{ @section scripts{
......
...@@ -3,19 +3,22 @@ ...@@ -3,19 +3,22 @@
@using Newtonsoft.Json.Linq; @using Newtonsoft.Json.Linq;
@model List<ScreeningMonthExtend> @model List<ScreeningMonthExtend>
@foreach (var item in Model) @foreach (var item in Model)
{ {
<div style="border-bottom: 1px solid #f1ebeb;margin-bottom:20px;"> <div class="dataListDiv" style="border-bottom: 1px solid #f1ebeb;">
<div style="color:darkgrey;margin-bottom:10px;">@item.DayStr</div> <div class="dataDarstr" style="color:#000000;">
<div style="margin-bottom:5px;"> <span class="dataDarstr">@item.DayStr</span><span class="dayWeek">(周三)</span>
</div>
<div class="dataInfoList">
@foreach (var item2 in item.List) @foreach (var item2 in item.List)
{ {
<p> <div class="dataListP">
<span style="margin-left:10px;color:#808080;">剧场名称:</span> <span>@item2.TheaterName</span> <div>剧场名称:@item2.TheaterName</div>
<span style="margin-left:10px;color:#808080;">场次名称:</span> <span>@item2.Name</span> <div>场次名称:@item2.Name</div>
<span style="margin-left:10px;color:#808080;">开场时间:</span> <span>@item2.StartTime.ToString("HH:mm")</span> <div>开场时间:@item2.StartTime.ToString("HH:mm")</div>
<span style="margin-left:10px;color:#808080;">购买数量:</span><span>@item2.BuyCount</span>张 <div>购买数量:@item2.BuyCount <span>张</span></div>
</p> </div>
} }
</div> </div>
......
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