You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
224 lines
4.7 KiB
224 lines
4.7 KiB
.table-view {
|
|
background: #fff;
|
|
.table-title {
|
|
padding: 40rpx 0 40rpx 30rpx;
|
|
font-size: 30rpx;
|
|
font-family: Source Han Serif SC;
|
|
font-weight: bold;
|
|
color: #333333;
|
|
line-height: 1;
|
|
}
|
|
}
|
|
.table-row {
|
|
position: relative;
|
|
width: 100%;
|
|
padding: 0 20rpx;
|
|
// overflow-x: auto;
|
|
.table-header {
|
|
display: table;
|
|
// width: 100%;
|
|
height: 64rpx;
|
|
background: #f7f7f7;
|
|
.table-header-item {
|
|
display: table-cell;
|
|
// flex: 1;
|
|
box-sizing: border-box;
|
|
width: 120rpx;
|
|
font-size: 26rpx;
|
|
font-family: Source Han Serif SC;
|
|
font-weight: 500;
|
|
color: #333333;
|
|
text-align: center;
|
|
line-height: 64rpx;
|
|
&2 {
|
|
color: #e60000;
|
|
background: #fff5f5;
|
|
}
|
|
&3 {
|
|
color: #f67f45;
|
|
background: #fff5f0;
|
|
}
|
|
&4 {
|
|
color: #3bca72;
|
|
background: #edfff4;
|
|
}
|
|
&5 {
|
|
color: #0c8ab0;
|
|
background: #eefbff;
|
|
}
|
|
&6 {
|
|
color: #5DCA3B;
|
|
background: #F2FFEE;
|
|
}
|
|
&7 {
|
|
color: #1F27C1;
|
|
background: #F3F4FF;
|
|
}
|
|
&8 {
|
|
color: #0c8ab0;
|
|
background: #eefbff;
|
|
}
|
|
|
|
}
|
|
.header-hidden {
|
|
visibility: hidden;
|
|
}
|
|
.table-header-item:nth-of-type(1) {
|
|
width: 90rpx;
|
|
}
|
|
.table-header-item:nth-of-type(2) {
|
|
width: 240rpx;
|
|
}
|
|
// .table-header-item:nth-of-type(3) {
|
|
// width: 98rpx;
|
|
// }
|
|
}
|
|
.table-short {
|
|
.table-header-item:nth-of-type(1) {
|
|
width: 120rpx;
|
|
}
|
|
.table-header-item:nth-of-type(2) {
|
|
width: 420rpx;
|
|
}
|
|
.table-header-item:nth-of-type(3) {
|
|
width: 160rpx;
|
|
}
|
|
}
|
|
.table-middle {
|
|
.table-header-item:nth-of-type(1) {
|
|
width: 90rpx;
|
|
}
|
|
.table-header-item:nth-of-type(2) {
|
|
width: 120rpx;
|
|
}
|
|
.table-header-item:nth-of-type(3) {
|
|
width: 400rpx;
|
|
}
|
|
.table-header-item:nth-of-type(4) {
|
|
width: 100rpx;
|
|
}
|
|
}
|
|
.position-table {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 310rpx;
|
|
padding-left: 20rpx;
|
|
overflow: hidden;
|
|
pointer-events: none;
|
|
// background: #fff;
|
|
}
|
|
}
|
|
.table-cell {
|
|
.table-col {
|
|
position: relative;
|
|
display: table;
|
|
// width: 100%;
|
|
// min-height: 80rpx;
|
|
box-sizing: border-box;
|
|
padding: 20rpx 0;
|
|
// line-height: 1;
|
|
border-bottom: 1rpx solid #E7EEEE;
|
|
background-color: #fff;
|
|
|
|
.table-cell-col {
|
|
position: relative;
|
|
display: table-cell;
|
|
box-sizing: border-box;
|
|
width: 120rpx;
|
|
font-size: 26rpx;
|
|
font-family: Source Han Serif SC;
|
|
font-weight: 500;
|
|
color: #333333;
|
|
text-align: center;
|
|
// line-height: 80rpx;
|
|
vertical-align: middle;
|
|
word-break: break-all;
|
|
image {
|
|
display: block;
|
|
width: 41rpx;
|
|
height: 38rpx;
|
|
box-sizing: border-box;
|
|
margin: 0 auto;
|
|
}
|
|
view {
|
|
// display: table-cell;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
.table-col-mine::after {
|
|
content: '我的';
|
|
position: absolute;
|
|
top: 8rpx;
|
|
right: -10rpx;
|
|
// width: 48rpx;
|
|
height: 24rpx;
|
|
padding: 0 8rpx;
|
|
font-size: 18rpx;
|
|
color: #fff;
|
|
text-align: center;
|
|
line-height: 24rpx;
|
|
background: #f7c13e;
|
|
border-radius: 16rpx 10rpx 16rpx 10rpx;
|
|
-webkit-border-radius: 16rpx 10rpx 16rpx 10rpx;
|
|
-moz-border-radius: 16rpx 10rpx 16rpx 10rpx;
|
|
-ms-border-radius: 16rpx 10rpx 16rpx 10rpx;
|
|
-o-border-radius: 16rpx 10rpx 16rpx 10rpx;
|
|
}
|
|
.header-hidden {
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
}
|
|
.col-click {
|
|
color: #0C4A9D;
|
|
text-decoration: underline;
|
|
}
|
|
.table-cell-col:nth-of-type(1) {
|
|
width: 90rpx;
|
|
}
|
|
.table-cell-col:nth-of-type(2) {
|
|
width: 240rpx;
|
|
}
|
|
// .table-cell-col:nth-of-type(3) {
|
|
// width: 98rpx;
|
|
// }
|
|
|
|
}
|
|
|
|
.table-col-on {
|
|
background: #FFF5F5;
|
|
}
|
|
.table-short {
|
|
.table-cell-col:nth-of-type(1) {
|
|
width: 120rpx;
|
|
}
|
|
.table-cell-col:nth-of-type(2) {
|
|
width: 420rpx;
|
|
}
|
|
.table-cell-col:nth-of-type(2) view {
|
|
width: 360rpx;
|
|
box-sizing: border-box;
|
|
margin: 0 auto;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
.table-cell-col:nth-of-type(3) {
|
|
width: 160rpx;
|
|
}
|
|
}
|
|
.table-middle {
|
|
.table-cell-col:nth-of-type(1) {
|
|
width: 90rpx;
|
|
}
|
|
.table-cell-col:nth-of-type(2) {
|
|
width: 120rpx;
|
|
}
|
|
.table-cell-col:nth-of-type(3) {
|
|
width: 400rpx;
|
|
}
|
|
.table-cell-col:nth-of-type(4) {
|
|
width: 100rpx;
|
|
}
|
|
}
|
|
}
|
|
|