123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- /* components/loading/index.wxss */
- .loading-container {
- width: 100%;
- height: 100vh;
- overflow: hidden;
- background: url('https://klmybwg.4dage.com/mini/wxImg/loading-bg.png') no-repeat center center;
- background-size: cover;
- display: flex;
- flex-direction: column;
- justify-content: center;
- /* align-items: center; */
- position: relative;
- }
- .car-loading {
- width: 100%;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- position: relative;
- }
- .car-container {
- width: 100%;
- height: 100px;
- position: relative;
- display: flex;
- justify-content: center;
- }
- .car {
- width: 150px;
- height: 132px;
- background: url('https://klmybwg.4dage.com/mini/wxImg/carLoading.png') 0 0;
- position: relative;
- bottom: 0;
- background-size: 12500% 100%;
- animation: car 2s steps(10) infinite;
- }
- @keyframes car {
- from {
- background-position: 0 0;
- }
- to {
- background-position: -12500% 0;
- }
- }
- .progress-container {
- width: 80%;
- max-width: 500px;
- position: relative;
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .progress-bg {
- width: 100%;
- height: auto;
- }
- .custom-progress-bar {
- position: absolute;
- top: 22%;
- left: 22%;
- transform: translateY(-50%);
- width: 78%;
- height: 16px;
- padding: 0 10px;
- box-sizing: border-box;
- background-color: transparent;
- }
- .progress-fill {
- height: 100%;
- border-radius: 8px;
- background: linear-gradient(to right,
- rgba(230, 162, 60, 0) 0%,
- rgba(230, 162, 60, 0) 20%,
- rgba(230, 162, 60, 0.5) 60%,
- rgba(230, 162, 60, 1) 100%);
- transition: width 0.3s ease;
- }
- .progress-text {
- margin-top: 10px;
- color: #fff;
- font-size: 18px;
- font-weight: bold;
- }
- /* Logo页面样式 */
- .logo-container {
- display: flex;
- flex-direction: column;
- align-items: center;
- /* justify-content: center; */
- padding-top: 30%;
- width: 100%;
- height: 100%;
- overflow: hidden;
- }
- .logo {
- width: 300px;
- height: 300px;
- background: url('https://klmybwg.4dage.com/mini/wxImg/logo.png') 0 0;
- position: relative;
- bottom: 0;
- background-size: 2400% 100%;
- animation: sprite 2s steps(23) 1 forwards;
- }
- @keyframes sprite {
- from {
- background-position: 0 0;
- }
- to {
- background-position: -2300% 0;
- }
- }
- .explore-button {
- display: flex;
- align-items: center;
- justify-content: center;
- width: auto;
- height: 40px;
- line-height: 40px;
- text-align: center;
- color: #ECD6A4;
- font-size: 16px;
- background-color: transparent;
- margin-top: 100px;
- animation: buttonFadeIn 1s ease-in-out;
- transition: all 0.3s ease;
- position: relative;
- border: none;
- }
- .explore-line-left {
- width: 125px;
- height: 1px;
- margin-right: 10px;
- background: linear-gradient(90deg, rgba(236, 214, 164, 0) 0%, #ECD6A4 100%);
- border-radius: 0px 0px 0px 0px;
- opacity: 0.5;
- }
- .explore-line-right {
- width: 125px;
- height: 1px;
- background: linear-gradient(90deg, #ECD6A4 0%, rgba(236, 214, 164, 0) 100%);
- border-radius: 0px 0px 0px 0px;
- opacity: 0.5;
- margin-left: 10px;
- }
- @keyframes buttonFadeIn {
- from {
- opacity: 0;
- transform: translateY(20px);
- }
- to {
- opacity: 1;
- transform: translateY(0);
- }
- }
|