Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/H5/threeSide
| | |
| | | <text class="fs-27 font-bold">语音文件{{ index + 1 }}</text> |
| | | </view> |
| | | <view class="flex j-between a-center"> |
| | | <image src="/static/Appeal/delete.png" class="w-27 h-27 mr-38" mode=""></image> |
| | | <image src="/static/Appeal/delete.png" class="w-27 h-27 mr-38" mode="" |
| | | @click.stop="deleteVoice(index)"></image> |
| | | |
| | | <image src="/static/Appeal/open.png" class="w-27 h-27" mode="" v-if="!item.playing" |
| | | @click.stop="onPlayRecording(index)"></image> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="footer"> |
| | | <view class="cancel" @click="submit(1)"> |
| | | <view class="cancel" @click="submit(1)" v-if="userInfo.levelId > 1"> |
| | | 问题上报 |
| | | </view> |
| | | <view class="cancel" @click="submit(2)"> |
| | |
| | | descriptionTitle: '', |
| | | descriptionContent: '', |
| | | videoContent: [], |
| | | latitude: '', |
| | | longitude: '', |
| | | location: '', |
| | | latitude: '30.5061493', |
| | | longitude: '105.574542', |
| | | location: '测试地址', |
| | | images: [], |
| | | videos: [], |
| | | voiceFile: '', //语音文件多个逗号拼接 |
| | |
| | | onPausePlaying(index) { |
| | | this.videoContent[index].playing = false; |
| | | this.pausePlaying(this.videoContent[index].url); |
| | | }, |
| | | deleteVoice(ind) { |
| | | this.videoContent = this.videoContent.filter((item, index) => index != ind) |
| | | }, |
| | | voiceInput() { |
| | | this.voiceInputShow = true; |
| | |
| | | } else if (!this.detailedAddress) { |
| | | uni.showToast({ |
| | | title: '请输入详细地址', |
| | | icon: 'none' |
| | | }) |
| | | return |
| | | } else if (!this.descriptionContent) { |
| | | uni.showToast({ |
| | | title: '请输入问题描述', |
| | | icon: 'none' |
| | | }) |
| | | return |
| | |
| | | display: flex; |
| | | gap: 27rpx; |
| | | padding: 33rpx 10rpx; |
| | | justify-content: space-between; |
| | | |
| | | .cancel { |
| | | width: 331rpx; |
| | |
| | | }; |
| | | }, |
| | | onShow() { |
| | | this.accountLevel = uni.getStorageSync('userInfo').accountLevel || 1 |
| | | this.accountLevel = uni.getStorageSync('userInfo').levelId || 1 |
| | | }, |
| | | onLoad(option) { |
| | | // option.id = 1 |