Files

120 lines
2.8 KiB
Vue
Raw Permalink Normal View History

2026-01-15 17:18:24 +08:00
<template>
<view class="container">
<view class="header">
<view class="back" @click="goBack">
<u-icon name="arrow-left" size="36" color="#333" />
</view>
<text class="title">用户协议</text>
</view>
<scroll-view class="content" scroll-y>
<view class="text">
<text class="section-title">协议说明</text>
<text class="paragraph">
欢迎您使用本应用请您在使用本应用前认真阅读并充分理解本用户协议
一旦您开始使用本应用即视为您已阅读理解并同意本协议的全部内容
</text>
<text class="section-title">用户行为规范</text>
<text class="paragraph">
1. 用户应遵守中华人民共和国相关法律法规不得利用本应用从事任何违法活动
</text>
<text class="paragraph">
2. 不得发布传播违法侵权虚假骚扰性或其他不当信息
</text>
<text class="paragraph">
3. 不得以任何形式干扰本应用的正常运行
</text>
<text class="section-title">服务变更与中断</text>
<text class="paragraph">
本应用有权根据业务发展需要对服务内容进行调整中断或终止
并尽可能提前向用户告知
</text>
<text class="section-title">免责声明</text>
<text class="paragraph">
因不可抗力或非本应用原因造成的服务中断或数据损失本应用不承担责任
</text>
<text class="section-title">其他</text>
<text class="paragraph">
本协议的解释权及修改权归本应用所有
</text>
</view>
</scroll-view>
</view>
</template>
<script>
export default {
methods: {
goBack() {
const pages = getCurrentPages();
if (pages.length > 1) {
uni.navigateBack();
} else {
uni.navigateTo({
url:'/pages-biz/login/login'
})
}
}
}
}
</script>
<style scoped>
.container {
height: 100vh;
padding-top:120rpx;
display: flex;
flex-direction: column;
background-color: #fff;
}
.header {
position: relative;
height: 88rpx;
display: flex;
align-items: center;
justify-content: center;
border-bottom: 1px solid #eee;
}
.back {
position: absolute;
left: 30rpx;
}
.title {
font-size: 34rpx;
font-weight: 600;
color: #333;
}
.content {
flex: 1;
padding: 30rpx;
}
.text {
font-size: 28rpx;
color: #555;
line-height: 1.8;
}
.section-title {
display: block;
font-size: 30rpx;
font-weight: 600;
color: #333;
margin-top: 30rpx;
margin-bottom: 10rpx;
}
.paragraph {
display: block;
margin-bottom: 16rpx;
}
</style>