<template>
  <view class="container">
    <text class="title">健身房管理系统</text>
    <text class="subtitle">欢迎使用 UniApp 移动端</text>
  </view>
</template>

<script>
export default {
  data() {
    return {
      title: '健身房管理系统'
    }
  },
  onLoad() {
    console.log('Index page loaded')
  }
}
</script>

<style>
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 16px;
  color: #666;
}
</style>
