|
@@ -19,32 +19,43 @@
|
|
|
height: 266rpx;
|
|
|
}
|
|
|
|
|
|
-.head-rank {
|
|
|
- text-align: center;
|
|
|
-}
|
|
|
-
|
|
|
-.my-rank .head-rank:nth-child(1) {
|
|
|
+.my-rank .head-rank-0 {
|
|
|
position: absolute;
|
|
|
left: 120rpx;
|
|
|
top: 0rpx;
|
|
|
width: 116rpx;
|
|
|
+ text-align: center;
|
|
|
+ word-break:keep-all;/* 不换行 */
|
|
|
+ white-space:nowrap;/* 不换行 */
|
|
|
+ overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */
|
|
|
+ text-overflow:ellipsis;/* 当对象内文本溢出时显示省略标记(...) ;需与overflow:hidden;一起使用。*/
|
|
|
}
|
|
|
|
|
|
-.my-rank .head-rank:nth-child(2) {
|
|
|
+.my-rank .head-rank-1 {
|
|
|
position: absolute;
|
|
|
left: 295rpx;
|
|
|
top: 0rpx;
|
|
|
width: 136rpx;
|
|
|
+ text-align: center;
|
|
|
+ word-break:keep-all;/* 不换行 */
|
|
|
+ white-space:nowrap;/* 不换行 */
|
|
|
+ overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */
|
|
|
+ text-overflow:ellipsis;/* 当对象内文本溢出时显示省略标记(...) ;需与overflow:hidden;一起使用。*/
|
|
|
}
|
|
|
|
|
|
-.my-rank .head-rank:nth-child(3) {
|
|
|
+.my-rank .head-rank-2 {
|
|
|
position: absolute;
|
|
|
left: 485rpx;
|
|
|
top: 0rpx;
|
|
|
width: 116rpx;
|
|
|
+ text-align: center;
|
|
|
+ word-break:keep-all;/* 不换行 */
|
|
|
+ white-space:nowrap;/* 不换行 */
|
|
|
+ overflow:hidden;/* 内容超出宽度时隐藏超出部分的内容 */
|
|
|
+ text-overflow:ellipsis;/* 当对象内文本溢出时显示省略标记(...) ;需与overflow:hidden;一起使用。*/
|
|
|
}
|
|
|
|
|
|
-.my-rank .head-rank:nth-child(even) .head{
|
|
|
+.my-rank .head-rank-1 .head{
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
top: 0;
|
|
@@ -53,7 +64,8 @@
|
|
|
height: 200rpx;
|
|
|
}
|
|
|
|
|
|
-.my-rank .head-rank:nth-child(odd) .head{
|
|
|
+.my-rank .head-rank-0 .head,
|
|
|
+.my-rank .head-rank-2 .head {
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
top: 30rpx;
|
|
@@ -68,7 +80,7 @@
|
|
|
}
|
|
|
|
|
|
|
|
|
-.my-rank .head-rank:nth-child(even) .big-head-img{
|
|
|
+.my-rank .head-rank-1 .big-head-img{
|
|
|
position: absolute;
|
|
|
left: 5rpx;
|
|
|
top: 55rpx;
|
|
@@ -77,7 +89,8 @@
|
|
|
height: 130rpx;
|
|
|
}
|
|
|
|
|
|
-.my-rank .head-rank:nth-child(odd) .big-head-img{
|
|
|
+.my-rank .head-rank-0 .big-head-img,
|
|
|
+.my-rank .head-rank-2 .big-head-img {
|
|
|
position: absolute;
|
|
|
left: 2rpx;
|
|
|
top: 75rpx;
|