Commit 28c39157 by 高淑倩

textarea

parent 407b6aa3
......@@ -22,8 +22,9 @@
<view class="title-border">
<input placeholder="添加标题" name="headline" value="{{params.headline}}" />
</view>
<view class="title-border">
<input placeholder="这一刻想说什么..." name="article" value="{{params.article}}" />
<view class="title-border-text">
<!--<input placeholder="这一刻想说什么..." name="article" value="{{params.article}}" />-->
<textarea bindblur="bindWordLimit" style="width: 100%;" class='textarea-text' name="article" value="{{params.article}}" auto-height placeholder="这一刻想说什么..." />
</view>
<view class="title-border" bindtap="selectTab">
<image class="tab-icon" src="/assets/imgs/7_1_0/tab.png"></image>
......
......@@ -17,6 +17,25 @@ page{
font-family: PingFangSC-Regular;
padding-bottom: 100rpx;
}
.textarea {
margin: 20rpx;
height: 120rpx;
/* width: 600rpx; */
background: #eee;
box-sizing: border-box;
padding: 20rpx;
margin-left: 0rpx;
border-radius: 10rpx;
font-size: 28rpx;
line-height: 1.5;
margin-left:40rpx;
}
.title-border-text {
padding: 20rpx 0;
box-sizing: border-box;
border-bottom: 1px solid rgba(151, 151, 151, 0.3)
}
.post-notes{
text-align: center;
height: 88rpx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment