diff --git a/pages.json b/pages.json index 7e02529..928e044 100644 --- a/pages.json +++ b/pages.json @@ -7,13 +7,13 @@ "navigationStyle": "custom" } }, - { - "path": "pages/school/index", - "style": { - "navigationBarTitleText": "门派", - "navigationStyle": "custom" - } - }, + { + "path": "pages/school/index", + "style": { + "navigationBarTitleText": "门派", + "navigationStyle": "custom" + } + }, { "path": "pages/intelLigence/index", "style": { @@ -28,20 +28,27 @@ "navigationStyle": "custom" } }, - { - "path": "pages/user/index", - "style": { - "navigationBarTitleText": "我的", - "navigationStyle": "custom" - } - }, - { - "path": "pages/user/compontents/attention", - "style": { - "navigationBarTitleText": "关注列表", - "navigationStyle": "custom" - } - } + { + "path": "pages/user/index", + "style": { + "navigationBarTitleText": "我的", + "navigationStyle": "custom" + } + }, + { + "path": "pages/user/compontents/attention", + "style": { + "navigationBarTitleText": "关注列表", + "navigationStyle": "custom" + } + }, + { + "path": "pages/index/compontents/bigMaster", + "style": { + "navigationBarTitleText": "大宗师", + "navigationStyle": "custom" + } + } ], "globalStyle": { "navigationBarTextStyle": "black", @@ -55,14 +62,14 @@ "pagePath": "pages/index/index", "text": "首页" }, - { - "pagePath": "pages/school/index", - "text": "门派" - }, - { - "pagePath": "pages/intelLigence/index", - "text": "赛事" - }, + { + "pagePath": "pages/school/index", + "text": "门派" + }, + { + "pagePath": "pages/intelLigence/index", + "text": "赛事" + }, { "pagePath": "pages/rankList/index", "text": "排行榜" diff --git a/pages/index/compontents/bigMaster.vue b/pages/index/compontents/bigMaster.vue new file mode 100644 index 0000000..cb30ea1 --- /dev/null +++ b/pages/index/compontents/bigMaster.vue @@ -0,0 +1,162 @@ + + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index 01a6baa..194ba19 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -51,7 +51,7 @@ 推荐高手 - 查看更多 + 查看更多 @@ -97,6 +97,12 @@ const src = ref({ src: 'http://pic2.sc.chinaz.com/Files/pic/pic9/202002/hpic2119_s.jpg', text: '无头像' }); +const ViewGuru = () => { + uni.navigateTo({ + url: '/pages/index/compontents/bigMaster', + animationDuration: '300' + }); +}; // #ifdef H5 || APP console.log('运行在 App'); // #endif