| | |
| | | |
| | | </view> |
| | | <view class="card flex a-center h-108 j-between" @click="goTopagelocation()"> |
| | | <text class="w-108 fs-27 font-bold mr-85">地点</text> |
| | | <text class="w-108 fs-27 font-bold mr-85">发生地点</text> |
| | | <view class=" flex a-center j-between flex1"> |
| | | |
| | | <view class="flex1" v-if="location"> |
| | |
| | | <view class="mt-35"> |
| | | <text class="w-108 fs-27 font-bold mr-85">问题描述</text> |
| | | <view class="bg mt-27 fs-27"> |
| | | <view class="h-94 " style="border-bottom: 2rpx solid rgba(0, 10, 26, 0.07);"> |
| | | <!-- <view class="h-94 " style="border-bottom: 2rpx solid rgba(0, 10, 26, 0.07);"> |
| | | <input v-model="descriptionTitle" placeholder-style="color: rgba(0,0,0,0.3);font-size:27rpx;" |
| | | class="h-94 pl-31 flex1" placeholder="请输入问题标题" /> |
| | | </view> |
| | | </view> --> |
| | | <textarea name="" v-model="descriptionContent" id="" cols="30" placeholder="请输入问题描述内容" |
| | | placeholder-style="color: rgba(0, 0, 0, 0.30);font-size:27rpx;" rows="10"></textarea> |
| | | </view> |
| | | </view> |
| | | <view class="mt-35"> |
| | | <text class="w-108 fs-27 font-bold mr-85">图片</text> |
| | | <view class="mt-27 flex a-center"> |
| | | <text class="w-108 fs-27 font-bold mr-85">上传图片</text> |
| | | <view class="mt-27 flex a-center flex" style="flex-wrap: wrap;"> |
| | | <view class="img mr-15" v-for="item,index in images" :key="index"> |
| | | <image :src="item" class="w-140 h-140" mode=""></image> |
| | | <view class="img-icon"> |
| | |
| | | </view> |
| | | </view> |
| | | <view class="mt-35"> |
| | | <text class="w-108 fs-27 font-bold mr-85">视频</text> |
| | | <view class="mt-27 flex a-center"> |
| | | <text class="w-108 fs-27 font-bold mr-85">上传视频</text> |
| | | <view class="mt-27 flex a-center flex" style="flex-wrap: wrap;"> |
| | | <view class="img mr-15" v-for="item,index in videos" :key="index"> |
| | | <video :controls="false" :show-center-play-btn="false" :src="item" class="w-140 h-140" |
| | | mode=""></video> |
| | |
| | | icon: 'none' |
| | | }) |
| | | return |
| | | } else if (!this.descriptionTitle) { |
| | | uni.showToast({ |
| | | title: '请输入问题标题', |
| | | icon: 'none' |
| | | }) |
| | | return |
| | | } else if (!this.descriptionContent) { |
| | | uni.showToast({ |
| | | title: '请输入问题描述', |
| | |
| | | latitude: this.latitude, |
| | | longitude: this.longitude, |
| | | detailedAddress: this.detailedAddress, |
| | | descriptionTitle: this.descriptionTitle, |
| | | descriptionContent: this.descriptionContent, |
| | | images: this.images.join(','), |
| | | videos: this.videos.join(','), |
| | |
| | | } |
| | | |
| | | .content { |
| | | padding: 38rpx 31rpx 62rpx 31rpx; |
| | | padding: 38rpx 31rpx 162rpx 31rpx; |
| | | |
| | | .main { |
| | | padding: 0 27rpx 48rpx 27rpx; |
| | |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | margin-top: 38rpx |
| | | margin-top: 38rpx; |
| | | position: fixed; |
| | | bottom: 30rpx; |
| | | ; |
| | | } |
| | | |
| | | /deep/.u-popup__content { |