mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
附件样式
This commit is contained in:
@@ -3,16 +3,10 @@
|
|||||||
<div>
|
<div>
|
||||||
<Upload v-model:value="files" ref="uploadRef" :file-type="fileType">
|
<Upload v-model:value="files" ref="uploadRef" :file-type="fileType">
|
||||||
<div class="accessory" style="cursor: pointer">
|
<div class="accessory" style="cursor: pointer">
|
||||||
<span class="accessory_icon">
|
<button class="xkbtn" type="button">上传附件</button>
|
||||||
<img
|
|
||||||
src="@/assets/images/coursewareManage/enclosure.png"
|
|
||||||
alt="enclosure"
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
<span style="color: #4ea6ff;margin-left:10px">添加附件</span>
|
|
||||||
</div>
|
</div>
|
||||||
</Upload>
|
</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>
|
||||||
<div class="mbl_items12" style="margin-left: 0">
|
<div class="mbl_items12" style="margin-left: 0">
|
||||||
<div
|
<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>
|
</style>
|
||||||
@@ -434,12 +434,18 @@ export default {
|
|||||||
clearAll();
|
clearAll();
|
||||||
state.addLoading = false;
|
state.addLoading = false;
|
||||||
};
|
};
|
||||||
const afterVisibleChange = () => {
|
const afterVisibleChange = (bool) => {
|
||||||
console.log("props", props);
|
console.log("props", props);
|
||||||
if (props.addtestVisible && props.edit) {
|
if (props.addtestVisible && props.edit) {
|
||||||
// 该页面显示同时 edit为true 时,发送查询请求,
|
// 该页面显示同时 edit为true 时,发送查询请求,
|
||||||
queryTest();
|
queryTest();
|
||||||
}
|
}
|
||||||
|
if(bool){
|
||||||
|
state.test.showAnswers = 1;
|
||||||
|
state.test.showAnalysis = 1;
|
||||||
|
state.test.scoringModel = 2;
|
||||||
|
state.test.questionArrangement = 4;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
const selectTest = () => {
|
const selectTest = () => {
|
||||||
state.STvisible = true;
|
state.STvisible = true;
|
||||||
|
|||||||
@@ -508,6 +508,9 @@ const auditRowSelection = computed(() => ({
|
|||||||
const closeDrawer = () => {
|
const closeDrawer = () => {
|
||||||
visiable.value = false;
|
visiable.value = false;
|
||||||
stuData.value = [];
|
stuData.value = [];
|
||||||
|
nameSearch.value.keyword ="";
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
const openDrawer = () => {
|
const openDrawer = () => {
|
||||||
visiable.value = true;
|
visiable.value = true;
|
||||||
@@ -628,12 +631,15 @@ watch(visiable, () => {
|
|||||||
audienceName.value.keyword = "";
|
audienceName.value.keyword = "";
|
||||||
audienceName.value.page = 1;
|
audienceName.value.page = 1;
|
||||||
audienceName.value.pageSize = 10;
|
audienceName.value.pageSize = 10;
|
||||||
|
activeKey.value=1;
|
||||||
selectsData.value = {
|
selectsData.value = {
|
||||||
stageId: "",
|
stageId: "",
|
||||||
studentList: [],
|
studentList: [],
|
||||||
deptList: [],
|
deptList: [],
|
||||||
groupList: [],
|
groupList: [],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
searchAudi();
|
searchAudi();
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -2114,16 +2114,7 @@
|
|||||||
<FJUpload v-model:value="attach" @changevalue="changevalue"/>
|
<FJUpload v-model:value="attach" @changevalue="changevalue"/>
|
||||||
</div>
|
</div>
|
||||||
</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="mbl_items12">
|
||||||
<div
|
<div
|
||||||
class="i12_box1"
|
class="i12_box1"
|
||||||
|
|||||||
Reference in New Issue
Block a user