speechRecognition.wxml 1.5 KB

123456789101112131415161718192021222324252627
  1. <!--components/speechRecognition/speechRecognition.wxml-->
  2. <view class="voicePop" wx:if="{{show}}">
  3. <view class="voice-container">
  4. <view class="title">说说你需要搜索什么?</view>
  5. <view class="title1">你可以这样说</view>
  6. <view class="exp">
  7. <view class="exp-name" data-text="增值税申报" catch:tap="result">增值税申报</view>
  8. <view class="exp-name" data-text="数电票" catch:tap="result">数电票</view>
  9. <view class="exp-name" data-text="企业所得税申报" catch:tap="result">企业所得税申报</view>
  10. <view class="exp-name" data-text="个人所得税扣缴申报" catch:tap="result">个人所得税扣缴申报</view>
  11. </view>
  12. <scroll-view class="result" scroll-y enhanced show-scrollbar="{{false}}">
  13. <view class="voicing-box">
  14. <view wx:if="{{start}}" class="voiceing" wx:for="{{10}}" wx:key="index"></view>
  15. </view>
  16. </scroll-view>
  17. <view class="tip">{{start?'松开结束说话':'长按开始说话'}}</view>
  18. <view class="voice">
  19. <view class="voice-button {{start?'voice-hover':''}}" bind:touchstart="start" bind:touchend="end">
  20. <image class="voice-button-icon" src="../../icon/voice.png" mode="widthFix" />
  21. </view>
  22. </view>
  23. <view class="close">
  24. <view class="close-button" bind:tap="close"></view>
  25. </view>
  26. </view>
  27. </view>