作者 niufei

11

... ... @@ -42,7 +42,9 @@
<view class="title">
<image src="/imgs/must.png" /> 感想汇报
</view>
<textarea class="word" placeholder="请输入内容,内容最多500字" bindinput="get_word" value="{{word}}" disabled="{{user_id}}" />
<textarea class="word" placeholder="请输入内容,内容最多500字" bindinput="get_word" value="{{word}}" disabled="{{user_id}}" maxlength="500">
<view class="word_num">{{word?word.length:0}}/500</view>
</textarea>
</view>
<view class="submit" bindtap="submit" wx:if="{{!user_id}}">确认</view>
\ No newline at end of file
... ...
... ... @@ -88,17 +88,27 @@ page {
.word {
width: 100%;
height: 273rpx;
height: 373rpx;
border: 1px solid rgba(229, 229, 229, 1);
border-radius: 10rpx;
padding: 28rpx;
padding: 28rpx 28rpx 48rpx 28rpx;
box-sizing: border-box;
font-size: 26rpx;
font-family: PingFang SC;
font-weight: 500;
color: rgba(204, 204, 204, 1);
position: relative;
}
.word_num{
font-size: 26rpx;
font-family: PingFang SC;
font-weight: 500;
color: rgba(204, 204, 204, 1);
position: absolute;
right: 28rpx;
bottom: 10rpx;
}
.submit {
width: 686rpx;
height: 88rpx;
... ...
... ... @@ -22,7 +22,7 @@
"uglifyFileName": true
},
"compileType": "miniprogram",
"libVersion": "2.8.1",
"libVersion": "2.8.3",
"appid": "wx7a3bf4e0796c070a",
"projectname": "zhiyuanzhe",
"debugOptions": {
... ...