diff --git a/.env.production b/.env.production index de01dda..8ff2d92 100644 --- a/.env.production +++ b/.env.production @@ -3,8 +3,8 @@ ENV = production # 线上环境接口地址 # VITE_API_URL = https://cankao.cs.com.cn/mini -VITE_API_URL = http://123.60.153.169:8040/apih5 -# VITE_API_URL = https://cankao.cs.com.cn/apih5 +# VITE_API_URL = http://123.60.153.169:8040/apih5 +VITE_API_URL = https://cankao.cs.com.cn/apih5 # VITE_API_URL = http://123.60.79.143:8041/apih5 diff --git a/src/components/RankListMini.vue b/src/components/RankListMini.vue index b4734de..bfaf663 100644 --- a/src/components/RankListMini.vue +++ b/src/components/RankListMini.vue @@ -3,7 +3,7 @@ - + @@ -161,16 +161,14 @@ function goDetail(item) { // if (judgeRuntimeEnv().isWxMiniWebview) { let shareUrl = - // "https://cankao.cs.com.cn/jnh/#/pages/detail/indexNewsInfo?id=" + - "http://localhost:8881/jnh/#/pages/detail/indexNewsInfo?id=" + + "https://cankao.cs.com.cn/jnh/#/pages/detail/indexNewsInfo?id=" + + // "http://localhost:8881/jnh/#/pages/detail/indexNewsInfo?id=" + item.news_id + "&phone=" + uni.getStorageSync("token") + "&userType=" + userType.value; - alert(userType.value); - wx.miniProgram.navigateTo({ url: "/pages/webView/index?url=" + encodeURIComponent(shareUrl), success: (res) => { diff --git a/src/components/article/indexNewsInfo.vue b/src/components/article/indexNewsInfo.vue index 240d26a..2a53b01 100644 --- a/src/components/article/indexNewsInfo.vue +++ b/src/components/article/indexNewsInfo.vue @@ -6,9 +6,9 @@ - + 来源: - {{ props.data.tag }} + {{ isDomestic ? "中国证券报" : props.data.tag }}