page { } .container { min-height: 100vh; background: linear-gradient(180deg, #f0f7ff 0%, #fff1f9 100%); padding: 0; background: url("../../static/make/make_bg.png") center top/100% auto no-repeat, #f2f6f2; } .header-box { padding: calc(44rpx + var(--status-bar-height)) 20rpx 12rpx 36rpx; display: flex; align-items: center; justify-content: space-between; .title { font-size: 40rpx; font-weight: bold; color: #333; font-family: "CustomFont" !important; } .currency-area { display: flex; gap: 20rpx; align-items: center; // min-width: 400rpx; // width: 260rpx; .coin-box, .gold-box { display: flex; align-items: center; background: #fff; border-radius: 30rpx; // box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.1); padding: 6rpx 12rpx 6rpx 8rpx; transition: transform 0.2s; &:active { transform: scale(0.98); } text { display: inline-block; padding-left: 4rpx; line-height: 0; } image { width: 40rpx; height: 40rpx; // margin-right: 12rpx; } } } } // 添加点击动画的混入 @mixin click-animation { transition: transform 0.2s ease; &:active { transform: scale(0.95); } } .guide-title { font-size: 16px; color: #1f1f1f; font-family: "PingFang SC-Bold"; padding: 28rpx 0; padding-left: 36rpx; } .guide-content{ padding: 0 20rpx; display: grid; grid-template-columns: 1fr 1fr; gap: 20rpx; padding-bottom: 200rpx; image{ width: 100%; height: 100%; } } .major-function { display: flex; align-items: center; justify-content: space-between; height: 336rpx; width: 100vw; box-sizing: border-box; padding: 0 20rpx; .major-function-left, .major-function-right { width: 346rpx; height: 336rp; } .major-function-right{ padding-top: 10rpx; box-sizing: border-box; image{ width: 100%; // margin-top: 10rpx; } } }