diff --git a/src/App.vue b/src/App.vue index 8609bf8..d754181 100644 --- a/src/App.vue +++ b/src/App.vue @@ -88,9 +88,9 @@ body::-webkit-scrollbar { right: 70px; } #components-back-top-demo-custom .ant-back-top-inner { - height: 40px; - width: 40px; - line-height: 40px; + height: 60px; + width: 60px; + line-height: 60px; background: url('assets/t-top.png') center no-repeat; background-size: contain; } diff --git a/src/components/PlatformList/PlatformList.vue b/src/components/PlatformList/PlatformList.vue index ee08fd7..2a8d351 100644 --- a/src/components/PlatformList/PlatformList.vue +++ b/src/components/PlatformList/PlatformList.vue @@ -4,7 +4,7 @@
diff --git a/src/config/api.js b/src/config/api.js index 410d599..517ae8e 100644 --- a/src/config/api.js +++ b/src/config/api.js @@ -84,6 +84,7 @@ export const selResMes = params => axios.post(`${achInstr}/selResMes`, params); // 服务列表查询 export const selService = params => axios.post(`${greenvalley}/serviceProject/selService`, params); + // 服务详情查询 export const selContent = params => axios.post(`${greenvalley}/serviceProject/selContent`, params); diff --git a/src/store/modules/home/mutations.js b/src/store/modules/home/mutations.js index 0473552..514288c 100644 --- a/src/store/modules/home/mutations.js +++ b/src/store/modules/home/mutations.js @@ -278,6 +278,15 @@ const mutations = { setProductId(state, num) { state.productId = num; }, + + /** + * 存储服务详情导航 + * @param {object} state + * @param {object} data + */ + setServiceArr(state, data) { + state.serviceArr = data; + }, }; export default mutations; diff --git a/src/store/modules/home/state.js b/src/store/modules/home/state.js index fd3dee5..91245d7 100644 --- a/src/store/modules/home/state.js +++ b/src/store/modules/home/state.js @@ -55,6 +55,7 @@ const state = { isBtn: 0, }, productId: 0, // 当前产品详情Id + serviceArr: [], // 服务详情导航 }; export default state; diff --git a/src/views/IncubationPlatform/Children/Services.vue b/src/views/IncubationPlatform/Children/Services.vue index 4e3e07f..9c9d685 100644 --- a/src/views/IncubationPlatform/Children/Services.vue +++ b/src/views/IncubationPlatform/Children/Services.vue @@ -21,10 +21,10 @@
- +

{{ item.name }}