Commit 9f403102 authored by 纪泽龙's avatar 纪泽龙

Merge branch 'jzl'

parents 1decead9 b6f4b8a0
...@@ -172,7 +172,8 @@ export default { ...@@ -172,7 +172,8 @@ export default {
// this.answerClear(); // this.answerClear();
// this.$emit("update:visible", false); // this.$emit("update:visible", false);
this.saveBody(); this.saveBody();
const answers = JSON.stringify(this.answerArr.map((item) => item.answer)); const json = JSON.stringify(this.answerArr.map((item) => item.answer));
const answers = json.slice(1,json.length-1);
console.log(answers); console.log(answers);
this.loading = true; this.loading = true;
setAnswer({ setAnswer({
...@@ -302,12 +303,16 @@ export default { ...@@ -302,12 +303,16 @@ export default {
font-size: 14px; font-size: 14px;
text-align: center; text-align: center;
margin-right: 18px; margin-right: 18px;
box-sizing: border-box;
cursor: pointer; cursor: pointer;
&.active { &.active {
background: #e9e9e9; background: #afe8ab87;
border:none;
} }
&.activered { &.activered {
background: #ffffff; background: #b9112633;
border:none;
} }
&.now { &.now {
background: #a3d3ff; background: #a3d3ff;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment