feat: 协议接口对接

This commit is contained in:
duanshuwen
2025-08-09 10:26:49 +08:00
parent b2f7f67e39
commit 5174e75662
6 changed files with 149 additions and 67 deletions

View File

@@ -12,15 +12,7 @@
<!-- 弹窗内容 -->
<view class="popup-content">
<view class="content-text">
<text class="main-text">
您在使用朵花温泉服务前请仔细阅读用户隐私条款及用户注册须知当您点击同意即表示您已经理解并同意该条款该条款将构成对您具有法律约束力的文件
</text>
</view>
<view class="notice-text">
<text>
请您注意如果您不同意上述用户注册须知隐私政策或其中任何约定请您停止注册如您阅读并点击同意即表示您已充分阅读理解并接受其全部内容并表明您也同意朵花温泉可以依据以上隐私政策来处理您的个人信息
</text>
<zero-markdown-view :markdown="agreement" />
</view>
</view>
@@ -45,6 +37,10 @@ const props = defineProps({
type: String,
default: "温馨提示",
},
agreement: {
type: String,
default: "",
},
});
// Events定义

View File

@@ -39,32 +39,20 @@
// 弹窗内容
.popup-content {
padding: 20px;
padding: 12px;
max-height: 400px; // 设置最大高度
overflow-y: auto; // 启用垂直滚动
.content-text {
margin-bottom: 16px;
.main-text {
font-size: 14px;
color: #333;
line-height: 22px;
display: block;
}
}
.notice-text {
text {
font-size: 13px;
color: #333;
line-height: 20px;
display: block;
}
// 自定义滚动条样式
&::-webkit-scrollbar {
display: none;
}
}
// 按钮区域
.button-area {
padding: 0 20px 20px 20px;
padding: 20px;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;