|
|
@@ -86,13 +86,17 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</a-popover>
|
|
|
+ <section v-if="hasSlider">
|
|
|
+ <p>出题随机性</p>
|
|
|
+ <a-slider :default-value="50" :style="{ width: '100px' }" />
|
|
|
+ </section>
|
|
|
</footer>
|
|
|
</main>
|
|
|
</template>
|
|
|
<script>
|
|
|
import { defineComponent, ref, inject, reactive } from "vue";
|
|
|
export default defineComponent({
|
|
|
- props: ["data", "hasUpload"],
|
|
|
+ props: ["data", "hasUpload", "hasSlider"],
|
|
|
setup() {
|
|
|
const showUpload = ref(true);
|
|
|
const { helper } = inject("$global");
|
|
|
@@ -255,6 +259,9 @@ main {
|
|
|
}
|
|
|
}
|
|
|
> footer {
|
|
|
+ display: flex;
|
|
|
+ justify-content: space-between;
|
|
|
+ align-items: center;
|
|
|
> div {
|
|
|
display: inline-flex;
|
|
|
align-items: center;
|
|
|
@@ -298,6 +305,16 @@ main {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+ > section {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ background: rgba(150, 171, 185, 0.2);
|
|
|
+ border-radius: 20px;
|
|
|
+ padding: 5px 10px;
|
|
|
+ > p {
|
|
|
+ margin-right: 5px;
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.upload-wrap {
|