mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
教师节
This commit is contained in:
BIN
src/assets/images/grateful/gratefulFooter.png
Normal file
BIN
src/assets/images/grateful/gratefulFooter.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 364 KiB |
BIN
src/assets/images/grateful/suggestion.png
Normal file
BIN
src/assets/images/grateful/suggestion.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 542 B |
BIN
src/assets/images/grateful/team.png
Normal file
BIN
src/assets/images/grateful/team.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 310 KiB |
@@ -42,6 +42,7 @@
|
||||
<el-dropdown-item command="four" divided>U选小课堂</el-dropdown-item>
|
||||
<el-dropdown-item command="five" divided>社招新员工</el-dropdown-item>
|
||||
<el-dropdown-item command="six" divided>贡献者专区</el-dropdown-item>
|
||||
<el-dropdown-item command="seven" divided>感恩教师节</el-dropdown-item>
|
||||
</el-dropdown-menu>
|
||||
</el-dropdown>
|
||||
</div>
|
||||
@@ -232,6 +233,10 @@ export default {
|
||||
handleCommand(val) {
|
||||
if (val === "four") {
|
||||
this.$emit('showClass',true)
|
||||
} else if(val === "seven"){
|
||||
this.$router.push({
|
||||
path:'/grateful'
|
||||
})
|
||||
} else {
|
||||
let urlPre = window.location.protocol + "//" + window.location.host;
|
||||
// process.env.VUE_APP_BOE_WEB_URL
|
||||
|
||||
@@ -3,6 +3,7 @@ import VueRouter from 'vue-router'
|
||||
/* Layout */
|
||||
import Layout from '@/layout/index'
|
||||
import LayoutPortal from '@/layout/portal'
|
||||
import Grateful from '@/views/grateful'
|
||||
|
||||
Vue.use(VueRouter)
|
||||
|
||||
@@ -39,6 +40,41 @@ export const constantRoutes = [{
|
||||
name: 'index',
|
||||
meta: { title: '首页', icon: 'dashboard', noCache: true, affix: false },
|
||||
},
|
||||
// {
|
||||
// path: '/grateful/index',
|
||||
// hidden: true,
|
||||
// component: (resolve) => require(['@/views/grateful'], resolve),
|
||||
// name: 'gratefulIndex',
|
||||
// meta: { title: '感恩教师首页', icon: 'dashboard', noCache: true, affix: false },
|
||||
// },
|
||||
{
|
||||
path: '/grateful',
|
||||
component: Grateful,
|
||||
redirect: '/grateful/index',
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
hidden: true,
|
||||
component: (resolve) => require(['@/views/grateful/GratefulHomePage'], resolve),
|
||||
name: 'GratefulHomePage',
|
||||
meta: { title: '感恩教师首页', icon: 'dashboard', noCache: true, affix: true }
|
||||
},
|
||||
{
|
||||
path: 'teacherEmpowerment',
|
||||
hidden: true,
|
||||
component: (resolve) => require(['@/views/grateful/TeacherEmpowerment'], resolve),
|
||||
name: 'TeacherEmpowerment',
|
||||
meta: { title: '教师赋能', icon: 'dashboard', noCache: true, affix: true }
|
||||
},
|
||||
{
|
||||
path: 'toolDown',
|
||||
hidden: true,
|
||||
component: (resolve) => require(['@/views/grateful/ToolDown'], resolve),
|
||||
name: 'ToolDown',
|
||||
meta: { title: '工具下载', icon: 'dashboard', noCache: true, affix: true }
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
path: '/forward',
|
||||
hidden: true,
|
||||
|
||||
1299
src/views/grateful/GratefulHomePage.vue
Normal file
1299
src/views/grateful/GratefulHomePage.vue
Normal file
File diff suppressed because it is too large
Load Diff
1273
src/views/grateful/TeacherEmpowerment.vue
Normal file
1273
src/views/grateful/TeacherEmpowerment.vue
Normal file
File diff suppressed because it is too large
Load Diff
70
src/views/grateful/ToolDown.vue
Normal file
70
src/views/grateful/ToolDown.vue
Normal file
@@ -0,0 +1,70 @@
|
||||
<template>
|
||||
<div>
|
||||
<!-- 教师赋能 -->
|
||||
<div class="xindex-content" style="padding: 0">
|
||||
<div class="modules xcontent2">
|
||||
<div class="xcontent2-main">
|
||||
<div class="modules-list" style="margin-top: 0; padding: 48px">
|
||||
<!--内容列表内容-->
|
||||
<div
|
||||
v-for="(course, ccidx) in 5"
|
||||
:key="'cc' + ccidx"
|
||||
class="toolEvery"
|
||||
style="position: relative"
|
||||
>
|
||||
HHh
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="xcontent2-minor" style="margin-left: 25px">
|
||||
<div class="portal-ranking ranking-bg">
|
||||
<p class="ranking-title">教师赋能排行榜</p>
|
||||
<ul class="xindex-ranking-course">
|
||||
<li
|
||||
class="xindex-ranking-li"
|
||||
v-for="(item, cindex) in 10"
|
||||
:key="'cc' + cindex"
|
||||
>
|
||||
<a style="display: inherit">
|
||||
<span class="portal-right-text blue-one">
|
||||
<img :src="getPic(cindex)" alt="" />
|
||||
</span>
|
||||
<span
|
||||
class="portal-title-desc index-one-line-ellipsis title-line-ellipsis"
|
||||
style="font-size: 14px; color: #04243c"
|
||||
>哈哈哈哈</span
|
||||
>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
data: () => {
|
||||
return {};
|
||||
},
|
||||
methods: {
|
||||
getPic(index) {
|
||||
return this.webBaseUrl + "/images/listblue0" + (index + 1) + ".png";
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style scoped lang='scss'>
|
||||
.modules-list {
|
||||
height: 555px;
|
||||
background: #ffffff;
|
||||
border-radius: 8px;
|
||||
.toolEvery {
|
||||
height: 80px;
|
||||
line-height: 80px;
|
||||
opacity: 0.2;
|
||||
border-bottom: 1px solid #999999;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
1289
src/views/grateful/index.vue
Normal file
1289
src/views/grateful/index.vue
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user