| <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="input_wrap"> | 
|         <u-icon name="search" class="mr12" size="19" color="#999999" /> | 
|         <input | 
|           type="text" | 
|           placeholder="搜索车辆牌照" | 
|           placeholder-class="placeholder9" | 
|         /> | 
|       </view> | 
|       <view class="count" | 
|         >已签到车辆:<text>{{ 10 }}</text></view | 
|       > | 
|     </view> | 
|     <!--  --> | 
|     <div class="dataList"> | 
|       <div class="item"> | 
|         <view class="head"> | 
|           <view class="code"> | 
|             <text>皖</text> | 
|             <text>AD1212</text> | 
|           </view> | 
|           <view class="status">签到时间:{{ 11 }}</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="line"> | 
|           <text class="label">运输公司</text> | 
|           <text class="value">11111</text> | 
|         </view> | 
|         <view class="btns"> | 
|           <view class="btn active">入园</view> | 
|         </view> | 
|       </div> | 
|     </div> | 
|   </view> | 
| </template> | 
|   | 
| <script> | 
| export default { | 
|   data() { | 
|     return { | 
|       showDetail: false | 
|     } | 
|   }, | 
|   onLoad() { | 
|   | 
|   }, | 
|   methods: { | 
|     handleDetail() { | 
|       this.showDetail = true | 
|     }, | 
|   } | 
| } | 
| </script> | 
| <style lang="scss"> | 
| .main_app { | 
|   padding: 30rpx 0 0rpx; | 
|   min-height: 100vh; | 
|   background: #f7f7f7; | 
|   .main_content { | 
|     background-color: #fff; | 
|     padding: 30rpx 30rpx 0; | 
|     .title { | 
|       font-weight: 500; | 
|       font-size: 32rpx; | 
|       color: #111111; | 
|       line-height: 44rpx; | 
|       margin-bottom: 30rpx; | 
|       display: flex; | 
|       justify-content: center; | 
|     } | 
|     .input_wrap { | 
|       display: flex; | 
|       align-items: center; | 
|       width: 690rpx; | 
|       height: 76rpx; | 
|       background: #f7f7f7; | 
|       border-radius: 38rpx; | 
|       padding: 0 30rpx; | 
|     } | 
|     .count { | 
|       width: 750rpx; | 
|       margin: 0 -30rpx; | 
|       height: 80rpx; | 
|       display: flex; | 
|       align-items: center; | 
|       background-color: #f5f9f8; | 
|       font-size: 28rpx; | 
|       margin-top: 20rpx; | 
|       padding: 0 30rpx; | 
|       text { | 
|         color: #111111; | 
|         font-weight: 600; | 
|       } | 
|     } | 
|   } | 
|   .dataList { | 
|     .item { | 
|       margin-bottom: 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: 136rpx; | 
|           height: 64rpx; | 
|           line-height: 64rpx; | 
|           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; | 
|         } | 
|       } | 
|     } | 
|   } | 
| } | 
| </style> |