<template> 
 | 
  <view class="main_app"> 
 | 
    <view class="main_content"> 
 | 
      <view class="title" 
 | 
        >安泰物流装货平台<u-icon 
 | 
          name="arrow-down" 
 | 
          size="20" 
 | 
          class="ml12" 
 | 
          color="#999999" 
 | 
        ></u-icon 
 | 
      ></view> 
 | 
      <view class="platform_list"> 
 | 
        <view 
 | 
          class="item" 
 | 
          :class="{ active: index === 0 }" 
 | 
          v-for="(i, index) in 8" 
 | 
          :key="i" 
 | 
          >1号月台</view 
 | 
        > 
 | 
      </view> 
 | 
      <view class="status_wrap"> 
 | 
        <view class="status" 
 | 
          >作业:<text>{{ 0 }}</text></view 
 | 
        > 
 | 
        <view class="status" 
 | 
          >已叫:<text>{{ 0 }}</text></view 
 | 
        > 
 | 
        <view class="status" 
 | 
          >等待:<text>{{ 0 }}</text></view 
 | 
        > 
 | 
        <view class="status" 
 | 
          >异常:<text>{{ 0 }}</text></view 
 | 
        > 
 | 
      </view> 
 | 
    </view> 
 | 
    <!--  --> 
 | 
    <view v-if="true" class="platform_ing"> 
 | 
      <view class="head"> 
 | 
        <view class="code"> 
 | 
          <text>皖</text> 
 | 
          <text>AD1212</text> 
 | 
        </view> 
 | 
        <view class="status">叫号中</view> 
 | 
      </view> 
 | 
      <view class="line"> 
 | 
        <text class="label">运输单号</text> 
 | 
        <text class="value">11111</text> 
 | 
        <text class="primaryColor" @click="handleDetail()">运单详情</text> 
 | 
      </view> 
 | 
      <view class="line"> 
 | 
        <text class="label">总运输量</text> 
 | 
        <text class="value">11111</text> 
 | 
      </view> 
 | 
      <view class="line"> 
 | 
        <text class="label">驾驶员</text> 
 | 
        <text class="value">11111</text> 
 | 
      </view> 
 | 
      <view class="btns"> 
 | 
        <view class="btn">过号</view> 
 | 
        <view class="btn" @click="handleTransform">转移月台</view> 
 | 
        <view class="btn active">开始作业</view> 
 | 
      </view> 
 | 
    </view> 
 | 
    <image 
 | 
      v-if="true" 
 | 
      class="empty" 
 | 
      src="@/static/default_nodata@2x.png" 
 | 
      mode="widthFix" 
 | 
    ></image> 
 | 
    <!--  --> 
 | 
    <view class="main_footer"> 
 | 
      <view class="btn">入园叫号</view> 
 | 
      <view class="btn active" @click="PlatformCallClick">月台叫号</view> 
 | 
    </view> 
 | 
    <!-- 叫号 --> 
 | 
    <u-popup 
 | 
      :show="showPlatformCall" 
 | 
      closeable 
 | 
      safeAreaInsetTop 
 | 
      round="10" 
 | 
      @close="showPlatformCall = false" 
 | 
    > 
 | 
      <view class="PlatformCallModal"> 
 | 
        <view class="title">月台叫号(1号月台)</view> 
 | 
        <view class="input_wrap"> 
 | 
          <u-icon name="search" class="mr12" size="19" color="#999999" /> 
 | 
          <input 
 | 
            type="text" 
 | 
            placeholder="搜索车辆牌照" 
 | 
            placeholder-class="placeholder9" 
 | 
          /> 
 | 
        </view> 
 | 
        <view class="order_list"> 
 | 
          <scroll-view scroll-y="true" class="scroll_view"> 
 | 
            <view class="platform_ing" v-for="i in 8"> 
 | 
              <view class="head"> 
 | 
                <view class="code"> 
 | 
                  <text>皖</text> 
 | 
                  <text>AD1212</text> 
 | 
                </view> 
 | 
                <view class="status">叫号中</view> 
 | 
              </view> 
 | 
              <view class="line"> 
 | 
                <text class="label">运输单号</text> 
 | 
                <text class="value">11111</text> 
 | 
                <text class="primaryColor">运单详情</text> 
 | 
              </view> 
 | 
              <view class="line"> 
 | 
                <text class="label">驾驶员</text> 
 | 
                <text class="value">11111</text> 
 | 
              </view> 
 | 
              <view class="line"> 
 | 
                <text class="label">总运输量</text> 
 | 
                <text class="value">11111</text> 
 | 
              </view> 
 | 
              <view class="line"> 
 | 
                <text class="label">运输公司</text> 
 | 
                <text class="value">11111</text> 
 | 
              </view> 
 | 
              <view class="btns"> 
 | 
                <view class="btn active">叫号</view> 
 | 
              </view> 
 | 
            </view> 
 | 
          </scroll-view> 
 | 
        </view> 
 | 
      </view> 
 | 
    </u-popup> 
 | 
    <!-- 运单详情 --> 
 | 
    <u-popup 
 | 
      :show="showDetail" 
 | 
      closeable 
 | 
      safeAreaInsetTop 
 | 
      round="10" 
 | 
      @close="showDetail = false" 
 | 
    > 
 | 
      <view class="PlatformCallModal"> 
 | 
        <view class="title">运单详情</view> 
 | 
        <view class="platform_ing" style="padding: 0"> 
 | 
          <view class="head"> 
 | 
            <view class="code"> 
 | 
              <text>皖</text> 
 | 
              <text>AD1212</text> 
 | 
            </view> 
 | 
          </view> 
 | 
          <view class="line"> 
 | 
            <text class="label">运输单号</text> 
 | 
            <text class="value">11111</text> 
 | 
          </view> 
 | 
          <view class="line"> 
 | 
            <text class="label">驾驶员</text> 
 | 
            <text class="value">11111</text> 
 | 
          </view> 
 | 
          <view class="line"> 
 | 
            <text class="label">总运输量</text> 
 | 
            <text class="value">11111</text> 
 | 
          </view> 
 | 
          <view class="line"> 
 | 
            <text class="label">运输公司</text> 
 | 
            <text class="value">11111</text> 
 | 
          </view> 
 | 
        </view> 
 | 
        <view class="detail_list"> 
 | 
          <view class="item"> 
 | 
            <view class="orderId">合同编号:{{ 111 }}</view> 
 | 
            <view class="addr">收货地:{{ 111 }}</view> 
 | 
            <view class="content"> 
 | 
              <view class="line" 
 | 
                ><view class="label">物料:</view 
 | 
                ><view class="value">黄山</view></view 
 | 
              > 
 | 
              <view class="line" 
 | 
                ><view class="label">数量:</view 
 | 
                ><view class="value">黄山</view></view 
 | 
              > 
 | 
              <view class="line" 
 | 
                ><view class="label">物料:</view 
 | 
                ><view class="value">黄山</view></view 
 | 
              > 
 | 
              <view class="line" 
 | 
                ><view class="label">数量:</view 
 | 
                ><view class="value">黄山</view></view 
 | 
              > 
 | 
            </view> 
 | 
          </view> 
 | 
        </view> 
 | 
      </view> 
 | 
    </u-popup> 
 | 
    <!-- 转移月台 --> 
 | 
    <u-popup 
 | 
      :show="showTransform" 
 | 
      closeable 
 | 
      safeAreaInsetTop 
 | 
      round="10" 
 | 
      @close="showTransform = false" 
 | 
    > 
 | 
      <view class="PlatformCallModal TransformModal"> 
 | 
        <view class="title">转移月台</view> 
 | 
        <view class="transform_list"> 
 | 
          <view class="line" v-for="item,index in 9"> 
 | 
            <view class="name">1号月台</view> 
 | 
            <view class="status">(空闲)</view> 
 | 
            <image v-if="index == 1" src="@/static/ic_select@2x.png" class="checked" /> 
 | 
          </view> 
 | 
        </view> 
 | 
        <view class="btns"> 
 | 
          <view class="btn" @click="showTransform = false">取消</view> 
 | 
          <view class="btn active">确定</view> 
 | 
        </view> 
 | 
      </view> 
 | 
    </u-popup> 
 | 
  </view> 
 | 
