From 3963587535f9de516228a4300f10a67728234485 Mon Sep 17 00:00:00 2001
From: Jafeng <2998840497@qq.com>
Date: Fri, 6 Feb 2026 10:54:34 +0800
Subject: [PATCH 1/2] =?UTF-8?q?fix:=E4=BC=98=E5=8C=96=E9=A6=96=E9=A1=B5?=
=?UTF-8?q?=E5=B8=83=E5=B1=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/article/article-cate-list.vue | 77 ++++++++++++++++++-----------
pages/home/article-list.vue | 22 +++------
pages/home/team-head.vue | 34 +++++++++++--
3 files changed, 86 insertions(+), 47 deletions(-)
diff --git a/pages/article/article-cate-list.vue b/pages/article/article-cate-list.vue
index 97ed96b..421ad22 100644
--- a/pages/article/article-cate-list.vue
+++ b/pages/article/article-cate-list.vue
@@ -1,22 +1,14 @@
-
-
+
+ ]" @click="selectCate(tab.value)">
{{ tab.name }}
@@ -32,18 +24,9 @@
-
-
+
+
{{ item.title || "宣教文章" }}
@@ -161,9 +144,11 @@ onReachBottom(() => {
.min-h-screen {
min-height: 100vh;
}
+
.bg-gray-100 {
background-color: #f7f8fa;
}
+
.bg-white {
background-color: #ffffff;
}
@@ -171,18 +156,22 @@ onReachBottom(() => {
.p-15 {
padding: 30rpx;
}
+
.px-15 {
padding-left: 30rpx;
padding-right: 30rpx;
}
+
.py-10 {
padding-top: 20rpx;
padding-bottom: 20rpx;
}
+
.py-5 {
padding-top: 10rpx;
padding-bottom: 10rpx;
}
+
.px-5 {
padding-left: 10rpx;
padding-right: 10rpx;
@@ -191,21 +180,27 @@ onReachBottom(() => {
.mr-10 {
margin-right: 20rpx;
}
+
.mr-5 {
margin-right: 10rpx;
}
+
.ml-2 {
margin-left: 10rpx;
}
+
.mr-2 {
margin-right: 10rpx;
}
+
.mb-15 {
margin-bottom: 20rpx;
}
+
.mb-10 {
margin-bottom: 20rpx;
}
+
.mt-1 {
margin-top: 6rpx;
}
@@ -213,27 +208,35 @@ onReachBottom(() => {
.flex {
display: flex;
}
+
.items-start {
align-items: flex-start;
}
+
.items-center {
align-items: center;
}
+
.justify-between {
justify-content: space-between;
}
+
.flex-1 {
flex: 1;
}
+
.flex-grow {
flex-grow: 1;
}
+
.flex-shrink-0 {
flex-shrink: 0;
}
+
.w-0 {
width: 0;
}
+
.relative {
position: relative;
}
@@ -242,12 +245,15 @@ onReachBottom(() => {
border-width: 1px;
border-style: solid;
}
+
.rounded-full {
border-radius: 9999px;
}
+
.rounded {
border-radius: 8rpx;
}
+
.rounded-lg {
border-radius: 12rpx;
}
@@ -259,15 +265,19 @@ onReachBottom(() => {
.text-xs {
font-size: 22rpx;
}
+
.text-sm {
font-size: 28rpx;
}
+
.text-base {
font-size: 32rpx;
}
+
.font-bold {
font-weight: 600;
}
+
.leading-normal {
line-height: 1.4;
}
@@ -275,9 +285,11 @@ onReachBottom(() => {
.text-orange-500 {
color: #f29e38;
}
+
.bg-orange-100 {
background-color: #fff8eb;
}
+
.border-orange-500 {
border-color: #f29e38;
}
@@ -285,12 +297,15 @@ onReachBottom(() => {
.text-gray-600 {
color: #333333;
}
+
.text-gray-400 {
color: #999999;
}
+
.text-gray-800 {
color: #1a1a1a;
}
+
.border-gray-200 {
border-color: #e5e5e5;
}
@@ -298,6 +313,7 @@ onReachBottom(() => {
.text-green-600 {
color: #4b8d5f;
}
+
.border-green-600 {
border-color: #4b8d5f;
}
@@ -305,18 +321,23 @@ onReachBottom(() => {
.sticky {
position: sticky;
}
+
.top-0 {
top: 0;
}
+
.z-10 {
z-index: 10;
}
+
.w-full {
width: 100%;
}
+
.whitespace-nowrap {
white-space: nowrap;
}
+
.inline-block {
display: inline-block;
}
@@ -339,7 +360,7 @@ onReachBottom(() => {
transition: all 0.3s;
min-height: 188rpx;
padding: 20rpx;
- align-items: flex-start;
+ align-items: center;
width: 100%;
box-sizing: border-box;
}
@@ -350,8 +371,8 @@ onReachBottom(() => {
}
.cover {
- width: 272rpx;
- height: 151rpx;
+ width: 200rpx;
+ height: 112rpx;
border-radius: 12rpx;
margin-right: 20rpx;
object-fit: cover;
diff --git a/pages/home/article-list.vue b/pages/home/article-list.vue
index a7acf0d..873f9a3 100644
--- a/pages/home/article-list.vue
+++ b/pages/home/article-list.vue
@@ -9,18 +9,10 @@
-
-
+
+
{{ article.title }}
@@ -134,7 +126,7 @@ watch(
transition: all 0.3s;
min-height: 188rpx;
padding: 20rpx;
- align-items: flex-start;
+ align-items: center;
width: 100%;
box-sizing: border-box;
}
@@ -145,8 +137,8 @@ watch(
}
.cover {
- width: 272rpx;
- height: 151rpx;
+ width: 200rpx;
+ height: 112rpx;
border-radius: 12rpx;
margin-right: 20rpx;
object-fit: cover;
diff --git a/pages/home/team-head.vue b/pages/home/team-head.vue
index feadd2f..05af2cc 100644
--- a/pages/home/team-head.vue
+++ b/pages/home/team-head.vue
@@ -54,6 +54,8 @@
+
+
@@ -103,8 +105,8 @@ function select(team) {
function toTeamDetail() {
if (props.team && props.team.teamId) {
- uni.navigateTo({
- url: `/pages/team/team-detail?teamId=${props.team.teamId}&corpId=${props.team.corpId}&corpName=${encodeURIComponent(props.team.corpName || '')}`
+ uni.navigateTo({
+ url: `/pages/team/team-detail?teamId=${props.team.teamId}&corpId=${props.team.corpId}&corpName=${encodeURIComponent(props.team.corpName || '')}`
});
}
}
@@ -190,11 +192,32 @@ onMounted(() => {
overflow: visible;
}
+.team-introduce-border {
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ border: 1px solid #fff;
+ border-radius: 16rpx;
+ pointer-events: none;
+ -webkit-mask-image: linear-gradient(to right, #000 0, #000 50rpx, transparent 50rpx, transparent 70rpx, #000 70rpx),
+ linear-gradient(#000, #000);
+ mask-image: linear-gradient(to right, #000 0, #000 50rpx, transparent 50rpx, transparent 70rpx, #000 70rpx),
+ linear-gradient(#000, #000);
+ -webkit-mask-size: 100% 1px, 100% 100%;
+ mask-size: 100% 1px, 100% 100%;
+ -webkit-mask-position: 0 0, 0 1px;
+ mask-position: 0 0, 0 1px;
+ -webkit-mask-repeat: no-repeat;
+ mask-repeat: no-repeat;
+}
+
.triangle-wrapper {
position: absolute;
top: -12rpx;
left: 60rpx;
- width: 24rpx;
+ width: 32rpx;
height: 12rpx;
overflow: hidden;
z-index: 10;
@@ -204,13 +227,16 @@ onMounted(() => {
.team-triangle {
position: absolute;
left: 50%;
- bottom: -10rpx;
+ bottom: -9rpx;
width: 16rpx;
height: 16rpx;
background: linear-gradient(186deg,
rgba(255, 255, 255, 0.4) 13.34%,
rgba(255, 255, 255, 0.6) 99.17%);
transform: translateX(-50%) rotate(45deg);
+ border-top: 1px solid #fff;
+ border-left: 1px solid #fff;
+ box-sizing: border-box;
}
.introduce-text {
From f4e2f87b6ea701304e55bbf5216cc5d7f14528d7 Mon Sep 17 00:00:00 2001
From: huxuejian
Date: Fri, 6 Feb 2026 17:20:12 +0800
Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/home/consult.vue | 27 ++++++++++++---------------
pages/home/customer-archive.vue | 1 -
pages/home/home.vue | 2 +-
pages/team/homepage.vue | 4 ++--
4 files changed, 15 insertions(+), 19 deletions(-)
diff --git a/pages/home/consult.vue b/pages/home/consult.vue
index 4e7fe79..103cf6a 100644
--- a/pages/home/consult.vue
+++ b/pages/home/consult.vue
@@ -3,12 +3,7 @@
咨询互动
-
+
@@ -17,14 +12,8 @@
-
+
@@ -41,6 +30,10 @@ const props = defineProps({
type: String,
default: "",
},
+ team: {
+ type: Object,
+ default: () => ({})
+ },
teamId: {
type: String,
default: "",
@@ -84,6 +77,10 @@ const consultItems = ref([
function handleItemClick(item) {
// 聊天咨询需要选择咨询人
if (item.needSelectConsultant) {
+ if (!props.team || !props.team.creator) {
+ return toast('该团队暂未开放咨询服务')
+ }
+
if (!props.customers || props.customers.length === 0) {
toast("请先添加档案");
// 跳转到档案管理页面
@@ -121,7 +118,7 @@ async function handleConsultantConfirm(customer) {
const res = await api("createConsultGroup", {
teamId: props.teamId,
corpId: props.corpId,
- customerId: customer._id,
+ customerId: customer._id,
customerImUserId: account.value.openid,
});
uni.hideLoading();
diff --git a/pages/home/customer-archive.vue b/pages/home/customer-archive.vue
index 59e700e..f3dae7b 100644
--- a/pages/home/customer-archive.vue
+++ b/pages/home/customer-archive.vue
@@ -170,7 +170,6 @@ const baseInfo = computed(() =>
);
const baseInfoError = computed(() => {
const requiredTitles = baseInfo.value
- .filter((i) => i.required)
.map((i) => i.title);
return current.value && requiredTitles.some((i) => !current.value[i]);
});
diff --git a/pages/home/home.vue b/pages/home/home.vue
index ecd7106..401a57f 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -8,7 +8,7 @@
-
+
diff --git a/pages/team/homepage.vue b/pages/team/homepage.vue
index 3e5826a..9e30862 100644
--- a/pages/team/homepage.vue
+++ b/pages/team/homepage.vue
@@ -36,8 +36,8 @@
对外联系电话
-
- {{ member.callNumber || '暂无联系电话' }}
+
+ {{ member.externalContact || '暂无联系电话' }}