| | |
| | | <view class="form_item_uplaod_list"> |
| | | <image class="uploadImg" @click="uploadImg" src="@/static/icon/ic_upload@2x.png" mode="widthFix"></image> |
| | | <view class="form_item_uplaod_list_item" v-for="(item, index) in from.files" :key="index"> |
| | | <image class="img" :src="item.url" mode="widthFix"></image> |
| | | <view class="images"> |
| | | <image class="img" :src="item.url" mode="widthFix"></image> |
| | | </view> |
| | | <image class="close" @click="dele(index)" src="@/static/icon/ic_clean@2x1.png" mode="widthFix"></image> |
| | | </view> |
| | | </view> |
| | |
| | | files: [], |
| | | info: '', |
| | | contacts: '', |
| | | phone: '' |
| | | phone: '', |
| | | typeId: '' |
| | | }, |
| | | problemList: [] |
| | | }; |
| | |
| | | this.$u.api.onlineBike() |
| | | .then(res => { |
| | | if (res.code === 200) { |
| | | this.binkeId = res.data |
| | | this.binkeId = res.data.bikeCode |
| | | this.from.typeId = res.data.paramId |
| | | } |
| | | }) |
| | | }, |
| | |
| | | linkphone: this.from.phone, |
| | | longitude: this.from.longitude, |
| | | param: this.from.problemName, |
| | | paramId: this.from.problemId |
| | | paramId: this.from.problemId, |
| | | typeId: this.from.typeId |
| | | }).then(res => { |
| | | if (res.code === 200) { |
| | | uni.showToast({ title: '上报成功', icon: 'success', duration: 2000 }); |
| | |
| | | image { |
| | | width: 40rpx; |
| | | height: 40rpx; |
| | | flex-shrink: 0; |
| | | } |
| | | } |
| | | } |
| | |
| | | .form_item_nr { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: center; |
| | | align-items: flex-start; |
| | | justify-content: space-between; |
| | | margin-top: 16rpx; |
| | | |
| | |
| | | font-family: PingFangSC-Regular, PingFang SC; |
| | | font-weight: 400; |
| | | color: #666666; |
| | | overflow: hidden; |
| | | text-overflow: ellipsis; |
| | | white-space: nowrap; |
| | | // overflow: hidden; |
| | | // text-overflow: ellipsis; |
| | | // white-space: nowrap; |
| | | } |
| | | |
| | | image { |
| | |
| | | &:last-child { |
| | | margin-right: 0 !important; |
| | | } |
| | | |
| | | .img { |
| | | width: 100%; |
| | | height: 100%; |
| | | |
| | | .images { |
| | | width: 150rpx; |
| | | height: 150rpx; |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | overflow: hidden; |
| | | .img { |
| | | height: 100%; |
| | | } |
| | | } |
| | | |
| | | .close { |