From 51266896e7da916ead456caa70a337ca56f15849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=B3=E9=B9=8F=E9=BE=99?= <1547476325@qq.com> Date: Mon, 11 Aug 2025 17:47:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E5=B8=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/shop.ts | 34 ++ src/components/zh-scroll/zh-scroll.vue | 16 +- src/pages.json | 14 + src/pages/index/ChatDialog.vue | 4 +- src/pages/index/index.vue | 5 +- .../index/shoppage/financialAssistance.vue | 407 +++++++-------- src/pages/index/shoppage/interactiveZone.vue | 11 +- src/pages/index/shoppage/mediaHelp.vue | 472 +++++++++--------- src/pages/index/shoppage/qyDetail.vue | 168 +++++++ src/pages/index/shoppage/qyHelp.vue | 453 ++++++++++++++--- src/pages/index/shoppage/qyhelpDetail.vue | 147 ++++++ src/pages/index/shoppage/shopHelp.vue | 135 ++--- src/static/img/hdzq.png | Bin 2231 -> 1336 bytes 13 files changed, 1306 insertions(+), 560 deletions(-) create mode 100644 src/pages/index/shoppage/qyDetail.vue create mode 100644 src/pages/index/shoppage/qyhelpDetail.vue diff --git a/src/api/shop.ts b/src/api/shop.ts index f63a738..35cc06a 100644 --- a/src/api/shop.ts +++ b/src/api/shop.ts @@ -155,3 +155,37 @@ export function ReportDetail(id: any) { }) } +//企业帮分类列表 +export function enterpriseCategory() { + return request.http({ + url: '/api/huiqitong/enterprise/category', + method: 'GET' + }) +} + +//企业帮内容列表 +export function enterpriseList(data:any) { + return request.http({ + url: '/api/huiqitong/enterprise/list', + method: 'GET', + data + }) +} + +//企业帮内容详情 +export function enterpriseInfo(data:any) { + return request.http({ + url: '/api/huiqitong/enterprise/info', + method: 'GET', + data + }) +} + +//合同文库下载数增加 +export function contractDownload(id:any) { + return request.http({ + url: '/api/huiqitong/enterprise/contract/download/'+id, + method: 'GET', + }) +} + diff --git a/src/components/zh-scroll/zh-scroll.vue b/src/components/zh-scroll/zh-scroll.vue index b425017..e73e2e3 100644 --- a/src/components/zh-scroll/zh-scroll.vue +++ b/src/components/zh-scroll/zh-scroll.vue @@ -11,12 +11,12 @@ @tap="handleMenuTap(item.id)" > - {{ item.name }} + {{ item.name||item.title }} - + @@ -45,6 +45,9 @@ + + + @@ -53,9 +56,12 @@ import { ref, nextTick, getCurrentInstance, watch } from 'vue' import { ICateItem } from './interface' const baseurl = ref(import.meta.env.VITE_APP_BASE_URL + '/') + +const emit = defineEmits(['tabId']) const props = defineProps<{ scrollList: ICateItem[] - searchVal: string + searchVal: string, + mote: string }>() const instance = getCurrentInstance() const menuScrollIntoView = ref('') @@ -87,7 +93,7 @@ function handleMenuTap(id: number) { if (!sizeCalcState.value) { calcSize() } - + emit('tabId',id) curCateId.value = id nextTick(() => { @@ -144,7 +150,7 @@ function calcSize() { }, (data: any) => { item.top = h - h += data.height + h += data?.height item.bottom = h } ).exec() diff --git a/src/pages.json b/src/pages.json index a2c036f..d60ad71 100644 --- a/src/pages.json +++ b/src/pages.json @@ -144,6 +144,20 @@ "navigationStyle": "custom" } }, + { + "path": "pages/index/shoppage/qyDetail", + "style": { + "navigationBarTitleText": "企业帮", + "navigationStyle": "custom" + } + }, + { + "path": "pages/index/shoppage/qyhelpDetail", + "style": { + "navigationBarTitleText": "企业帮", + "navigationStyle": "custom" + } + }, //视频图文详情 { "path": "pages/learningCenter/detail", diff --git a/src/pages/index/ChatDialog.vue b/src/pages/index/ChatDialog.vue index eb07058..691a4b0 100644 --- a/src/pages/index/ChatDialog.vue +++ b/src/pages/index/ChatDialog.vue @@ -9,9 +9,9 @@ mode="widthFix" > - × + × { left: -137rpx; background-image: url(@/static/img/aiback.png); background-size: 100% 100%; - padding: 20rpx 10rpx; + padding: 20rpx; + display: flex; + align-items: center; + justify-content: center; .tit { white-space: nowrap; color: #2563eb; diff --git a/src/pages/index/shoppage/financialAssistance.vue b/src/pages/index/shoppage/financialAssistance.vue index 4bf05f5..170966b 100644 --- a/src/pages/index/shoppage/financialAssistance.vue +++ b/src/pages/index/shoppage/financialAssistance.vue @@ -1,203 +1,218 @@ + .container { + background: linear-gradient(0deg, #f1f3f9 72%, rgba(129, 179, 222, 0.5) 88%); + height: calc(100vh - 178rpx); + width: 100%; + overflow-y: hidden; + + .hyonne { + max-height: calc(100vh - 350rpx); + overflow-y: auto; + } + + .main { + margin-top: 10rpx; + width: 100%; + height: 100%; + padding: 0 24rpx; + box-sizing: border-box; + overflow-y: hidden; + + .ztone { + display: flex; + align-items: center; + width: 100%; + height: 210rpx; + margin-top: 30rpx; + padding: 30rpx; + border-radius: 20rpx; + background: #ffffff; + box-sizing: border-box; + border: 2rpx solid rgba(0, 127, 255, 0.12); + + .rightpart { + width: 100%; + margin-left: 40rpx; + flex: 3; + display: grid; + + .titlepart { + width: 100%; + display: flex; + align-items: center; + justify-content: space-between; + + .title { + font-family: Poppins; + font-size: 24rpx; + font-weight: 600; + line-height: 34rpx; + letter-spacing: normal; + /* 外部/Colors/Dark/Base 1 */ + color: #161719; + margin-top: 13rpx; + } + } + + .splace { + font-family: Poppins; + font-size: 24rpx; + font-weight: normal; + line-height: 34rpx; + letter-spacing: normal; + /* 外部/Colors/Dark/Base 1 */ + color: #161719; + } + + .ms { + margin-top: 13rpx; + font-family: Poppins; + font-size: 20rpx; + font-weight: normal; + line-height: 28rpx; + letter-spacing: normal; + /* 外部/Colors/Light/Base 3 */ + color: #91919f; + } + } + } + } + } + + .boxhd { + .txtt { + margin-top: 42rpx; + position: absolute; + z-index: 1; + white-space: nowrap; + margin-left: -52rpx; + font-family: Source Han Sans; + font-size: 28rpx; + font-weight: 350; + color: #FFFFFF; + } + + .hdzq { + width: 212rpx; + height: 86rpx; + position: fixed; + right: 0; + top: 70%; + margin-right: -14rpx; + } + } + \ No newline at end of file diff --git a/src/pages/index/shoppage/interactiveZone.vue b/src/pages/index/shoppage/interactiveZone.vue index d7bc4d7..d773d62 100644 --- a/src/pages/index/shoppage/interactiveZone.vue +++ b/src/pages/index/shoppage/interactiveZone.vue @@ -1,7 +1,7 @@