<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>
