table超过30个字段如何处理呢? bootstrap
样式:
@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的更多相关文章
- 1026. Table Tennis (30)
题目如下: A table tennis club has N tables available to the public. The tables are numbered from 1 to N. ...
- PAT 甲级 1026 Table Tennis (30 分)(坑点很多,逻辑较复杂,做了1天)
1026 Table Tennis (30 分) A table tennis club has N tables available to the public. The tables are ...
- 30 个惊艳的 Bootstrap 扩展插件
Bootstrap 是快速开发Web应用程序的前端工具包.它是一个CSS和HTML的集合,它使用了最新的浏览器技术,给你的Web开发提供了时尚的版式,表单,buttons,表格,网格系统等等. Boo ...
- ecshop运行超过30秒超时的限制解决办法
ecshop运行超过30秒超时的限制解决办法 ECSHOP模板/ecshop开发中心(www.68ecshop.com) / 2014-06-04 ecshop运行超过服务器默认的设置30秒的限制时会 ...
- 自动删除超过30天文件的vbs脚本【转发】
利用代码制作自动删除超过30天的文件及文件夹的vbs脚本,定期清理文件夹中长时间无用文件. 1.首先在新建一个文本文档,粘贴代码(代码可通过添加微信公众号vbs_edit(VBS脚本之家)回复018获 ...
- WdatePicker文本框显示当前日期和时间限制<My97DatePicker两个日期范围不超过30天,第一个小于第二个,都不大于当前日期 >
My97DatePicker是很不错的一个日期选择插件,体积只有几十k但是功能非常强大.官网:http://www.my97.net/ 能满足很多苛刻的要求. WdatePicker文本框显示当前日期 ...
- easyui 时间段校验,开始时间小于结束时间,并且时间间隔不能超过30天
//对easyui datetimebox的验证,开始时间要小于结束时间function validateDateTime(beginTimeId,endTimeId,whichTimeId){ co ...
- My97DatePicker选择两个日期范围不超过30天的demo
需求 ExtJs下使用My97DatePicker对时间范围不超过30天进行选择. 关键点 使用全局变量. 对选择完的第一个日期进行逻辑判断.(我的逻辑能力还有待加强啊) 因为当选择了第一个框范围在超 ...
- vue 用户停留页面超过30分钟未操作 强制退出到登录页面
先说下主要实现思路,通过给你的根节点绑定mouseover事件,首先声明下当前时间,每次滑过时记录下滑过的时间,两个时间转化成毫秒数,进行对比,如果超过30分钟,则清除token,跳转到login.h ...
随机推荐
- 很强的PHP图片处理类
/*** 基本图片处理,用于完成图片缩入,水印添加* 当水印图超过目标图片尺寸时,水印图能自动适应目标图片而缩小* 水印图可以设置跟背景的合并度** Copyright(c) 2005 by ustb ...
- HTML&CSS基础学习笔记1.7-高亮文本及组合使用
HTML提供了<mark>标签可以让你的文本高亮,这样看起来更加醒目.<mark>标签内的文本会呈现特殊的样式,它和<em>,<strong>一样也是一 ...
- ucos_ii 上锁函数OSSchedLock()函数透析
因为任务调度时一般都是通过OSTIMEDLY()来实现.在这个函数中会对当前的任务执行挂起.同时查看任务调度表中是否有优先级合适的就绪任务.如果当前任务运行时调用OSSchedLock()给调度器上锁 ...
- iOS 第三方 需要 引用的库
================================================== AFNetWorking 是基于 nsurlconnection 所以不需要引入库 === ...
- 工程和界面—Webstorm入门指南 Webstorm中的工程-备
1.新建工程 “Quick Start”界面新建工程: 也可以点击顶部菜单栏“File”-> “New Project”. 弹出如下界面: “Location”指向想要创建的工程目录(如果该目录 ...
- ubuntu 下GIT的安装
linux下软件的安装方式有多种,最简单的莫过于从软件中心直接安装了或者用命令行直接安装 sudo apt-get install git 但是这样的安装却使我们体会不到最新版本的功能,如果我们想要体 ...
- 通过设计让APP变快的6个方法
我们都知道不管网页还是移动应用,响应速度都是最重要的体验指标之一,并且移动应用的网络环境不稳定,速度的体验显得尤为重要.其实速度优化不仅是程序员的事,设计,也能够让APP变得更快. 1. 后台执行 这 ...
- javascript 中ASCII字符值转换
char-->ascii var a = "123"; a.charAt(1).charCodeAt();ascii-->char String.fro ...
- 响应头location 页面跳转
登陆:http://192.168.32.161/DEVOPS/index.php/Index/do_login Cache-Control no-store, no-cache, must-reva ...
- hdu2769:枚举+同余方程
题意:有一个随机数生成器 x[i+1]=(a*x[i]+b)%10001 已知 x1,x3,x5...求 x2,x4,x6...... x的个数为 2n (n<=10000) a,b也在 0 ...