|
@@ -66,17 +66,15 @@
|
|
|
</uni-card>
|
|
|
<view v-if="isEdit" class="ss-m-t-30 journal-content">
|
|
|
<uni-easyinput
|
|
|
- :type="inputType"
|
|
|
+ type="textarea"
|
|
|
v-model="notes"
|
|
|
clearable
|
|
|
- :focus="inputType === 'textarea'"
|
|
|
maxlength="500"
|
|
|
autoHeight
|
|
|
placeholder="请输入要记录的内容"
|
|
|
- @input="handleInput"
|
|
|
/>
|
|
|
- <view v-if="inputType === 'textarea'" style="text-align: end;" class="ss-m-t-10 color-999">{{ notes?.length || 0 }}/500</view>
|
|
|
- <view class="f-horizon-center" v-if="inputType === 'textarea'">
|
|
|
+ <view v-if="notes?.length" style="text-align: end;" class="ss-m-t-10 color-999">{{ notes?.length || 0 }}/500</view>
|
|
|
+ <view class="f-horizon-center" v-if="notes?.length">
|
|
|
<button class="commonBtnStyle cancel-button" size="default" @click="handleCancel">取 消</button>
|
|
|
<button
|
|
|
size="default"
|