修改主题色

This commit is contained in:
future
2026-06-10 14:35:16 +08:00
parent 1e093a0688
commit 95c2ded69e
9 changed files with 155 additions and 37 deletions
+35 -2
View File
@@ -1,5 +1,9 @@
<!-- pages/course/index.vue -->
<template>
<!-- <view class="bg-wrapper">
<image src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/wave_top.png" mode="widthFix" class="wave-bg wave-top" />
<image src="https://gymfuture.oss-cn-chengdu.aliyuncs.com/static/images/wave_bottom.png" mode="widthFix" class="wave-bg wave-bottom" />
</view> -->
<view class="tab-page">
<view class="tab-page__header">
<text class="tab-page__title">课程</text>
@@ -29,8 +33,8 @@
</template>
<view class="bottom-placeholder"></view>
<TabBar @update:active="handleTabActive" />
</view>
<TabBar @update:active="handleTabActive" />
</template>
<script setup>
@@ -124,10 +128,39 @@ function goMyCourses() {
</script>
<style lang="scss" scoped>
.bg-wrapper {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 1;
pointer-events: none;
}
.wave-bg {
position: fixed;
left: 0;
width: 100%;
pointer-events: none;
opacity: 0.6;
}
.wave-top {
top: 0;
opacity: 0.5;
}
.wave-bottom {
bottom: 100rpx;
opacity: 0.35;
}
.tab-page {
min-height: 100vh;
background: $gradient-sky;
padding-bottom: 160rpx;
position: relative;
z-index: 2;
}
.tab-page__header {