From fde71d2ccfc68c929106a8a1eeb69b42ed00e855 Mon Sep 17 00:00:00 2001
From: haoxuan <haoxuan>
Date: 星期二, 31 十月 2023 17:09:28 +0800
Subject: [PATCH] Merge branch 'wn' of http://192.168.5.5:10010/r/web/bulletin-board-style1 into dev

---
 src/views/dashboard/components/ProcessInfo.vue |  113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 113 insertions(+), 0 deletions(-)

diff --git a/src/views/dashboard/components/ProcessInfo.vue b/src/views/dashboard/components/ProcessInfo.vue
new file mode 100644
index 0000000..18d6995
--- /dev/null
+++ b/src/views/dashboard/components/ProcessInfo.vue
@@ -0,0 +1,113 @@
+<template>
+  <div class="process-info">
+    <div class="item-l-bng">
+      <img src="~@/assets/images/process-model.png" />
+    </div>
+    <div class="item-r">
+      <div class="item-r-t font_weight">{{ process.number }}</div>
+      <div class="item-r-b">{{ process.name }}</div>
+      <div class="item-r-b">{{ process.name }}</div>
+    </div>
+    <div class="tip-r">
+      <img src="~@/assets/images/process-tip.png" />
+    </div>
+    <div class="tip-current">褰撳墠浣跨敤</div>
+    <div class="btn">
+      <el-button type="primary" class="color_organge"> 鏇存柊宸ヨ壓</el-button>
+    </div>
+  </div>
+</template>
+<script setup lang="ts">
+import { computed, toRefs } from 'vue'
+export interface ProcessInfoProps {
+  process?: process
+}
+
+const props = defineProps<ProcessInfoProps>()
+const { process } = toRefs(props)
+</script>
+
+<style scoped lang="scss">
+$status-running: #f76c0f;
+$status-done: #2c5dbb82;
+.font_weight {
+  font-weight: 600;
+}
+.process-info {
+  width: calc(50% - 35px);
+  height: 110px;
+  padding: 23px 10px 10px;
+  background: $status-done;
+  border-radius: 8px;
+  float: left;
+  overflow: hidden;
+  font-size: 15px;
+  position: relative;
+  margin-bottom: 30px;
+
+  &:nth-of-type(odd) {
+    margin-right: 30px;
+  }
+
+  .item-l-bng {
+    width: 40px;
+    float: left;
+    margin-right: 20px;
+
+    img {
+      width: 100%;
+    }
+  }
+
+  .item-r {
+    width: calc(100% - 60px);
+    float: left;
+    line-height: 25px;
+    color: #fff;
+    font-size: 16px;
+    cursor: pointer;
+
+    .item-r-t {
+      font-size: 16px;
+    }
+
+    .item-r-b {
+      font-size: 14px;
+    }
+  }
+
+  .tip-r {
+    position: absolute;
+    top: 5px;
+    right: 15px;
+    width: 20px;
+
+    img {
+      width: 100%;
+    }
+  }
+
+  .tip-current {
+    background: green;
+    color: #fff;
+    position: absolute;
+    top: 0px;
+    left: 70px;
+    width: auto;
+    padding: 2px 15px;
+    font-size: 12px;
+    border-radius: 0px 0px 6px 6px;
+  }
+
+  .btn {
+    width: 100px;
+    position: absolute;
+    right: 0px;
+    bottom: 10px;
+    .el-button--primary {
+      background: $status-running;
+      border: 0 !important;
+    }
+  }
+}
+</style>

--
Gitblit v1.8.0