Web/Views/YT/List.cshtml

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

@model List<Conris.DBA.Model.YT>


    <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.Str3</td>
        <td>@item.Time</td>
            <td>@item.Str2.Split('$')[3]</td>
            <td>@item.Str2.Split('$')[4]</td>
             <td>@item.Str2.Split('$')[0]</td>
           
              <td>@item.Str2.Split('$')[1]</td>
             <td>@item.Str2.Split('$')[2]</td>
           
             <td style="color:red;">@item.State</td>
           
        <td>
            @*<a href="/YT/Create?ID=@item.ID"   >修改</a> *@
            @if (item.Str1 == @Conris.Services.UserInfoService.GetNowUserID() && item.State == "已提交")
            {
                 <a href="/JY/Create?YTID=@item.ID"   >转为待支付订单</a> 
            }
            
            @if (item.State != "合同生效")
            {
                <a href="#" onclick="Del(@item.ID)"   >删除</a> 
            }
            
           
        </td>
        </tr>    
            }
} 
        </tbody>
    </table>
    
后面还有 4 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。