样式:

@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>

table超过30个字段如何处理呢? bootstrap的更多相关文章

  1. 1026. Table Tennis (30)

    题目如下: A table tennis club has N tables available to the public. The tables are numbered from 1 to N. ...

  2. PAT 甲级 1026 Table Tennis (30 分)(坑点很多,逻辑较复杂,做了1天)

    1026 Table Tennis (30 分)   A table tennis club has N tables available to the public. The tables are ...

  3. 30 个惊艳的 Bootstrap 扩展插件

    Bootstrap 是快速开发Web应用程序的前端工具包.它是一个CSS和HTML的集合,它使用了最新的浏览器技术,给你的Web开发提供了时尚的版式,表单,buttons,表格,网格系统等等. Boo ...

  4. ecshop运行超过30秒超时的限制解决办法

    ecshop运行超过30秒超时的限制解决办法 ECSHOP模板/ecshop开发中心(www.68ecshop.com) / 2014-06-04 ecshop运行超过服务器默认的设置30秒的限制时会 ...

  5. 自动删除超过30天文件的vbs脚本【转发】

    利用代码制作自动删除超过30天的文件及文件夹的vbs脚本,定期清理文件夹中长时间无用文件. 1.首先在新建一个文本文档,粘贴代码(代码可通过添加微信公众号vbs_edit(VBS脚本之家)回复018获 ...

  6. WdatePicker文本框显示当前日期和时间限制<My97DatePicker两个日期范围不超过30天,第一个小于第二个,都不大于当前日期 >

    My97DatePicker是很不错的一个日期选择插件,体积只有几十k但是功能非常强大.官网:http://www.my97.net/ 能满足很多苛刻的要求. WdatePicker文本框显示当前日期 ...

  7. easyui 时间段校验,开始时间小于结束时间,并且时间间隔不能超过30天

    //对easyui datetimebox的验证,开始时间要小于结束时间function validateDateTime(beginTimeId,endTimeId,whichTimeId){ co ...

  8. My97DatePicker选择两个日期范围不超过30天的demo

    需求 ExtJs下使用My97DatePicker对时间范围不超过30天进行选择. 关键点 使用全局变量. 对选择完的第一个日期进行逻辑判断.(我的逻辑能力还有待加强啊) 因为当选择了第一个框范围在超 ...

  9. vue 用户停留页面超过30分钟未操作 强制退出到登录页面

    先说下主要实现思路,通过给你的根节点绑定mouseover事件,首先声明下当前时间,每次滑过时记录下滑过的时间,两个时间转化成毫秒数,进行对比,如果超过30分钟,则清除token,跳转到login.h ...

随机推荐

  1. 闭包中的 this 对象

    关于this对象 在闭包中使用this对象也可能会导致一些问题.this对象是在运行时基于函数的执行环境绑定的:在全局函数中,this等于window, function createFunction ...

  2. HC-05蓝牙模块基本使用

    1.进入AT模式 EN输入高电平+按住按键不放,然后上电,进入AT模式,不过AT指令只能输入一次,下次再输入AT需要重新进入 2.串口波特率设为38400,进行AT模式下的指令操作 3.基本AT指令 ...

  3. Selinux 禁用

    Selinux是对于强制访问控制的实现,在这种访问控制体系的限制下,进程只能访问那些在他的任务中所需要文件. 对于新手来说会影响我们的操作.一般情况下是不需要的,所以禁用他,如果需要的情况下,我们可以 ...

  4. 关于ubuntu 系统

    1. ubuntu怎么卸载自带的软件中心?sudo apt-get remove software-center 2. 重新安装ubuntu软件中心!sudo apt-get install --re ...

  5. C语言初学 俩数相除问题

    #include<stdio.h> #include<stdlib.h> main() { double a,b;                       scanf(&q ...

  6. CSAPP--虚拟存储器

    虚拟存储器 虚拟存储器(VM)是对主存的一种抽象概念.是硬件一场,硬件地址翻译,贮存,磁盘文件和内核软件的完美交互.他为每个进程提供了一个大的,一致的和私有的地址空间. 它将贮存堪称一个存储在磁盘上的 ...

  7. Reshaper 快捷键

    配置单个键盘快捷键 1.在主菜单上,选择Tools | Options 2.在导航视图中选择Environment | Keyboard 3.在命令列表中,选择启动ReSharper的命令名称.浏览列 ...

  8. Hibernate学习笔记--Hibernate框架错误集合及解决

    错误1:MappingException: Unknown entity解决方案 http://jingyan.baidu.com/article/e75aca8552761b142edac6cf.h ...

  9. IOS 客户端测试入门.pdf

    IOS 客户端测试入门  http://www.open-open.com/doc/view/42d1257bf67946f595e843bfdbdfeabf

  10. UITableView常用属性和方法 - 永不退缩的小白菜

    UITableView常用属性和方法 - 永不退缩的小白菜 时间 2014-05-27 01:21:00  博客园精华区原文  http://www.cnblogs.com/zhaofucheng11 ...