diff --git a/config.json b/config.json index 1e096d2..e76ae6e 100644 --- a/config.json +++ b/config.json @@ -8,7 +8,7 @@ "bottomTips": "React-native-学习demo", "cardList": [ { - "cardId": "6228 **** 8444", + "cardId": "6228 **** 7371", "cardCode": "102834", "money": "12313" }, @@ -19,6 +19,11 @@ } ], "fontAnimationList": ["滚动文字1", "滚动文字2"], + "billingList": { + "nearlyWeek": [{}], + "nearlyMonth": [{}], + "lastThreeMonths": [{}] + }, "billingList": [ { "type": "0", @@ -119,5 +124,5 @@ "money": "00.00" } ], - "billingCardNumber": "6228 **** 8444" + "billingCardNumber": "6228 **** 7371" } diff --git a/css/style.css b/css/style.css index ceff0fb..0d77d4b 100644 --- a/css/style.css +++ b/css/style.css @@ -366,3 +366,29 @@ img { .list-class { padding-top: 0; } + +.filter { + position: absolute; + /* background-color: rgba(0, 0, 0, 0.2); */ + left: 0; + top: 7.6rem; + display: flex; + /* top: 0; */ + padding: 1.5rem; + font-size: 1.3rem; +} +.filter-item { + padding: 0.6rem 1.5rem; + background-color: #fff; + margin-left: 1.5rem; + border-radius: 3rem; + color: rgba(0, 0, 0, 0.7); +} +.filter-item:first-child { + margin-left: 0; +} + +.filter-item.active { + background-color: #f3b046; + color: #fff; +} diff --git a/img/m1.png b/img/m1.png index f9ddca7..7d8b1fe 100644 Binary files a/img/m1.png and b/img/m1.png differ diff --git a/index.html b/index.html index dc984a8..9aec777 100644 --- a/index.html +++ b/index.html @@ -25,10 +25,15 @@