首页日志等完善

dev_2020-03-03
yujialong 3 years ago
parent b5d1d91983
commit 9aeac73ec4
  1. BIN
      src/assets/img/index/pro-bg4-1.png
  2. BIN
      src/assets/img/index/pro-bg5-1.png
  3. 2
      src/layouts/navbar/index.vue
  4. 18
      src/pages/index/list/index.vue
  5. 24
      src/pages/log/list/index.vue
  6. 6
      src/pages/record/list/ass.vue
  7. 13
      src/pages/record/list/index.vue
  8. 6
      src/pages/record/list/practice.vue
  9. 2
      src/pages/station/preview/index.vue
  10. 4
      src/setting.js

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

After

Width:  |  Height:  |  Size: 307 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 725 KiB

@ -65,7 +65,7 @@ export default {
}, },
{ {
index: "/log/list", index: "/log/list",
title: "有什么新功能" title: "最近更新"
} }
], ],
menus: [] menus: []

@ -157,7 +157,6 @@
<img src="@/assets/img/index/pro-bg3-5.png" alt="" class="bg2 wow fadeInDown" data-wow-delay="0.7s"> <img src="@/assets/img/index/pro-bg3-5.png" alt="" class="bg2 wow fadeInDown" data-wow-delay="0.7s">
<img src="@/assets/img/index/pro-bg4-1.png" alt="" class="bg3 wow fadeInDown" data-wow-delay="0.2s"> <img src="@/assets/img/index/pro-bg4-1.png" alt="" class="bg3 wow fadeInDown" data-wow-delay="0.2s">
<img src="@/assets/img/index/pro-bg4-2.png" alt="" class="bg4 wow fadeInDown" data-wow-delay="0.2s"> <img src="@/assets/img/index/pro-bg4-2.png" alt="" class="bg4 wow fadeInDown" data-wow-delay="0.2s">
<img src="@/assets/img/index/pro-bg4-3.png" alt="" class="bg5 wow fadeInDown" data-wow-delay="0.6s">
</div> </div>
<div class="text"> <div class="text">
<img src="@/assets/img/index/index21.png" alt="" class="icon wow fadeInLeft" data-wow-delay="0.5s"> <img src="@/assets/img/index/index21.png" alt="" class="icon wow fadeInLeft" data-wow-delay="0.5s">
@ -594,22 +593,15 @@ export default {
.bg4 { .bg4 {
top: 140px; top: 140px;
left: -20px; left: -20px;
width: 140px; width: 120px;
} height: 100px;
.bg5 {
bottom: 0px;
left: 50px;
width: 130px;
} }
&:hover { &:hover {
.bg3 { .bg3 {
transform: scale(1.1); transform: scale(1.1);
} }
.bg4 { .bg4 {
transform: translate(40px, -70px); transform: translate(135px, 70px);
}
.bg5 {
transform: translate(20px, -60px) scale(1.2);
} }
} }
} }
@ -638,14 +630,14 @@ export default {
.bg4 { .bg4 {
top: 150px; top: 150px;
right: 40px; right: 40px;
width: 300px; width: 295px;
} }
&:hover { &:hover {
.bg3 { .bg3 {
transform: scale(1.1); transform: scale(1.1);
} }
.bg4 { .bg4 {
transform: translate(-75px, 20px) scale(1.1); transform: translate(-80px, 25px) scale(1.1);
} }
} }
} }

