From 00d89e8d4285ed28e5bfb5f01e30adc6a403c2cf Mon Sep 17 00:00:00 2001 From: zsk <710162063@qq.com> Date: Tue, 20 Aug 2024 09:50:49 +0800 Subject: [PATCH] 1 --- app.js | 2 +- pages/index/index.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app.js b/app.js index 4fce025..0c5e40a 100644 --- a/app.js +++ b/app.js @@ -69,7 +69,7 @@ if (envVersion === 'develop') { console.log('当前是开发环境'); that.globalData.ip = 'https://test.renminshitang.com.cn/daotian/api_dev' that.globalData.agencyId = '2743' - // that.globalData.ip = 'https://daotian.matripe.com.cn' + that.globalData.ip = 'https://daotian.matripe.com.cn' } else if (envVersion === 'trial') { console.log('当前是体验环境'); that.globalData.ip = "https://test.renminshitang.com.cn/daotian/api_dev" diff --git a/pages/index/index.js b/pages/index/index.js index e382987..7f09070 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -1206,7 +1206,9 @@ Page({ console.log(res); if (res.data.status == 200) { that.setData({ - navList: res.data.data.channels, + // navList: res.data.data.channels, + navList:[{path: "/subPage/vocationalList/index", img: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/2024-03-14/77694bb5-34e7-4381-8f2c-f4cc1987cf3a_职教职培.png", remark: "职教职培", id: 45, title: "职教职培"},{path: "/pages/tobeAgency/index", img: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/2023-08-31/69997d62-bfd5-4597-8553-b873fb154c40_成为代理.png", remark: "赚取积分", id: 18, title: "赚取积分"},{path: "/pages/xiangmuhezuo/index", img: "https://matripe-cms.oss-cn-beijing.aliyuncs.com/2023-08-31/0a3700d8-61ef-41e7-86f1-3cd1298f54f1_项目合作.png", remark: "推荐有奖", id: 19, title: "推荐有奖"} + ] }); } },