From f5ff123c1830b919d010f77e697c154121e5d7dc Mon Sep 17 00:00:00 2001
From: limqsh <540344226@qq.com>
Date: Fri, 26 Apr 2024 17:22:10 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=85=8D=E8=B4=A3=E5=A3=B0?=
=?UTF-8?q?=E6=98=8E=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app.json | 3 +-
pages/disclaimers/index.js | 79 ++++++++++++++++++++++++++++++++++++
pages/disclaimers/index.json | 5 +++
pages/disclaimers/index.wxml | 6 +++
pages/disclaimers/index.wxss | 23 +++++++++++
5 files changed, 115 insertions(+), 1 deletion(-)
create mode 100644 pages/disclaimers/index.js
create mode 100644 pages/disclaimers/index.json
create mode 100644 pages/disclaimers/index.wxml
create mode 100644 pages/disclaimers/index.wxss
diff --git a/app.json b/app.json
index d6face0..bcb7211 100644
--- a/app.json
+++ b/app.json
@@ -26,7 +26,8 @@
"pages/userInfo/index",
"pages/loginIndex/index",
"pages/withdrawal/index",
- "pages/healthDocs/index"
+ "pages/healthDocs/index",
+ "pages/disclaimers/index"
],
"window": {
"backgroundTextStyle": "dark",
diff --git a/pages/disclaimers/index.js b/pages/disclaimers/index.js
new file mode 100644
index 0000000..44ae392
--- /dev/null
+++ b/pages/disclaimers/index.js
@@ -0,0 +1,79 @@
+// pages/disclaimers/index.js
+const app = getApp();
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ us: {
+
+ },
+ isGoHome: false,
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad: function (options) {
+ app.$api.aboutUs({}).then(res => {
+ this.setData({
+ us: res.uss
+ })
+ })
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady: function () {
+ let pages = getCurrentPages();
+ this.setData({
+ isGoHome: pages.length == 1
+ })
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload: function () {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh: function () {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom: function () {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage: function () {
+ return {
+ title: '智慧云馆'
+ }
+ }
+})
\ No newline at end of file
diff --git a/pages/disclaimers/index.json b/pages/disclaimers/index.json
new file mode 100644
index 0000000..396dd61
--- /dev/null
+++ b/pages/disclaimers/index.json
@@ -0,0 +1,5 @@
+{
+ "usingComponents": {
+ "header": "/component/header/header"
+ }
+}
\ No newline at end of file
diff --git a/pages/disclaimers/index.wxml b/pages/disclaimers/index.wxml
new file mode 100644
index 0000000..8272ca2
--- /dev/null
+++ b/pages/disclaimers/index.wxml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/disclaimers/index.wxss b/pages/disclaimers/index.wxss
new file mode 100644
index 0000000..7b4ee48
--- /dev/null
+++ b/pages/disclaimers/index.wxss
@@ -0,0 +1,23 @@
+/* pages/disclaimers/index.wxss */
+.container {
+ display: flex;
+ align-items: center;
+ flex-direction: column;
+ padding: 180rpx 50rpx 50rpx;
+ min-height: calc(100vh - 240rpx);
+}
+.logo {
+ width: 400rpx;
+ height: 100rpx;
+}
+
+.info {
+ margin-top: 60rpx;
+ font-size: 24rpx;
+ color: #FFF;
+ line-height: 36rpx;
+}
+
+.wscnph {
+ width: 100%;
+}
\ No newline at end of file