yangan
2023-12-20 6cb6a76d779335f8bc9f1e2a3431b2903558a075
pages/driver-page/driver-index/driver-index.vue
@@ -73,6 +73,15 @@
                        <view class="coal-name">{{ item.coalName }}</view>
                     </view>
                  </view>
                  <!-- 创建时间 -->
                  <view class="created-box">
                        <view class="clock-create">
                           <view class="time-icon"><u-icon name="clock"
                                 color="#515151"
                                 size="40"></u-icon></view>
                                 <text class="create-date"> {{ item.createTime }}</text>
                        </view>
                     </view>
                  <view class="fourth-line"
                     @click.stop="qiangDanBtn(item)"
                     v-if="item.carNum - item.taskNum !== 0">
@@ -165,6 +174,15 @@
                           <!-- <view class="order-type">{{ item.orderType }}</view> -->
                        </view>
                     </view>
                     <!-- 创建时间 -->
                     <view class="created-box">
                        <view class="clock-create">
                           <view class="time-icon"><u-icon name="clock"
                                 color="#515151"
                                 size="40"></u-icon></view>
                                 <text class="create-date"> {{ item.createTime }}</text>
                        </view>
                     </view>
                     <view class="fourth-line"
                        @click.stop="toAppointmentClick(item)">
                        <view class="button-img">立即预约</view>
@@ -231,6 +249,15 @@
                                 size="40"></u-icon></view>
                        </view>
                     </view>
                     <!-- 创建时间 -->
                     <view class="created-box">
                        <view class="clock-create">
                           <view class="time-icon"><u-icon name="clock"
                                 color="#515151"
                                 size="40"></u-icon></view>
                                 <text class="create-date"> {{ item.createTime }}</text>
                        </view>
                     </view>
                     <view class="status">
                        <u-tag :text="coalStatus[item.statusWeigh] || ''"
                           plain>
@@ -247,6 +274,8 @@
                           <view class="coal-name">{{ item.coalName || '' }}</view>
                           <!-- <view class="order-type">{{ item.orderType }}</view> -->
                        </view>
                     </view>
                     <view class="fourth-line" style="opacity: 0;">
                     </view>
                  </view>
               </view>
@@ -439,6 +468,24 @@
<style lang="scss"
   scoped>
    .created-box{
      display: flex;
      position: absolute;
      bottom: 20rpx;
          left: 35rpx;
      .clock-create{
         display: flex;
      }
      .create-date{
         height: 24rpx;
         line-height: 37rpx;
         font-size: 28rpx;
         font-weight: 300;
         color: #515151;
         margin-left: 28rpx;
      }
   }
   @mixin formItem {
      width: vww(345);
      height: vww(150);
@@ -467,6 +514,16 @@
      display: flex;
      justify-content: space-between;
      align-items: center;
      .clock-create{
          width: 100%;
         height: 42rpx;
         margin-right: 100rpx;
         line-height: 42rpx;
         display: flex;
         justify-content: space-between;
         align-items: center;
         justify-content: flex-start;
      }
      .send-date {
         width: 148rpx;
@@ -476,6 +533,13 @@
         font-weight: 300;
         color: #515151;
      }
      .create-date {
         line-height: 24rpx;
         font-size: 28rpx;
         font-weight: 300;
         margin-left: 28rpx;
         color: #515151;
      }
      .havedclock {
         width: 58% !important;