From 502e244ba792ca3b31385191514547cd23a5adb4 Mon Sep 17 00:00:00 2001 From: "468256203@qq.com" <468256203@qq.com> Date: Wed, 27 Sep 2017 11:53:20 +0800 Subject: [PATCH 1/7] =?UTF-8?q?#47=E7=AC=AC=E4=BA=8C=E6=AC=A1=E8=AF=95?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1517060309/1517060309/Untitled-1.html | 27 +++++++++++++++++++++++++++ 1517060309/1517060309/style.css | 9 +++++++++ 2 files changed, 36 insertions(+) create mode 100644 1517060309/1517060309/Untitled-1.html create mode 100644 1517060309/1517060309/style.css diff --git a/1517060309/1517060309/Untitled-1.html b/1517060309/1517060309/Untitled-1.html new file mode 100644 index 0000000..24b42d5 --- /dev/null +++ b/1517060309/1517060309/Untitled-1.html @@ -0,0 +1,27 @@ + + + + +无标题文档 + + + +
+

123木头人

+
+ + + + + + +
+ 不许动 +
+ + + diff --git a/1517060309/1517060309/style.css b/1517060309/1517060309/style.css new file mode 100644 index 0000000..77da1de --- /dev/null +++ b/1517060309/1517060309/style.css @@ -0,0 +1,9 @@ +@charset "utf-8"; +/* CSS Document */ + +p{ + text-align:center; + } +.tb{ + display:block; + } \ No newline at end of file From 21f97e9c36df747c88070fa145f7ba5da6d3b5a7 Mon Sep 17 00:00:00 2001 From: "468256203@qq.com" <468256203@qq.com> Date: Wed, 18 Oct 2017 10:12:41 +0800 Subject: [PATCH 2/7] =?UTF-8?q?#71=E7=AC=AC=E4=B8=89=E6=AC=A1=E8=AF=95?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1517060309/1517060333/html.html | 29 +++++++++ 1517060309/1517060333/style.css | 9 +++ 1517060309/scorll.js | 110 ++++++++++++++++++++++++++++++++ 1517060309/scorll.json | 1 + 1517060309/scorll.wxml | 27 ++++++++ 1517060309/scorll.wxss | 1 + 6 files changed, 177 insertions(+) create mode 100644 1517060309/1517060333/html.html create mode 100644 1517060309/1517060333/style.css create mode 100644 1517060309/scorll.js create mode 100644 1517060309/scorll.json create mode 100644 1517060309/scorll.wxml create mode 100644 1517060309/scorll.wxss diff --git a/1517060309/1517060333/html.html b/1517060309/1517060333/html.html new file mode 100644 index 0000000..83e6993 --- /dev/null +++ b/1517060309/1517060333/html.html @@ -0,0 +1,29 @@ + + + + +1517060333 + + + +
+

勒是雾都

