90 lines
1.7 KiB
Vue
90 lines
1.7 KiB
Vue
<template>
|
|
<view>
|
|
<uni-nav-bar leftText=" " :fixed="true" :border="false" leftIcon="back" @clickLeft="leftClick" color="#000000"
|
|
backgroundColor="#fff" :statusBar="true" :title="$t('mine.about')"></uni-nav-bar>
|
|
<view class="content">
|
|
<view class="title">
|
|
<image src="/static/image/lingke.png" mode=""></image>
|
|
</view>
|
|
<u-cell-group :border="false">
|
|
<u-cell
|
|
size="large"
|
|
:title="$t('mine.Versionup')"
|
|
value="v1.1.0"
|
|
isLink
|
|
@click="handleVersionUpdate"
|
|
></u-cell>
|
|
<u-cell :title="$t('mine.Privacy')" isLink @click="handlePrivacyPolicy" />
|
|
<u-cell :title="$t('mine.UserAgreement')" isLink @click="handleUserAgreement" />
|
|
</u-cell-group>
|
|
</view>
|
|
|
|
<view class="footer">
|
|
<text class="copyright">{{$t('mine.copyright')}}</text>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
|
|
}
|
|
},
|
|
methods: {
|
|
leftClick(){
|
|
uni.navigateBack({})
|
|
},
|
|
handleVersionUpdate() {
|
|
uni.showToast({
|
|
title: this.$t('versionmsg'),
|
|
icon: 'none'
|
|
});
|
|
},
|
|
handlePrivacyPolicy() {
|
|
uni.navigateTo({
|
|
url: '/pages/login/agreementuser',// 替换为你要跳转的页面路径
|
|
});
|
|
|
|
},
|
|
handleUserAgreement() {
|
|
uni.navigateTo({
|
|
url: '/pages/login/agreement',// 替换为你要跳转的页面路径
|
|
});
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
::v-deep .u-cell__body{
|
|
padding: 15px 0px !important;
|
|
}
|
|
.title {
|
|
padding: 140rpx 0px;
|
|
text-align: center;
|
|
image{
|
|
width: 128px;
|
|
height: 47px;
|
|
}
|
|
}
|
|
.content {
|
|
font-size: 14px;
|
|
padding: 10px 15px;
|
|
color: #333333;
|
|
}
|
|
|
|
.footer {
|
|
width: 100%;
|
|
text-align: center;
|
|
position: fixed;
|
|
bottom: 20px;
|
|
.copyright {
|
|
font-size: 12px;
|
|
color:#3471FF;
|
|
}
|
|
}
|
|
|
|
|
|
</style> |