mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-16 22:36:43 +08:00
Merge branch 'master' of codeup.aliyun.com:6265f483e4166464dc2f9c14/boeu/portal
This commit is contained in:
@@ -142,6 +142,11 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
p {
|
p {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
// white-space:pre-wrap;
|
// white-space:pre-wrap;
|
||||||
@@ -153,6 +158,11 @@ export default {
|
|||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
.mini {
|
.mini {
|
||||||
top: 30%;
|
top: 30%;
|
||||||
|
|||||||
@@ -97,9 +97,9 @@
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
findByName(){
|
findByName(){
|
||||||
if(this.findName==''){
|
// if(this.findName==''){
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
let $vue=this;
|
let $vue=this;
|
||||||
var folderId=0;
|
var folderId=0;
|
||||||
apiFilecloud.findByName(this.findName).then(rs=>{
|
apiFilecloud.findByName(this.findName).then(rs=>{
|
||||||
|
|||||||
@@ -786,6 +786,11 @@ export default {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
.interact-bar-btn{
|
.interact-bar-btn{
|
||||||
.interact-bar-value{
|
.interact-bar-value{
|
||||||
display: none;
|
display: none;
|
||||||
@@ -828,6 +833,11 @@ export default {
|
|||||||
border-top-left-radius: 15px;
|
border-top-left-radius: 15px;
|
||||||
border-bottom-left-radius: 15px;
|
border-bottom-left-radius: 15px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
.course-type-title {
|
.course-type-title {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -838,6 +848,11 @@ export default {
|
|||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
.course-flag {
|
.course-flag {
|
||||||
height: 26px;
|
height: 26px;
|
||||||
@@ -866,6 +881,11 @@ export default {
|
|||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #343434;
|
color: #343434;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
.course-author {
|
.course-author {
|
||||||
margin: 5px 15px;
|
margin: 5px 15px;
|
||||||
@@ -874,11 +894,14 @@ export default {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
.course-author-left {
|
.course-author-left {
|
||||||
|
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
color: #666;
|
color: #666;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
// flex: 1;
|
// flex: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -887,6 +910,11 @@ export default {
|
|||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #8590a6;
|
color: #8590a6;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
.course-score {
|
.course-score {
|
||||||
padding: 10px 15px;
|
padding: 10px 15px;
|
||||||
@@ -906,6 +934,11 @@ export default {
|
|||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #ffb30f;
|
color: #ffb30f;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
.course-score-value {
|
.course-score-value {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
@@ -914,6 +947,11 @@ export default {
|
|||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
color: #ffb30f;
|
color: #ffb30f;
|
||||||
font-family: 'Arial';
|
font-family: 'Arial';
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
// font-size: 30px;
|
// font-size: 30px;
|
||||||
}
|
}
|
||||||
.cardmark {
|
.cardmark {
|
||||||
|
|||||||
@@ -543,13 +543,15 @@ export default {
|
|||||||
let total=0;
|
let total=0;
|
||||||
if(this.judge.length > 0){
|
if(this.judge.length > 0){
|
||||||
this.judge.forEach(item => {
|
this.judge.forEach(item => {
|
||||||
if(item.answer=='true' && item.userAnswer){
|
//console.log(total,'判断',item);
|
||||||
|
if(item.answer=='true' && item.userAnswer=='true'){
|
||||||
total+=item.defaultScore;
|
total+=item.defaultScore;
|
||||||
}else{
|
}else{
|
||||||
if(item.answer=='false' && !item.userAnswer){
|
if(item.answer=='false' && item.userAnswer=='false'){
|
||||||
total+=item.defaultScore;
|
total+=item.defaultScore;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//console.log(total,'分数');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
if(this.single.length > 0){
|
if(this.single.length > 0){
|
||||||
@@ -588,6 +590,7 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
console.log('实际得分:'+total)
|
||||||
return total;
|
return total;
|
||||||
},
|
},
|
||||||
reStartTest(row){ //继续考试
|
reStartTest(row){ //继续考试
|
||||||
|
|||||||
@@ -819,6 +819,11 @@ export default {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
.interact-bar-btn {
|
.interact-bar-btn {
|
||||||
.interact-bar-value {
|
.interact-bar-value {
|
||||||
display: none;
|
display: none;
|
||||||
@@ -858,6 +863,11 @@ export default {
|
|||||||
border-top-left-radius: 15px;
|
border-top-left-radius: 15px;
|
||||||
border-bottom-left-radius: 15px;
|
border-bottom-left-radius: 15px;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
.course-type-title {
|
.course-type-title {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@@ -868,6 +878,11 @@ export default {
|
|||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
.course-flag {
|
.course-flag {
|
||||||
height: 26px;
|
height: 26px;
|
||||||
@@ -898,6 +913,11 @@ export default {
|
|||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #343434;
|
color: #343434;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
.course-author {
|
.course-author {
|
||||||
margin: 5px 15px;
|
margin: 5px 15px;
|
||||||
@@ -926,11 +946,21 @@ export default {
|
|||||||
.course-score-value {
|
.course-score-value {
|
||||||
color: #ffb30f;
|
color: #ffb30f;
|
||||||
font-family: "Arial";
|
font-family: "Arial";
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
// font-size: 30px;
|
// font-size: 30px;
|
||||||
}
|
}
|
||||||
.course-score-no {
|
.course-score-no {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #ffb30f;
|
color: #ffb30f;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -951,8 +981,12 @@ export default {
|
|||||||
.study-num {
|
.study-num {
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
|
||||||
color: #8590a6;
|
color: #8590a6;
|
||||||
|
-moz-user-select: none; /*火狐*/
|
||||||
|
-webkit-user-select: none; /*webkit浏览器*/
|
||||||
|
-ms-user-select: none; /*IE10*/
|
||||||
|
-khtml-user-select: none; /*早期浏览器*/
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
.btn-label {
|
.btn-label {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user