Explorar o código

巡检计划静态

xiaohaizhao %!s(int64=2) %!d(string=hai) anos
pai
achega
f2dc63526d
Modificáronse 1 ficheiros con 90 adicións e 0 borrados
  1. 90 0
      pages/index/modules/patrolScheme.vue

+ 90 - 0
pages/index/modules/patrolScheme.vue

@@ -0,0 +1,90 @@
+<template>
+    <view class="container">
+        <view class="title">巡检计划</view>
+        <view class="item-box">
+            <view hover-class="navigator-hover" class="item">
+                <view class="label">待执行计划</view>
+                <view class="count u-line-1">99999999999999999</view>
+            </view>
+
+            <view hover-class="navigator-hover" class="item">
+                <view class="label">进行中计划</view>
+                <view class="count u-line-1">99999999999999999</view>
+            </view>
+
+            <view hover-class="navigator-hover" class="item">
+                <view class="label">巡检派工</view>
+                <view class="count u-line-1">99999999999999999</view>
+            </view>
+        </view>
+    </view>
+</template>
+
+<script>
+export default {
+    name: 'patrolScheme',
+    data() {
+        return {
+        };
+    },
+    created() {
+        this.getDetail()
+    },
+    methods: {
+        getDetail() {
+            console.log('巡检计划暂时无接口')
+        }
+    }
+}
+</script>
+
+<style lang="scss" scoped>
+.container {
+    width: 355px;
+    height: 124px;
+    padding: 10px;
+    box-sizing: border-box;
+    border-radius: 4px;
+    background: #FFFFFF;
+    margin: 0 auto;
+    margin-top: 10px;
+
+    .title {
+        line-height: 22px;
+        font-size: 16px;
+        font-family: PingFang SC-Medium, PingFang SC;
+        font-weight: bold;
+        color: #333333;
+    }
+
+    .item-box {
+        display: flex;
+        justify-content: space-between;
+        margin-top: 10px;
+
+        .item {
+            width: 105px;
+            height: 72px;
+            background: #EFF4FA;
+            border-radius: 4px;
+            padding: 10px;
+            box-sizing: border-box;
+            .label {
+                line-height: 20px;
+                font-size: 14px;
+                font-family: PingFang SC-Regular, PingFang SC;
+                color: #333333;
+            }
+
+            .count {
+                line-height: 22px;
+                font-size: 16px;
+                font-family: PingFang SC-Medium, PingFang SC;
+                font-weight: bold;
+                color: #3874F6;
+                margin-top: 10px;
+            }
+        }
+    }
+}
+</style>