diff --git a/public/images/Durbg.png b/public/images/Durbg.png new file mode 100644 index 00000000..918e6f41 Binary files /dev/null and b/public/images/Durbg.png differ diff --git a/public/images/expbg.png b/public/images/expbg.png new file mode 100644 index 00000000..fb4a2fd2 Binary files /dev/null and b/public/images/expbg.png differ diff --git a/public/images/rank1.png b/public/images/rank1.png new file mode 100644 index 00000000..4bf3b9a4 Binary files /dev/null and b/public/images/rank1.png differ diff --git a/public/images/rank2.png b/public/images/rank2.png new file mode 100644 index 00000000..008ca416 Binary files /dev/null and b/public/images/rank2.png differ diff --git a/public/images/rank3.png b/public/images/rank3.png new file mode 100644 index 00000000..5122607d Binary files /dev/null and b/public/images/rank3.png differ diff --git a/src/components/UcHeader/Index.vue b/src/components/UcHeader/Index.vue index 4224235d..d4ddbeb1 100644 --- a/src/components/UcHeader/Index.vue +++ b/src/components/UcHeader/Index.vue @@ -57,7 +57,7 @@
我的U币(累计)
{{uinfo.uCurrency}}
-
+
BOE 排行榜 >>
@@ -172,6 +172,10 @@ import {userAvatarText,cutFullName} from "@/utils/tools.js"; }, setCurIdentity(iden){ this.$store.dispatch('SetCurIdentity',iden); + }, + jumrank(){ + this.$router.push({ path: '/user/ranking' }); + }, toPage(url){ this.$router.push({path:url}) diff --git a/src/data/pages.js b/src/data/pages.js index 834d38e9..c749a454 100644 --- a/src/data/pages.js +++ b/src/data/pages.js @@ -83,7 +83,8 @@ export const pages=[ {title:'开发工具下载',path:'tools',component:'tools/Index',hidden:false}, {title:'课程开发教程',path:'developtoolsdown',component:'tools/DeveloptoolsDown',hidden:true}, {title:'我的U币',path:'ucurrency',component:'ucurrency/Index',hidden:true}, - {title:'我的勋章',path:'medal',component:'medal/Index',hidden:true} + {title:'我的勋章',path:'medal',component:'medal/Index',hidden:true}, + {title:'排行榜',path:'ranking',component:'user/ranking',hidden:true} ]}, {title:'消息中心',path:'/message/center',hidden:false,children:[ {title:'消息中心',path:'index',component:'portal/user/Message',hidden:false} diff --git a/src/views/user/ranking.vue b/src/views/user/ranking.vue new file mode 100644 index 00000000..d73383a5 --- /dev/null +++ b/src/views/user/ranking.vue @@ -0,0 +1,428 @@ + + + + + \ No newline at end of file