| | |
| | | <view class="navgation">我的</view> |
| | | <view class="avatar"> |
| | | <view class="avatar-imgage" |
| | | style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/driverava.png')no-repeat;background-size: cover;"> |
| | | :style="{ backgroundImage: `url(${onlineurl}/appimg/image/banner/driverava.png)`, backgroundSize: 'cover', backgroundRepeat: 'no-repeat' }"> |
| | | </view> |
| | | <view class="avatar-name">{{ userInfo.name || '' }}</view> |
| | | <view class="edit-button"><u-button type="primary" |
| | |
| | | <view class="information-line" |
| | | @click=""> |
| | | <view class="line-label"> |
| | | <image src="https://mx.jzeg.cn:9095/appimg/image/banner/personalicon.png" |
| | | <image :src="`${onlineurl}/appimg/image/banner/personalicon.png`" |
| | | mode="widthFix"></image> |
| | | <view class="label-text">身份证号</view> |
| | | </view> |
| | |
| | | </view> |
| | | <view class="information-line"> |
| | | <view class="line-label"> |
| | | <image src="https://mx.jzeg.cn:9095/appimg/image/banner/phonenum.png" |
| | | <image :src="`${onlineurl}/appimg/image/banner/phonenum.png`" |
| | | mode="widthFix"></image> |
| | | <view class="label-text">手机号</view> |
| | | </view> |
| | |
| | | </view> |
| | | <view class="information-line"> |
| | | <view class="line-label"> |
| | | <image src="https://mx.jzeg.cn:9095/appimg/image/banner/carnum.png" |
| | | <image :src="`${onlineurl}/appimg/image/banner/carnum.png`" |
| | | mode="widthFix"></image> |
| | | <view class="label-text">车牌号</view> |
| | | </view> |
| | |
| | | </view> |
| | | <view class="information-line"> |
| | | <view class="line-label"> |
| | | <image src="https://mx.jzeg.cn:9095/appimg/image/banner/axisnum.png" |
| | | <image :src="`${onlineurl}/appimg/image/banner/axisnum.png`" |
| | | mode="widthFix"></image> |
| | | <view class="label-text">车轴数</view> |
| | | </view> |
| | |
| | | </view> |
| | | <view class="information-line last"> |
| | | <view class="line-label"> |
| | | <image src="https://mx.jzeg.cn:9095/appimg/image/banner/weighnum.png" |
| | | <image :src="`${onlineurl}/appimg/image/banner/weighnum.png`" |
| | | mode="widthFix"></image> |
| | | <view class="label-text">体重</view> |
| | | </view> |
| | |
| | | <view class="information-body"> |
| | | <view class="car-img"> |
| | | <view class="label-title"> |
| | | <image src="https://mx.jzeg.cn:9095/appimg/image/banner/carimg.png" |
| | | <image :src="`${onlineurl}/appimg/image/banner/carimg.png`" |
| | | mode="widthFix"></image> |
| | | <view class="label-text">车辆照片</view> |
| | | </view> |
| | |
| | | </view> |
| | | <view class="car-img"> |
| | | <view class="label-title"> |
| | | <image src="https://mx.jzeg.cn:9095/appimg/image/banner/cardimg.png" |
| | | <image :src="`${onlineurl}/appimg/image/banner/cardimg.png`" |
| | | mode="widthFix"></image> |
| | | <view class="label-text">行驶证照片</view> |
| | | </view> |
| | |
| | | shape="circle" |
| | | plain></u-button></view> |
| | | </view> |
| | | <!-- <view class="personal-information-form"> |
| | | <u--form labelPosition="left" :model="userInfo" ref="form1"> |
| | | <u-form-item labelWidth="20%" label="姓名" ref="item1"> |
| | | <u--input v-model="userInfo.name" border="none" inputAlign="right" disabled disabledColor="#fff"></u--input> |
| | | </u-form-item> |
| | | <u-form-item labelWidth="20%" label="身份证号" ref="item1"> |
| | | <u--input v-model="userInfo.idCard" border="none" inputAlign="right" disabled disabledColor="#fff"></u--input> |
| | | </u-form-item> |
| | | <u-form-item labelWidth="20%" label="手机号" ref="item1"> |
| | | <u--input v-model="userInfo.phone" border="none" inputAlign="right" disabled disabledColor="#fff"></u--input> |
| | | </u-form-item> |
| | | <u-form-item labelWidth="20%" label="车牌号" ref="item1"> |
| | | <u--input v-model="userInfo.carNo" border="none" inputAlign="right" disabled disabledColor="#fff"></u--input> |
| | | </u-form-item> |
| | | <u-form-item labelWidth="20%" label="体重" ref="item1"> |
| | | <u--input v-model="userInfo.weight" border="none" inputAlign="right" disabled disabledColor="#fff"></u--input> |
| | | </u-form-item> |
| | | <u-form-item v-model="userInfo.axleNum" labelWidth="20%" label="车轴数" ref="item1"> |
| | | <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="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="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"> |
| | | <u-button text="修改个人资料" type="primary" @click="editBtnClick"></u-button> |
| | | <u-button text="退出登录" type="primary" @click="logout"></u-button> |
| | | </view> --> |
| | | <!-- <view class="statistics"><u-button text="发运统计" type="primary" @click="statistics"></u-button></view> --> |
| | | <!-- </view> --> |
| | | |
| | | <!-- 图片预览弹出框 --> |
| | | <view class="previewImage-container"> |
| | |
| | | import { customerId, userInfo, redirectLogin } from '@/utils/status'; |
| | | import { BaseUrl } from '@/api/publicInterface.js'; |
| | | import { mapMutations } from 'vuex'; |
| | | import { onlineurl } from '@/api/request.js' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | logoutShow: false, |
| | | logoutTitle: '提示', |
| | | logoutContent: '是否确认退出', |
| | | BaseUrl |
| | | BaseUrl, |
| | | onlineurl |
| | | }; |
| | | }, |
| | | onShow() { |