</template> 
 | 
  
 | 
<script> 
 | 
export default { 
 | 
  data() { 
 | 
    return { 
 | 
      showPlatformCall: false, // 月台叫号 
 | 
      showDetail: false, 
 | 
      showTransform: false // 转移 
 | 
    } 
 | 
  }, 
 | 
  onLoad() { 
 | 
  
 | 
  }, 
 | 
  methods: { 
 | 
    handleDetail() { 
 | 
      this.showDetail = true 
 | 
    }, 
 | 
    PlatformCallClick() { 
 | 
      this.showPlatformCall = true 
 | 
    }, 
 | 
    handleTransform() { 
 | 
      this.showTransform = true 
 | 
    }, 
 | 
  } 
 | 
} 
 | 
</script> 
 | 
<style lang="scss"> 
 | 
.main_app { 
 | 
  padding: 0rpx; 
 | 
  height: calc(100vh - 44px); 
 | 
  font-size: 30rpx; 
 | 
  color: #333333; 
 | 
  background: url("@/static/bg_yuetai@2x.png") no-repeat; 
 | 
  background-size: 100% 100%; 
 | 
  .main_content { 
 | 
    background-color: #fff; 
 | 
    padding: 30rpx; 
 | 
    .platform_list { 
 | 
      display: flex; 
 | 
      flex-wrap: wrap; 
 | 
      .item { 
 | 
        width: 210rpx; 
 | 
        height: 80rpx; 
 | 
        line-height: 80rpx; 
 | 
        text-align: center; 
 | 
        background: #ffffff; 
 | 
        border-radius: 8rpx; 
 | 
        border: 1rpx solid #999999; 
 | 
        font-size: 30rpx; 
 | 
        color: #222222; 
 | 
        margin-bottom: 20rpx; 
 | 
        margin-right: 30rpx; 
 | 
        &:nth-of-type(3n) { 
 | 
          margin-right: 0; 
 | 
        } 
 | 
      } 
 | 
      .active { 
 | 
        color: #fff; 
 | 
        background-color: $uni-color-primary; 
 | 
        border-color: $uni-color-primary; 
 | 
      } 
 | 
    } 
 | 
    .status_wrap { 
 | 
      display: flex; 
 | 
      align-items: center; 
 | 
      justify-content: space-evenly; 
 | 
      width: 690rpx; 
 | 
      height: 76rpx; 
 | 
      margin-top: 4rpx; 
 | 
      background: #ffffff; 
 | 
      box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(0, 0, 0, 0.18); 
 | 
      border-radius: 8rpx; 
 | 
      .status { 
 | 
        color: #666666; 
 | 
        text { 
 | 
          color: #111111; 
 | 
        } 
 | 
        &:nth-last-child(1) { 
 | 
          text { 
 | 
            color: #ed4545; 
 | 
          } 
 | 
        } 
 | 
      } 
 | 
    } 
 | 
    .title { 
 | 
      font-weight: 500; 
 | 
      font-size: 32rpx; 
 | 
      color: #111111; 
 | 
      line-height: 44rpx; 
 | 
      margin-bottom: 30rpx; 
 | 
      display: flex; 
 | 
      justify-content: center; 
 | 
    } 
 | 
  } 
 | 
  .platform_ing { 
 | 
    margin-top: 20rpx; 
 | 
    padding: 30rpx; 
 | 
    background-color: #fff; 
 | 
    .head { 
 | 
      display: flex; 
 | 
      justify-content: space-between; 
 | 
      align-items: center; 
 | 
      margin-bottom: 30rpx; 
 | 
      .code { 
 | 
        display: flex; 
 | 
        font-weight: 600; 
 | 
        height: 60rpx; 
 | 
        line-height: 60rpx; 
 | 
        font-size: 32rpx; 
 | 
        color: #111111; 
 | 
        border-radius: 8rpx; 
 | 
        border: 1rpx solid #dfdede; 
 | 
        text { 
 | 
          padding: 0 12rpx; 
 | 
          &:nth-of-type(1) { 
 | 
            background: #e9f5f6; 
 | 
          } 
 | 
        } 
 | 
      } 
 | 
      .status { 
 | 
        font-size: 30rpx; 
 | 
        color: $uni-color-primary; 
 | 
      } 
 | 
    } 
 | 
    .line { 
 | 
      display: flex; 
 | 
      margin-bottom: 20rpx; 
 | 
      .label { 
 | 
        width: 144rpx; 
 | 
        color: #666666; 
 | 
      } 
 | 
      .value { 
 | 
        flex: 1; 
 | 
      } 
 | 
    } 
 | 
    .btns { 
 | 
      display: flex; 
 | 
      justify-content: flex-end; 
 | 
      .btn { 
 | 
        width: 210rpx; 
 | 
        height: 76rpx; 
 | 
        line-height: 76rpx; 
 | 
        text-align: center; 
 | 
        background: #ffffff; 
 | 
        border-radius: 40rpx; 
 | 
        border: 1rpx solid #999999; 
 | 
        margin-left: 20rpx; 
 | 
      } 
 | 
      .active { 
 | 
        background-color: $uni-color-primary; 
 | 
        color: #fff; 
 | 
        border-color: $uni-color-primary; 
 | 
      } 
 | 
    } 
 | 
  } 
 | 
  .empty { 
 | 
    width: 220rpx; 
 | 
    margin: 160rpx auto; 
 | 
  } 
 | 
  .main_footer { 
 | 
    width: 750rpx; 
 | 
    height: 136rpx; 
 | 
    position: fixed; 
 | 
    bottom: 0; 
 | 
    left: 0; 
 | 
    padding: 24rpx 30rpx; 
 | 
    display: flex; 
 | 
    justify-content: space-between; 
 | 
    font-size: 32rpx; 
 | 
    background-color: #fff; 
 | 
    .btn { 
 | 
      width: 224rpx; 
 | 
      height: 88rpx; 
 | 
      line-height: 88rpx; 
 | 
      text-align: center; 
 | 
      background: #ffffff; 
 | 
      border-radius: 44rpx; 
 | 
      color: $uni-color-primary; 
 | 
      border: 1rpx solid $uni-color-primary; 
 | 
    } 
 | 
    .active { 
 | 
      width: 436rpx; 
 | 
      background-color: $uni-color-primary; 
 | 
      color: #fff; 
 | 
      border-color: $uni-color-primary; 
 | 
    } 
 | 
  } 
 | 
} 
 | 
