From 4071a902f383275b7ed284876bbdf3e19cfa3522 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 09 二月 2026 18:02:15 +0800
Subject: [PATCH] Merge branch 'dev_new' of http://114.132.189.42:9002/r/product-inventory-APP-before into dev_new
---
src/pages/index.vue | 85 ++++++++++++++++++++++++++++++++++++------
1 files changed, 73 insertions(+), 12 deletions(-)
diff --git a/src/pages/index.vue b/src/pages/index.vue
index 5a8f90c..7094cf9 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -133,6 +133,30 @@
</up-grid>
</view>
</view>
+ <!-- 浜哄姏璧勬簮妯″潡 -->
+ <view class="common-module collaboration-module">
+ <view class="module-header">
+ <view class="module-title-container">
+ <text class="module-title">浜哄姏璧勬簮</text>
+ </view>
+ </view>
+ <view class="module-content">
+ <up-grid :border="false"
+ col="4">
+ <up-grid-item v-for="(item, index) in humanResourcesItems"
+ :key="index"
+ @click="handleCommonItemClick(item)">
+ <view class="icon-container"
+ :style="{ background: item.bgColor }">
+ <up-icon :name="item.icon"
+ :size="58"
+ color="#ffffff"></up-icon>
+ </view>
+ <text class="item-label">{{item.label}}</text>
+ </up-grid-item>
+ </up-grid>
+ </view>
+ </view>
<!-- 鐢熶骇绠℃帶妯″潡 -->
<!-- <view class="common-module production-module">-->
<!-- <view class="module-header">-->
@@ -298,6 +322,16 @@
label: "渚涘簲鍟嗗線鏉�",
},
]);
+ const humanResourcesItems = reactive([
+ {
+ icon: "/static/images/icon/caigoutaizhang@2x.png",
+ label: "鎵撳崱绛惧埌",
+ },
+ {
+ icon: "/static/images/icon/caigoutaizhang@2x.png",
+ label: "浜哄憳钖祫",
+ },
+ ]);
const safetyItems = reactive([
{
icon: "/static/images/icon/caigoutaizhang@2x.png",
@@ -310,10 +344,6 @@
{
icon: "/static/images/icon/caigoutaizhang@2x.png",
label: "鍗遍櫓浣滀笟",
- },
- {
- icon: "/static/images/icon/xunjianshangchuan@2x.png",
- label: "宸℃涓婁紶",
},
{
icon: "/static/images/icon/guzhangfenxi@2x.png",
@@ -374,10 +404,6 @@
icon: "/static/images/icon/kehubaifang@2x.png",
label: "瀹㈡埛鎷滆",
},
- {
- icon: "/static/images/icon/guzhangfenxi@2x.png",
- label: "鎵撳崱绛惧埌",
- },
]);
// 鐢熶骇绠℃帶鍔熻兘鏁版嵁
@@ -426,6 +452,30 @@
{
icon: "/static/images/icon/shbeibaoyang@2x.png",
label: "璁惧淇濆吇",
+ },
+ {
+ icon: "/static/images/icon/guzhangfenxi@2x.png",
+ label: "鍒嗘瀽杩芥函",
+ bgColor: "#ff9800",
+ },
+ {
+ icon: "/static/images/icon/zhinengpaidan@2x.png",
+ label: "鏅鸿兘娲惧崟",
+ bgColor: "#ff6b35",
+ },
+ {
+ icon: "/static/images/icon/zuoyezhidao@2x.png",
+ label: "浣滀笟鎸囧",
+ bgColor: "#4caf50",
+ },
+ {
+ icon: "/static/images/icon/jieguoyanzheng@2x.png",
+ label: "缁撴灉楠岃瘉",
+ bgColor: "#9c27b0",
+ },
+ {
+ icon: "/static/images/icon/xunjianshangchuan@2x.png",
+ label: "宸℃涓婁紶",
},
]);
@@ -920,9 +970,16 @@
left: 0;
right: 0;
bottom: 0;
- background:
- radial-gradient(circle at 20% 80%, rgba(41, 121, 255, 0.02) 0%, transparent 55%),
- radial-gradient(circle at 80% 20%, rgba(156, 39, 176, 0.015) 0%, transparent 55%);
+ background: radial-gradient(
+ circle at 20% 80%,
+ rgba(41, 121, 255, 0.02) 0%,
+ transparent 55%
+ ),
+ radial-gradient(
+ circle at 80% 20%,
+ rgba(156, 39, 176, 0.015) 0%,
+ transparent 55%
+ );
pointer-events: none;
z-index: -1;
}
@@ -1567,7 +1624,11 @@
position: absolute;
inset: 0;
border-radius: inherit;
- background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.26), transparent 55%);
+ background: radial-gradient(
+ circle at 20% 20%,
+ rgba(255, 255, 255, 0.26),
+ transparent 55%
+ );
opacity: 0.8;
pointer-events: none;
}
--
Gitblit v1.9.3