添加页面文件

This commit is contained in:
kron
2025-05-01 16:36:24 +08:00
parent b50b8a1852
commit 74154ca825
7 changed files with 164 additions and 19 deletions

33
src/pages/ranking.vue Normal file
View File

@@ -0,0 +1,33 @@
<script setup>
import AppBackground from "@/components/AppBackground.vue";
</script>
<template>
<view>
<AppBackground />
<navigator
open-type="navigateBack"
hover-class="back-hover"
class="back-btn"
>返回</navigator
>
<text>排行榜</text>
</view>
</template>
<style scoped>
.back-btn {
position: fixed;
top: 2rem;
left: 2rem;
padding: 0.5rem 1rem;
background-color: #007aff;
color: #fff;
border-radius: 5px;
font-size: 14px;
}
.back-hover {
opacity: 0.8;
}
</style>