diff --git a/pages.json b/pages.json index 5433a28..3d54541 100644 --- a/pages.json +++ b/pages.json @@ -481,6 +481,12 @@ "style": { "navigationBarTitleText": "充值" } + }, + { + "path": "webview", + "style": { + "navigationBarTitleText": "" + } } ] }, diff --git a/pages/learningCenter/brushQuestion.vue b/pages/learningCenter/brushQuestion.vue index 97d3f4d..ee67205 100644 --- a/pages/learningCenter/brushQuestion.vue +++ b/pages/learningCenter/brushQuestion.vue @@ -19,7 +19,7 @@ {{ item.title }} - 题目数量:{{ item.count || '' }} + 题目数量:{{ item.item_number || '' }} diff --git a/pages/learningCenter/recite.vue b/pages/learningCenter/recite.vue index dab5e05..b75eecc 100644 --- a/pages/learningCenter/recite.vue +++ b/pages/learningCenter/recite.vue @@ -11,7 +11,7 @@ 今日{{ item.todayRecite ? '已' : '未' }}背诵 - 词汇量:{{ item.count || 0 }} + 词汇量:{{ item.item_number || 0 }} diff --git a/pages/my/applyLink.vue b/pages/my/applyLink.vue index a543b55..6419146 100644 --- a/pages/my/applyLink.vue +++ b/pages/my/applyLink.vue @@ -23,10 +23,10 @@ }, methods: { openLink(link) { - // console.log(link); - // uni.navigateTo({ - // url: link, - // }); + console.log(link); + uni.navigateTo({ + url: `/pages/my/webview?src=${encodeURIComponent(link)}`, + }); }, }, }; diff --git a/pages/my/webview.vue b/pages/my/webview.vue new file mode 100644 index 0000000..0121dfd --- /dev/null +++ b/pages/my/webview.vue @@ -0,0 +1,44 @@ + + + + + \ No newline at end of file