Backup/Parking/Views/Bicycle/TList.cshtml
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
@model MVC.PagedList<DBA.Model.Bicycle>
@using MVC
<table class="tablelist">
<thead>
<tr>
<th>序号<i class="sort"><img src="/Content/images/px.gif" /></i></th>
<th>租车场</th>
<th>车辆编号</th>
<th>区域</th>
<th>车辆类型</th>
<th>价格(元/月)</th>
<th>押金</th>
<th>联系电话</th>
<th>状态</th>
<th>操作</th>
</tr>
</thead>
<tbody>
@if (Model != null && Model.Count > 0)
{
int i = 0;
foreach (var item in Model)
{
i++;
<tr>
<td>@i</td>
<td>@item.ParkName</td>
<td>@item.Number</td>
<td>@item.Region</td>
<td>@item.LotType</td>
<td>@item.Price</td>
<td>@item.Deposit</td>
<td>@item.Phone</td>
@if (item.State=="未使用")
{
<td style="color:red;">@item.State</td>
}
else{
<td style="color:green;">@item.State</td>
}
<td>
@if (item.Str2 == DBA.BLL.Users.GetNowUserID() && (item.State == "已租车" || item.State == "已预约"))
{
<a href="#" onclick="ZF(@item.ID)" >退租</a>
}
@if (item.Str2!=DBA.BLL.Users.GetNowUserID()&&item.State=="未使用")
{
<a href="/Orders/TCreate?ID=@item.ID" >我要租车</a>
}
@if (item.Str2==DBA.BLL.Users.GetNowUserID()&&item.State=="未使用")
{
<a href="/Bicycle/Create?ID=@item.ID" >修改</a>
<a href="#" onclick="Del(@item.ID)" >删除</a>
}
后面还有 15 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。