From 29bc231cdc87cbedc455cbf8ab17299a29770b36 Mon Sep 17 00:00:00 2001
From: wangxia <779219182@qq.com>
Date: Mon, 18 Aug 2025 10:21:18 +0800
Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/panel/formItem.vue | 63 ++++++++++++++++++++++---------------------
pages/person/index.vue | 21 +++++++++------
2 files changed, 46 insertions(+), 38 deletions(-)
diff --git a/components/panel/formItem.vue b/components/panel/formItem.vue
index ae04cd2..129a7ad 100644
--- a/components/panel/formItem.vue
+++ b/components/panel/formItem.vue
@@ -1,6 +1,6 @@
-
+
-
-
-
+
+
-
-
+
- {{ item.label }}
+ {{ item.label }}
-
+
- {{ item.result }}
+ {{ item.result }}
-
+
@@ -60,6 +61,7 @@
+
@@ -103,24 +108,22 @@ export default {
margin: 0 auto;
.item {
- position:relative;
+ position: relative;
// border-bottom: 1rpx solid #eee;
- &:after{
- content:'';
+ &:after {
+ content: "";
position: absolute;
- bottom:0;
- left:16px;
+ bottom: 0;
+ left: 16px;
border-bottom: 1rpx solid #eee;
height: 1rpx solid #eee;
width: calc(100vw - 52px);
-
}
-
&:last-child {
border-bottom: none;
- &:after{
- content:none;
+ &:after {
+ content: none;
}
}
}
diff --git a/pages/person/index.vue b/pages/person/index.vue
index 2c9b49e..628b1b6 100644
--- a/pages/person/index.vue
+++ b/pages/person/index.vue
@@ -1,21 +1,21 @@
-
+
-
+
-
+
{{ userInfo.name ? userInfo.name : "-" }}
-
+
编辑资料
@@ -32,12 +32,12 @@
-
+
-
+
- 登录/注册
- 劳务上下游收发单工具
+ 登录/注册
+ 劳务上下游收发单工具
@@ -104,6 +104,7 @@
@@ -173,6 +175,7 @@ export default {
waitNus: 0,
agencyInfo: {},
addMemberShow: false,
+ loading: true, // 骨架屏的显示处理
scrollTop: 0,
defaultTop: 0,
pageSpeed: -1,
@@ -349,6 +352,7 @@ export default {
// if (uni.getStorageSync("apply-userinfo").agencyStatus == 1) {
this.getCompanyInfo();
}
+ that.loading = false;
});
that.G.watchUserPage("pages/person/index");
// that.userInfo = uni.getStorageSync("apply-userinfo");
@@ -362,6 +366,7 @@ export default {
that.userInfo.agencyName = "";
that.userInfo.teamType = 0;
that.speed = 0;
+ that.loading = false;
}
},
onTabItemTap(e) {