yangan
2023-11-10 29611eb117777efebb245e85e448693a349167a8
pages/driver-page/driver-index/driver-index.vue
@@ -97,13 +97,18 @@
                  icon="http://cdn.uviewui.com/uview/empty/data.png"
                  textSize="30"
                  iconSize="1000"
                  text="暂无数据"
                  v-if="driverBillOfLoadingData.list3 ? (driverBillOfLoadingData.list3.length == 0 ? true : false) : true"></u-empty>
               <view class="appointment-form">
                  <view class="appointment-form-item"
                     v-for="(item, index) in driverBillOfLoadingData.list3"
                     :key="index">
                     :key="index"
                     @click="list3CardIconClick(item)"
                     >
                     <view class="main-divider"></view>
                     <view class="orderCode">订单号:{{ item.orderCode }}</view>
                     <view class="first-line">
                        <view class="main-information">
                           <view class="sign">装</view>
@@ -175,6 +180,7 @@
                  icon="http://cdn.uviewui.com/uview/empty/data.png"
                  textSize="30"
                  iconSize="1000"
                  text="暂无数据"
                  v-if="driverBillOfLoadingData.list2 ? (driverBillOfLoadingData.list2.length == 0 ? true : false) : true"></u-empty>
               <view class="appointment-form">
                  <view class="appointment-form-item"
@@ -182,6 +188,7 @@
                     :key="index"
                     @click="list3CardIconClick(item)">
                     <view class="main-divider"></view>
                     <view class="orderCode">订单号:{{ item.orderCode }}</view>
                     <view class="first-line">
                        <view class="main-information">
                           <view class="sign">装</view>
@@ -248,7 +255,7 @@
            <!-- 图片预览弹出框 -->
            <view class="previewImage-container">
               <previewImage ref="previewImage"
                  :imgs="TourImgList"
                  :imgs="driverTourImgList"
                  :saveBtn='false'></previewImage>
            </view>
         </view>
@@ -262,6 +269,7 @@
   import { onlineurl } from '@/api/request.js'
   import { BaseUrl } from '@/api/publicInterface.js'
   import previewImage from '@/components/kxj-previewImage/kxj-previewImage.vue';
   import { mapState } from 'vuex'
   export default {
      components: {
         combinedTitle,
@@ -283,6 +291,7 @@
         },
      },
      computed: {
         ...mapState(['driverTourImgList']),
         roleType() {
            return uni.getStorageSync('roleType');
         },
@@ -304,17 +313,14 @@
            customerId: '',
            coalStatus: ['未称重', '称重中', '验质中', '称重完成', '验质完成'],
            onlineurl,
            TourImgList: ['https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj1.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj2.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj3.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj4.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj5.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj6.jpg',
               'https://mx.jzeg.cn:9095/appimg/image/tour/driver/sj7.jpg'
            ],
            phone: "",
            isFirstLogin: true //是否是第一次登录
         };
      },
      mounted() {
         // this.TourImgList = TourImgList
         this.getLogOn()
      },
      onShow() {
         this.init();
@@ -330,7 +336,6 @@
         },
         init() {
            this.qiangDanList();
            this.getLogOn()
         },
         // 司机首页列表
         qiangDanList() {
@@ -767,18 +772,20 @@
            .appointment-form-item {
               @include formItem;
               height: vww(220);
               height: vww(240);
               justify-content: space-between;
               overflow: hidden;
               .main-divider {
                  width: 560rpx;
                  height: 1rpx;
                  background: #e3e3e3;
                  position: absolute;
                  top: 122rpx;
                  top: 200rpx;
                  left: 128rpx;
               }
               .orderCode{
                  padding: 10px;
               }
               .first-line {
                  position: relative;