|
@@ -2,9 +2,9 @@
|
|
|
<template>
|
|
|
<div :class="['Big-Book-PictureBox']" v-if="isShowTemp">
|
|
|
<!-- <ul class="Big-Book-PictureBox-item" v-for="(item,index) in curQue.queList" :key="index"> -->
|
|
|
- <h2>{{curQue.title}}</h2>
|
|
|
+ <h2>{{ curQue.title }}</h2>
|
|
|
<li v-for="(items, indexs) in curQue.option" :key="indexs">
|
|
|
- <span class="xuhao" v-if="items.xuhao">{{items.xuhao}}</span>
|
|
|
+ <span class="xuhao" v-if="items.xuhao">{{ items.xuhao }}</span>
|
|
|
<template v-if="ChildType != 'image_gdcy' && items.hanziSite == 'top'">
|
|
|
<div class="hanzi-box hanzi-box-top" v-if="items.pinyin || items.hanzi">
|
|
|
<span
|
|
@@ -12,12 +12,16 @@
|
|
|
items.pinyin && (!items.pinyinSite || items.pinyinSite == 'top')
|
|
|
"
|
|
|
class="pinyin"
|
|
|
+ :style="{ fontSize: items.fontSize.substring(0, 2) - 6 + 'px' }"
|
|
|
>{{ items.pinyin }}</span
|
|
|
>
|
|
|
- <p v-if="items.hanzi" :style="{fontSize:items.fontSize}">{{ items.hanzi }}</p>
|
|
|
+ <p v-if="items.hanzi" :style="{ fontSize: items.fontSize }">
|
|
|
+ {{ items.hanzi }}
|
|
|
+ </p>
|
|
|
<span
|
|
|
v-if="items.pinyin && items.pinyinSite == 'bottom'"
|
|
|
class="pinyin"
|
|
|
+ :style="{ fontSize: items.fontSize.substring(0, 2) - 6 + 'px' }"
|
|
|
>{{ items.pinyin }}</span
|
|
|
>
|
|
|
</div>
|
|
@@ -37,7 +41,7 @@
|
|
|
<template
|
|
|
v-if="
|
|
|
ChildType != 'image_gdcy' &&
|
|
|
- (!items.hanziSite || items.hanziSite == 'bottom')
|
|
|
+ (!items.hanziSite || items.hanziSite == 'bottom')
|
|
|
"
|
|
|
>
|
|
|
<div class="hanzi-box" v-if="items.pinyin || items.hanzi">
|
|
@@ -46,11 +50,15 @@
|
|
|
items.pinyin && (!items.pinyinSite || items.pinyinSite == 'top')
|
|
|
"
|
|
|
class="pinyin"
|
|
|
+ :style="{ fontSize: items.fontSize.substring(0, 2) - 6 + 'px' }"
|
|
|
>{{ items.pinyin }}</span
|
|
|
>
|
|
|
- <p v-if="items.hanzi" :style="{fontSize:items.fontSize}">{{ items.hanzi }}</p>
|
|
|
+ <p v-if="items.hanzi" :style="{ fontSize: items.fontSize }">
|
|
|
+ {{ items.hanzi }}
|
|
|
+ </p>
|
|
|
<span
|
|
|
v-if="items.pinyin && items.pinyinSite == 'bottom'"
|
|
|
+ :style="{ fontSize: items.fontSize.substring(0, 2) - 6 + 'px' }"
|
|
|
class="pinyin"
|
|
|
>{{ items.pinyin }}</span
|
|
|
>
|
|
@@ -59,8 +67,8 @@
|
|
|
<template
|
|
|
v-if="
|
|
|
ChildType == 'image_input' ||
|
|
|
- ChildType == 'image_input_three' ||
|
|
|
- ChildType == 'image_wordInput'
|
|
|
+ ChildType == 'image_input_three' ||
|
|
|
+ ChildType == 'image_wordInput'
|
|
|
"
|
|
|
>
|
|
|
<template v-if="judgeAnswer == 'standardAnswer'">
|
|
@@ -71,7 +79,7 @@
|
|
|
:readonly="TaskModel == 'ANSWER'"
|
|
|
maxlength="200"
|
|
|
:class="['singleInput', 'userRight', inputAnswerClass('input', 0)]"
|
|
|
- :style="{fontSize:items.fontSize}"
|
|
|
+ :style="{ fontSize: items.fontSize }"
|
|
|
/>
|
|
|
</template>
|
|
|
<template v-else>
|
|
@@ -82,7 +90,7 @@
|
|
|
:readonly="TaskModel == 'ANSWER'"
|
|
|
maxlength="200"
|
|
|
:class="['singleInput', inputAnswerClass('input', 0)]"
|
|
|
- :style="{fontSize:items.fontSize}"
|
|
|
+ :style="{ fontSize: items.fontSize }"
|
|
|
/>
|
|
|
</template>
|
|
|
</template>
|
|
@@ -90,7 +98,9 @@
|
|
|
<!-- 补齐输入 -->
|
|
|
<template v-if="ChildType == 'image_gdcy'">
|
|
|
<div class="fill-box">
|
|
|
- <b v-if="items.hanzi" :style="{fontSize:items.fontSize}">{{ items.hanzi }}</b>
|
|
|
+ <b v-if="items.hanzi" :style="{ fontSize: items.fontSize }">{{
|
|
|
+ items.hanzi
|
|
|
+ }}</b>
|
|
|
<template v-if="judgeAnswer == 'standardAnswer'">
|
|
|
<input
|
|
|
v-model="curQue.correct[0].input[0]"
|
|
@@ -99,7 +109,7 @@
|
|
|
:readonly="true"
|
|
|
maxlength="200"
|
|
|
:class="inputAnswerClass('input', 0)"
|
|
|
- :style="{fontSize:items.fontSize}"
|
|
|
+ :style="{ fontSize: items.fontSize }"
|
|
|
/>
|
|
|
</template>
|
|
|
<template v-else>
|
|
@@ -110,7 +120,7 @@
|
|
|
:readonly="TaskModel == 'ANSWER'"
|
|
|
maxlength="200"
|
|
|
:class="inputAnswerClass('input', 0)"
|
|
|
- :style="{fontSize:items.fontSize}"
|
|
|
+ :style="{ fontSize: items.fontSize }"
|
|
|
/>
|
|
|
</template>
|
|
|
</div>
|
|
@@ -125,7 +135,7 @@
|
|
|
:readonly="true"
|
|
|
maxlength="200"
|
|
|
:class="inputAnswerClass('input', 0)"
|
|
|
- :style="{fontSize:items.fontSize}"
|
|
|
+ :style="{ fontSize: items.fontSize }"
|
|
|
/>
|
|
|
<input
|
|
|
placeholder=""
|
|
@@ -133,7 +143,7 @@
|
|
|
:readonly="true"
|
|
|
maxlength="200"
|
|
|
:class="inputAnswerClass('input', 1)"
|
|
|
- :style="{fontSize:items.fontSize}"
|
|
|
+ :style="{ fontSize: items.fontSize }"
|
|
|
/>
|
|
|
</template>
|
|
|
<template v-else>
|
|
@@ -144,7 +154,7 @@
|
|
|
:readonly="TaskModel == 'ANSWER'"
|
|
|
maxlength="200"
|
|
|
:class="inputAnswerClass('input', 0)"
|
|
|
- :style="{fontSize:items.fontSize}"
|
|
|
+ :style="{ fontSize: items.fontSize }"
|
|
|
/>
|
|
|
<input
|
|
|
placeholder=""
|
|
@@ -153,7 +163,7 @@
|
|
|
:readonly="TaskModel == 'ANSWER'"
|
|
|
maxlength="200"
|
|
|
:class="inputAnswerClass('input', 1)"
|
|
|
- :style="{fontSize:items.fontSize}"
|
|
|
+ :style="{ fontSize: items.fontSize }"
|
|
|
/>
|
|
|
</template>
|
|
|
</div>
|
|
@@ -165,7 +175,7 @@
|
|
|
:class="[
|
|
|
'right-btn',
|
|
|
TaskModel != 'ANSWER' ? 'right-btn-hover' : '',
|
|
|
- judgeAnswerClass('true'),
|
|
|
+ judgeAnswerClass('true')
|
|
|
]"
|
|
|
@click="handleSelectJudge('true')"
|
|
|
></a>
|
|
@@ -173,7 +183,7 @@
|
|
|
:class="[
|
|
|
'error-btn',
|
|
|
TaskModel != 'ANSWER' ? 'error-btn-hover' : '',
|
|
|
- judgeAnswerClass('false'),
|
|
|
+ judgeAnswerClass('false')
|
|
|
]"
|
|
|
@click="handleSelectJudge('false')"
|
|
|
></a>
|
|
@@ -190,7 +200,7 @@
|
|
|
'xxoption',
|
|
|
'option' + curQue.numberList.con,
|
|
|
singleAnswerClass(indexss),
|
|
|
- checkBoxAnswerClass(indexss),
|
|
|
+ checkBoxAnswerClass(indexss)
|
|
|
]"
|
|
|
>
|
|
|
<template v-if="judgeAnswer == 'standardAnswer'">
|
|
@@ -209,15 +219,26 @@
|
|
|
<span
|
|
|
v-if="
|
|
|
itemss.pinyin &&
|
|
|
- (!items.pinyinSite || items.pinyinSite == 'top')
|
|
|
+ (!items.pinyinSite || items.pinyinSite == 'top')
|
|
|
"
|
|
|
class="pinyin"
|
|
|
+ :style="{
|
|
|
+ fontSize: items.fontSize.substring(0, 2) - 6 + 'px'
|
|
|
+ }"
|
|
|
>{{ itemss.pinyin }}</span
|
|
|
>
|
|
|
- <p v-if="itemss.hanzi" :style="{fontSize:items.fontSize}">{{ itemss.hanzi }}</p>
|
|
|
+ <p
|
|
|
+ v-if="itemss.hanzi"
|
|
|
+ :style="{ fontSize: items.fontSize }"
|
|
|
+ >
|
|
|
+ {{ itemss.hanzi }}
|
|
|
+ </p>
|
|
|
<span
|
|
|
v-if="itemss.pinyin && items.pinyinSite == 'bottom'"
|
|
|
class="pinyin"
|
|
|
+ :style="{
|
|
|
+ fontSize: items.fontSize.substring(0, 2) - 6 + 'px'
|
|
|
+ }"
|
|
|
>{{ itemss.pinyin }}</span
|
|
|
>
|
|
|
</div>
|
|
@@ -237,15 +258,26 @@
|
|
|
<span
|
|
|
v-if="
|
|
|
itemss.pinyin &&
|
|
|
- (!items.pinyinSite || items.pinyinSite == 'top')
|
|
|
+ (!items.pinyinSite || items.pinyinSite == 'top')
|
|
|
"
|
|
|
class="pinyin"
|
|
|
+ :style="{
|
|
|
+ fontSize: items.fontSize.substring(0, 2) - 6 + 'px'
|
|
|
+ }"
|
|
|
>{{ itemss.pinyin }}</span
|
|
|
>
|
|
|
- <p v-if="itemss.hanzi" :style="{fontSize:items.fontSize}">{{ itemss.hanzi }}</p>
|
|
|
+ <p
|
|
|
+ v-if="itemss.hanzi"
|
|
|
+ :style="{ fontSize: items.fontSize }"
|
|
|
+ >
|
|
|
+ {{ itemss.hanzi }}
|
|
|
+ </p>
|
|
|
<span
|
|
|
v-if="itemss.pinyin && items.pinyinSite == 'bottom'"
|
|
|
class="pinyin"
|
|
|
+ :style="{
|
|
|
+ fontSize: items.fontSize.substring(0, 2) - 6 + 'px'
|
|
|
+ }"
|
|
|
>{{ itemss.pinyin }}</span
|
|
|
>
|
|
|
</div>
|
|
@@ -269,15 +301,26 @@
|
|
|
<span
|
|
|
v-if="
|
|
|
itemss.pinyin &&
|
|
|
- (!items.pinyinSite || items.pinyinSite == 'top')
|
|
|
+ (!items.pinyinSite || items.pinyinSite == 'top')
|
|
|
"
|
|
|
class="pinyin"
|
|
|
+ :style="{
|
|
|
+ fontSize: items.fontSize.substring(0, 2) - 6 + 'px'
|
|
|
+ }"
|
|
|
>{{ itemss.pinyin }}</span
|
|
|
>
|
|
|
- <p v-if="itemss.hanzi" :style="{fontSize:items.fontSize}">{{ itemss.hanzi }}</p>
|
|
|
+ <p
|
|
|
+ v-if="itemss.hanzi"
|
|
|
+ :style="{ fontSize: items.fontSize }"
|
|
|
+ >
|
|
|
+ {{ itemss.hanzi }}
|
|
|
+ </p>
|
|
|
<span
|
|
|
v-if="itemss.pinyin && items.pinyinSite == 'bottom'"
|
|
|
class="pinyin"
|
|
|
+ :style="{
|
|
|
+ fontSize: items.fontSize.substring(0, 2) - 6 + 'px'
|
|
|
+ }"
|
|
|
>{{ itemss.pinyin }}</span
|
|
|
>
|
|
|
</div>
|
|
@@ -298,15 +341,26 @@
|
|
|
<span
|
|
|
v-if="
|
|
|
itemss.pinyin &&
|
|
|
- (!items.pinyinSite || items.pinyinSite == 'top')
|
|
|
+ (!items.pinyinSite || items.pinyinSite == 'top')
|
|
|
"
|
|
|
class="pinyin"
|
|
|
+ :style="{
|
|
|
+ fontSize: items.fontSize.substring(0, 2) - 6 + 'px'
|
|
|
+ }"
|
|
|
>{{ itemss.pinyin }}</span
|
|
|
>
|
|
|
- <p v-if="itemss.hanzi" :style="{fontSize:items.fontSize}">{{ itemss.hanzi }}</p>
|
|
|
+ <p
|
|
|
+ v-if="itemss.hanzi"
|
|
|
+ :style="{ fontSize: items.fontSize }"
|
|
|
+ >
|
|
|
+ {{ itemss.hanzi }}
|
|
|
+ </p>
|
|
|
<span
|
|
|
v-if="itemss.pinyin && items.pinyinSite == 'bottom'"
|
|
|
class="pinyin"
|
|
|
+ :style="{
|
|
|
+ fontSize: items.fontSize.substring(0, 2) - 6 + 'px'
|
|
|
+ }"
|
|
|
>{{ itemss.pinyin }}</span
|
|
|
>
|
|
|
</div>
|
|
@@ -321,8 +375,8 @@
|
|
|
class="luyinVoice-box"
|
|
|
v-if="
|
|
|
items.mp3_list.length > 0 ||
|
|
|
- (fn_list_obj && fn_list_obj.indexOf('image_record') > -1) ||
|
|
|
- items.RecordControl
|
|
|
+ (fn_list_obj && fn_list_obj.indexOf('image_record') > -1) ||
|
|
|
+ items.RecordControl
|
|
|
"
|
|
|
>
|
|
|
<template v-if="items.mp3_list.length > 0">
|
|
@@ -367,12 +421,12 @@ export default {
|
|
|
judge: [], // 判断
|
|
|
single: [],
|
|
|
checkBox: [],
|
|
|
- recordList: [],
|
|
|
+ recordList: []
|
|
|
}, // 记录用户答题内容
|
|
|
recorder: new Recorder({
|
|
|
sampleBits: 16, // 采样位数,支持 8 或 16,默认是16
|
|
|
sampleRate: 16000, // 采样率,支持 11025、16000、22050、24000、44100、48000,根据浏览器默认值,我的chrome是48000
|
|
|
- numChannels: 1, // 声道,支持 1 或 2, 默认是1
|
|
|
+ numChannels: 1 // 声道,支持 1 或 2, 默认是1
|
|
|
}),
|
|
|
microphoneStatus: false,
|
|
|
hasMicro: "", // 录音后的样式class
|
|
@@ -380,7 +434,7 @@ export default {
|
|
|
audio: new window.Audio(),
|
|
|
oldUrl: null, // 存储上个播放音频地址
|
|
|
mp3Play: "", // 音频播放
|
|
|
- userErrorNumberTotal: 0,
|
|
|
+ userErrorNumberTotal: 0
|
|
|
};
|
|
|
},
|
|
|
computed: {
|
|
@@ -401,7 +455,7 @@ export default {
|
|
|
return bool;
|
|
|
},
|
|
|
inputAnswerClass() {
|
|
|
- return function (key, index) {
|
|
|
+ return function(key, index) {
|
|
|
let _this = this;
|
|
|
let classname = "";
|
|
|
if (_this.judgeAnswer == "standardAnswer") {
|
|
@@ -424,7 +478,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
judgeAnswerClass() {
|
|
|
- return function (type) {
|
|
|
+ return function(type) {
|
|
|
let _this = this;
|
|
|
let classname = "";
|
|
|
let answer = _this.curQue.Bookanswer[0].judge[0].value;
|
|
@@ -465,7 +519,7 @@ export default {
|
|
|
return result;
|
|
|
},
|
|
|
singleAnswerClass() {
|
|
|
- return function (index) {
|
|
|
+ return function(index) {
|
|
|
let _this = this;
|
|
|
let classname = "";
|
|
|
if (_this.ChildType == "image_single") {
|
|
@@ -496,7 +550,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
checkBoxAnswerClass() {
|
|
|
- return function (index) {
|
|
|
+ return function(index) {
|
|
|
let _this = this;
|
|
|
let classname = "";
|
|
|
if (_this.ChildType == "image_checkBox") {
|
|
@@ -526,7 +580,7 @@ export default {
|
|
|
}
|
|
|
return classname;
|
|
|
};
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
watch: {},
|
|
|
//方法集合
|
|
@@ -550,9 +604,9 @@ export default {
|
|
|
userAnswerJudge:
|
|
|
item.input[0] || item.input[0] === 0
|
|
|
? "[JUDGE##F##JUDGE]"
|
|
|
- : "",
|
|
|
- },
|
|
|
- ],
|
|
|
+ : ""
|
|
|
+ }
|
|
|
+ ]
|
|
|
};
|
|
|
_this.userAnswer.input = JSON.parse(JSON.stringify(obj));
|
|
|
}
|
|
@@ -565,16 +619,16 @@ export default {
|
|
|
userAnswerJudge:
|
|
|
item.input[0] || item.input[0] === 0
|
|
|
? "[JUDGE##F##JUDGE]"
|
|
|
- : "",
|
|
|
+ : ""
|
|
|
},
|
|
|
{
|
|
|
value: "",
|
|
|
userAnswerJudge:
|
|
|
item.input[1] || item.input[1] === 0
|
|
|
? "[JUDGE##F##JUDGE]"
|
|
|
- : "",
|
|
|
- },
|
|
|
- ],
|
|
|
+ : ""
|
|
|
+ }
|
|
|
+ ]
|
|
|
};
|
|
|
this.userAnswer.input = JSON.parse(JSON.stringify(obj));
|
|
|
}
|
|
@@ -582,7 +636,7 @@ export default {
|
|
|
if (_this.ChildType == "image_judge") {
|
|
|
let obj_judge = {
|
|
|
value: "",
|
|
|
- userAnswerJudge: item.judge.length > 0 ? "[JUDGE##F##JUDGE]" : "",
|
|
|
+ userAnswerJudge: item.judge.length > 0 ? "[JUDGE##F##JUDGE]" : ""
|
|
|
};
|
|
|
_this.userAnswer.judge.push(JSON.parse(JSON.stringify(obj_judge)));
|
|
|
}
|
|
@@ -590,8 +644,7 @@ export default {
|
|
|
if (_this.ChildType == "image_single") {
|
|
|
let obj_single = {
|
|
|
value: "",
|
|
|
- userAnswerJudge:
|
|
|
- item.single.length > 0 ? "[JUDGE##F##JUDGE]" : "",
|
|
|
+ userAnswerJudge: item.single.length > 0 ? "[JUDGE##F##JUDGE]" : ""
|
|
|
};
|
|
|
_this.userAnswer.single.push(
|
|
|
JSON.parse(JSON.stringify(obj_single))
|
|
@@ -602,7 +655,7 @@ export default {
|
|
|
let obj_box = {
|
|
|
value: [],
|
|
|
userAnswerJudge:
|
|
|
- item.checkBox.length > 0 ? "[JUDGE##F##JUDGE]" : "",
|
|
|
+ item.checkBox.length > 0 ? "[JUDGE##F##JUDGE]" : ""
|
|
|
};
|
|
|
_this.userAnswer.checkBox.push(JSON.parse(JSON.stringify(obj_box)));
|
|
|
}
|
|
@@ -620,7 +673,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
let obj = "";
|
|
|
- this.curQue.fn_list.forEach((node) => {
|
|
|
+ this.curQue.fn_list.forEach(node => {
|
|
|
if (node.isFn) {
|
|
|
obj += node.type + ",";
|
|
|
}
|
|
@@ -686,9 +739,10 @@ export default {
|
|
|
}
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
- overallClick(value){
|
|
|
- this.curQue.Bookanswer[0].single[0].value = value===this.curQue.Bookanswer[0].single[0].value?'':value
|
|
|
- this.changeSingle(this.curQue.Bookanswer[0].single[0].value)
|
|
|
+ overallClick(value) {
|
|
|
+ this.curQue.Bookanswer[0].single[0].value =
|
|
|
+ value === this.curQue.Bookanswer[0].single[0].value ? "" : value;
|
|
|
+ this.changeSingle(this.curQue.Bookanswer[0].single[0].value);
|
|
|
},
|
|
|
changeSingle(value) {
|
|
|
let _this = this;
|
|
@@ -785,7 +839,7 @@ export default {
|
|
|
handleWav(list, tmIndex) {
|
|
|
tmIndex = tmIndex ? tmIndex : 0;
|
|
|
this.$set(this.curQue.Bookanswer[tmIndex], "recordList", list);
|
|
|
- },
|
|
|
+ }
|
|
|
},
|
|
|
//生命周期 - 创建完成(可以访问当前this实例)
|
|
|
created() {},
|
|
@@ -799,12 +853,12 @@ export default {
|
|
|
checkBox: [],
|
|
|
judge: [],
|
|
|
input: [],
|
|
|
- spell: [],
|
|
|
+ spell: []
|
|
|
};
|
|
|
this.answer.push(obj);
|
|
|
}
|
|
|
let _this = this;
|
|
|
- _this.audio.addEventListener("ended", function () {
|
|
|
+ _this.audio.addEventListener("ended", function() {
|
|
|
_this.mp3Play = "";
|
|
|
_this.hasMicro = "normal";
|
|
|
});
|
|
@@ -815,10 +869,10 @@ export default {
|
|
|
updated() {}, //生命周期 - 更新之后
|
|
|
beforeDestroy() {}, //生命周期 - 销毁之前
|
|
|
destroyed() {}, //生命周期 - 销毁完成
|
|
|
- activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
|
|
|
+ activated() {} //如果页面有keep-alive缓存功能,这个函数会触发
|
|
|
};
|
|
|
</script>
|
|
|
-<style lang='scss' scoped>
|
|
|
+<style lang="scss" scoped>
|
|
|
//@import url(); 引入公共css类
|
|
|
.Big-Book-PictureBox {
|
|
|
width: 100%;
|
|
@@ -838,9 +892,9 @@ export default {
|
|
|
// margin: 0;
|
|
|
// display: flex;
|
|
|
// flex-flow: wrap;
|
|
|
- h2{
|
|
|
+ h2 {
|
|
|
word-break: break-word;
|
|
|
- font-family: 'robot';
|
|
|
+ font-family: "robot";
|
|
|
font-weight: 700;
|
|
|
font-size: 20px;
|
|
|
line-height: 150%;
|
|
@@ -854,21 +908,21 @@ export default {
|
|
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
|
background: #fff;
|
|
|
position: relative;
|
|
|
- .xuhao{
|
|
|
- position: absolute;
|
|
|
- top: -4px;
|
|
|
- left: -4px;
|
|
|
- font-weight: 400;
|
|
|
- font-size: 12px;
|
|
|
- line-height: 14px;
|
|
|
- font-family: 'robot';
|
|
|
- color: #FFFFFF;
|
|
|
- padding: 1px 4px;
|
|
|
- background: #e35454;
|
|
|
- border-radius: 8px;
|
|
|
- display: block;
|
|
|
- min-width: 16px;
|
|
|
- text-align: center;
|
|
|
+ .xuhao {
|
|
|
+ position: absolute;
|
|
|
+ top: -4px;
|
|
|
+ left: -4px;
|
|
|
+ font-weight: 400;
|
|
|
+ font-size: 12px;
|
|
|
+ line-height: 14px;
|
|
|
+ font-family: "robot";
|
|
|
+ color: #ffffff;
|
|
|
+ padding: 1px 4px;
|
|
|
+ background: #e35454;
|
|
|
+ border-radius: 8px;
|
|
|
+ display: block;
|
|
|
+ min-width: 16px;
|
|
|
+ text-align: center;
|
|
|
}
|
|
|
.option_main {
|
|
|
display: flex;
|
|
@@ -996,6 +1050,7 @@ export default {
|
|
|
border-radius: 8px;
|
|
|
&.mini {
|
|
|
width: 64px;
|
|
|
+ justify-content: center;
|
|
|
}
|
|
|
&.normal {
|
|
|
width: 129px;
|
|
@@ -1043,28 +1098,27 @@ export default {
|
|
|
a {
|
|
|
width: 70px;
|
|
|
height: 32px;
|
|
|
- background: #f7f7f7 url("../../../assets/NPC/right-btn-gray.png")
|
|
|
- center no-repeat;
|
|
|
+ background: #f7f7f7 url("../../../assets/NPC/right-btn-gray.png") center
|
|
|
+ no-repeat;
|
|
|
background-size: 24px;
|
|
|
border-radius: 4px;
|
|
|
border: 1px solid #f7f7f7;
|
|
|
&.right-btn-hover:hover,
|
|
|
&.active {
|
|
|
background: #727272 url("../../../assets/NPC/right-btn-white.png")
|
|
|
- center no-repeat;
|
|
|
+ center no-repeat;
|
|
|
background-size: 24px;
|
|
|
border-color: #727272;
|
|
|
}
|
|
|
&.error-btn {
|
|
|
- background: #f7f7f7
|
|
|
- url("../../../assets/NPC/error-btn-gray.png") center
|
|
|
- no-repeat;
|
|
|
+ background: #f7f7f7 url("../../../assets/NPC/error-btn-gray.png")
|
|
|
+ center no-repeat;
|
|
|
background-size: 24px;
|
|
|
margin-left: 4px;
|
|
|
&.error-btn-hover:hover,
|
|
|
&.active {
|
|
|
background: #727272 url("../../../assets/NPC/error-btn-white.png")
|
|
|
- center no-repeat;
|
|
|
+ center no-repeat;
|
|
|
background-size: 24px;
|
|
|
border-color: #727272;
|
|
|
}
|
|
@@ -1107,22 +1161,22 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.NPC-Big-Book-preview-green {
|
|
|
- .Big-Book-PictureBox {
|
|
|
- li{
|
|
|
- .xuhao{
|
|
|
- background: #24b99e;
|
|
|
- }
|
|
|
- }
|
|
|
+ .Big-Book-PictureBox {
|
|
|
+ li {
|
|
|
+ .xuhao {
|
|
|
+ background: #24b99e;
|
|
|
+ }
|
|
|
}
|
|
|
+ }
|
|
|
}
|
|
|
.NPC-Big-Book-preview-brown {
|
|
|
- .Big-Book-PictureBox {
|
|
|
- li{
|
|
|
- .xuhao{
|
|
|
- background: #bd8865;
|
|
|
- }
|
|
|
- }
|
|
|
+ .Big-Book-PictureBox {
|
|
|
+ li {
|
|
|
+ .xuhao {
|
|
|
+ background: #bd8865;
|
|
|
+ }
|
|
|
}
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|
|
|
<style lang="scss">
|
|
@@ -1148,4 +1202,4 @@ li {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|