From f892dbcb32f9934bc0466d35d6cd3a225b414ffb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Thu, 12 Mar 2026 16:47:27 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=20=E5=8F=91=E5=B8=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/apiT.js | 4 +- common/tabbar.js | 4 +- components/CarCardPro/CarCardPro.vue | 33 +- components/CustomTabBar/CustomTabBar.vue | 20 +- custom-tab-bar/index.vue | 32 +- pages.json | 4 +- pages/index/detilsPro.vue | 4 +- pages/index/mine.vue | 4 +- pages/index/myPublishpro.vue | 494 ++++++++++++++++++++--- pages/index/publishPro.vue | 13 +- pages/index/publisheditPro.vue | 12 +- pages/login/feishu-callback.vue | 9 +- pages/login/index.vue | 14 +- 13 files changed, 536 insertions(+), 111 deletions(-) diff --git a/api/apiT.js b/api/apiT.js index 42e2b75..f70c16e 100644 --- a/api/apiT.js +++ b/api/apiT.js @@ -1,6 +1,6 @@ // const baseUrl = "https://api.collect.hs.hnzhwlkj.club/"; //这里放置url域名32044 -// const baseUrl = "https://userdcar-server.hnxinyouhe.com/"; //这里放置url域名32044 -const baseUrl = "https://usedcar.dev.hnxinyouhe.com/"; //这里放置url域名32044 + const baseUrl = "https://userdcar-server.hnxinyouhe.com/"; //这里放置url域名32044 +// const baseUrl = "https://usedcar.dev.hnxinyouhe.com/"; //这里放置url域名32044 // const baseUrl = "http://219.157.255.213:36010/"; //这里放置url域名32044 export function request(options){//封装的requset let { url,data,method,loginType } = options; diff --git a/common/tabbar.js b/common/tabbar.js index 47d366b..bb28015 100644 --- a/common/tabbar.js +++ b/common/tabbar.js @@ -25,7 +25,7 @@ export const tabBarConfig = [ pagePath: 'pages/index/publish', iconPath: '/static/image/publish1.png', selectedIconPath: '/static/image/publish.png', - text: '发布', + text: '发布(二手车)', // 发布:卖家可见 roles: [ROLE_TYPES.PROCUREMENT] }, @@ -33,7 +33,7 @@ export const tabBarConfig = [ pagePath: 'pages/index/publishPro', iconPath: '/static/image/publish1.png', selectedIconPath: '/static/image/publish.png', - text: '发布', + text: '发布(smartcar)', // 专业发布:有供应商身份可见 isSupplier: true }, diff --git a/components/CarCardPro/CarCardPro.vue b/components/CarCardPro/CarCardPro.vue index c489a51..d69e3af 100644 --- a/components/CarCardPro/CarCardPro.vue +++ b/components/CarCardPro/CarCardPro.vue @@ -7,7 +7,8 @@ {{ getStatusText(item.status) }} - + + @@ -88,7 +89,11 @@ const statusMap = { 0: '待审核', 1: '审核通过', - 2: '审核拒绝' + 2: '审核拒绝', + 3: '推送中', + 4: '推送成功', + 5: '推送失败' + } return statusMap[status] || '未知' } @@ -349,6 +354,30 @@ background: #FFF2F0; border: 1px solid #FFCCC7; + .status-text { + color: #F5222D; + } + } + &.status-3 { + background: #FFF7E6; + border: 1px solid #FFD591; + + .status-text { + color: #FA8C16; + } + } + &.status-4 { + background: #F6FFED; + border: 1px solid #B7EB8F; + + .status-text { + color: #52C41A; + } + } + &.status-5 { + background: #FFF2F0; + border: 1px solid #FFCCC7; + .status-text { color: #F5222D; } diff --git a/components/CustomTabBar/CustomTabBar.vue b/components/CustomTabBar/CustomTabBar.vue index 42737c8..59b9010 100644 --- a/components/CustomTabBar/CustomTabBar.vue +++ b/components/CustomTabBar/CustomTabBar.vue @@ -18,7 +18,7 @@