正在显示
3 个修改的文件
包含
16 行增加
和
4 行删除
@@ -42,7 +42,9 @@ | @@ -42,7 +42,9 @@ | ||
42 | <view class="title"> | 42 | <view class="title"> |
43 | <image src="/imgs/must.png" /> 感想汇报 | 43 | <image src="/imgs/must.png" /> 感想汇报 |
44 | </view> | 44 | </view> |
45 | - <textarea class="word" placeholder="请输入内容,内容最多500字" bindinput="get_word" value="{{word}}" disabled="{{user_id}}" /> | 45 | + <textarea class="word" placeholder="请输入内容,内容最多500字" bindinput="get_word" value="{{word}}" disabled="{{user_id}}" maxlength="500"> |
46 | + <view class="word_num">{{word?word.length:0}}/500</view> | ||
47 | + </textarea> | ||
46 | </view> | 48 | </view> |
47 | 49 | ||
48 | <view class="submit" bindtap="submit" wx:if="{{!user_id}}">确认</view> | 50 | <view class="submit" bindtap="submit" wx:if="{{!user_id}}">确认</view> |
@@ -88,17 +88,27 @@ page { | @@ -88,17 +88,27 @@ page { | ||
88 | 88 | ||
89 | .word { | 89 | .word { |
90 | width: 100%; | 90 | width: 100%; |
91 | - height: 273rpx; | 91 | + height: 373rpx; |
92 | border: 1px solid rgba(229, 229, 229, 1); | 92 | border: 1px solid rgba(229, 229, 229, 1); |
93 | border-radius: 10rpx; | 93 | border-radius: 10rpx; |
94 | - padding: 28rpx; | 94 | + padding: 28rpx 28rpx 48rpx 28rpx; |
95 | box-sizing: border-box; | 95 | box-sizing: border-box; |
96 | font-size: 26rpx; | 96 | font-size: 26rpx; |
97 | font-family: PingFang SC; | 97 | font-family: PingFang SC; |
98 | font-weight: 500; | 98 | font-weight: 500; |
99 | color: rgba(204, 204, 204, 1); | 99 | color: rgba(204, 204, 204, 1); |
100 | + position: relative; | ||
100 | } | 101 | } |
101 | 102 | ||
103 | +.word_num{ | ||
104 | + font-size: 26rpx; | ||
105 | + font-family: PingFang SC; | ||
106 | + font-weight: 500; | ||
107 | + color: rgba(204, 204, 204, 1); | ||
108 | + position: absolute; | ||
109 | + right: 28rpx; | ||
110 | + bottom: 10rpx; | ||
111 | +} | ||
102 | .submit { | 112 | .submit { |
103 | width: 686rpx; | 113 | width: 686rpx; |
104 | height: 88rpx; | 114 | height: 88rpx; |
@@ -22,7 +22,7 @@ | @@ -22,7 +22,7 @@ | ||
22 | "uglifyFileName": true | 22 | "uglifyFileName": true |
23 | }, | 23 | }, |
24 | "compileType": "miniprogram", | 24 | "compileType": "miniprogram", |
25 | - "libVersion": "2.8.1", | 25 | + "libVersion": "2.8.3", |
26 | "appid": "wx7a3bf4e0796c070a", | 26 | "appid": "wx7a3bf4e0796c070a", |
27 | "projectname": "zhiyuanzhe", | 27 | "projectname": "zhiyuanzhe", |
28 | "debugOptions": { | 28 | "debugOptions": { |
-
请 注册 或 登录 后发表评论