|
@@ -0,0 +1,51 @@
|
|
|
+<script setup lang='ts'>
|
|
|
+import { user } from '~/store/user'
|
|
|
+
|
|
|
+const NavList = [
|
|
|
+ {
|
|
|
+ id: 'live_class',
|
|
|
+ label: '直播课程',
|
|
|
+
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 'excellent_playback',
|
|
|
+ label: '精彩回放',
|
|
|
+
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 'small_class',
|
|
|
+ label: '小班课程',
|
|
|
+
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: 'series_courses',
|
|
|
+ label: '系列课程',
|
|
|
+ },
|
|
|
+]
|
|
|
+</script>
|
|
|
+
|
|
|
+<template>
|
|
|
+ <div class="h-100px flex items-center justify-center">
|
|
|
+ <div class="w-1200px flex justify-between">
|
|
|
+ <div class="text-3xl">
|
|
|
+ 宜昌市乡村教育振兴网络扶智课堂
|
|
|
+ </div>
|
|
|
+ <div class="cursor-pointer">
|
|
|
+ <img
|
|
|
+ class="inline-block h-40px w-40px rounded-1/2 align-middle hover:bg-hex-1259A110 hover:text-hex-1259A1"
|
|
|
+ :src="user.user_avatar" alt=""
|
|
|
+ >
|
|
|
+ <span class="ml-10px inline-block align-middle">
|
|
|
+ {{ user.user_realname }}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="flex items-center justify-center bg-blue-600 text-lg text-light-50">
|
|
|
+ <div class="w-1200px flex">
|
|
|
+ <div v-for="item in NavList" :key="item.id" class="h-64px w-120px cursor-pointer text-center leading-64px hover:bg-blue-500">
|
|
|
+ {{ item.label }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|