* { margin: 0; padding: 0; } #app { padding-bottom: 14vw; } [v-cloak] { display: none; } .el-button--primary { background-color: #ff877e; border-color: #ff877e; width: 100%; border-radius: 0; border: none; height: 13vw; font-size: 3.7vw; } .el-button--primary:focus, .el-button--primary:hover { background: rgba(255, 135, 126, 0.8); border-color: rgba(255, 135, 126, 0.8); color: #fff; } .el-button--primary.is-disabled, .el-button--primary.is-disabled:active, .el-button--primary.is-disabled:focus, .el-button--primary.is-disabled:hover { background-color: rgba(255, 135, 126, 0.6); border-color: rgba(255, 135, 126, 0.6); } .el-input.is-active .el-input__inner, .el-input__inner:focus { border-color: #ff877e; outline: 0; } .el-loading-custom-class .el-loading-spinner { background-color: rgba(0, 0, 0, 0.57); width: 39.5vw; height: 39.5vw; border-radius: 2vw; color: white; top: 0; left: 0; bottom: 0; right: 0; margin: auto !important; display: flex; flex-direction: column; align-items: center; justify-content: center; } .el-loading-custom-class .el-loading-spinner i { color: white !important; font-size: 5vw; } .el-loading-custom-class .el-loading-spinner .el-loading-text { color: white !important; font-size: 4vw; letter-spacing: 0.5vw; margin-top: 1vw; } body { box-sizing: border-box; font-size: 13px; background: #f5f7f7; padding: 0 3vw; text-align: center; } .header { width: 94vw; height: 13vw; box-sizing: border-box; padding: 0 3.5vw; background: #fff; margin-top: 10px; border-radius: 5px; display: flex; align-items: center; justify-content: space-between; } .header > div { white-space: nowrap; } .balance { display: flex; align-items: center; } .balance > span { font-size: 17px; color: #ff877e; } .body { width: 94vw; background: #fff; margin-top: 10px; border-radius: 1px; padding: 3vw 3.5vw; font-size: 0; text-align: left; box-sizing: border-box; } .recharge-list { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; font-size: 0; } .item-list { width: 27vw; height: 16vw; position: relative; font-size: 0; } .item { width: calc(100% - 0.3vw); height: calc(100% - 0.3vw); line-height: 5.5vw; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 0.3vw solid #eee; border-radius: 1vw; transition: 0.3s; position: relative; margin-bottom: 3vw; } .item-list:nth-child(3n-1) { margin: 3vw; } .remark { width: 100%; text-align: center; font-size: 14px; color: #999; margin-top: 10px; } .activity { color: #333; font-size: 13px; margin-bottom: 3px; } .recharge { font-size: 3.7vw; color: #333; } .give { font-size: 3vw; color: #ff877e; } .active { border-color: #ff877e; overflow: hidden; } .active::before { content: ''; position: absolute; background-color: #ff877e; bottom: -5vw; right: -5vw; width: 9vw; height: 9vw; transform: rotateZ(45deg); } .active::after { content: ''; position: absolute; background-image: url(../images/choose.png); background-size: 100%; background-repeat: no-repeat; bottom: 0; right: -0.1vw; width: 3vw; height: 3vw; } .time { position: absolute; padding: 0 2vw; background-color: #000; font-size: 1.8vw; color: #f8c5a9; border-top-right-radius: 2vw; border-bottom-left-radius: 2vw; line-height: 4vw; top: -2vw; right: -0.3vw; } .btn-box { width: 100vw; position: fixed; bottom: 0; left: 0; }