| | |
| | | <view class="label-text">车头车尾车身照片</view> |
| | | </view> |
| | | <view class="img-container" |
| | | v-for="item in userInfo.bodyofcarJpg?userInfo.bodyofcarJpg.split(','):[]"> |
| | | v-for="item in userInfo.bodyCarImg"> |
| | | <u--image :showLoading="true" |
| | | :src="item.url ? item.url : ''" |
| | | :src="BaseUrl+item" |
| | | width="80px" |
| | | height="80px" |
| | | @click="imageClickCarBody(item.url)"> |
| | | @click="imageClickCarBody(item)"> |
| | | <view slot="error" |
| | | style="font-size: 24rpx;">加载失败</view> |
| | | </u--image> |
| | |
| | | this.$reqGet('getUserEntity').then(res => { |
| | | uni.hideLoading(); |
| | | this.editUserInfo = this.userInfo = res.data; |
| | | this.userInfo.bodyCarImg = this.userInfo.bodyofcarJpg ? this.userInfo.bodyofcarJpg.split(',') : |
| | | []; |
| | | console.log(this.userInfo.bodyCarImg); |
| | | this.editUserInfo.password = "" |
| | | uni.setStorageSync('carImg', this.userInfo.carImg); |
| | | uni.setStorageSync('drivingImg', this.userInfo.drivingImg); |
| | |
| | | }, |
| | | imageClickCarBody(url) { |
| | | this.previewImageSrc = url; |
| | | this.$nextTick(() => { |
| | | this.previewImageShow = true; |
| | | }); |
| | | }, |
| | | beforeRead() { |
| | | this.changeisUploadimg(true); |
| | |
| | | .editDriverPopup-container { |
| | | .u-popup { |
| | | .u-transition { |
| | | height: 75%; |
| | | height: 80%; |
| | | |
| | | .u-popup__content { |
| | | overflow: scroll !important; |