+
+ + + + + + +
+ GAI + + PG ONE +
+ + + diff --git a/1517060309/1517060333/style.css b/1517060309/1517060333/style.css new file mode 100644 index 0000000..77da1de --- /dev/null +++ b/1517060309/1517060333/style.css @@ -0,0 +1,9 @@ +@charset "utf-8"; +/* CSS Document */ + +p{ + text-align:center; + } +.tb{ + display:block; + } \ No newline at end of file diff --git a/1517060309/scorll.js b/1517060309/scorll.js new file mode 100644 index 0000000..2a9f73c --- /dev/null +++ b/1517060309/scorll.js @@ -0,0 +1,110 @@ +// pages/comp/scroll.js +var base64 = require("../example/images/base64"); + +Page({ + + /** + * 页面的初始数据 + */ + data: { + isEnd: false, + messages: [{ + name: "张三", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }, { + name: "李四", + last: "您好!" + }] + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + this.setData({ + icon20: base64.icon20, + icon60: base64.icon60 + }); + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + }, + + onEnd: function () { + console.log("onEnd") + var that = this; + var data = that.data; + that.setData({ + isEnd: true /*, + messages: data.messages.concat([{ + name: "Tom", + last: "Hello!" + }, { + name: "john", + last: "yes." + }]) */ + }); + + } +}) \ No newline at end of file diff --git a/1517060309/scorll.json b/1517060309/scorll.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/scorll.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/scorll.wxml b/1517060309/scorll.wxml new file mode 100644 index 0000000..5e598b2 --- /dev/null +++ b/1517060309/scorll.wxml @@ -0,0 +1,27 @@ + + + + Panel + 面板 + + + + + + + + + + + {{index}} {{item.name}} + {{item.last}} + + + + + + + 正在加载…… + + + \ No newline at end of file diff --git a/1517060309/scorll.wxss b/1517060309/scorll.wxss new file mode 100644 index 0000000..b4b450f --- /dev/null +++ b/1517060309/scorll.wxss @@ -0,0 +1 @@ +/* pages/comp/scorll.wxss */ \ No newline at end of file From 8657f6519fc32a17de410e8e8828cc708d3f6e84 Mon Sep 17 00:00:00 2001 From: "468256203@qq.com" <468256203@qq.com> Date: Wed, 18 Oct 2017 10:19:42 +0800 Subject: [PATCH 3/7] =?UTF-8?q?#71=E7=AC=AC=E4=B8=89=E6=AC=A1=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1517060309/1517060333/html.html | 29 ----------------------------- 1517060309/1517060333/style.css | 9 --------- 2 files changed, 38 deletions(-) delete mode 100644 1517060309/1517060333/html.html delete mode 100644 1517060309/1517060333/style.css diff --git a/1517060309/1517060333/html.html b/1517060309/1517060333/html.html deleted file mode 100644 index 83e6993..0000000 --- a/1517060309/1517060333/html.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - -1517060333 - - - -
-

勒是雾都

-
- - - - - - -
- GAI - - PG ONE -
- - - diff --git a/1517060309/1517060333/style.css b/1517060309/1517060333/style.css deleted file mode 100644 index 77da1de..0000000 --- a/1517060309/1517060333/style.css +++ /dev/null @@ -1,9 +0,0 @@ -@charset "utf-8"; -/* CSS Document */ - -p{ - text-align:center; - } -.tb{ - display:block; - } \ No newline at end of file From 1997fe4b0df8ddab8404cc8b153317bfa2e969b3 Mon Sep 17 00:00:00 2001 From: "468256203@qq.com" <468256203@qq.com> Date: Wed, 18 Oct 2017 10:22:19 +0800 Subject: [PATCH 4/7] =?UTF-8?q?#71=E7=AC=AC=E4=B8=89=E6=AC=A1=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1517060309/1517060309.txt | 13 ------------- 1517060309/1517060309/Untitled-1.html | 27 --------------------------- 1517060309/1517060309/style.css | 9 --------- 3 files changed, 49 deletions(-) delete mode 100644 1517060309/1517060309.txt delete mode 100644 1517060309/1517060309/Untitled-1.html delete mode 100644 1517060309/1517060309/style.css diff --git a/1517060309/1517060309.txt b/1517060309/1517060309.txt deleted file mode 100644 index 64e57a4..0000000 --- a/1517060309/1517060309.txt +++ /dev/null @@ -1,13 +0,0 @@ - - - - -1517060309 - - -

ͼƬ

- - -ͼƬվ - - \ No newline at end of file diff --git a/1517060309/1517060309/Untitled-1.html b/1517060309/1517060309/Untitled-1.html deleted file mode 100644 index 24b42d5..0000000 --- a/1517060309/1517060309/Untitled-1.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - -无标题文档 - - - -
-

123木头人