.PlatformCallModal { 
 | 
  height: calc(100vh - 50px); 
 | 
  padding: 30rpx; 
 | 
  .title { 
 | 
    text-align: center; 
 | 
    margin: 0 0 30rpx; 
 | 
  } 
 | 
  .input_wrap { 
 | 
    display: flex; 
 | 
    align-items: center; 
 | 
    width: 690rpx; 
 | 
    height: 76rpx; 
 | 
    background: #f7f7f7; 
 | 
    border-radius: 38rpx; 
 | 
    padding: 0 30rpx; 
 | 
  } 
 | 
  .order_list { 
 | 
    height: calc(100% - 120rpx); 
 | 
    .scroll_view { 
 | 
      height: 100%; 
 | 
    } 
 | 
    .platform_ing { 
 | 
      border-radius: 8rpx; 
 | 
      border: 1rpx solid #dfe2e8; 
 | 
    } 
 | 
  } 
 | 
  .detail_list { 
 | 
    border-top: 1rpx solid #e5e5e5; 
 | 
    padding: 30rpx 0; 
 | 
    .orderId { 
 | 
      font-size: 30rpx; 
 | 
      color: $uni-color-primary; 
 | 
      margin-bottom: 14rpx; 
 | 
    } 
 | 
    .addr { 
 | 
      font-size: 26rpx; 
 | 
      color: #666666; 
 | 
      margin-bottom: 20rpx; 
 | 
    } 
 | 
    .content { 
 | 
      width: 100%; 
 | 
      padding: 20rpx; 
 | 
      background: #f7f7f7; 
 | 
      border-radius: 8rpx; 
 | 
      .line { 
 | 
        display: flex; 
 | 
        margin-bottom: 20rpx; 
 | 
        &:nth-of-type(2n) { 
 | 
          padding-bottom: 20rpx; 
 | 
          border-bottom: 1rpx solid #e5e5e5; 
 | 
        } 
 | 
        &:last-child { 
 | 
          padding-bottom: 0rpx; 
 | 
          border-bottom: none; 
 | 
        } 
 | 
        .label { 
 | 
          font-size: 28rpx; 
 | 
          color: #666666; 
 | 
          width: 88rpx; 
 | 
        } 
 | 
        .value { 
 | 
          font-size: 28rpx; 
 | 
          color: #222222; 
 | 
        } 
 | 
      } 
 | 
    } 
 | 
  } 
 | 
  .transform_list { 
 | 
    height: 760rpx; 
 | 
    margin-bottom: 30rpx; 
 | 
    overflow: auto; 
 | 
    .line { 
 | 
      display: flex; 
 | 
      align-items: center; 
 | 
      border-bottom: 1rpx solid #e5e5e5; 
 | 
      padding-bottom: 30rpx; 
 | 
      margin-bottom: 30rpx; 
 | 
      .name { 
 | 
        font-size: 32rpx; 
 | 
        color: #111111; 
 | 
      } 
 | 
      .status { 
 | 
        flex: 1; 
 | 
        font-size: 28rpx; 
 | 
        color: $uni-color-primary; 
 | 
        margin-left: 12rpx; 
 | 
      } 
 | 
      .checked { 
 | 
        width: 40rpx; 
 | 
        height: 40rpx; 
 | 
      } 
 | 
    } 
 | 
  } 
 | 
  .btns { 
 | 
    display: flex; 
 | 
    align-items: center; 
 | 
    justify-content: space-between; 
 | 
    .btn { 
 | 
      width: 336rpx; 
 | 
      height: 88rpx; 
 | 
      border-radius: 44rpx; 
 | 
      border: 1rpx solid $uni-color-primary; 
 | 
      color: $uni-color-primary; 
 | 
      font-size: 32rpx; 
 | 
      display: flex; 
 | 
      justify-content: center; 
 | 
      align-items: center; 
 | 
    } 
 | 
    .active{ 
 | 
      color: #fff; 
 | 
      background-color: $uni-color-primary; 
 | 
    } 
 | 
  } 
 | 
} 
 | 
.TransformModal{ 
 | 
  height: 1000rpx; 
 | 
} 
 | 
</style> 
 |