12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <template>
- <div class="start-question">
- <div class="notice">答题须知</div>
- <div class="prompt">
- <div>本练习题共{{ questionLength }}题,限时{{ answerTimeLimitMinute }}分钟</div>
- <div>点击“开始答题”按钮进行作答,作答完毕后请点击“提交”按钮。</div>
- </div>
- </div>
- </template>
- <script>
- export default {
- name: 'StartQuestion',
- props: {
- questionLength: {
- type: Number,
- default: 0,
- },
- answerTimeLimitMinute: {
- type: Number,
- default: 30,
- },
- },
- data() {
- return {};
- },
- methods: {},
- };
- </script>
- <style lang="scss" scoped>
- .start-question {
- display: flex;
- flex-direction: column;
- row-gap: 24px;
- align-items: center;
- justify-content: center;
- height: calc(100vh - 245px);
- min-height: 400px;
- padding: 24px 40px;
- background: #f7f7f7;
- border-radius: 4px;
- .notice {
- font-size: 40px;
- font-weight: bold;
- color: $light-main-color;
- }
- .prompt {
- font-size: 24px;
- text-align: center;
- }
- }
- </style>
|