diff --git a/app.json b/app.json
index cd9f2b2..c5208eb 100644
--- a/app.json
+++ b/app.json
@@ -15,7 +15,8 @@
"pages/user/myIdea/index",
"pages/user/myMessage/index",
"pages/user/myTopics/index",
- "pages/user/myInfo/index"
+ "pages/user/myInfo/index",
+ "pages/topics/interactive/submitTopic/index"
],
"window": {
"backgroundTextStyle": "light",
diff --git a/pages/topics/interactive/index.js b/pages/topics/interactive/index.js
index 82ef72f..0e7b4fa 100644
--- a/pages/topics/interactive/index.js
+++ b/pages/topics/interactive/index.js
@@ -46,6 +46,11 @@ Component({
* 组件的方法列表
*/
methods: {
+ onTap(){
+ wx.navigateTo({
+ url: `/pages/topics/interactive/submitTopic/index`,
+ })
+ },
clickListItem(e) {
const articleId = e.detail.articleId;
console.log(articleId);
diff --git a/pages/topics/interactive/index.wxml b/pages/topics/interactive/index.wxml
index 0042e80..09a121b 100644
--- a/pages/topics/interactive/index.wxml
+++ b/pages/topics/interactive/index.wxml
@@ -11,4 +11,8 @@
showTop="{{item.showTop}}"
bind:clickListItem="clickListItem"/>
+
+
+
+
diff --git a/pages/topics/interactive/index.wxss b/pages/topics/interactive/index.wxss
index 4e141c9..75fc54f 100644
--- a/pages/topics/interactive/index.wxss
+++ b/pages/topics/interactive/index.wxss
@@ -1 +1,13 @@
-/* pages/topics/interactive/index.wxss */
\ No newline at end of file
+/* pages/topics/interactive/index.wxss */
+.publish{
+ position: fixed;
+ width: 40px;
+ height: 40px;
+ right: 20px;
+ bottom: 40px;
+}
+
+image{
+ width: 100%;
+ height: 100%;
+}
\ No newline at end of file
diff --git a/pages/topics/interactive/submitTopic/index.js b/pages/topics/interactive/submitTopic/index.js
new file mode 100644
index 0000000..30bd674
--- /dev/null
+++ b/pages/topics/interactive/submitTopic/index.js
@@ -0,0 +1,65 @@
+// pages/topics/interactive/submitTopic/index.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad: function (options) {
+
+ },
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide: function () {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload: function () {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh: function () {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom: function () {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage: function () {
+
+ }
+})
diff --git a/pages/topics/interactive/submitTopic/index.json b/pages/topics/interactive/submitTopic/index.json
new file mode 100644
index 0000000..f485038
--- /dev/null
+++ b/pages/topics/interactive/submitTopic/index.json
@@ -0,0 +1,4 @@
+{
+ "navigationBarTitleText": "新建议题",
+ "usingComponents": {}
+}
\ No newline at end of file
diff --git a/pages/topics/interactive/submitTopic/index.wxml b/pages/topics/interactive/submitTopic/index.wxml
new file mode 100644
index 0000000..56316dd
--- /dev/null
+++ b/pages/topics/interactive/submitTopic/index.wxml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
diff --git a/pages/topics/interactive/submitTopic/index.wxss b/pages/topics/interactive/submitTopic/index.wxss
new file mode 100644
index 0000000..503810b
--- /dev/null
+++ b/pages/topics/interactive/submitTopic/index.wxss
@@ -0,0 +1,35 @@
+/* pages/topics/interactive/submitTopic/index.wxss */
+.container{
+ padding: 20px;
+}
+.title{
+ font-size: 15px;
+}
+.textArea{
+ font-size: 14px;
+}
+.line-view{
+ height: 1px;
+ background-color: #F1F1F1;
+ margin: 10px 0 10px 0;
+}
+
+.btnView{
+ position: fixed;
+ width: 90%;
+ height: 45px;
+ bottom: 10px;
+}
+.submitBtn{
+ /* background-image: url("/images/common/btn_bg.png"); */
+ height: 45px;
+ line-height: 40px;
+ border-radius: 5px;
+ color: white;
+ font-size: 14px;
+ background-image: linear-gradient(
+ to right,
+ #FD6553 30%,
+ #D70403 100%
+ );
+}
diff --git a/pages/topics/message/index.wxss b/pages/topics/message/index.wxss
index ba3cd0a..30144d6 100644
--- a/pages/topics/message/index.wxss
+++ b/pages/topics/message/index.wxss
@@ -17,7 +17,6 @@
width: 90%;
height: 45px;
bottom: 10px;
- background-color: white;
}
.submitBtn{
/* width: 100%; */