css
liukangdong
2024-06-25 ebc96a1cf0424c04dceacbc42f9ad2a897223be9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<template>
  <view class="main_app">
    <view class="main_name">
      <text class="mr12">物流入库月台</text>
      <u-icon name="arrow-down" color="#777777"></u-icon>
    </view>
    <!--  -->
    <view class="main_list">
      <view class="item" @click="handleCheck()">
        <view class="h1">作业中车辆</view>
        <view class="h2">
          <text>4</text>
          <text class="unit">辆</text>
        </view>
        <image
          class="img"
          src="../../static/driver/ic_zuoyezhong@2x.png"
          mode=""
        ></image>
      </view>
      <view class="item cyan">
        <view class="h1">作业中车辆</view>
        <view class="h2">
          <text>4</text>
          <text class="unit">辆</text>
        </view>
        <image
          class="img"
          src="../../static/driver/ic_yiqiandao@2x.png"
          mode=""
        ></image>
      </view>
    </view>
  </view>
</template>
 
<script>
export default {
  data() {
    return {
 
    }
  },
  methods: {
    handleCheck() {
      uni.navigateTo({
        url: "/pages/driver/queueUpRecord"
      })
    }
  }
}
</script>
 
<style lang="scss">
.main_app {
  .main_name {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 104rpx;
    font-weight: 600;
    font-size: 32rpx;
    color: #111111;
  }
  .main_list {
    padding: 30rpx 10rpx;
    .item {
      width: 100%;
      height: 208rpx;
      padding: 30rpx 40rpx;
      margin-bottom: 30rpx;
      position: relative;
      .h1 {
        font-weight: 400;
        font-size: 34rpx;
        color: #222222;
        line-height: 50rpx;
      }
      .h2 {
        font-weight: bold;
        font-size: 64rpx;
        color: #00ba67;
        line-height: 110rpx;
        .unit {
          font-weight: 400;
          font-size: 26rpx;
          margin-left: 12rpx;
        }
      }
      .img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: -1;
      }
    }
    .cyan {
      .h2 {
        color: $uni-color-primary;
      }
    }
  }
}
</style>