9 changed files with 137 additions and 3 deletions
@ -1 +1,13 @@ |
|||
/* pages/topics/interactive/index.wxss */ |
|||
.publish{ |
|||
position: fixed; |
|||
width: 40px; |
|||
height: 40px; |
|||
right: 20px; |
|||
bottom: 40px; |
|||
} |
|||
|
|||
image{ |
|||
width: 100%; |
|||
height: 100%; |
|||
} |
@ -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 () { |
|||
|
|||
} |
|||
}) |
@ -0,0 +1,4 @@ |
|||
{ |
|||
"navigationBarTitleText": "新建议题", |
|||
"usingComponents": {} |
|||
} |
@ -0,0 +1,9 @@ |
|||
<!--pages/topics/interactive/submitTopic/index.wxml--> |
|||
<view class="container"> |
|||
<input class="title" bindinput="bindTextInput" placeholder="议题"></input> |
|||
<view class="line-view"></view> |
|||
<textarea class="textArea" bindinput="bindTextAreaInput" placeholder="详情内容" /> |
|||
<view class="btnView"> |
|||
<button class="submitBtn" bindtap="submit">提交</button> |
|||
</view> |
|||
</view> |
@ -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% |
|||
); |
|||
} |
Loading…
Reference in new issue