diff --git a/config.json b/config.json index 3b5a16f..7240976 100644 --- a/config.json +++ b/config.json @@ -18,7 +18,64 @@ "money": "123" } ], + "fontAnimationList": ["滚动文字1", "滚动文字2"], "billingList": [ + { + "type": "0", + "name": "转存", + "amount": "+10,201.62", + "time": "2022-02-18 05:23:01", + "money": "10,233.88" + }, + { + "type": "1", + "name": "转存", + "amount": "-10,201.62", + "time": "2022-02-18 05:23:01", + "money": "00.00" + }, + { + "type": "0", + "name": "转存", + "amount": "+10,201.62", + "time": "2022-02-18 05:23:01", + "money": "10,233.88" + }, + { + "type": "1", + "name": "转存", + "amount": "-10,201.62", + "time": "2022-02-18 05:23:01", + "money": "00.00" + }, + { + "type": "0", + "name": "转存", + "amount": "+10,201.62", + "time": "2022-02-18 05:23:01", + "money": "10,233.88" + }, + { + "type": "1", + "name": "转存", + "amount": "-10,201.62", + "time": "2022-02-18 05:23:01", + "money": "00.00" + }, + { + "type": "0", + "name": "转存", + "amount": "+10,201.62", + "time": "2022-02-18 05:23:01", + "money": "10,233.88" + }, + { + "type": "1", + "name": "转存", + "amount": "-10,201.62", + "time": "2022-02-18 05:23:01", + "money": "00.00" + }, { "type": "0", "name": "转存", diff --git a/css/style.css b/css/style.css index a87d918..ddbcac5 100644 --- a/css/style.css +++ b/css/style.css @@ -56,6 +56,9 @@ img { .container { width: 100%; padding-bottom: 6rem; + overflow: hidden; + height: 100vh; + box-sizing: border-box; } .bg { width: 100%; @@ -136,12 +139,17 @@ img { background-color: #f7f7f7; padding-top: 48px; overflow-y: scroll; + box-sizing: border-box; } .billing:target { left: 0; transition: left 0.4s; } +.list-class:target .billing-header { + left: 0; + transition: left 0.4s; +} .account-header { position: relative; @@ -161,6 +169,11 @@ img { position: fixed; } +.container:target .billing-header { + left: 100%; + transition: left 0.4s; +} + .loading { width: 3rem; position: fixed; @@ -230,7 +243,6 @@ img { align-items: center; /* background-color: red; */ width: 100%; - box-sizing: border-box; } .billing-list .name { @@ -285,3 +297,60 @@ img { padding-right: 1rem; background-color: #fff; } + +.billing-header { + position: fixed; + top: 48px; + left: 100%; + z-index: 10; + width: 100%; +} + +.home-box { + position: relative; +} + +.font-animation-box { + position: absolute; + /* background-color: rgba(255, 255, 255, 0.7); */ + width: 30%; + left: 25%; + height: 3.2rem; + top: 0.5rem; + font-size: 1.3rem; + color: #fff; + overflow: hidden; +} +.font-animation-box .box-list div { + height: 3.2rem; + display: flex; + align-items: center; +} +.font-animation-box .box-list { + width: 100%; + height: 6.4rem; + position: absolute; + top: 3.2rem; + animation: fonMoveTop 5s infinite backwards; +} + +@keyframes fonMoveTop { + 0% { + top: 3.2rem; + } + 10% { + top: 0; + } + 50% { + top: 0; + } + 60% { + top: -3.2rem; + } + 99.99999% { + top: -3.2rem; + } + 100% { + top: 3.2rem; + } +} diff --git a/img/1.jpg b/img/1.jpg index 4bf5a3d..9fef707 100644 Binary files a/img/1.jpg and b/img/1.jpg differ diff --git a/img/1的副本.jpg b/img/1的副本.jpg new file mode 100644 index 0000000..4bf5a3d Binary files /dev/null and b/img/1的副本.jpg differ diff --git a/img/IMG_3619.png b/img/IMG_3619.png new file mode 100644 index 0000000..7ebf455 Binary files /dev/null and b/img/IMG_3619.png differ diff --git a/img/IMG_3619.jpg b/img/IMG_3619的副本.jpg similarity index 100% rename from img/IMG_3619.jpg rename to img/IMG_3619的副本.jpg diff --git a/img/list.jpg b/img/list.jpg deleted file mode 100644 index f91b33e..0000000 Binary files a/img/list.jpg and /dev/null differ diff --git a/img/m1.png b/img/m1.png new file mode 100644 index 0000000..f9ddca7 Binary files /dev/null and b/img/m1.png differ diff --git a/img/m1.jpg b/img/m1的副本.jpg similarity index 100% rename from img/m1.jpg rename to img/m1的副本.jpg diff --git a/img/m2.png b/img/m2.png new file mode 100644 index 0000000..255cffc Binary files /dev/null and b/img/m2.png differ diff --git a/img/m2.jpg b/img/m2的副本.jpg similarity index 100% rename from img/m2.jpg rename to img/m2的副本.jpg diff --git a/img/m3.jpg b/img/m3的副本.jpg similarity index 100% rename from img/m3.jpg rename to img/m3的副本.jpg diff --git a/img/t.jpg b/img/t.jpg deleted file mode 100644 index 145bf6b..0000000 Binary files a/img/t.jpg and /dev/null differ diff --git a/index.html b/index.html index 5b4151d..87674f4 100644 --- a/index.html +++ b/index.html @@ -13,36 +13,46 @@