From abbdbbf7040d2acd25eac9fa6ae15e91f2a8c9c9 Mon Sep 17 00:00:00 2001 From: max <373170631@qq.com> Date: Wed, 6 Jul 2022 21:41:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=8F=E8=AE=AE=E7=9B=B8=E5=85=B3=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/xieyi/xieyi.js | 66 ++++++++++++++++++++++++++++++++++++++++++ pages/xieyi/xieyi.json | 3 ++ pages/xieyi/xieyi.wxml | 2 ++ pages/xieyi/xieyi.wxss | 1 + 4 files changed, 72 insertions(+) create mode 100644 pages/xieyi/xieyi.js create mode 100644 pages/xieyi/xieyi.json create mode 100644 pages/xieyi/xieyi.wxml create mode 100644 pages/xieyi/xieyi.wxss diff --git a/pages/xieyi/xieyi.js b/pages/xieyi/xieyi.js new file mode 100644 index 0000000..289d783 --- /dev/null +++ b/pages/xieyi/xieyi.js @@ -0,0 +1,66 @@ +// pages/xieyi/xieyi.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + path: '' + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + this.setData({path: decodeURIComponent(options.path)}); + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/xieyi/xieyi.json b/pages/xieyi/xieyi.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/xieyi/xieyi.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/xieyi/xieyi.wxml b/pages/xieyi/xieyi.wxml new file mode 100644 index 0000000..b6ba26a --- /dev/null +++ b/pages/xieyi/xieyi.wxml @@ -0,0 +1,2 @@ + + diff --git a/pages/xieyi/xieyi.wxss b/pages/xieyi/xieyi.wxss new file mode 100644 index 0000000..9e07676 --- /dev/null +++ b/pages/xieyi/xieyi.wxss @@ -0,0 +1 @@ +/* pages/xieyi/xieyi.wxss */ \ No newline at end of file