|
@@ -1,6 +1,8 @@
|
|
|
<template>
|
|
|
<el-upload
|
|
|
- v-loading="isLoading" :accept="accept" :action="action" :class="isFocus ? 'is-focus' : ''"
|
|
|
+ v-loading="isLoading"
|
|
|
+
|
|
|
+ :accept="accept" :action="action" :class="isFocus ? 'is-focus' : ''"
|
|
|
:disabled="isLoading" :headers="getHeader()" :keyname="isKeyName"
|
|
|
:on-error="formUploadError"
|
|
|
:on-progress="uploadprogress" :placeholder="placeholder" :show-file-list="false"
|
|
@@ -117,6 +119,30 @@ const handleBlur = () => {
|
|
|
z-index: -1;
|
|
|
right: 10px;
|
|
|
width: 10px;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|
|
|
+</style>
|
|
|
+
|
|
|
+<style lang="scss">
|
|
|
+.hc-upload-table-form{
|
|
|
+ border-radius: 3px;
|
|
|
+ transition: box-shadow 0.3s, background-color 0.3s;
|
|
|
+ &.is-focus, &:hover {
|
|
|
+ background-color: #eddac4;
|
|
|
+ box-shadow: 0 0 0 1.5px var(--el-color-primary) inset;
|
|
|
+ }
|
|
|
+ .el-upload-dragger{
|
|
|
+ height:100%;
|
|
|
+ width: 100%;
|
|
|
+ background-color: transparent;
|
|
|
+
|
|
|
+ padding: 10px;
|
|
|
+ text-align: left;
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
}
|
|
|
</style>
|