This commit is contained in:
zoujiandong
2025-06-17 17:58:29 +08:00
commit b496603f7c
129 changed files with 14644 additions and 0 deletions
+72
View File
@@ -0,0 +1,72 @@
// case/pages/privacy/privacy.js
import {getPrivacy} from "../../../api/api"
Page({
/**
* 页面的初始数据
*/
data: {
navName:'隐私协议',
node:''
},
handleGetPrivacy(){
getPrivacy().then(res=>{
this.setData({
node:res
})
})
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
this.handleGetPrivacy();
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
})
+6
View File
@@ -0,0 +1,6 @@
{
"usingComponents": {
"navBar":"../../../components/navBar/navBar"
},
"navigationStyle":"custom"
}
+10
View File
@@ -0,0 +1,10 @@
<!--case/pages/privacy/privacy.wxml-->
<!--case/pages/agreement/agreement.wxml-->
<navBar navName="{{navName}}"></navBar>
<view class="page">
<view class="con">
<rich-text nodes="{{node}}"></rich-text>
</view>
</view>
+15
View File
@@ -0,0 +1,15 @@
/* case/pages/privacy/privacy.wxss */
/* case/pages/agreement/agreement.wxss */
.page{
background: #fff;
flex:1;
display: flex;
position: relative;
flex-direction: column;
margin-top: 172rpx;
}
.con{
flex:1;
padding:10rpx 32rpx 0;
margin-bottom: 20rpx;
}