You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

78 lines
2.1 KiB
Vue

<template>
<view class="about-container">
<NavBar :title="pageTitle" />
<view class="header-section text-center">
<image style="width: 150rpx;height: 150rpx;" src="/static/logo.png" mode="widthFix">
</image>
<uni-title type="h2" :title="t('about.appName')"></uni-title>
</view>
<view class="content-section">
<view class="menu-list">
<view class="list-cell list-cell-arrow">
<view class="menu-item-box">
<view>{{ t('about.version') }}</view>
<view class="text-right">v{{version}}</view>
</view>
</view>
<view class="list-cell list-cell-arrow">
<view class="menu-item-box">
<view>{{ t('about.email') }}</view>
<view class="text-right">besure@xx.com</view>
</view>
</view>
<view class="list-cell list-cell-arrow">
<view class="menu-item-box">
<view>{{ t('about.hotline') }}</view>
<view class="text-right">XXX_XXX_XXX</view>
</view>
</view>
<view class="list-cell list-cell-arrow">
<view class="menu-item-box">
<view>{{ t('about.website') }}</view>
<view class="text-right">
<uni-link :href="url" :text="url" showUnderLine="false"></uni-link>
</view>
</view>
</view>
</view>
</view>
<view class="copyright">
<view>Copyright &copy; 2024 besure All Rights Reserved.</view>
</view>
</view>
</template>
<script setup>
import { computed } from 'vue'
import { useI18n } from 'vue-i18n'
import config from '@/config.js'
import NavBar from '@/components/common/NavBar.vue'
const { t } = useI18n()
const pageTitle = computed(() => t('nav.about'))
const url = config.appInfo.site_url;
const version = config.appInfo.version;
</script>
<style lang="scss">
page {
background-color: #f8f8f8;
}
.copyright {
margin-top: 50rpx;
text-align: center;
line-height: 60rpx;
color: #999;
}
.header-section {
display: flex;
padding: 30rpx 0 0;
flex-direction: column;
align-items: center;
}
</style>