提交
This commit is contained in:
@@ -2,8 +2,8 @@ let baseUrl = "";
|
|||||||
let socketUrl = "";
|
let socketUrl = "";
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
// 开发环境
|
// 开发环境
|
||||||
//baseUrl = "https://api.nuttyreading.com/"; //线上正式
|
baseUrl = "https://api.nuttyreading.com/"; //线上正式
|
||||||
baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
//baseUrl = "http://192.168.110.100:9200/pb/"; //张川川
|
||||||
} else if (process.env.NODE_ENV === 'production') {
|
} else if (process.env.NODE_ENV === 'production') {
|
||||||
// 生产环境11
|
// 生产环境11
|
||||||
baseUrl = "https://api.nuttyreading.com/";
|
baseUrl = "https://api.nuttyreading.com/";
|
||||||
|
|||||||
@@ -12,8 +12,8 @@
|
|||||||
"src" : "图片路径"
|
"src" : "图片路径"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"versionName" : "2.0.11",
|
"versionName" : "2.0.13",
|
||||||
"versionCode" : 2011,
|
"versionCode" : 2013,
|
||||||
"app-plus" : {
|
"app-plus" : {
|
||||||
"nvueCompiler" : "uni-app",
|
"nvueCompiler" : "uni-app",
|
||||||
"compatible" : {
|
"compatible" : {
|
||||||
|
|||||||
@@ -158,6 +158,7 @@
|
|||||||
this.$emit('unlockChangeVideo')
|
this.$emit('unlockChangeVideo')
|
||||||
},
|
},
|
||||||
hideNextVideo() {
|
hideNextVideo() {
|
||||||
|
console.log(11111111111111)
|
||||||
this.showCountDown = false
|
this.showCountDown = false
|
||||||
this.playEndBlank = false
|
this.playEndBlank = false
|
||||||
this.$emit('hideNextVideo')
|
this.$emit('hideNextVideo')
|
||||||
|
|||||||
@@ -78,7 +78,7 @@
|
|||||||
<view class="score" v-if="myAnswer.scoreSuccess == 0 && myAnswer.scoreInfo != ''">
|
<view class="score" v-if="myAnswer.scoreSuccess == 0 && myAnswer.scoreInfo != ''">
|
||||||
<text>正在评分</text>
|
<text>正在评分</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="score" v-if="myAnswer.scoreSuccess != 0">
|
<view class="score" v-if="myAnswer.scoreSuccess > 2">
|
||||||
<text>{{myAnswer.score}}分</text>
|
<text>{{myAnswer.score}}分</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -324,7 +324,7 @@
|
|||||||
<!-- <view class="score" v-if="item.scoreSuccess > 0 && item.scoreSuccess ">
|
<!-- <view class="score" v-if="item.scoreSuccess > 0 && item.scoreSuccess ">
|
||||||
正在评分
|
正在评分
|
||||||
</view> -->
|
</view> -->
|
||||||
<view class="score" v-if="item.scoreSuccess >= 1">
|
<view class="score" v-if="item.scoreSuccess >= 3">
|
||||||
分数:{{item.score}}
|
分数:{{item.score}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -335,8 +335,8 @@
|
|||||||
<template v-if="roleCode.includes('0') && isHave && tijiaoTitleId != 2">
|
<template v-if="roleCode.includes('0') && isHave && tijiaoTitleId != 2">
|
||||||
<template v-if="item.reply && item.otherInfo != null">
|
<template v-if="item.reply && item.otherInfo != null">
|
||||||
<text v-if="item.otherInfo[0].scoreSuccess == 0">等待评分</text>
|
<text v-if="item.otherInfo[0].scoreSuccess == 0">等待评分</text>
|
||||||
<text class="pIng" v-if="item.otherInfo[0].scoreSuccess < 2 && item.otherInfo[0].scoreSuccess > 0">正在评分</text>
|
<text class="pIng" v-if="item.otherInfo[0].scoreSuccess < 3 && item.otherInfo[0].scoreSuccess > 0">正在评分</text>
|
||||||
<view class="" v-if="item.otherInfo[0].scoreSuccess >=2">
|
<view class="" v-if="item.otherInfo[0].scoreSuccess >2">
|
||||||
<text class="score" >{{item.otherInfo[0].score}} 分</text>
|
<text class="score" >{{item.otherInfo[0].score}} 分</text>
|
||||||
<!-- <text style="color: #999; padding-left: 10rpx; font-size: 26rpx;">分</text> -->
|
<!-- <text style="color: #999; padding-left: 10rpx; font-size: 26rpx;">分</text> -->
|
||||||
</view>
|
</view>
|
||||||
@@ -382,13 +382,13 @@
|
|||||||
<template v-else>
|
<template v-else>
|
||||||
<!-- <text class=""
|
<!-- <text class=""
|
||||||
style="padding-left: 10rpx; color: #55aaff; font-size: 26rpx;">已作答</text> -->
|
style="padding-left: 10rpx; color: #55aaff; font-size: 26rpx;">已作答</text> -->
|
||||||
<text style="padding-left: 10rpx; color: #55aa7f; font-size: 26rpx;" v-if="item.reply.scoreSuccess <= 0 && thisClass.state != '2'">
|
<text style="padding-left: 10rpx; color: #55aa7f; font-size: 26rpx;" v-if="item.reply.scoreSuccess <= 2 && thisClass.state != '2'">
|
||||||
等待评分
|
等待评分
|
||||||
</text>
|
</text>
|
||||||
<text style="padding-left: 10rpx; color: #999; font-size: 26rpx;" v-if="item.reply.scoreSuccess <= 0 && thisClass.state == '2'">
|
<text style="padding-left: 10rpx; color: #999; font-size: 26rpx;" v-if="item.reply.scoreSuccess <= 2 && thisClass.state == '2'">
|
||||||
已结班无法评分
|
已结班无法评分
|
||||||
</text>
|
</text>
|
||||||
<view class="" style="margin-left: 5rpx;" v-if="item.reply.scoreSuccess > 0">
|
<view class="" style="margin-left: 5rpx;" v-if="item.reply.scoreSuccess > 2">
|
||||||
<text class="score">{{item.reply.score}}</text><text style="color: #999;">分</text>
|
<text class="score">{{item.reply.score}}</text><text style="color: #999;">分</text>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -704,6 +704,7 @@ export default {
|
|||||||
fontWeight: "bold",
|
fontWeight: "bold",
|
||||||
color: "#258feb",
|
color: "#258feb",
|
||||||
},
|
},
|
||||||
|
classStatus: false, //点击结班改变按钮状态
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad(e) {
|
onLoad(e) {
|
||||||
@@ -1096,6 +1097,10 @@ export default {
|
|||||||
},
|
},
|
||||||
// 改变班级状态
|
// 改变班级状态
|
||||||
changeClassStatu(statusCode) {
|
changeClassStatu(statusCode) {
|
||||||
|
if(this.classStatus){
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.classStatus = true;
|
||||||
debounce(async () => {
|
debounce(async () => {
|
||||||
let that = this;
|
let that = this;
|
||||||
that.opClass(statusCode);
|
that.opClass(statusCode);
|
||||||
@@ -1180,6 +1185,7 @@ export default {
|
|||||||
title: "操作成功",
|
title: "操作成功",
|
||||||
icon: "success",
|
icon: "success",
|
||||||
});
|
});
|
||||||
|
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.getClassInfo();
|
this.getClassInfo();
|
||||||
if (statusCode == "2") {
|
if (statusCode == "2") {
|
||||||
@@ -1196,9 +1202,11 @@ export default {
|
|||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
|
//恢复按钮状态
|
||||||
|
this.classStatus = false;
|
||||||
console.log(e, "数据报错");
|
console.log(e, "数据报错");
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.errMsg,
|
title: e.errMsg,
|
||||||
icon: "none",
|
icon: "none",
|
||||||
duration: 3000,
|
duration: 3000,
|
||||||
});
|
});
|
||||||
@@ -1363,7 +1371,7 @@ export default {
|
|||||||
this.thisClass.homeWorkNumber = 0;
|
this.thisClass.homeWorkNumber = 0;
|
||||||
if (res.result.classModel.days > 0) {
|
if (res.result.classModel.days > 0) {
|
||||||
this.thisClass.homeWorkNumber = Math.ceil(
|
this.thisClass.homeWorkNumber = Math.ceil(
|
||||||
(res.result.classModel.days - res.result.classModel.examDays) /
|
(res.result.classModel.days) /
|
||||||
7
|
7
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,10 +62,10 @@
|
|||||||
<text @click="editOrAdd(item)">修改</text>
|
<text @click="editOrAdd(item)">修改</text>
|
||||||
</view>
|
</view>
|
||||||
<template v-if="item.scoreInfo != '' && listDisplay == '1'">
|
<template v-if="item.scoreInfo != '' && listDisplay == '1'">
|
||||||
<view class="score" v-show="item.scoreSuccess >= 2">
|
<view class="score" v-show="item.scoreSuccess > 2">
|
||||||
分数:{{item.score}}
|
分数:{{item.score}}
|
||||||
</view>
|
</view>
|
||||||
<view class="score" v-show="item.scoreSuccess < 2 && (classState == '1' || classState == '3')">
|
<view class="score" v-show="item.scoreSuccess < 3 && (classState == '1' || classState == '3')">
|
||||||
正在评分
|
正在评分
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -488,7 +488,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<!-- 应对华为审核,去掉app跳转 -->
|
<!-- 应对华为审核,去掉app跳转 -->
|
||||||
<view class="appJump">
|
<view class="appJump">
|
||||||
<view class="soulspace item flexbox" @click="appjumpfun('soulspace')" v-if="$platform != 'ios'">
|
<view class="soulspace item flexbox" @click="appjumpfun('soulspace')">
|
||||||
<view class="img">
|
<view class="img">
|
||||||
<image src="@/static/xlkj.png"></image>
|
<image src="@/static/xlkj.png"></image>
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
14
unpackage/dist/build/app-plus/app-service.js
vendored
14
unpackage/dist/build/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
6
unpackage/dist/build/app-plus/app-view.js
vendored
6
unpackage/dist/build/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/build/app-plus/manifest.json
vendored
2
unpackage/dist/build/app-plus/manifest.json
vendored
File diff suppressed because one or more lines are too long
3489
unpackage/dist/dev/app-plus/app-service.js
vendored
3489
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
3726
unpackage/dist/dev/app-plus/app-view.js
vendored
3726
unpackage/dist/dev/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/dev/app-plus/manifest.json
vendored
2
unpackage/dist/dev/app-plus/manifest.json
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user