| | |
| | | <u--input border="none" inputAlign="right" disabled disabledColor="#fff"></u--input> |
| | | </u-form-item> |
| | | <u-form-item labelWidth="20%" label="车辆照片" ref="item1"> |
| | | <u--image :showLoading="true" :src="BaseUrl + userInfo.carImg" width="80px" height="80px" @click="imageClick(1)"></u--image> |
| | | <u--image :showLoading="true" :src="userInfo.carImg != null ? BaseUrl + userInfo.carImg : ''" width="80px" height="80px" @click="imageClick(1)"> |
| | | <view slot="error" style="font-size: 24rpx;">加载失败</view> |
| | | </u--image> |
| | | </u-form-item> |
| | | <u-form-item labelWidth="25%" label="行驶证照片" ref="item1"> |
| | | <u--image :showLoading="true" :src="BaseUrl + userInfo.drivingImg" width="80px" height="80px" @click="imageClick(2)"></u--image> |
| | | <u--image :showLoading="true" :src="userInfo.drivingImg != null ? BaseUrl + userInfo.drivingImg : ''" width="80px" height="80px" @click="imageClick(2)"> |
| | | <view slot="error" style="font-size: 24rpx;">加载失败</view> |
| | | </u--image> |
| | | </u-form-item> |
| | | </u--form> |
| | | <view class="push-information-button"> |
| | |
| | | <!-- 图片预览弹出框 --> |
| | | <view class="previewImage-container"> |
| | | <u-popup :show="previewImageShow" mode="center" @close="previewImageClose" @open="previewImageOpen"> |
| | | <u--image :src="BaseUrl + previewImageSrc" width="400px" height="400px"></u--image> |
| | | <u--image :src="previewImageSrc!=null?BaseUrl + previewImageSrc:''" width="400px" height="400px"></u--image> |
| | | </u-popup> |
| | | </view> |
| | | |
| | |
| | | carImg: '', |
| | | drivingImg: '', |
| | | axleNum: '', |
| | | weight: '' |
| | | weight: '', |
| | | userId: '' |
| | | }, |
| | | src: '', |
| | | fileList1: [], |
| | |
| | | title: '加载中...' |
| | | }); |
| | | this.$reqGet('getUserEntity').then(res => { |
| | | console.log(res, '司机详情'); |
| | | uni.hideLoading(); |
| | | this.userInfo = res.data; |
| | | Object.keys(this.editUserInfo).map(item => { |
| | | console.log(res.data[item]); |
| | | if (res.data[item]) { |
| | | this.editUserInfo[item] = res.data[item]; |
| | | } |