From c192e381734b9caf173c90bb9141dff0326785ee Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期四, 17 七月 2025 14:20:11 +0800 Subject: [PATCH] 京师智教小程序的专题活动模块 不做点击进入页面提示复制链接 点击时直接提示“请移步PC端查看” --- assets/js/middleGround/api/store.js | 37 ++++++++++++++++++------------------- 1 files changed, 18 insertions(+), 19 deletions(-) diff --git a/assets/js/middleGround/api/store.js b/assets/js/middleGround/api/store.js index 8a8f185..064d3fb 100644 --- a/assets/js/middleGround/api/store.js +++ b/assets/js/middleGround/api/store.js @@ -303,9 +303,9 @@ if (resp.length > 0) { const data = resp[0] if (data.datas.length) { - data.datas[0].subDatas = data.datas[0].cmsDatas const datas = handleDetailQueryRequestData({ + productId, item: data.datas[0], fields, itemFields: { @@ -362,13 +362,13 @@ Path: cmsPath + '', Type: cmsType || '\\', Name: [], - Icon: [], + // Icon: [], TypeId: [], - RefCode: [], - Description: [], + // RefCode: [], + // Description: [], // ChildrenCount: [], // ChildrenFolderCount: [], - CreateDate: [], + // CreateDate: [], SysType: [], SaleMethod: [], PageQuery: { @@ -388,13 +388,11 @@ Path: '*', Type: '\\', Name: [], - Icon: [], TypeId: [], RefCode: [], - Description: [], - ChildrenCount: [], - ChildrenFolderCount: [], - CreateDate: [], + // Description: [], + // ChildrenCount: [], + // ChildrenFolderCount: [], SysType: [], SaleMethod: [], PageQuery: { @@ -413,10 +411,10 @@ Path: cmsPath + '', Type: '\\', Name: [], - Icon: [], + // Icon: [], TypeId: [], - RefCode: [], - Description: [], + // RefCode: [], + // Description: [], LinkTypes: [linkType.linkType], PageQuery: { Start: 0, @@ -448,18 +446,18 @@ SortQuery: sort ? [sort] : [{ LinkOrder: 'Desc' }], - CreateDate: [], - Description: [], + // CreateDate: [], + // Description: [], Name: [], - Icon: [], + // Icon: [], RefCode: [], - Description: [], + // Description: [], TypeId: [], SysType: [], State: [], Tag: [], - BeginDate: [], - EndDate: [], + // BeginDate: [], + // EndDate: [], ProductLinkInfo: [], AllowDonate: [], DonatePriceList: [], @@ -493,6 +491,7 @@ if (data.datas.length) { data.datas[0].subDatas = data.datas[0].cmsDatas const datas = handleDetailQueryRequestData({ + productId, item: data.datas[0], fields, itemFields: { -- Gitblit v1.9.1