@@ -505,13 +505,6 @@ function generateThreeOptions(options: { id: number; title: string }[]) {
// 选项:先随机从2,3,4出两个,再和选项1随机组成最终选项
// 题型:随机这些题目
-const randomQuestions = questions.map((questionArray) => {
- const question = shuffle(questionArray)[0];
- return {
- ...question,
- options: generateThreeOptions(question.options),
- };
-});
export {
questions,
@@ -6,8 +6,8 @@
position: relative;
}
@font-face {
- font-family: 'SourceHanSerifCN';
- src: url('./assets/font/sy.otf') format('opentype');
+ font-family: 'hwkt';
+ src: url('./assets/font/hwkt.TTF') format('truetype');
body {
/* width: 100%;
@@ -17,5 +17,5 @@ body {
padding: 0;
box-sizing: border-box;
-webkit-tap-highlight-color: transparent;