diff --git a/pages.json b/pages.json index 928e044..fdc7b57 100644 --- a/pages.json +++ b/pages.json @@ -48,6 +48,13 @@ "navigationBarTitleText": "大宗师", "navigationStyle": "custom" } + }, + { + "path": "pages/index/compontents/masterHand", + "style": { + "navigationBarTitleText": "高手详情", + "navigationStyle": "custom" + } } ], "globalStyle": { diff --git a/pages/index/compontents/masterHand.vue b/pages/index/compontents/masterHand.vue new file mode 100644 index 0000000..313bf24 --- /dev/null +++ b/pages/index/compontents/masterHand.vue @@ -0,0 +1,334 @@ + + + + + diff --git a/pages/index/index.vue b/pages/index/index.vue index 194ba19..2d0e4a5 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -57,7 +57,7 @@ - + 人名 @@ -103,6 +103,12 @@ const ViewGuru = () => { animationDuration: '300' }); }; +const masterHand = (item) => { + uni.navigateTo({ + url: '/pages/index/compontents/masterHand', + animationDuration: '300' + }); +}; // #ifdef H5 || APP console.log('运行在 App'); // #endif diff --git a/pages/school/index.vue b/pages/school/index.vue index 4ef047f..d1d6f51 100644 --- a/pages/school/index.vue +++ b/pages/school/index.vue @@ -68,6 +68,10 @@ + + + + @@ -75,6 +79,8 @@ import { ref, reactive } from 'vue'; // 获取安全区域的边界 const { safeAreaInsets } = uni.getSystemInfoSync(); +const show = ref(true); +const content = ref('uview-plus的目标是成为uni-app生态最优秀的UI框架'); const categoryList = reactive([ { id: 1, @@ -116,6 +122,9 @@ const showCategory = (index) => { const toCategory = (box) => { console.log(box); }; +const confirm = () => { + show.value = false; +};