qingyiay
2023-04-14 0becab45282781f281ad5aa04202b83039ab275e
pages/driver-page/driver-index/driver-index.vue
@@ -67,7 +67,7 @@
            <!-- 待预约提煤单 -->
            <view class="daiYuYue" v-for="(item, index) in driverBillOfLoadingData.list3" :key="index">
               <view class="daiYuYueTop">
                  <text class="tmcode">提煤单编号:{{ item.code }}</text>
                  <view class="tmcode">提煤单编号:{{ item.code }}</view>
               </view>
               <view class="daiYuYueTable">
                  <!-- <view>{{ item.deptName }}</view>
@@ -141,7 +141,6 @@
   watch: {
      indexdriverBillOfLoadingData: {
         handler(v) {
            console.log(v, '刷新之后的司机首页');
            this.driverBillOfLoadingData = v;
         },
         deep: true,
@@ -174,7 +173,6 @@
            title: '加载中...'
         });
         this.$reqGet('qiangDanList').then(res => {
            console.log(res, '司机首页');
            uni.hideLoading();
            this.driverBillOfLoadingData = res.data;
         });
@@ -208,7 +206,7 @@
               if (res.code == 0) {
                  this.$u.toast('抢单成功');
               } else {
                  this.$u.toast(res.data ? res.data : '抢单失败');
                  this.$u.toast(res.msg ? res.msg : '抢单失败');
               }
            })
            .then(() => {
@@ -292,15 +290,13 @@
            background-color: #f5f5f5;
            height: vww(60);
            padding-left: vww(12);
            line-height: vww(40);
            line-height: vww(31);
            border: vww(1) solid #eeeeee;
            font-weight: 400;
            // .tmcode {
            //    overflow: hidden;
            //    text-overflow: ellipsis;
            //    white-space: nowrap;
            //    width: 100%;
            // }
            .tmcode {
               word-break: break-all;
               width: 100%;
            }
         }
         &Table {
            .uni-table {
@@ -334,15 +330,13 @@
            background-color: #f5f5f5;
            height: vww(60);
            padding-left: vww(12);
            line-height: vww(40);
            line-height: vww(31);
            border: vww(1) solid #eeeeee;
            font-weight: 400;
            // .tmcode {
            //    overflow: hidden;
            //    text-overflow: ellipsis;
            //    white-space: nowrap;
            //    width: 100%;
            // }
            .tmcode {
               word-break: break-all;
               width: 100%;
            }
         }
         &Center {
            border: vww(1) solid #eeeeee;