@ -73,10 +73,17 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
.wrap { .wrap {
padding: 50px 0 20px; padding: 50px 0 20px;
background-color: #fff; background-color: #000;
.top { .top {
margin-bottom: 50px; margin-bottom: 50px;
text-align: center; text-align: center;
h1 {
font-size: 28px;
color: #fff;
}
p {
color: #e9e9e9;
}
} }
.timeline { .timeline {
display: flex; display: flex;
@ -90,18 +97,20 @@ export default {
margin-bottom: 30px; margin-bottom: 30px;
} }
.date { .date {
width: 400px; width: 300px;
margin-right: 70px; margin-right: 100px;
text-align: right; text-align: right;
color: $main-color; color: #cbcbcb;
font-size: 14px; font-size: 14px;
} }
.right { .right {
flex: 1; flex: 1;
color: #fff;
} }
h6 { h6 {
margin: 0 0 15px 0; margin-bottom: 15px;
font-size: 18px; font-size: 18px;
line-height: 1;
} }
.cover { .cover {
max-width: 400px; max-width: 400px;
@ -116,9 +125,9 @@ export default {
align-items: center; align-items: center;
margin-bottom: 5px; margin-bottom: 5px;
font-size: 14px; font-size: 14px;
color: $main-color; color: #fff;
img { img {
width: 30px; width: 20px;
margin-right: 8px; margin-right: 8px;
} }
} }
@ -128,6 +137,7 @@ export default {
white-space: pre-wrap; white-space: pre-wrap;
p { p {
position: relative; position: relative;
color: #a3a3a3;
&:before { &:before {
content: ''; content: '';
display: inline-block; display: inline-block;

@ -49,10 +49,8 @@ export default {
} }
}, },
mounted() { mounted() {
if (this.curriculumId) { this.page = 1
this.page = 1; this.getData()
this.getData();
}
}, },
methods: { methods: {
...mapActions({ ...mapActions({

@ -76,7 +76,12 @@ export default {
data() { data() {
return { return {
curriculumId: "", curriculumId: "",
curriculumList: [], curriculumList: [
{
cid: '',
curriculumName: '不限'
}
],
overview: {}, overview: {},
active: "practice", active: "practice",
tabList: { tabList: {
@ -105,8 +110,9 @@ export default {
getschoolCourse() { // getschoolCourse() { //
this.$get(this.api.schoolCourseByAchievement).then(res => { this.$get(this.api.schoolCourseByAchievement).then(res => {
if (res.data && res.data.length) { if (res.data && res.data.length) {
this.curriculumList = res.data; this.curriculumList = [...this.curriculumList, ...res.data]
this.curriculumId = this.currId || this.curriculumList[0].cid this.curriculumId = this.currId || this.curriculumList[0].cid
console.log(22, this.curriculumId)
} }
}).catch(err => { }).catch(err => {
console.log(err); console.log(err);
@ -115,8 +121,7 @@ export default {
getData() { // getData() { //
this.$get(this.api.experimentOverview).then(res => { this.$get(this.api.experimentOverview).then(res => {
this.overview = res.data; this.overview = res.data;
}).catch(err => { }).catch(err => {})
});
}, },
exportData() { // exportData() { //
if (this.active == "practice") { if (this.active == "practice") {

@ -38,10 +38,8 @@ export default {
} }
}, },
mounted() { mounted() {
if (this.curriculumId) { this.page = 1
this.page = 1; this.getData()
this.getData();
}
}, },
methods: { methods: {
...mapActions({ ...mapActions({

@ -291,7 +291,7 @@ export default {
window.open(`https://danbao.czcyedu.com/#/loginFromYyyf?userId=${this.userId}&userName=${userName}&userType=${roleId}&reqType=1&reqId=eb7d8355119d449184c548b07dc01ed9&caseId=1198241070647873538&authorization=87DIVy348Oxzj3ha&classId=1876&courserId=faaedd82adb9444285a5785e4a3dd4f9`); window.open(`https://danbao.czcyedu.com/#/loginFromYyyf?userId=${this.userId}&userName=${userName}&userType=${roleId}&reqType=1&reqId=eb7d8355119d449184c548b07dc01ed9&caseId=1198241070647873538&authorization=87DIVy348Oxzj3ha&classId=1876&courserId=faaedd82adb9444285a5785e4a3dd4f9`);
} else { } else {
if(process.env.NODE_ENV === 'development') { if(process.env.NODE_ENV === 'development') {
href = 'http://192.168.1.103:8080/#/' href = 'http://192.168.1.125:8080/#/'
} else { } else {
href = `${location.origin}/pyTrials` // 8pythoncookiesystemId href = `${location.origin}/pyTrials` // 8pythoncookiesystemId
} }

@ -38,10 +38,10 @@ if (isHh) {
} else if (isDev) { } else if (isDev) {
// 本地 // 本地
// host = "http://www.occupationlab.com:9000/";//线上 // host = "http://www.occupationlab.com:9000/";//线上
host = "http://39.108.250.202:9000/"; // 中台测试服 // host = "http://39.108.250.202:9000/"; // 中台测试服
systemPath = `http://192.168.31.125:8093` systemPath = `http://192.168.31.125:8093`
// host = "http://192.168.31.137:9000"; // 赓 // host = "http://192.168.31.137:9000"; // 赓
// host = "http://192.168.31.151:9000/"; // 榕 host = "http://192.168.31.151:9000/"; // 榕
title = "职站"; title = "职站";
} else { } else {
console.log("其它版本"); console.log("其它版本");

Loading…
Cancel
Save