Commit 995a2952 by 胡悦

修复bug

1 parent 8cd7b357
<!--
* @Description:
* @Author: huyue
* @Date: 2022-06-28 15:20:14
* @LastEditors: huyue
* @LastEditTime: 2022-07-08 19:03:36
-->
<template> <template>
<div class="ranking-container"> <div class="ranking-container">
<div class="ranking-title">品牌排名</div> <div class="ranking-title">{{ this.$store.state.app.reportParams.brand ? '门店' : '品牌' }}排名</div>
<div class="ranking"> <div class="ranking">
<div class="brand flex" v-for="(item, index) in brandList" :key="index"> <div class="brand flex" v-for="(item, index) in brandList" :key="index">
<span class="brand-num">{{ index + 1 }}</span> <span class="brand-num">{{ index + 1 }}</span>
...@@ -29,7 +36,8 @@ export default { ...@@ -29,7 +36,8 @@ export default {
return { return {
delayTimer: 3000, delayTimer: 3000,
directionTimer: 3000, directionTimer: 3000,
brandList: this.list brandList: this.list,
isBrandName: false
} }
} }
} }
...@@ -58,7 +66,7 @@ export default { ...@@ -58,7 +66,7 @@ export default {
.brand { .brand {
// line-height: 1.9vh; // line-height: 1.9vh;
height: 1.9vh; height: 1.9vh;
display:flex; display: flex;
align-items: center; align-items: center;
.brand-num { .brand-num {
color: #606266; color: #606266;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!