123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- page {
- }
- .container {
- min-height: 100vh;
- background: linear-gradient(180deg, #f0f7ff 0%, #fff1f9 100%);
- padding: 0;
- background: url("../../static/make/wd_bg_bianjiziliao.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);
- }
- }
- .card-grid {
- padding-left: 20rpx;
- padding-right: 20rpx;
- display: grid;
- grid-template-columns: repeat(2, 1fr);
- grid-template-areas:
- "character music"
- "character cube";
- gap: 20rpx;
- margin-bottom: 32rpx;
- .card {
- @include click-animation; // 添加点击动画
- border-radius: 20rpx;
- position: relative;
- overflow: hidden;
- &.character {
- position: relative;
- left: 0;
- top: 0;
- grid-area: character;
- // background: linear-gradient(to right, #59c2ff, #1b84ff);
- background: url("../../static/make/cz_btn_chuangjue.png") center/100% auto
- no-repeat;
- height: 268rpx;
- width: 346rpx;
- padding: 34rpx 0 0 28rpx !important;
- .text-area {
- display: flex;
- flex-direction: column;
- .card-title {
- margin-bottom: 4rpx;
- }
- .card-desc {
- width: 150rpx;
- font-weight: 400;
- font-size: 20rpx;
- color: rgba(255, 255, 255, 0.8);
- }
- }
- .btn-box {
- font-weight: 600;
- font-size: 22rpx;
- color: #1966ed;
- background: #ffffff;
- border-radius: 24rpx;
- width: 120rpx;
- height: 44rpx;
- display: inline-flex;
- align-items: center;
- justify-content: center;
- position: absolute;
- left: 0rpx;
- bottom: 32rpx;
- }
- }
- &.music {
- grid-area: music;
- // background: linear-gradient(to right, #ff88d1, #ff3b9a);
- background: url("../../static/make/cz_btn_lingganxiege.png") center/100%
- auto no-repeat;
- height: 124rpx;
- }
- &.cube {
- grid-area: cube;
- // background: linear-gradient(to right, #9d8bff, #6e54ec);
- background: url("../../static/make/cz_btn_zhihuimofang.png") center/100%
- auto no-repeat;
- height: 124rpx;
- }
- &.gray {
- background: #4b5563;
- height: 160rpx;
- padding: 30rpx;
- }
- &.card-large {
- padding: 40rpx;
- }
- &.card-medium {
- padding:0 30rpx;
- }
- .card-content {
- height: 100%;
- position: relative;
- .text-area {
- z-index: 1;
- width: 100%;
- height: 100%;
- display: flex;
- align-items: center;
- >view{
- display: flex;
- flex-direction: column;
- }
- }
- .card-title {
- font-size: 32rpx;
- color: #fff;
- font-weight: bold;
- margin-bottom: 8rpx;
- }
- .card-desc {
- font-size: 22rpx;
- color: rgba(255, 255, 255, 0.9);
- }
- }
- // AI创角卡片的特殊样式
- &.blue .card-content {
- .card-image {
- position: absolute;
- right: -20rpx;
- bottom: -40rpx;
- width: 280rpx;
- height: 280rpx;
- z-index: 0;
- }
- .star-icon {
- position: absolute;
- width: 40rpx;
- height: 40rpx;
- &.star-1 {
- top: 20rpx;
- right: 100rpx;
- }
- &.star-2 {
- top: 80rpx;
- right: 180rpx;
- }
- }
- }
- // AI灵感写歌卡片的特殊样式
- &.pink .card-content {
- .card-image {
- position: absolute;
- right: -10rpx;
- bottom: -20rpx;
- width: 160rpx;
- height: 160rpx;
- z-index: 0;
- }
- }
- // 萌萌智绘魔方卡片的特殊样式
- &.purple .card-content {
- .card-image {
- position: absolute;
- right: -10rpx;
- bottom: -20rpx;
- width: 160rpx;
- height: 160rpx;
- z-index: 0;
- }
- }
- }
- }
- .guide-title {
- font-size: 16px;
- color: #1f1f1f;
- font-family: "PingFang SC-Bold";
- padding-left: 36rpx;
- padding-bottom: 12rpx;
- }
- .tutorial {
- padding: 0 20rpx;
- .tutorial-block {
- @include click-animation; // 添加点击动画
- width: 100%;
- min-height: 212rpx;
- background: #fff;
- border-radius: 20rpx;
- padding: 30rpx;
- margin-bottom: 20rpx;
- display: flex;
- flex-direction: column;
- &:nth-child(1) {
- background: url("../../static/make/cz_bg_jiaocheng01.png") center/100%
- auto no-repeat;
- }
- &:nth-child(2) {
- background: url("../../static/make/cz_bg_jiaocheng02.png") center/100%
- auto no-repeat;
- }
- &:nth-child(3) {
- background: url("../../static/make/cz_bg_jiaocheng03.png") center/100%
- auto no-repeat;
- }
- .tutorial-btn {
- image {
- width: 24rpx;
- height: 24rpx;
- }
- display: inline-flex;
- align-items: center;
- justify-content: space-between;
- font-family: "PingFang SC-Bold";
- font-weight: 400;
- font-size: 24rpx;
- color: #ffffff;
- background: #1f1f1f;
- padding: 0 6rpx;
- border-radius: 8rpx;
- line-height: 1.5;
- }
- .tutorial-title {
- font-weight: 200;
- font-size: 34rpx;
- color: #1f1f1f;
- margin-top: 10rpx;
- margin-bottom: 10rpx;
- font-family: "PingFang SC-Bold";
- }
- .tutorial-content {
- font-weight: 400;
- font-size: 11px;
- color: #1f1f1f;
- }
- }
- }
|