Browse Source

求购询价顶部广告、计数器、代理经销页修改

gaoxm 7 years ago
parent
commit
87df6f2e33
1 changed files with 6 additions and 2 deletions
  1. 6 2
      components/mobile/common/StatisticsMobile.vue

+ 6 - 2
components/mobile/common/StatisticsMobile.vue

@@ -219,12 +219,16 @@
       <!--<ul class="list-inline pull-right" :style="{top: topRight + 'rem'}" :class="{no_tran: topRight == 2.4}">-->
     <ul class="list-inline pull-right" ref="pingdanListWrapperR" :style="'top: -' + 1 * timerIndexR + 'rem'" :class="{'topR': isTopR}">
       <li v-for="(item, index) in itemRight">
-        <span class="number">
+        <span class="number" v-if="item.type === 2">
           <span class="name" v-html="nameRight[index]"></span>
           <span class="month" v-if="index === 5">(上月)</span>
           <span class="month" v-if="index === 6">(本月)</span>
           <span class="num" v-html="formatDouble(item.count)"></span>
-          <span class="unit" v-if="item.type === 2">条</span>
+          <span class="unit">条</span>
+        </span>
+        <span class="number" v-else>
+          <span class="name" v-html="nameRight[index]"></span>
+          <span class="num" v-html="formatNumber(item.count, item.type)"></span>
         </span>
       </li>
     </ul>