mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-10 03:16:44 +08:00
附件样式
This commit is contained in:
@@ -3,16 +3,10 @@
|
||||
<div>
|
||||
<Upload v-model:value="files" ref="uploadRef" :file-type="fileType">
|
||||
<div class="accessory" style="cursor: pointer">
|
||||
<span class="accessory_icon">
|
||||
<img
|
||||
src="@/assets/images/coursewareManage/enclosure.png"
|
||||
alt="enclosure"
|
||||
/>
|
||||
</span>
|
||||
<span style="color: #4ea6ff;margin-left:10px">添加附件</span>
|
||||
<button class="xkbtn" type="button">上传附件</button>
|
||||
</div>
|
||||
</Upload>
|
||||
<div>支持.pdf,.ppt,.pptx,.doc,.docx,.xls,.xlsx,.jpg,.jpeg,.png,.gif,.zip</div>
|
||||
<div style="color: rgb(153, 155, 163);">支持.pdf,.ppt,.pptx,.doc,.docx,.xls,.xlsx,.jpg,.jpeg,.png,.gif,.zip</div>
|
||||
</div>
|
||||
<div class="mbl_items12" style="margin-left: 0">
|
||||
<div
|
||||
@@ -203,4 +197,16 @@ function del(i) {
|
||||
}
|
||||
}
|
||||
}
|
||||
.accessory{
|
||||
.xkbtn {
|
||||
cursor: pointer;
|
||||
width: 130px;
|
||||
height: 40px;
|
||||
background: #4ea6ff;
|
||||
border-radius: 8px;
|
||||
border: 0;
|
||||
margin-right: 8px;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -434,12 +434,18 @@ export default {
|
||||
clearAll();
|
||||
state.addLoading = false;
|
||||
};
|
||||
const afterVisibleChange = () => {
|
||||
const afterVisibleChange = (bool) => {
|
||||
console.log("props", props);
|
||||
if (props.addtestVisible && props.edit) {
|
||||
// 该页面显示同时 edit为true 时,发送查询请求,
|
||||
queryTest();
|
||||
}
|
||||
if(bool){
|
||||
state.test.showAnswers = 1;
|
||||
state.test.showAnalysis = 1;
|
||||
state.test.scoringModel = 2;
|
||||
state.test.questionArrangement = 4;
|
||||
}
|
||||
};
|
||||
const selectTest = () => {
|
||||
state.STvisible = true;
|
||||
|
||||
@@ -508,6 +508,9 @@ const auditRowSelection = computed(() => ({
|
||||
const closeDrawer = () => {
|
||||
visiable.value = false;
|
||||
stuData.value = [];
|
||||
nameSearch.value.keyword ="";
|
||||
|
||||
|
||||
};
|
||||
const openDrawer = () => {
|
||||
visiable.value = true;
|
||||
@@ -628,12 +631,15 @@ watch(visiable, () => {
|
||||
audienceName.value.keyword = "";
|
||||
audienceName.value.page = 1;
|
||||
audienceName.value.pageSize = 10;
|
||||
activeKey.value=1;
|
||||
selectsData.value = {
|
||||
stageId: "",
|
||||
studentList: [],
|
||||
deptList: [],
|
||||
groupList: [],
|
||||
};
|
||||
|
||||
|
||||
searchAudi();
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -2114,16 +2114,7 @@
|
||||
<FJUpload v-model:value="attach" @changevalue="changevalue"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cstm_items">
|
||||
<div class="signbox">
|
||||
<span style="margin-right: 3px"> </span>
|
||||
</div>
|
||||
<div class="b_input">
|
||||
<span style="color: #999ba3">
|
||||
支持.pdf,.ppt,.pptx,.doc,.docx,.xls,.xlsx,.jpg,.jpeg,.png,.gif,.zip
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mbl_items12">
|
||||
<div
|
||||
class="i12_box1"
|
||||
|
||||
Reference in New Issue
Block a user