-
- - - - - - -
- 不许动 -
- - - diff --git a/1517060309/1517060309/style.css b/1517060309/1517060309/style.css deleted file mode 100644 index 77da1de..0000000 --- a/1517060309/1517060309/style.css +++ /dev/null @@ -1,9 +0,0 @@ -@charset "utf-8"; -/* CSS Document */ - -p{ - text-align:center; - } -.tb{ - display:block; - } \ No newline at end of file From 0e88cb6c25856fe7d62fcb19c63a520760faca9c Mon Sep 17 00:00:00 2001 From: "468256203@qq.com" <468256203@qq.com> Date: Wed, 18 Oct 2017 10:28:21 +0800 Subject: [PATCH 5/7] =?UTF-8?q?#22=E7=AC=AC=E4=B8=89=E6=AC=A1=E4=BD=9C?= =?UTF-8?q?=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1517060309/1517060309.txt | 13 +++++++++++++ 1517060309/1517060309/Untitled-1.html | 27 +++++++++++++++++++++++++++ 1517060309/1517060309/style.css | 9 +++++++++ 3 files changed, 49 insertions(+) create mode 100644 1517060309/1517060309.txt create mode 100644 1517060309/1517060309/Untitled-1.html create mode 100644 1517060309/1517060309/style.css diff --git a/1517060309/1517060309.txt b/1517060309/1517060309.txt new file mode 100644 index 0000000..64e57a4 --- /dev/null +++ b/1517060309/1517060309.txt @@ -0,0 +1,13 @@ + + + + +1517060309 + + +

ͼƬ

+ + +ͼƬվ + + \ No newline at end of file diff --git a/1517060309/1517060309/Untitled-1.html b/1517060309/1517060309/Untitled-1.html new file mode 100644 index 0000000..24b42d5 --- /dev/null +++ b/1517060309/1517060309/Untitled-1.html @@ -0,0 +1,27 @@ + + + + +无标题文档 + + + +
+

123木头人

+
+ + + + + + +
+ 不许动 +
+ + + diff --git a/1517060309/1517060309/style.css b/1517060309/1517060309/style.css new file mode 100644 index 0000000..77da1de --- /dev/null +++ b/1517060309/1517060309/style.css @@ -0,0 +1,9 @@ +@charset "utf-8"; +/* CSS Document */ + +p{ + text-align:center; + } +.tb{ + display:block; + } \ No newline at end of file From c2baf551415e1e0a267bfd9048a8fc5c28fca865 Mon Sep 17 00:00:00 2001 From: "468256203@qq.com" <468256203@qq.com> Date: Wed, 18 Oct 2017 10:53:54 +0800 Subject: [PATCH 6/7] =?UTF-8?q?#82=E8=A1=A8=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1517060309/form/form.js | 91 +++++++++++++++++++++++++++++++++++++++ 1517060309/form/form.json | 1 + 1517060309/form/form.wxml | 35 +++++++++++++++ 1517060309/form/form.wxss | 1 + 4 files changed, 128 insertions(+) create mode 100644 1517060309/form/form.js create mode 100644 1517060309/form/form.json create mode 100644 1517060309/form/form.wxml create mode 100644 1517060309/form/form.wxss diff --git a/1517060309/form/form.js b/1517060309/form/form.js new file mode 100644 index 0000000..c9195dd --- /dev/null +++ b/1517060309/form/form.js @@ -0,0 +1,91 @@ +// pages/form/form.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + text: "Hello" + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + var that = this; + wx.getStorage({ + key: 'formData', + success: function (res) { + console.log(res.data) + that.setData({ + text: res.data.text, + paragh: res.data.paragh + }); + } + }) + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + }, + + doSubmit: function (e) { + console.dir(e) + var that = this; + var text = e.detail.value.text; + var paragh = e.detail.value.paragh; + + wx.setStorage({ + key: "formData", + data: { + text: text, + paragh: paragh + } + }) + } +}) \ No newline at end of file diff --git a/1517060309/form/form.json b/1517060309/form/form.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/1517060309/form/form.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/1517060309/form/form.wxml b/1517060309/form/form.wxml new file mode 100644 index 0000000..3736ce7 --- /dev/null +++ b/1517060309/form/form.wxml @@ -0,0 +1,35 @@ + + + + 表单示例 + 输入文字并提交 + +
+ + {{text + ", " + paragh}} + + 文本框 + + + + + + + + + 文本域 + + + +