Baozhangchao 3 年之前
父節點
當前提交
7fd54d0f3f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/pages/topListCopy/index.jsx

+ 1
- 1
src/pages/topListCopy/index.jsx 查看文件

@@ -60,7 +60,7 @@ export default (props) => {
60 60
             console.log("🚀 ~ file: index.jsx ~ line 60 ~ list.map ~ index", index)
61 61
 
62 62
             const styles = {
63
-              backgroundColor: '#C9C9CF',
63
+              backgroundColor: index === 1 ? '#C9C9CF' : index === 2 ? '#B99764' : '',
64 64
               animationDelay: `${100 * index + 80}ms`
65 65
             }
66 66
             if (index >= 1) {