diff --git a/src/pages.json b/src/pages.json index d60ad71..bca1116 100644 --- a/src/pages.json +++ b/src/pages.json @@ -63,8 +63,8 @@ { "path": "pages/index/ztdetail", "style": { - "navigationBarTitleText": "专题详情页", - "navigationStyle": "custom" + "navigationBarTitleText": "详情页" + // "navigationStyle": "custom" } }, { @@ -236,6 +236,20 @@ { "navigationBarTitleText" : "办年报详情" } + }, + { + "path" : "pages/index/shoppage/contractLibrary", + "style" : + { + "navigationBarTitleText" : "合同文库" + } + }, + { + "path" : "pages/index/shoppage/legalServices", + "style" : + { + "navigationBarTitleText" : "法律服务" + } } ], "permission": { diff --git a/src/pages/index/ChatDialog.vue b/src/pages/index/ChatDialog.vue index 5f3804c..f908081 100644 --- a/src/pages/index/ChatDialog.vue +++ b/src/pages/index/ChatDialog.vue @@ -8,14 +8,17 @@ src="@/static/img/aiimg.png" mode="widthFix" > - + + + 人工智能生成 + + > - - - {{ detaildata.title }} - 活动地点:{{ detaildata.address }} - - 活动时间:{{ detaildata.activity_time }} - - 阅读量: - - {{ detaildata.count }} - + + + + {{ detaildata.title }} + 活动地点:{{ detaildata.address }} + + 活动时间:{{ detaildata.activity_time }} + + 阅读量: + + {{ detaildata.count }} + + + + + 活动详情 + + + + {{ detaildata.create_time }} - - - 活动详情 - - - {{ detaildata.create_time }} - - - - 立即报名 + + + 立即报名 + + + + \ No newline at end of file diff --git a/src/pages/index/shoppage/financialAssistance.vue b/src/pages/index/shoppage/financialAssistance.vue index 170966b..ab4ffa3 100644 --- a/src/pages/index/shoppage/financialAssistance.vue +++ b/src/pages/index/shoppage/financialAssistance.vue @@ -3,14 +3,15 @@ + :show-action="false" height="40" margin="" bg-color="#FFFFFF"> + - + {{ item.bank }} @@ -43,12 +44,14 @@ import { financeList } from '@/api/shop' + import tabsComm from '@/pages/index/tabsComm.vue' import liuDragButton from '@/uni_modules/liu-drag-button/components/liu-drag-button/liu-drag-button.vue' const baseurl = ref(import.meta.env.VITE_APP_BASE_URL + '/') // 响应式数据 const keyword = ref('') + const currentTab = ref('') const page = ref(1) const pagesize = ref(6) @@ -86,6 +89,7 @@ const getfinanceList = async (name, page, limit) => { let params = { + alliance_city: currentTab.value, keyword: name, page: page, limit: limit @@ -98,6 +102,7 @@ const onloadmore = async () => { page.value++ let params = { + alliance_city: currentTab.value, keyword: keyword.value, page: page.value, limit: pagesize.value @@ -106,6 +111,70 @@ ztList.value = [...ztList.value, ...res.data.data] }) } + + // 选项卡配置(第一个必须是"全部") + const filterTabs = ref([ + { + id: '呼和浩特', + title: '呼和浩特' + }, + { + id: '包头', + title: '包头' + }, + { + id: '呼伦贝尔', + title: '呼伦贝尔' + }, + { + id: '兴安盟', + title: '兴安盟' + }, + { + id: '通辽', + title: '通辽' + }, + { + id: '赤峰', + title: '赤峰' + }, + { + id: '锡林郭勒盟', + title: '锡林郭勒盟' + }, + { + id: '乌兰察布', + title: '乌兰察布' + }, + { + id: '鄂尔多斯', + title: '鄂尔多斯' + }, + { + id: '巴彦淖尔', + title: '巴彦淖尔' + }, + { + id: '乌海', + title: '乌海' + }, + { + id: '阿拉善盟', + title: '阿拉善盟' + }, + ]) + + // 处理选项卡选择 + const handleTabSelect = async (tab) => { + currentTab.value = tab + if (tab === 'all') { + // await getMemberCenter('') + } else { + await getfinanceList('', 1, 6) + } + // 这里可以添加数据加载逻辑 + console.log('选择tab:', tab) + } onShow(async () => { await getfinanceList('', 1, 6) @@ -118,17 +187,18 @@ height: calc(100vh - 178rpx); width: 100%; overflow-y: hidden; + padding: 40rpx 24rpx 24rpx 24rpx; .hyonne { - max-height: calc(100vh - 350rpx); + max-height: calc(100vh - 400rpx); overflow-y: auto; + margin-top: -10px; } .main { margin-top: 10rpx; width: 100%; - height: 100%; - padding: 0 24rpx; + height: calc(100% - 46px); box-sizing: border-box; overflow-y: hidden; diff --git a/src/pages/index/shoppage/interactiveZone.vue b/src/pages/index/shoppage/interactiveZone.vue index ce37c54..e4eb15f 100644 --- a/src/pages/index/shoppage/interactiveZone.vue +++ b/src/pages/index/shoppage/interactiveZone.vue @@ -70,7 +70,7 @@ const current = ref(0) // 创建响应式数据 const list1 = reactive([ { - name: '开店帮', + name: '查政策', id: 1 }, { @@ -82,7 +82,7 @@ const list1 = reactive([ id: 3 }, { - name: '企业帮', + name: '提诉求', id: 4 }, { diff --git a/src/pages/index/shoppage/legalServices.vue b/src/pages/index/shoppage/legalServices.vue new file mode 100644 index 0000000..d5d5e19 --- /dev/null +++ b/src/pages/index/shoppage/legalServices.vue @@ -0,0 +1,159 @@ + + + + + \ No newline at end of file diff --git a/src/pages/index/shoppage/mediaHelp.vue b/src/pages/index/shoppage/mediaHelp.vue index 303b1bc..219d6c7 100644 --- a/src/pages/index/shoppage/mediaHelp.vue +++ b/src/pages/index/shoppage/mediaHelp.vue @@ -3,7 +3,8 @@ + :show-action="false" height="40" margin="" bg-color="#FFFFFF"> + @@ -29,9 +30,9 @@ - + @@ -50,6 +51,7 @@ import { mediumList } from '@/api/shop' + import tabsComm from '@/pages/index/tabsComm.vue' import liuDragButton from '@/uni_modules/liu-drag-button/components/liu-drag-button/liu-drag-button.vue' import useUserStore from '@/store/user' const userStore = useUserStore() @@ -58,6 +60,7 @@ // 响应式数据 const keyword = ref('') + const currentTab = ref('') const page = ref(1) const pagesize = ref(2) @@ -110,6 +113,7 @@ const getmediumList = async (name, page, limit) => { let params = { + alliance_city: currentTab.value, name: name, page: page, limit: limit @@ -122,6 +126,7 @@ const onloadmore = async () => { page.value++ let params = { + alliance_city: currentTab.value, name: keyword.value, page: page.value, limit: pagesize.value @@ -129,6 +134,71 @@ await mediumList(params).then((res) => { mtList.value = [...mtList.value, ...res.data.data] }) + } + + // 选项卡配置(第一个必须是"全部") + const filterTabs = ref([ + { + id: '呼和浩特', + title: '呼和浩特' + }, + { + id: '包头', + title: '包头' + }, + { + id: '呼伦贝尔', + title: '呼伦贝尔' + }, + { + id: '兴安盟', + title: '兴安盟' + }, + { + id: '通辽', + title: '通辽' + }, + { + id: '赤峰', + title: '赤峰' + }, + { + id: '锡林郭勒盟', + title: '锡林郭勒盟' + }, + { + id: '乌兰察布', + title: '乌兰察布' + }, + { + id: '鄂尔多斯', + title: '鄂尔多斯' + }, + { + id: '巴彦淖尔', + title: '巴彦淖尔' + }, + { + id: '乌海', + title: '乌海' + }, + { + id: '阿拉善盟', + title: '阿拉善盟' + }, + ]) + + // 处理选项卡选择 + const handleTabSelect = async (tab) => { + if (tab === 'all') { + currentTab.value = '' + await getmediumList('', 1, 6) + } else { + currentTab.value = tab + await getmediumList('', 1, 6) + } + // 这里可以添加数据加载逻辑 + console.log('选择tab:', tab) } onShow(async () => { @@ -141,15 +211,17 @@ background: linear-gradient(0deg, #f1f3f9 72%, rgba(62, 146, 249, 0.2) 88%); width: 100%; overflow: hidden; + padding: 40rpx 24rpx 24rpx 24rpx; .mtlist { - margin-top: 8rpx; - padding: 0 24rpx; + margin-top: -10rpx; box-sizing: border-box; overflow-y: auto; height: 100vh; - max-height: calc(100vh - 336rpx); - padding-bottom: 168rpx; + // max-height: calc(100vh - 336rpx); + max-height: 100vh; + // padding-bottom: 168rpx; + padding-bottom: 35rpx; .mtone { margin-top: 30rpx; diff --git a/src/pages/index/shoppage/qyDetail.vue b/src/pages/index/shoppage/qyDetail.vue index e6c1ea3..00e74a6 100644 --- a/src/pages/index/shoppage/qyDetail.vue +++ b/src/pages/index/shoppage/qyDetail.vue @@ -1,5 +1,5 @@