diff --git a/src/assets/images/system/13/bg1.png b/src/assets/images/system/13/bg1.png new file mode 100644 index 0000000..7b73bc2 Binary files /dev/null and b/src/assets/images/system/13/bg1.png differ diff --git a/src/assets/images/system/13/bg2.png b/src/assets/images/system/13/bg2.png new file mode 100644 index 0000000..28a3e52 Binary files /dev/null and b/src/assets/images/system/13/bg2.png differ diff --git a/src/assets/images/system/13/btn1.png b/src/assets/images/system/13/btn1.png new file mode 100644 index 0000000..52c2424 Binary files /dev/null and b/src/assets/images/system/13/btn1.png differ diff --git a/src/assets/images/system/13/btn2.png b/src/assets/images/system/13/btn2.png new file mode 100644 index 0000000..349faaf Binary files /dev/null and b/src/assets/images/system/13/btn2.png differ diff --git a/src/assets/images/system/13/btn3.png b/src/assets/images/system/13/btn3.png new file mode 100644 index 0000000..b84762c Binary files /dev/null and b/src/assets/images/system/13/btn3.png differ diff --git a/src/assets/images/system/13/header1.png b/src/assets/images/system/13/header1.png new file mode 100644 index 0000000..d080cee Binary files /dev/null and b/src/assets/images/system/13/header1.png differ diff --git a/src/assets/images/system/13/header2.png b/src/assets/images/system/13/header2.png new file mode 100644 index 0000000..0c07117 Binary files /dev/null and b/src/assets/images/system/13/header2.png differ diff --git a/src/assets/images/system/13/left.png b/src/assets/images/system/13/left.png new file mode 100644 index 0000000..587f1f1 Binary files /dev/null and b/src/assets/images/system/13/left.png differ diff --git a/src/assets/images/system/13/right.png b/src/assets/images/system/13/right.png new file mode 100644 index 0000000..e3c65c2 Binary files /dev/null and b/src/assets/images/system/13/right.png differ diff --git a/src/assets/images/system/13/yes.png b/src/assets/images/system/13/yes.png new file mode 100644 index 0000000..033e2e5 Binary files /dev/null and b/src/assets/images/system/13/yes.png differ diff --git a/src/assets/images/system/14/bg1.png b/src/assets/images/system/14/bg1.png new file mode 100644 index 0000000..3d569b6 Binary files /dev/null and b/src/assets/images/system/14/bg1.png differ diff --git a/src/assets/images/system/14/bg2.png b/src/assets/images/system/14/bg2.png new file mode 100644 index 0000000..775f70a Binary files /dev/null and b/src/assets/images/system/14/bg2.png differ diff --git a/src/assets/images/system/14/btn1.png b/src/assets/images/system/14/btn1.png new file mode 100644 index 0000000..efc995d Binary files /dev/null and b/src/assets/images/system/14/btn1.png differ diff --git a/src/assets/images/system/14/btn2.png b/src/assets/images/system/14/btn2.png new file mode 100644 index 0000000..bd749f6 Binary files /dev/null and b/src/assets/images/system/14/btn2.png differ diff --git a/src/assets/images/system/14/header1.png b/src/assets/images/system/14/header1.png new file mode 100644 index 0000000..e6d431d Binary files /dev/null and b/src/assets/images/system/14/header1.png differ diff --git a/src/assets/images/system/14/header2.png b/src/assets/images/system/14/header2.png new file mode 100644 index 0000000..1273094 Binary files /dev/null and b/src/assets/images/system/14/header2.png differ diff --git a/src/assets/images/system/14/header3.png b/src/assets/images/system/14/header3.png new file mode 100644 index 0000000..7bc5729 Binary files /dev/null and b/src/assets/images/system/14/header3.png differ diff --git a/src/assets/images/system/14/header4.png b/src/assets/images/system/14/header4.png new file mode 100644 index 0000000..b1517d3 Binary files /dev/null and b/src/assets/images/system/14/header4.png differ diff --git a/src/assets/images/system/14/left.png b/src/assets/images/system/14/left.png new file mode 100644 index 0000000..c8e5dac Binary files /dev/null and b/src/assets/images/system/14/left.png differ diff --git a/src/assets/images/system/14/right.png b/src/assets/images/system/14/right.png new file mode 100644 index 0000000..ed231c2 Binary files /dev/null and b/src/assets/images/system/14/right.png differ diff --git a/src/assets/images/system/14/yes.png b/src/assets/images/system/14/yes.png new file mode 100644 index 0000000..5b2bb91 Binary files /dev/null and b/src/assets/images/system/14/yes.png differ diff --git a/src/components/TestPanel.vue b/src/components/TestPanel.vue index 1a56169..5392eae 100644 --- a/src/components/TestPanel.vue +++ b/src/components/TestPanel.vue @@ -763,7 +763,7 @@ export default { background-size: 100% 58px; } &.system5, &.system7, &.system9 { - background-size: 100% 57px; + background-size: 100% 40px; } &.system8, &.system6 { background-size: 100% 61px; diff --git a/src/config/index.js b/src/config/index.js index 34a7f57..e3c9e30 100644 --- a/src/config/index.js +++ b/src/config/index.js @@ -17,44 +17,6 @@ if (isDev) { bankPath = `https://www.huorantech.cn/banksystem` } const systemId = Cookie.get('admin-systemId') -/** - * python8个系统的id和名称 - * id即systemId,从cookie里取 - */ -const pythonList = [ - { - id: 1, - name: 'Python程序设计教学系统' - }, - { - id: 4, - name: '经济金融建模实验教学系统' - }, - { - id: 5, - name: 'Python数据可视化实验教学系统' - }, - { - id: 6, - name: '金融随机过程实验教学系统' - }, - { - id: 7, - name: '量化投资策略建模实验教学系统' - }, - { - id: 8, - name: '大数据分析实验教学系统' - }, - { - id: 9, - name: 'Python数据清洗教学实验系统' - }, - { - id: 10, - name: 'Python数据采集(爬虫)教学实验系统' - } -] export default { /** * @description 域名 @@ -77,10 +39,6 @@ export default { * 如果有多个systemId,则显示系统7的主题色 */ defaultSystem: systemId.includes(',') ? 7 : systemId, - /** - * python子系统 - **/ - pythonList, /** * 银行系统 **/ diff --git a/src/main.js b/src/main.js index 8b2ef54..fc26827 100644 --- a/src/main.js +++ b/src/main.js @@ -25,6 +25,10 @@ if (systemId.includes(',')) { import('@/styles/theme/theme9.scss') } else if (systemId == 10) { import('@/styles/theme/theme10.scss') + } else if (systemId == 13) { + import('@/styles/theme/theme13.scss') + } else if (systemId == 14) { + import('@/styles/theme/theme14.scss') } } import api from './api'; diff --git a/src/styles/theme/theme13.scss b/src/styles/theme/theme13.scss new file mode 100644 index 0000000..b8ba0c0 --- /dev/null +++ b/src/styles/theme/theme13.scss @@ -0,0 +1,50 @@ +/* 改变主题色变量 */ +$--color-primary: #2F83FE; +/* 改变 icon 字体路径变量,必需 */ +$--font-path: '~element-ui/lib/theme-chalk/fonts'; +@import "~element-ui/packages/theme-chalk/src/index"; +.color { + background-color: $--color-primary; +} +.el-main { + background: url(../../assets/images/system/13/bg1.png) (98% 23px)/auto no-repeat, + url(../../assets/images/system/13/bg2.png) bottom right no-repeat; +} +.t-color { + color: $--color-primary; +} +.p-title { + background: url(../../assets/images/system/13/header1.png) no-repeat, + url(../../assets/images/system/13/header2.png) (99% 6px)/auto no-repeat, + linear-gradient(157deg, #3457FD 0%, #29B1FE 100%); + border-radius: 4px 4px 0px 0px; +} +.el-tabs__item.is-active { + color: #fff !important; + background-color: $--color-primary; +} +.select .el-select__caret:before { + background-color: $--color-primary; +} +.el-icon-s-ticket:before { + color: $--color-primary; +} +.submit { + background: url(../../assets/images/system/13/btn1.png) no-repeat, + url(../../assets/images/system/13/btn2.png) top right/auto no-repeat, + url(../../assets/images/system/13/btn3.png) bottom right/auto no-repeat !important; + background-color: $--color-primary !important; +} +.el-table { + th { + color: #000; + background-color: #E0F2FF !important; + } + .el-table__row--striped td { + background-color: #E0F2FF !important; + } +} +.total-score { + color: #878787; + background-color: rgba(0,147,255,0.4); +} \ No newline at end of file diff --git a/src/styles/theme/theme14.scss b/src/styles/theme/theme14.scss new file mode 100644 index 0000000..c96980e --- /dev/null +++ b/src/styles/theme/theme14.scss @@ -0,0 +1,55 @@ +/* 改变主题色变量 */ +$--color-primary: #0BA5F7; +/* 改变 icon 字体路径变量,必需 */ +$--font-path: '~element-ui/lib/theme-chalk/fonts'; +@import "~element-ui/packages/theme-chalk/src/index"; +.color { + background-color: $--color-primary; +} +.el-main { + background: url(../../assets/images/system/14/bg1.png) (98% 23px)/auto no-repeat, + url(../../assets/images/system/14/bg2.png) bottom right no-repeat; +} +.t-color { + color: $--color-primary; +} +.p-title { + height: 60px !important; + background: url(../../assets/images/system/14/header1.png) (21px 21px)/auto no-repeat, + url(../../assets/images/system/14/header2.png) (-5px 37px)/auto no-repeat, + url(../../assets/images/system/14/header3.png) (99% -6px)/auto no-repeat, + url(../../assets/images/system/14/header4.png) (97% 42px)/auto no-repeat, + linear-gradient(157deg, #2AC1FB 0%, #036BE8 100%); + border-radius: 4px 4px 0px 0px; + i, p { + line-height: 60px !important; + } +} +.el-tabs__item.is-active { + color: #fff !important; + background-color: $--color-primary; +} +.select .el-select__caret:before { + background-color: $--color-primary; +} +.el-icon-s-ticket:before { + color: $--color-primary; +} +.submit { + background: url(../../assets/images/system/14/btn1.png) (-15px 10px)/auto no-repeat, + url(../../assets/images/system/14/btn2.png) (80px -10px)/auto no-repeat !important; + background-color: $--color-primary !important; +} +.el-table { + th { + color: #000; + background-color: #EDFCFB !important; + } + .el-table__row--striped td { + background-color: #EDFCFB !important; + } +} +.total-score { + color: #878787; + background-color: rgba(0,147,255,0.4); +} \ No newline at end of file