|
@@ -126,7 +126,7 @@ const interviewApi = () => {
|
|
|
//跳转到免费送月卡页面
|
|
|
const toggle = () => {
|
|
|
wx.miniProgram.navigateTo({
|
|
|
- url: "/pageMy/freeTrial/freeTrial",
|
|
|
+ url: "/pages-my/freeTrial/freeTrial",
|
|
|
});
|
|
|
};
|
|
|
const isShowFreeBtn = ref(false);
|
|
@@ -148,7 +148,7 @@ const userIsShowFreeButton = async () => {
|
|
|
// 跳转到作者页面
|
|
|
const goAuthorPages = () => {
|
|
|
wx.miniProgram.navigateTo({
|
|
|
- url: "/reportPages/authorPages/authorPages?id=" + state.reportInfo.DepartmentId,
|
|
|
+ url: "/pages-report/authorPages/authorPages?id=" + state.reportInfo.DepartmentId,
|
|
|
});
|
|
|
};
|
|
|
const downloadFile = async () => {
|
|
@@ -163,7 +163,7 @@ const downloadFile = async () => {
|
|
|
if (res.Ret === 200) {
|
|
|
Toast.clear();
|
|
|
wx.miniProgram.navigateTo({
|
|
|
- url: "/pageMy/downloadFile/downloadFile?url=" + res.Data.FileLink,
|
|
|
+ url: "/pages-my/downloadFile/downloadFile?url=" + res.Data.FileLink,
|
|
|
});
|
|
|
}
|
|
|
};
|
|
@@ -227,7 +227,7 @@ const attentionBtn = () => {
|
|
|
})
|
|
|
.then(() => {
|
|
|
wx.miniProgram.navigateTo({
|
|
|
- url: "/activity-pages/accountsOfficial/accountsOfficial",
|
|
|
+ url: "/pages-activity/accountsOfficial/accountsOfficial",
|
|
|
});
|
|
|
})
|
|
|
.catch(() => {
|
|
@@ -267,7 +267,7 @@ const collectHandle = () => {
|
|
|
/* 文章相关热门跳转 */
|
|
|
const goDetail = (item) => {
|
|
|
wx.miniProgram.navigateTo({
|
|
|
- url: "/pageMy/reportDetail/reportDetail?id=" + item.ArticleId,
|
|
|
+ url: "/pages-my/reportDetail/reportDetail?id=" + item.ArticleId,
|
|
|
});
|
|
|
};
|
|
|
/* 文章相关热门收藏 */
|
|
@@ -303,17 +303,17 @@ const waterMark = (text) => {
|
|
|
//点击回到搜索页面
|
|
|
const btnSearch = () => {
|
|
|
if (state.reportInfo.IsBelongSummary) {
|
|
|
- wx.miniProgram.navigateTo({ url: "/pageMy/search/search" });
|
|
|
+ wx.miniProgram.navigateTo({ url: "/pages-my/search/search" });
|
|
|
} else {
|
|
|
wx.miniProgram.navigateTo({
|
|
|
- url: "/reportPages/reportSearch/reportSearch",
|
|
|
+ url: "/pages-report/reportSearch/reportSearch",
|
|
|
});
|
|
|
}
|
|
|
};
|
|
|
//点击到提问页面
|
|
|
const quizBtn = () => {
|
|
|
wx.miniProgram.navigateTo({
|
|
|
- url: "/activity-pages/generationAsk/generationAsk?id=" + state.reportInfo.ArticleId + "&type=文章",
|
|
|
+ url: "/pages-activity/generationAsk/generationAsk?id=" + state.reportInfo.ArticleId + "&type=文章",
|
|
|
});
|
|
|
};
|
|
|
/* 获取报告详情 */
|