|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="statistics">
|
|
<div class="statistics">
|
|
|
- <ul class="list-inline pull-left" ref="pingdanListWrapperL" :style="'top: -' + 1 * timerIndexL + 'rem'" :class="{'topL': isTopL}">
|
|
|
|
|
|
|
+ <ul class="list-inline pull-left" ref="pingdanListWrapperL" :style="'top: -' + 0.7 * timerIndexL + 'rem'" :class="{'topL': isTopL}">
|
|
|
<li v-for="(item, index) in itemLeft">
|
|
<li v-for="(item, index) in itemLeft">
|
|
|
<span class="number">
|
|
<span class="number">
|
|
|
<span class="name" v-html="nameLeft[index]"></span>
|
|
<span class="name" v-html="nameLeft[index]"></span>
|
|
@@ -9,7 +9,7 @@
|
|
|
</span>
|
|
</span>
|
|
|
</li>
|
|
</li>
|
|
|
</ul>
|
|
</ul>
|
|
|
- <ul class="list-inline pull-right" ref="pingdanListWrapperR" :style="'top: -' + 1 * timerIndexR + 'rem'" :class="{'topR': isTopR}">
|
|
|
|
|
|
|
+ <ul class="list-inline pull-right" ref="pingdanListWrapperR" :style="'top: -' + 0.7 * timerIndexR + 'rem'" :class="{'topR': isTopR}">
|
|
|
<li v-for="(item, index) in itemRight">
|
|
<li v-for="(item, index) in itemRight">
|
|
|
<span class="number" v-if="item.type === 2">
|
|
<span class="number" v-if="item.type === 2">
|
|
|
<span class="name" v-html="nameRight[index]"></span>
|
|
<span class="name" v-html="nameRight[index]"></span>
|
|
@@ -211,13 +211,13 @@
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
.statistics{
|
|
.statistics{
|
|
|
position:relative;
|
|
position:relative;
|
|
|
- height: 1rem;
|
|
|
|
|
|
|
+ height: 0.7rem;
|
|
|
border-radius:.48rem;
|
|
border-radius:.48rem;
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
margin:0 .05rem .2rem;
|
|
margin:0 .05rem .2rem;
|
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
|
- background: url('/images/mobile/@2x/home/countbg.png') no-repeat center;
|
|
|
|
|
- background-size: auto 0.96rem;
|
|
|
|
|
|
|
+ background: url('/images/mobile/@2x/home/countnewbg1.png') no-repeat center;
|
|
|
|
|
+ background-size: auto 0.69rem;
|
|
|
ul{
|
|
ul{
|
|
|
width:50%;
|
|
width:50%;
|
|
|
position:relative;
|
|
position:relative;
|
|
@@ -243,8 +243,8 @@
|
|
|
li{
|
|
li{
|
|
|
width:100%;
|
|
width:100%;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
- height:1rem;
|
|
|
|
|
- line-height: 0.92rem;
|
|
|
|
|
|
|
+ height:0.7rem;
|
|
|
|
|
+ line-height: 0.7rem;
|
|
|
font-size: .28rem;
|
|
font-size: .28rem;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
white-space: nowrap;
|
|
white-space: nowrap;
|
|
@@ -255,20 +255,17 @@
|
|
|
display: inline-block;
|
|
display: inline-block;
|
|
|
color:red;
|
|
color:red;
|
|
|
font-size: 0.32rem;
|
|
font-size: 0.32rem;
|
|
|
- height: .6rem;
|
|
|
|
|
- vertical-align:middle;
|
|
|
|
|
- line-height:.6rem;
|
|
|
|
|
|
|
+ height: .7rem;
|
|
|
|
|
+ line-height:.7rem;
|
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
|
.name, .month{
|
|
.name, .month{
|
|
|
color: #fff;
|
|
color: #fff;
|
|
|
- vertical-align:middle;
|
|
|
|
|
}
|
|
}
|
|
|
.month{
|
|
.month{
|
|
|
font-size: 0.22rem;
|
|
font-size: 0.22rem;
|
|
|
}
|
|
}
|
|
|
.unit, .num{
|
|
.unit, .num{
|
|
|
color: #feff00;
|
|
color: #feff00;
|
|
|
- vertical-align:middle;
|
|
|
|
|
}
|
|
}
|
|
|
.num{
|
|
.num{
|
|
|
padding-left: .1rem;
|
|
padding-left: .1rem;
|