diff --git a/app.json b/app.json index c9f2183..951fcda 100644 --- a/app.json +++ b/app.json @@ -6,7 +6,10 @@ "pages/topics/index", "pages/billboards/firm/index", "pages/billboards/park/index", - "pages/billboards/policy/index" + "pages/billboards/policy/index", + "pages/topics/common/message/index", + "pages/topics/common/interactive/index", + "pages/topics/common/goodIdea/index" ], "window": { "backgroundTextStyle": "light", diff --git a/pages/topics/common/goodIdea/index.js b/pages/topics/common/goodIdea/index.js new file mode 100644 index 0000000..1181c77 --- /dev/null +++ b/pages/topics/common/goodIdea/index.js @@ -0,0 +1,66 @@ +// pages/topics/common/goodIdea/index.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/topics/common/goodIdea/index.json b/pages/topics/common/goodIdea/index.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/topics/common/goodIdea/index.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/topics/common/goodIdea/index.wxml b/pages/topics/common/goodIdea/index.wxml new file mode 100644 index 0000000..1b000c0 --- /dev/null +++ b/pages/topics/common/goodIdea/index.wxml @@ -0,0 +1,2 @@ + +pages/topics/common/goodIdea/index.wxml diff --git a/pages/topics/common/goodIdea/index.wxss b/pages/topics/common/goodIdea/index.wxss new file mode 100644 index 0000000..70e56bc --- /dev/null +++ b/pages/topics/common/goodIdea/index.wxss @@ -0,0 +1 @@ +/* pages/topics/common/goodIdea/index.wxss */ \ No newline at end of file diff --git a/pages/topics/common/interactive/index.js b/pages/topics/common/interactive/index.js new file mode 100644 index 0000000..8531848 --- /dev/null +++ b/pages/topics/common/interactive/index.js @@ -0,0 +1,66 @@ +// pages/topics/common/interactive/index.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + } +}) \ No newline at end of file diff --git a/pages/topics/common/interactive/index.json b/pages/topics/common/interactive/index.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/topics/common/interactive/index.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/topics/common/interactive/index.wxml b/pages/topics/common/interactive/index.wxml new file mode 100644 index 0000000..92548ab --- /dev/null +++ b/pages/topics/common/interactive/index.wxml @@ -0,0 +1,2 @@ + +pages/topics/common/interactive/index.wxml diff --git a/pages/topics/common/interactive/index.wxss b/pages/topics/common/interactive/index.wxss new file mode 100644 index 0000000..831b94e --- /dev/null +++ b/pages/topics/common/interactive/index.wxss @@ -0,0 +1 @@ +/* pages/topics/common/interactive/index.wxss */ \ No newline at end of file diff --git a/pages/topics/common/message/index.js b/pages/topics/common/message/index.js new file mode 100644 index 0000000..f9781db --- /dev/null +++ b/pages/topics/common/message/index.js @@ -0,0 +1,75 @@ +// pages/topics/common/message/index.js +Page({ + + /** + * 页面的初始数据 + */ + data: { + textAreaString:"" + }, + + /** + * 生命周期函数--监听页面加载 + */ + onLoad: function (options) { + + }, + + /** + * 生命周期函数--监听页面初次渲染完成 + */ + onReady: function () { + + }, + + /** + * 生命周期函数--监听页面显示 + */ + onShow: function () { + + }, + + /** + * 生命周期函数--监听页面隐藏 + */ + onHide: function () { + + }, + + /** + * 生命周期函数--监听页面卸载 + */ + onUnload: function () { + + }, + + /** + * 页面相关事件处理函数--监听用户下拉动作 + */ + onPullDownRefresh: function () { + + }, + + /** + * 页面上拉触底事件的处理函数 + */ + onReachBottom: function () { + + }, + + /** + * 用户点击右上角分享 + */ + onShareAppMessage: function () { + + }, + + bindTextAreaInput(e){ + this.setData({ + textAreaString:e.detail.value + }) + }, + submit(){ + console.log(this.data.textAreaString) + } +}) \ No newline at end of file diff --git a/pages/topics/common/message/index.json b/pages/topics/common/message/index.json new file mode 100644 index 0000000..8835af0 --- /dev/null +++ b/pages/topics/common/message/index.json @@ -0,0 +1,3 @@ +{ + "usingComponents": {} +} \ No newline at end of file diff --git a/pages/topics/common/message/index.wxml b/pages/topics/common/message/index.wxml new file mode 100644 index 0000000..7c8c0cb --- /dev/null +++ b/pages/topics/common/message/index.wxml @@ -0,0 +1,11 @@ + + + + +