.container { display: flex; flex-direction: column; justify-content: space-between; align-items: center; min-height: 100vh; color: #f2f2f2; padding: 20px; } .container { display: flex; justify-content: center; align-items: center; height: 100vh; } .rotating-image { /* 设置旋转中心为图片中心 */ transform-origin: center center; /* 初始旋转角度为 0 度 */ transform: rotate(0deg); /* 定义旋转动画,动画名为 rotate,持续时间 5 秒,无限循环,线性变化 */ animation: rotate 2s linear infinite; } @keyframes rotate { from { /* 动画起始时旋转角度为 0 度 */ transform: rotate(0deg); } to { /* 动画结束时旋转角度为 360 度 */ transform: rotate(360deg); } } .title { color: #373737; font-size: 20px; font-weight: bold; margin-bottom: 10px; } .sub-title { font-size: 14px; color: #7e7e7e; } .bottom-links { width: 100%; display: flex; align-items: center; font-size: 12px; color: #808080; } .page-container { display: flex; flex-direction: column; justify-content: space-between; align-items: center; min-height: 100vh; padding: 20px; background-color: #f2f2f2; } .fail-icon-box { width: 100%; display: flex; justify-content: center; margin-bottom: 40px; } .orange-circle { width: 80px; height: 80px; border-radius: 50%; background-color: #fe8d1b; display: flex; justify-content: center; align-items: center; } .close-icon { color: #eff3f2; font-size: 80px; } .prompt-text-area { text-align: center; margin-bottom: 50px; color: #353535; } .fail-title { font-size: 20px; font-weight: bold; color: #3a3a3a; } .action-button-section { width: 100%; margin-bottom: auto; } .retry-pay-btn { width: 100%; height: 45px; line-height: 30px; background-color: #0d7ee7; color: #fff3e9; border: none; border-radius: 12px; font-size: 16px; } .checkHistory{ width: 100%; height: 45px; line-height: 30px; background-color: #fff3e9; color: #0d7ee7; border: #0d7ee7 solid 3rpx; border-radius: 12px; font-size: 16px; margin-top: 5%; } .a { display: flex; flex-direction: column; justify-content: space-between; align-items: center; min-height: 100vh; padding: 20px; background-color: #f2f2f2; } .b { width: 100%; display: flex; justify-content: center; margin-bottom: 40px; } .c { width: 80px; height: 80px; border-radius: 50%; background-color: #1fb758; display: flex; justify-content: center; align-items: center; } .d { color: #fefaff; font-size: 40px; } .e { text-align: center; margin-bottom: 20px; } .f { font-size: 20px; font-weight: bold; color: #383838; } .g { text-align: center; margin-bottom: 50px; } .h { font-size: 17px; color: #818181; } .i { width: 120%; background-color: #f2f2f2; height: 45px; border: 5px solid #0d7ee7; border-radius: 20px; overflow: hidden; box-sizing: border-box; position: relative; } .k{ height: 100%; background-color: #0d7ee7; transition: width 1s ease; /* 添加过渡动画,让进度条变化更平滑 */ } .countdown-text { position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; align-items: center; font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; color: rgb(0, 0, 0); font-size: 24px; } .button-container { display: flex; flex-direction: column; align-items: center; gap: 15px; /* 设置按钮之间的间距 */ } .check-order-btn { width: 200px; /* 按钮宽度 */ height: 45px; /* 按钮高度 */ background-color: #0d7ee7; /* 背景颜色 */ color: #fffdfe; /* 文字颜色 */ border: none; /* 无边框 */ border-radius: 10px; /* 圆角 */ font-size: 16px; /* 文字大小 */ text-align: center; line-height: 33px; } .complete-btn { width: 200px; height: 45px; background-color: #f2f2f2; /* 背景颜色为白色 */ color: #0d7ee7; /* 文字颜色为红色 */ border: 3px solid #0d7ee7; /* 红色边框 */ border-radius: 10px; font-size: 16px; line-height: 33px; } .loading-circle { width: 65px; height: 65px; border: 4px solid #e0e0e0; /* 灰色边框 */ border-top-color: #0d7ee7; /* 绿色上边框,可根据喜好修改 */ border-radius: 50%; /* 圆形 */ animation: spin 1s linear infinite; /* 应用动画,1秒循环一次,线性变化,无限循环 */ } @keyframes spin { 0% { transform: rotate(0deg); /* 初始旋转角度 */ } 100% { transform: rotate(360deg); /* 结束旋转角度 */ } }