首页 技术 正文
技术 2022年11月18日
0 收藏 685 点赞 3,081 浏览 4564 个字

样式:

@media (max-width: 768px) {
.table-supplier {
width: 100%;
height: 100%;
margin-bottom: 12.75px;
overflow-y: hidden;
overflow-x: scroll;
-ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid #dddddd;
-webkit-overflow-scrolling: touch;
}
.table-supplier > .table {
margin-bottom: 0;
}
.table-supplier > .table > thead > tr > th,
.table-supplier > .table > tbody > tr > th,
.table-supplier > .table > tfoot > tr > th,
.table-supplier > .table > thead > tr > td,
.table-supplier > .table > tbody > tr > td,
.table-supplier > .table > tfoot > tr > td {
white-space: nowrap;
}
.table-supplier > .table-bordered {
border: 0;
}
.table-supplier > .table-bordered > thead > tr > th:first-child,
.table-supplier > .table-bordered > tbody > tr > th:first-child,
.table-supplier > .table-bordered > tfoot > tr > th:first-child,
.table-supplier > .table-bordered > thead > tr > td:first-child,
.table-supplier > .table-bordered > tbody > tr > td:first-child,
.table-supplier > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
.table-supplier > .table-bordered > thead > tr > th:last-child,
.table-supplier > .table-bordered > tbody > tr > th:last-child,
.table-supplier > .table-bordered > tfoot > tr > th:last-child,
.table-supplier > .table-bordered > thead > tr > td:last-child,
.table-supplier > .table-bordered > tbody > tr > td:last-child,
.table-supplier > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
.table-supplier > .table-bordered > tbody > tr:last-child > th,
.table-supplier > .table-bordered > tfoot > tr:last-child > th,
.table-supplier > .table-bordered > tbody > tr:last-child > td,
.table-supplier > .table-bordered > tfoot > tr:last-child > td {
border-bottom: 0;
}
}
/*开始*/
@media (min-width: 980px) {
.table-supplier {
width: 100%;
height: 100%;
margin-bottom: 12.75px;
overflow-y: hidden;
overflow-x: scroll;
-ms-overflow-style: -ms-autohiding-scrollbar;
border: 1px solid #dddddd;
-webkit-overflow-scrolling: touch;
}
.table-supplier > .table {
margin-bottom: 0;
}
.table-supplier > .table > thead > tr > th,
.table-supplier > .table > tbody > tr > th,
.table-supplier > .table > tfoot > tr > th,
.table-supplier > .table > thead > tr > td,
.table-supplier > .table > tbody > tr > td,
.table-supplier > .table > tfoot > tr > td {
white-space: nowrap;
}
.table-supplier > .table-bordered {
border: 0;
}
.table-supplier > .table-bordered > thead > tr > th:first-child,
.table-supplier > .table-bordered > tbody > tr > th:first-child,
.table-supplier > .table-bordered > tfoot > tr > th:first-child,
.table-supplier > .table-bordered > thead > tr > td:first-child,
.table-supplier > .table-bordered > tbody > tr > td:first-child,
.table-supplier > .table-bordered > tfoot > tr > td:first-child {
border-left: 0;
}
.table-supplier > .table-bordered > thead > tr > th:last-child,
.table-supplier > .table-bordered > tbody > tr > th:last-child,
.table-supplier > .table-bordered > tfoot > tr > th:last-child,
.table-supplier > .table-bordered > thead > tr > td:last-child,
.table-supplier > .table-bordered > tbody > tr > td:last-child,
.table-supplier > .table-bordered > tfoot > tr > td:last-child {
border-right: 0;
}
.table-supplier > .table-bordered > tbody > tr:last-child > th,
.table-supplier > .table-bordered > tfoot > tr:last-child > th,
.table-supplier > .table-bordered > tbody > tr:last-child > td,
.table-supplier > .table-bordered > tfoot > tr:last-child > td {
border-bottom: 0;
}
}

html:

<div class=”table-supplier” style=”overflow:auto;”>
<table class=”table table-condensed” id=”J_table_list”>
<thead>
<tr>
<th>车辆ID(VIN)</th>
<th>类型数</th>
<th>类型说明</th>
<th>过程结果</th>
<th>设备名称</th>
<th>粗真空</th>
<th>粗真空时间</th>
<th>高真空</th>
<th>高真空时间</th>
<th>真空泄露测试设定值</th>
<th>真空测试名义时间</th>
<th>后真空额定值</th>
<th>后真空额定时间</th>
<th>额定加注压力1</th>
<th>加注压力1额定时间</th>
<th>额定加注压力2</th>
<th>加注压力2额定时间</th>
<th>加注压力泄露测试设定值</th>
<th>加注压力泄露测试时间</th>
<th>加注量设定值</th>
<th>不加空气的回吸设定值</th>
<th>不加空气的回吸时间设定值</th>
<th>加空气的回吸设定值</th>
<th>加空气的回吸时间设定值</th>
<th>压力平衡设定值</th>
<th>压力平衡名义时间</th>
<th>等级</th>
<th>日期</th>
<th>时间</th>
<th>操作</th>
</tr>
</thead>
<tbody>
@foreach (var m in Model.Radiator_Results)
{
<tr>
<td>@m.VIN</td>
<td>@m.TypeNumber</td>
<td>@m.TypeDescription</td>
<td>@m.ProcessResult</td>
<td>@m.EquipmentName</td>
<td>@m.CoarseVacuum_mbar</td>
<td>@m.CoarseVacuumTime_s</td>
<td>@m.FineVacuum_mbar</td>
<td>@m.FineVacuumTime_s</td>
<td>@m.VacuumLeakTest_mbar</td>
<td>@m.VacuumLeakTestTime_s</td>
<td>@m.PostVacuum_mbar</td>
<td>@m.PostVacuumTime_s</td>
<td>@m.FillingPressure1_mbar</td>
<td>@m.FillingPressure1Time_s</td>
<td>@m.FillingPressure2_mbar</td>
<td>@m.FillingPressure2Time_s</td>
<td>@m.FillingPressureLeakTest_mbar</td>
<td>@m.FillingPressureLeakTestTime_s</td>
<td>@m.FillingVolume_ml</td>
<td>@m.TopOffWithoutVentilate_mbar</td>
<td>@m.TopOffWithoutVentilateTime_s</td>
<td>@m.TopOffVentilate_mbar</td>
<td>@m.TopOffVentilateTime_s</td>
<td>@m.PressureBalance_mbar</td>
<td>@m.PressureBalanceTime_s</td>
<td>@m.Grades</td>
<td>@m.Date</td>
<td>@m.Time</td>
<td>
<a class=”edit” href=”javascript:;”>Edit</a>
<a class=”delete” href=”javascript:;”>Delete</a>
</td>
</tr>
}
</tbody>
</table>
</div>

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,088
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,564
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,413
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,186
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,822
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,905