From 9ccdf529fcc03b32ec1656c3b668b8bddd43ea5f Mon Sep 17 00:00:00 2001
From: wang <3597712270@qq.com>
Date: 星期三, 24 四月 2024 18:54:38 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/HangZhouMes
---
UI-Project/src/views/Identify/identify.vue | 68 +++++++++++++++++++++++++++++-----
1 files changed, 58 insertions(+), 10 deletions(-)
diff --git a/UI-Project/src/views/Identify/identify.vue b/UI-Project/src/views/Identify/identify.vue
index be0e99f..dabc99e 100644
--- a/UI-Project/src/views/Identify/identify.vue
+++ b/UI-Project/src/views/Identify/identify.vue
@@ -11,6 +11,15 @@
<path d="M2,2 L10,6 L2,10 L2,2" style="fill: #911005;" />
</marker>
</defs>
+ <!-- <el-scrollbar height="630px">
+ <div id="home-card">
+ <div id="home-item" v-for="n in 20" :key="n">
+ <div id="box" style="width: 100px;height: 165px;">100*65</div>
+ <div id="box" style="width: 107px;height: 150px;">107*60</div>
+ <div id="box" style="width: 107px;height: 155px;">109*60</div>
+ </div>
+ </div>
+ </el-scrollbar> -->
<g v-for="(rack, index) in racks" :key="index">
<rect
:x="rack.x"
@@ -33,13 +42,13 @@
</line>
<text x="370" y="240" dominant-baseline="middle" text-anchor="middle">NG2024030501A-01</text>
<text x="370" y="260" dominant-baseline="middle" text-anchor="middle">500*300</text>
-
+
<text x="970" y="240" dominant-baseline="middle" text-anchor="middle">NG2024030501A-02</text>
<text x="970" y="260" dominant-baseline="middle" text-anchor="middle">500*300</text>
-
+
<text x="600" y="500" dominant-baseline="middle" text-anchor="middle">NG2024030501A-03</text>
<text x="600" y="520" dominant-baseline="middle" text-anchor="middle">800*450</text>
-
+
<text x="1280" y="520" dominant-baseline="middle" text-anchor="middle">NG2024030501A-04</text>
<text x="1280" y="540" dominant-baseline="middle" text-anchor="middle">400*300</text>
@@ -56,12 +65,12 @@
</svg>
</el-card>
</template>
-
+
<script>
import Swal from 'sweetalert2'
import request from "@/utils/request";
-
-
+
+
request.get("/TidyUpGlassModule/CurrentCutTerritory").then((res) => {
if (res.code == 200) {
console.log(res.data);
@@ -70,7 +79,7 @@
router.push("/login")
}
});
-
+
export default {
data() {
return {
@@ -136,13 +145,13 @@
// type: 'warning', // 寮规绫诲瀷
title: '璇ョ墖鐜荤拑鐘舵��', //鏍囬
// text: "娉ㄩ攢鍚庡皢鏃犳硶鎭㈠锛岃璋ㄦ厧鎿嶄綔锛�", //鏄剧ず鍐呭
-
+
confirmButtonColor: '#3085d6',// 纭畾鎸夐挳鐨� 棰滆壊
confirmButtonText: '浜哄伐鎷胯蛋',// 纭畾鎸夐挳鐨� 鏂囧瓧
showCancelButton: true, // 鏄惁鏄剧ず鍙栨秷鎸夐挳
cancelButtonColor: '#d33', // 鍙栨秷鎸夐挳鐨� 棰滆壊
cancelButtonText: "鐮存崯", // 鍙栨秷鎸夐挳鐨� 鏂囧瓧
-
+
// focusCancel: true, // 鏄惁鑱氱劍 鍙栨秷鎸夐挳
reverseButtons: true // 鏄惁 鍙嶈浆 涓や釜鎸夐挳鐨勪綅缃� 榛樿鏄� 宸﹁竟 纭畾 鍙宠竟 鍙栨秷
}).then((isConfirm) => {
@@ -169,7 +178,7 @@
}
};
</script>
-
+
<style scoped>
.glass-rack {
width: 100%;
@@ -183,4 +192,43 @@
color: black;
border: 1px solid black;
}
+
+#home-card {
+ width: 100%;
+ overflow: hidden;
+ padding: 10px 0px;
+ display: flex;
+ flex-wrap: wrap;
+ #home-item {
+ border-style: solid;
+ border-width: 1px;
+ border-color: #E4E4E4;
+ width: calc(34% - 20px);
+ padding: 20px 0px 20px 20px;
+ margin-right: 10px;
+ margin-bottom: 10px;
+ display: flex;
+ justify-content: center;
+ /* align-items: center; */
+ background: #fff;
+ #home-img {
+ display: inline-block;
+ width: 160px;
+ height: 60px;
+ margin: 0;
+ padding: 0;
+ }
+ #home-right {
+ display: flex;
+ flex-direction: column;
+ justify-content: center;
+ align-items: flex-start;
+ margin-left: 10px;
+ #home-num {
+ font-size: 40px;
+ margin: 5px 0;
+ }
+ }
+ }
+ }
</style>
--
Gitblit v1.8.0