|
@@ -6,11 +6,7 @@
|
|
|
:statusBar="true"
|
|
|
:title="examData.examName"
|
|
|
></uni-nav-bar>
|
|
|
- <swiper
|
|
|
- class="swiper"
|
|
|
- :current="current"
|
|
|
- @change="swiperChange"
|
|
|
- >
|
|
|
+ <swiper class="swiper" :current="current" @change="swiperChange">
|
|
|
<swiper-item v-for="(bank, bankIndex) in questionList" :key="bankIndex">
|
|
|
<view class="pageContent">
|
|
|
<view class="pad_8 titBox">
|
|
@@ -217,12 +213,15 @@
|
|
|
:key="index"
|
|
|
class="lisSty"
|
|
|
>
|
|
|
- <!-- right: index == bank.ques || index == bank.ans,
|
|
|
+ <!-- right: index == bank.ques || index == bank.ans,
|
|
|
wrong: index == bank.ques && bank.ques != bank.ans, -->
|
|
|
<text
|
|
|
:class="{
|
|
|
- right: index == (bank.ques == 1 ? 0 : 1) || index != bank.ans,
|
|
|
- wrong: index == (bank.ques == 1 ? 0 : 1) && bank.ques != bank.ans,
|
|
|
+ right:
|
|
|
+ index == (bank.ques == 1 ? 0 : 1) || index != bank.ans,
|
|
|
+ wrong:
|
|
|
+ index == (bank.ques == 1 ? 0 : 1) &&
|
|
|
+ bank.ques != bank.ans,
|
|
|
}"
|
|
|
class="activeTI"
|
|
|
>{{ ast[index] }}</text
|
|
@@ -564,7 +563,7 @@
|
|
|
:key="childindex"
|
|
|
class="lisSty"
|
|
|
>
|
|
|
- <!-- right:
|
|
|
+ <!-- right:
|
|
|
childindex == bank.ques[ansIndex] ||
|
|
|
childindex == bank.ans[ansIndex],
|
|
|
wrong:
|
|
@@ -573,11 +572,13 @@
|
|
|
<text
|
|
|
:class="{
|
|
|
right:
|
|
|
- bankType == 1 && (childindex == (bank.ques[ansIndex] == 1 ? 0 : 1) ||
|
|
|
- childindex != bank.ans[ansIndex]),
|
|
|
+ bankType == 1 &&
|
|
|
+ (childindex == (bank.ques[ansIndex] == 1 ? 0 : 1) ||
|
|
|
+ childindex != bank.ans[ansIndex]),
|
|
|
wrong:
|
|
|
- bankType == 1 && (childindex == (bank.ques[ansIndex] == 1 ? 0 : 1) &&
|
|
|
- bank.ques[ansIndex] != bank.ans[ansIndex]),
|
|
|
+ bankType == 1 &&
|
|
|
+ childindex == (bank.ques[ansIndex] == 1 ? 0 : 1) &&
|
|
|
+ bank.ques[ansIndex] != bank.ans[ansIndex],
|
|
|
}"
|
|
|
class="activeTI"
|
|
|
>{{ ast[childindex] }}</text
|
|
@@ -597,8 +598,16 @@
|
|
|
</view>
|
|
|
<view v-if="bank.ques[ansIndex]">
|
|
|
<view class="pad_8 answer">
|
|
|
- <view>题目答案:{{ ast[bank.ans[ansIndex] == 1 ? 0 : 1] }}</view>
|
|
|
- <view>我的答案:{{ ast[bank.ques[ansIndex] == 1 ? 0 : 1] || "" }}</view>
|
|
|
+ <view
|
|
|
+ >题目答案:{{
|
|
|
+ ast[bank.ans[ansIndex] == 1 ? 0 : 1]
|
|
|
+ }}</view
|
|
|
+ >
|
|
|
+ <view
|
|
|
+ >我的答案:{{
|
|
|
+ ast[bank.ques[ansIndex] == 1 ? 0 : 1] || ""
|
|
|
+ }}</view
|
|
|
+ >
|
|
|
</view>
|
|
|
<view class="pad_8 answerInfos">
|
|
|
<view class="answerTitle">答案解析</view>
|
|
@@ -1032,7 +1041,7 @@ export default {
|
|
|
let json = JSON.parse(res.data.data.historyExamJson);
|
|
|
this.examData = res.data.data;
|
|
|
this.questionList = json;
|
|
|
- this.getCollectInfo(this.current)
|
|
|
+ this.getCollectInfo(this.current);
|
|
|
});
|
|
|
},
|
|
|
|
|
@@ -1060,78 +1069,32 @@ export default {
|
|
|
* @param {Object} e单选点击
|
|
|
*/
|
|
|
radioSelect(optionsId, bindex) {
|
|
|
- console.log('单选');
|
|
|
+ console.log("单选");
|
|
|
if (this.questionList[bindex].ques) return;
|
|
|
this.$set(this.questionList[bindex], "ques", optionsId);
|
|
|
this.isDoOver();
|
|
|
},
|
|
|
examRecordEdit() {
|
|
|
if (!this.isSubmit) {
|
|
|
- let number = 0;
|
|
|
- let score = 0;
|
|
|
- let doQuestionNum = 0;
|
|
|
- let doQuestionIds = []; //做过的题目id
|
|
|
- this.questionList.length &&
|
|
|
- this.questionList.forEach((item, index) => {
|
|
|
- if (item.type == 1) {
|
|
|
- if (item.ques == item.ans) {
|
|
|
- score += item.score;
|
|
|
- number++;
|
|
|
- }
|
|
|
- if (item.ques) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- } else if (item.type == 2) {
|
|
|
- let isRight =
|
|
|
- item.ques &&
|
|
|
- item.ques.every((quesItem, quesIndex) => {
|
|
|
- return item.ques[quesIndex] == item.ans[quesIndex];
|
|
|
- });
|
|
|
-
|
|
|
- if (isRight) {
|
|
|
- score += item.score;
|
|
|
- number++;
|
|
|
- }
|
|
|
- if (item.ques && item.ques.length) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- } else if (item.type == 3) {
|
|
|
- if (item.ques == item.ans) {
|
|
|
- score += item.score;
|
|
|
- number++;
|
|
|
- }
|
|
|
- if (item.ques) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- } else if (item == 4) {
|
|
|
- if (item.ques.length) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- } else if (item.type == 5) {
|
|
|
- if (item.ques && (item.ques.imageList.length || item.ques.text)) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
+ let {
|
|
|
+ doQuestionNum,
|
|
|
+ doQuestionIds,
|
|
|
+ rightQuestionNum,
|
|
|
+ historyExamJson,
|
|
|
+ } = this.$method.calculateScore(this.questionList);
|
|
|
this.$api
|
|
|
.examRecordEdit({
|
|
|
moduleExamId: this.moduleId || 0,
|
|
|
chapterExamId: this.chapterId || 0,
|
|
|
examId: this.id,
|
|
|
- doQuestionIds: doQuestionIds.join(""),
|
|
|
+ doQuestionIds,
|
|
|
goodsId: this.goodsId,
|
|
|
orderGoodsId: this.orderGoodsId,
|
|
|
recordId: this.recordId,
|
|
|
- rightQuestionNum: number,
|
|
|
+ rightQuestionNum,
|
|
|
status: 0,
|
|
|
- doQuestionNum: doQuestionNum,
|
|
|
- historyExamJson: JSON.stringify(this.questionList),
|
|
|
+ doQuestionNum,
|
|
|
+ historyExamJson,
|
|
|
})
|
|
|
.then((res) => {});
|
|
|
}
|
|
@@ -1172,162 +1135,30 @@ export default {
|
|
|
/**
|
|
|
* 提交数据
|
|
|
*/
|
|
|
- submit() {
|
|
|
- let score = 0; //计算总分
|
|
|
- let reportStatus = 0;
|
|
|
- let number = 0;
|
|
|
- let allScore = 0;
|
|
|
- let passScore = 0;
|
|
|
- let doQuestionNum = 0;
|
|
|
- let doWrongQuestionIds = []; //错题和未做题id(客观题)
|
|
|
- let doQuestionIds = []; //做过的题目id
|
|
|
- let rightQuestionIds = []; //做对的题目id
|
|
|
- let lessQuestionNum = 0;
|
|
|
- this.questionList.forEach((item, index) => {
|
|
|
- passScore = item.passScore;
|
|
|
- if (item.type == 1) {
|
|
|
- if (item.ques == item.ans) {
|
|
|
- score += item.score;
|
|
|
- number++;
|
|
|
- rightQuestionIds.push(item.questionId);
|
|
|
- } else {
|
|
|
- //错误
|
|
|
- doWrongQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- allScore += item.score;
|
|
|
- if (item.ques) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- } else if (item.type == 2) {
|
|
|
- let isRight =
|
|
|
- item.ans &&
|
|
|
- item.ans.every((quesItem, quesIndex) => {
|
|
|
- if (item.ques) {
|
|
|
- return item.ques[quesIndex] == item.ans[quesIndex];
|
|
|
- } else {
|
|
|
- return false;
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
- if (isRight) {
|
|
|
- score += item.score;
|
|
|
- number++;
|
|
|
- rightQuestionIds.push(item.questionId);
|
|
|
- } else {
|
|
|
- let hasPart = false;
|
|
|
- let checkboxScore = 1; //获取单题总分数
|
|
|
- item.ques &&
|
|
|
- item.ques.forEach((ques, quesIndex) => {
|
|
|
- //选错一个全扣
|
|
|
- if (item.ques) {
|
|
|
- if (item.ans.indexOf(item.ques[quesIndex]) == -1) {
|
|
|
- checkboxScore = 0;
|
|
|
- }
|
|
|
- } else {
|
|
|
- checkboxScore = 0;
|
|
|
- }
|
|
|
- });
|
|
|
- console.log(checkboxScore);
|
|
|
-
|
|
|
- //没选错
|
|
|
- if (checkboxScore) {
|
|
|
- checkboxScore = 0;
|
|
|
- item.ans.forEach((ans, quesIndex) => {
|
|
|
- //漏选扣一部分,对n题给n X partScore 分
|
|
|
- if (item.ques) {
|
|
|
- if (item.ques.indexOf(item.ans[quesIndex]) != -1) {
|
|
|
- checkboxScore += item.partScore;
|
|
|
- hasPart = true;
|
|
|
- }
|
|
|
- } else {
|
|
|
- checkboxScore = 0;
|
|
|
- }
|
|
|
- });
|
|
|
- }
|
|
|
-
|
|
|
- if (!hasPart) {
|
|
|
- //0分
|
|
|
- item.scoreResult = 0;
|
|
|
- doWrongQuestionIds.push(item.questionId);
|
|
|
- } else {
|
|
|
- //部分分
|
|
|
- // number++;
|
|
|
- // doWrongQuestionIds.push(item.questionId)
|
|
|
- lessQuestionNum++;
|
|
|
- item.scoreResult = checkboxScore;
|
|
|
- score += checkboxScore;
|
|
|
- // rightQuestionIds.push(item.questionId)
|
|
|
- }
|
|
|
- }
|
|
|
- allScore += item.score;
|
|
|
- if (item.ques && item.ques.length) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- } else if (item.type == 3) {
|
|
|
- if (item.ques == item.ans) {
|
|
|
- score += item.score;
|
|
|
- number++;
|
|
|
- rightQuestionIds.push(item.questionId);
|
|
|
- } else {
|
|
|
- doWrongQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- allScore += item.score;
|
|
|
- if (item.ques) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- } else if (item.type == 4) {
|
|
|
- allScore += item.score;
|
|
|
- if (item.ques && item.ques.length) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- } else if (item.type == 5) {
|
|
|
- allScore += item.score;
|
|
|
- if (item.ques && (item.ques.imageList.length || item.ques.text)) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
- //大于及格
|
|
|
- if (score >= passScore) {
|
|
|
- reportStatus = 1;
|
|
|
- } else {
|
|
|
- reportStatus = 0;
|
|
|
- }
|
|
|
-
|
|
|
+ submit(isShowTip = true) {
|
|
|
+ let form = this.$method.calculateScore(this.questionList);
|
|
|
this.$api
|
|
|
.examRecordEdit({
|
|
|
examId: this.id,
|
|
|
goodsId: this.goodsId,
|
|
|
orderGoodsId: this.orderGoodsId,
|
|
|
- reportStatus: reportStatus,
|
|
|
- totalScore: allScore,
|
|
|
recordId: this.recordId,
|
|
|
- rightQuestionNum: number,
|
|
|
- lessQuestionNum: lessQuestionNum,
|
|
|
status: 1,
|
|
|
moduleExamId: this.moduleId || 0,
|
|
|
chapterExamId: this.chapterId || 0,
|
|
|
- doQuestionIds: doQuestionIds.join(","),
|
|
|
- rightQuestionIds: rightQuestionIds.join(","),
|
|
|
- doQuestionNum: doQuestionNum,
|
|
|
- performance: score,
|
|
|
- historyExamJson: JSON.stringify(this.questionList),
|
|
|
+ ...form,
|
|
|
})
|
|
|
.then((res) => {
|
|
|
this.isSubmit = true;
|
|
|
if (res.data.code == 200) {
|
|
|
+ if (!isShowTip) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
uni.showToast({
|
|
|
title: "交卷成功",
|
|
|
duration: 2000,
|
|
|
icon: "none",
|
|
|
});
|
|
|
-
|
|
|
setTimeout(() => {
|
|
|
uni.redirectTo({
|
|
|
url:
|
|
@@ -1347,7 +1178,7 @@ export default {
|
|
|
.examWrongRecord({
|
|
|
examId: this.id,
|
|
|
goodsId: this.goodsId,
|
|
|
- questionIds: doWrongQuestionIds,
|
|
|
+ questionIds: form.questionIds,
|
|
|
recordId: this.recordId,
|
|
|
orderGoodsId: this.orderGoodsId,
|
|
|
type: 1, // 题库试卷传1
|
|
@@ -1416,14 +1247,22 @@ export default {
|
|
|
|
|
|
judgeSelect(index, bindex) {
|
|
|
if (this.questionList[bindex].ques) return;
|
|
|
- this.$set(this.questionList[bindex], "ques", index == 0 ? '1' : '0');
|
|
|
- console.log('this.questionList[bindex]', this.questionList[bindex].ques, this.questionList[bindex])
|
|
|
+ this.$set(this.questionList[bindex], "ques", index == 0 ? "1" : "0");
|
|
|
+ console.log(
|
|
|
+ "this.questionList[bindex]",
|
|
|
+ this.questionList[bindex].ques,
|
|
|
+ this.questionList[bindex]
|
|
|
+ );
|
|
|
this.isDoOver();
|
|
|
},
|
|
|
|
|
|
judgeSelectChild(ansindex, childindex, bindex) {
|
|
|
if (this.questionList[bindex].ques[ansindex]) return;
|
|
|
- this.$set(this.questionList[bindex].ques, ansindex, childindex == 0 ? '1' : '0');
|
|
|
+ this.$set(
|
|
|
+ this.questionList[bindex].ques,
|
|
|
+ ansindex,
|
|
|
+ childindex == 0 ? "1" : "0"
|
|
|
+ );
|
|
|
this.isDoOver();
|
|
|
},
|
|
|
|
|
@@ -1433,188 +1272,10 @@ export default {
|
|
|
leaveNow() {
|
|
|
this.needBack = false;
|
|
|
this.isSubmit = true;
|
|
|
+ this.submit(false)
|
|
|
uni.navigateBack({
|
|
|
delta: 1,
|
|
|
});
|
|
|
- let score = 0; //计算总分
|
|
|
- let reportStatus = 0;
|
|
|
- let number = 0; //做对的题目数量
|
|
|
- let doQuestionNum = 0; //做过的题目数量
|
|
|
- let allScore = 0; //总分
|
|
|
- let passScore = 0;
|
|
|
- let doWrongQuestionIds = []; //错题和未做题id(客观题)
|
|
|
- let doQuestionIds = []; //做过的题目id
|
|
|
- let rightQuestionIds = []; //做对的题目id
|
|
|
- let lessQuestionNum = 0;
|
|
|
- this.questionList.forEach((item, index) => {
|
|
|
- // passScore = item.passScore
|
|
|
- if (item.type == 1) {
|
|
|
- //正确
|
|
|
- if (item.ques == item.ans) {
|
|
|
- item.scoreResult = item.score;
|
|
|
- score += item.score;
|
|
|
- number++;
|
|
|
- rightQuestionIds.push(item.questionId);
|
|
|
- } else {
|
|
|
- //错误
|
|
|
- item.scoreResult = 0;
|
|
|
- if (item.ques) {
|
|
|
- doWrongQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- }
|
|
|
- allScore += item.score;
|
|
|
- if (item.ques) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- } else if (item.type == 2) {
|
|
|
- let isRight =
|
|
|
- item.ans &&
|
|
|
- item.ans.every((quesItem, quesIndex) => {
|
|
|
- if (item.ques) {
|
|
|
- return item.ques[quesIndex] == item.ans[quesIndex];
|
|
|
- } else {
|
|
|
- return false;
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
- if (isRight) {
|
|
|
- score += item.score;
|
|
|
- number++;
|
|
|
- item.scoreResult = item.score;
|
|
|
- rightQuestionIds.push(item.questionId);
|
|
|
- } else {
|
|
|
- let hasPart = false;
|
|
|
- let checkboxScore = 1; //获取单题总分数
|
|
|
- item.ques &&
|
|
|
- item.ques.forEach((ques, quesIndex) => {
|
|
|
- //选错一个全扣
|
|
|
- if (item.ques) {
|
|
|
- if (item.ans.indexOf(item.ques[quesIndex]) == -1) {
|
|
|
- checkboxScore = 0;
|
|
|
- }
|
|
|
- } else {
|
|
|
- checkboxScore = 0;
|
|
|
- }
|
|
|
- });
|
|
|
- console.log(checkboxScore);
|
|
|
-
|
|
|
- //没选错
|
|
|
- if (checkboxScore) {
|
|
|
- checkboxScore = 0;
|
|
|
- item.ans.forEach((ans, quesIndex) => {
|
|
|
- //漏选扣一部分,对n题给n X partScore 分
|
|
|
- if (item.ques) {
|
|
|
- if (item.ques.indexOf(item.ans[quesIndex]) != -1) {
|
|
|
- checkboxScore += item.partScore;
|
|
|
- hasPart = true;
|
|
|
- }
|
|
|
- } else {
|
|
|
- checkboxScore = 0;
|
|
|
- }
|
|
|
- });
|
|
|
- }
|
|
|
-
|
|
|
- if (!hasPart) {
|
|
|
- //0分
|
|
|
- item.scoreResult = 0;
|
|
|
- if (item.ques) {
|
|
|
- doWrongQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- } else {
|
|
|
- //部分分
|
|
|
- // number++;
|
|
|
- lessQuestionNum++;
|
|
|
- // doWrongQuestionIds.push(item.questionId)
|
|
|
- item.scoreResult = checkboxScore;
|
|
|
- score += checkboxScore;
|
|
|
- // rightQuestionIds.push(item.questionId)
|
|
|
- }
|
|
|
- }
|
|
|
- allScore += item.score;
|
|
|
- if (item.ques && item.ques.length) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- } else if (item.type == 3) {
|
|
|
- if (item.ques == item.ans) {
|
|
|
- item.scoreResult = item.score;
|
|
|
- score += item.score;
|
|
|
- number++;
|
|
|
- rightQuestionIds.push(item.questionId);
|
|
|
- } else {
|
|
|
- item.scoreResult = 0;
|
|
|
- if (item.ques) {
|
|
|
- doWrongQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- }
|
|
|
- allScore += item.score;
|
|
|
- if (item.ques) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- } else if (item.type == 4) {
|
|
|
- if (item.ques && item.ques.length) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- } else if (item.type == 5) {
|
|
|
- if (item.ques && (item.ques.imageList || item.ques.text)) {
|
|
|
- doQuestionNum++;
|
|
|
- doQuestionIds.push(item.questionId);
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
- //大于60分及格
|
|
|
- if (score >= 60) {
|
|
|
- reportStatus = 1;
|
|
|
- } else {
|
|
|
- reportStatus = 0;
|
|
|
- }
|
|
|
-
|
|
|
- //交卷
|
|
|
- this.$api
|
|
|
- .examRecordEdit({
|
|
|
- examId: this.id,
|
|
|
- goodsId: this.goodsId,
|
|
|
- orderGoodsId: this.orderGoodsId,
|
|
|
- reportStatus: reportStatus,
|
|
|
- recordId: this.recordId,
|
|
|
- rightQuestionNum: number,
|
|
|
- lessQuestionNum: lessQuestionNum,
|
|
|
- status: 1,
|
|
|
- moduleExamId: this.moduleId || 0,
|
|
|
- chapterExamId: this.chapterId || 0,
|
|
|
- doQuestionIds: doQuestionIds.join(","),
|
|
|
- rightQuestionIds: rightQuestionIds.join(","),
|
|
|
- doQuestionNum: doQuestionNum,
|
|
|
- performance: score,
|
|
|
- totalScore: allScore,
|
|
|
- examTime: parseInt(this.allTimes),
|
|
|
- doTime: parseInt(this.allTimes) - parseInt(this.lastTime),
|
|
|
- historyExamJson: JSON.stringify(this.questionList),
|
|
|
- })
|
|
|
- .then((res) => {
|
|
|
- this.isSubmit = true;
|
|
|
- if (res.data.code == 200) {
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
- //错题集id提交(客观题)
|
|
|
- this.$api
|
|
|
- .examWrongRecord({
|
|
|
- moduleExamId: this.moduleId || 0,
|
|
|
- chapterExamId: this.chapterId || 0,
|
|
|
- examId: this.id,
|
|
|
- goodsId: this.goodsId,
|
|
|
- orderGoodsId: this.orderGoodsId,
|
|
|
- questionIds: doWrongQuestionIds,
|
|
|
- recordId: this.recordId,
|
|
|
- type: 1, // 题库试卷传1
|
|
|
- doMode: 1, // 做题模式 1章卷 2随机练习
|
|
|
- })
|
|
|
- .then((res) => {});
|
|
|
},
|
|
|
|
|
|
openFooterTab() {
|
|
@@ -1629,7 +1290,7 @@ export default {
|
|
|
|
|
|
swiperChange(e) {
|
|
|
this.current = e.detail.current;
|
|
|
- this.getCollectInfo(this.current)
|
|
|
+ this.getCollectInfo(this.current);
|
|
|
},
|
|
|
|
|
|
deleteImg(imgIndex, bankIndex) {
|
|
@@ -1753,7 +1414,7 @@ export default {
|
|
|
},
|
|
|
success: (result) => {
|
|
|
// if (result.statusCode === 200) {
|
|
|
- resolve(ossToken.dir);
|
|
|
+ resolve(ossToken.dir);
|
|
|
// } else {
|
|
|
// uni.showToast({
|
|
|
// title: "上传失败",
|