mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
试题
This commit is contained in:
@@ -124,7 +124,7 @@
|
||||
v-model="question.title"
|
||||
placeholder="请输入题干">
|
||||
</el-input>
|
||||
<el-upload
|
||||
<!-- <el-upload
|
||||
class="upload-demo"
|
||||
:action="uploadImgUrl"
|
||||
:on-success="handleUploadSuccess"
|
||||
@@ -135,7 +135,7 @@
|
||||
:file-list="fileList">
|
||||
<el-button size="small" type="primary">点击上传图片</el-button>
|
||||
<div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div>
|
||||
</el-upload>
|
||||
</el-upload> -->
|
||||
</el-form-item>
|
||||
<div v-for="(o, i) in question.optionList" :key="i" >
|
||||
<el-form-item :label="'选项' + (i + 1)">
|
||||
@@ -152,7 +152,7 @@
|
||||
<!-- v-else -->
|
||||
<!-- <div class="optionbox"> -->
|
||||
|
||||
<el-upload
|
||||
<!-- <el-upload
|
||||
class="upload-demo Optionsimage"
|
||||
:action="uploadImgUrl"
|
||||
:data=" curOption"
|
||||
@@ -164,8 +164,7 @@
|
||||
:file-list="fileList"
|
||||
list-type="picture">
|
||||
<el-button style="padding-top:0;" type="text">点击上传图片</el-button>
|
||||
<!-- <div slot="tip" class="el-upload__tip">只能上传jpg/png文件,且不超过500kb</div> -->
|
||||
</el-upload>
|
||||
</el-upload> -->
|
||||
<!-- </div> -->
|
||||
<el-radio v-if="question.type == 1" v-model="question.optionList[i].isAnswer" @change="radioChange(i)" :label="true">正确</el-radio>
|
||||
<el-checkbox
|
||||
@@ -689,25 +688,25 @@ export default {
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
::v-deep .el-upload-list__item-name{
|
||||
display: none;
|
||||
}
|
||||
::v-deep .el-upload-list--picture .el-upload-list__item-thumbnail{
|
||||
width: 60px !important;
|
||||
height: 60px !important;
|
||||
}
|
||||
::v-deep .el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name{
|
||||
display: none;
|
||||
}
|
||||
::v-deep .el-upload-list--picture .el-upload-list__item{
|
||||
border: none !important;
|
||||
}
|
||||
::v-deep .el-upload-list__item-status-label{
|
||||
display: none !important;
|
||||
}
|
||||
::v-deep .el-form-item--mini.el-form-item, .el-form-item--small.el-form-item{
|
||||
margin-bottom: 37px !important;
|
||||
}
|
||||
// ::v-deep .el-upload-list__item-name{
|
||||
// display: none;
|
||||
// }
|
||||
// ::v-deep .el-upload-list--picture .el-upload-list__item-thumbnail{
|
||||
// width: 60px !important;
|
||||
// height: 60px !important;
|
||||
// }
|
||||
// ::v-deep .el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name{
|
||||
// display: none;
|
||||
// }
|
||||
// ::v-deep .el-upload-list--picture .el-upload-list__item{
|
||||
// border: none !important;
|
||||
// }
|
||||
// ::v-deep .el-upload-list__item-status-label{
|
||||
// display: none !important;
|
||||
// }
|
||||
// ::v-deep .el-form-item--mini.el-form-item, .el-form-item--small.el-form-item{
|
||||
// margin-bottom: 37px !important;
|
||||
// }
|
||||
.inputclass{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user