<!--pages/speechToText/index.wxml-->
|
<block class="card">
|
<view class="speechToText-main">
|
<block wx:if="{{key==='caseDes'}}">
|
<view class="cell-item">
|
<view class="cell-title"><text><text class="cell-required">*</text>事项概况</text></view>
|
<van-field custom-style="padding:0 20rpx;line-height:90rpx; margin-bottom:32rpx" autosize="{{ { maxHeight: 470, minHeight: 470 } }}" bind:change="handleChange" border="{{ false }}" maxlength='2000' data-key="number" placeholder="请完整描述事项概况,应具备5要素:发生时间+发生地点+人物情况+事项起因+事项经过" type="textarea" value="{{ value }}" />
|
</view>
|
<view class="textarea-foot">
|
<view class="textarea-limit">{{number||0}}/2000字</view>
|
<view class="textarea-ability">
|
<!-- <view bindtouchstart="touchStart" bindtouchend="touchEnd" class="textarea-img"> -->
|
<view bindtouchstart="touchStart" bindtouchend="touchEnd" class="textarea-img">
|
<image src="{{imgUrl}}voiceOcr.png" mode="" />按住说话
|
</view>
|
</view>
|
</view>
|
</block>
|
<block wx:else>
|
<view class="cell-item">
|
<view class="cell-title"><text><text class="cell-required">*</text>事项申请</text></view>
|
<van-field custom-style="padding:0 20rpx;line-height:90rpx" autosize="{{ { maxHeight: 470, minHeight: 470 } }}" bind:change="handleChange" border="{{ false }}" maxlength='500' data-key="number" placeholder="希望相关部门如何处理,建议分条描述,如请求1,请求2..." type="textarea" value="{{ value }}" />
|
</view>
|
<view class="textarea-foot">
|
<view class="textarea-limit">{{number||0}}/500字</view>
|
<view class="textarea-ability">
|
<view bindtouchstart="touchStart" bindtouchend="touchEnd" class="textarea-img">
|
<image src="{{imgUrl}}voiceOcr.png" mode="" />按住说话
|
</view>
|
</view>
|
</view>
|
</block>
|
<view wx:if="{{showModal}}" class="modal-card">
|
<!-- <image class="modal-img" src="{{imgUrl}}speechToText.png" mode="" /> -->
|
<view class="recording">
|
<!-- 语音动画 -->
|
<block>
|
<view class="time-box">
|
<view class="time-box-top">
|
<view class="hr hr1" />
|
<view class="hr hr2" />
|
<view class="hr hr3" />
|
<view class="hr hr4" />
|
<view class="hr hr5" />
|
<view class="hr hr6" />
|
<view class="hr hr7" />
|
<view class="hr hr8" />
|
<view class="hr hr9" />
|
<view class="hr hr10" />
|
</view>
|
<view class="time-box-bottom">
|
<view class="hr hr1" />
|
<view class="hr hr2" />
|
<view class="hr hr3" />
|
<view class="hr hr4" />
|
<view class="hr hr5" />
|
<view class="hr hr6" />
|
<view class="hr hr7" />
|
<view class="hr hr8" />
|
<view class="hr hr9" />
|
<view class="hr hr10" />
|
</view>
|
</view>
|
<view class="recording-title">松开结束,上滑取消</view>
|
</block>
|
</view>
|
</view>
|
</view>
|
<view class="submitButton" catch:tap="">
|
<view style="flex: 1;">
|
<van-button bind:click="handleNext" block data-type="next" type="primary">保存</van-button>
|
<view class="safeHeight" />
|
</view>
|
</view>
|
|
<view class="modal">
|
|
</view>
|
</block>
|