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)"
>
-
+
-
+
@@ -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 @@
-
-
-
-
-
-
-
-
-
- {{ item.bank }}
-
-
- {{ item.name }}
-
-
-
- {{ item.branch }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {{ item.bank }}
+
+
+ {{ item.name }}
+
+
+
+
+ {{ item.branch }}
+
+
+
+
+
+
+
+
+
+ 互动专区
+
+
+
+
+ .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 @@
-
+
@@ -65,10 +65,12 @@ const userStore = useUserStore()
const url = ref(import.meta.env.VITE_APP_BASE_URL)
+
+const current = ref(0)
// 创建响应式数据
const list1 = reactive([
{
- name: '小店帮',
+ name: '开店帮',
id: 1
},
{
@@ -168,6 +170,7 @@ const pldzClick = (postid, like, id) => {
}
onLoad(async (e) => {
+ current.value = e.tabid
page.value = 1
datalist.value = []
await getpostsList()
@@ -178,12 +181,12 @@ onLoad(async (e) => {
+ .text {
+ margin-left: 8rpx;
+ font-family: Source Han Sans;
+ font-size: 28rpx;
+ font-weight: 300;
+ line-height: 33.6rpx;
+ display: flex;
+ align-items: center;
+ letter-spacing: normal;
+ color: #606266;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ .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;
+ }
+ }
+
+ .fbxxbutton {
+ width: 100%;
+ height: 168rpx;
+ position: fixed;
+ bottom: 0;
+ background: #ffffff;
+ /* 标签栏投影 */
+ box-shadow: 0rpx 0rpx 20rpx 0rpx rgba(0, 0, 0, 0.3);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+
+ .button {
+ width: 574rpx;
+ height: 96rpx;
+ border-radius: 248rpx;
+ background: linear-gradient(90deg, #007fff 0%, #99ccff 100%);
+ font-family: Source Han Sans;
+ font-size: 36rpx;
+ font-weight: 500;
+ line-height: 32rpx;
+ text-align: justify;
+ /* 浏览器可能不支持 */
+ display: flex;
+ align-items: center;
+ letter-spacing: normal;
+ color: #ffffff;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ }
+ }
+
\ No newline at end of file
diff --git a/src/pages/index/shoppage/qyDetail.vue b/src/pages/index/shoppage/qyDetail.vue
new file mode 100644
index 0000000..6413eb1
--- /dev/null
+++ b/src/pages/index/shoppage/qyDetail.vue
@@ -0,0 +1,168 @@
+
+
+
+
+
+
+
+ {{ userData.name }}
+ {{ userData.enterprise }}
+
+
+
+
+
+ 个人介绍
+
+
+
+
+ 联系电话
+
+
+ {{ userData.mobile }}
+
+
+
+ 微信二维码
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/index/shoppage/qyHelp.vue b/src/pages/index/shoppage/qyHelp.vue
index 4112b43..07961fa 100644
--- a/src/pages/index/shoppage/qyHelp.vue
+++ b/src/pages/index/shoppage/qyHelp.vue
@@ -1,77 +1,404 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+ {{ item.enterprise }}
+
+
+
+
+
+
+
+
+ {{item.title}}
+
+
+ 下载人数
+
+ {{item.download_num}}
+
+
+
+ 立即下载
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ good.title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 互动专区
+
+
+
+
+ .container {
+ background-color: #ffffff;
+ height: calc(100vh - 254rpx);
+ width: 100%;
+
+ .cate-tab {
+ height: calc(100vh - 254rpx);
+ }
+ }
+
+ .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;
+ }
+ }
+
+ .reightpp {
+ width: 100%;
+ padding: 30rpx;
+ box-sizing: border-box;
+ gap: 20rpx;
+
+ .ztone {
+ display: flex;
+ align-items: center;
+ width: 100%;
+ padding: 20rpx;
+ border-radius: 8rpx;
+ background: #ffffff;
+ box-sizing: border-box;
+ border: 2rpx solid #F1F3F9;
+
+ .rightpart {
+ width: 100%;
+ margin-left: 20rpx;
+ flex: 3;
+ display: grid;
+ align-content: space-between;
+
+ .splace {
+ font-family: Source Han Sans;
+ font-size: 20rpx;
+ font-weight: 600;
+ color: #0C092A;
+ }
+
+ .title {
+ margin-top: 20rpx;
+ font-family: Source Han Sans;
+ font-size: 20rpx;
+ color: #666666;
+ }
+ }
+ }
+
+ .wkbox {
+ display: grid;
+ grid-template-columns: repeat(2, 1fr);
+ gap: 20rpx;
+ width: 100%;
+
+ .wkone {
+ background: #F1F3F9;
+ border-radius: 20rpx;
+ padding: 32rpx 24rpx 20rpx 24rpx;
+ box-sizing: border-box;
+
+ .tittt {
+ font-family: Source Han Sans;
+ font-size: 28rpx;
+ color: #444444;
+ display: -webkit-box;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 1;
+ overflow: hidden;
+ }
+
+ .xzs {
+ margin-top: 70rpx;
+ font-size: 19.4rpx;
+ color: #B0B0B5;
+ display: flex;
+ align-items: center;
+
+ .num {
+ margin-left: 6rpx;
+ font-size: 19.4rpx;
+ color: #2563EB
+ }
+ }
+
+ .ljxz {
+ margin-top: 24rpx;
+ padding: 8rpx 40rpx;
+ box-sizing: border-box;
+ border-radius: 40rpx;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: linear-gradient(90deg, #007FFF 0%, #99CCFF 100%);
+ font-size: 20rpx;
+ color: #FFFFFF;
+ }
+
+ }
+ }
+ .list {
+ width: 100%;
+ font-size: 28rpx;
+ padding-bottom: 130rpx;
+
+ .category {
+ width: 100%;
+
+ .title {
+ padding: 10rpx 0;
+ display: flex;
+ align-items: center;
+ color: #0c092a;
+
+ .icon {
+ width: 38rpx;
+ height: 38rpx;
+ }
+ .fristtitle {
+ margin-left: 20rpx;
+ font-family: Source Han Sans;
+ font-size: 28rpx;
+ font-weight: 530;
+ line-height: 48rpx;
+ display: flex;
+ align-items: center;
+ letter-spacing: normal;
+ color: #0c092a;
+ }
+ }
+ }
+
+ .items {
+ display: flex;
+ flex-direction: column;
+ padding-bottom: -30rpx;
+
+ :deep(.good) {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ margin-bottom: 30rpx;
+ padding-left: 40rpx;
+ .name {
+ max-width: 100%;
+ margin-left: 10rpx;
+ font-family: Source Han Sans;
+ font-size: 28rpx;
+ font-weight: 300;
+ color: #606266;
+ overflow: hidden; /* 隐藏溢出内容 */
+ white-space: nowrap; /* 禁止换行 */
+ text-overflow: ellipsis; /* 显示省略号 */
+ }
+ .icon {
+ width: 38rpx;
+ height: 38rpx;
+ }
+ .lefticon {
+ width: 16rpx;
+ height: 28rpx;
+ margin-right: 6rpx;
+ }
+ }
+ }
+ }
+ }
+
\ No newline at end of file
diff --git a/src/pages/index/shoppage/qyhelpDetail.vue b/src/pages/index/shoppage/qyhelpDetail.vue
new file mode 100644
index 0000000..781402a
--- /dev/null
+++ b/src/pages/index/shoppage/qyhelpDetail.vue
@@ -0,0 +1,147 @@
+
+
+
+ {{ xdbData.title }}
+ 发布人:{{ xdbData.publisher }}
+
+ {{ xdbData.create_time }}
+
+ 阅读量:
+ {{ xdbData.count }}
+
+
+
+
+ 内容详情
+
+
+
+
+
+
+
+
diff --git a/src/pages/index/shoppage/shopHelp.vue b/src/pages/index/shoppage/shopHelp.vue
index 81b9a26..c820b1f 100644
--- a/src/pages/index/shoppage/shopHelp.vue
+++ b/src/pages/index/shoppage/shopHelp.vue
@@ -1,77 +1,90 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ 互动专区
+
+
+
+
+ .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/static/img/hdzq.png b/src/static/img/hdzq.png
index b44f8f2..6ef8aba 100644
Binary files a/src/static/img/hdzq.png and b/src/static/img/hdzq.png differ