| | |
| | | @dragenter="dragenter($event)" |
| | | @dragleave="dragleave($event)" |
| | | > |
| | | <i |
| | | <!-- <i |
| | | class="el-icon-upload text-primary" |
| | | style="color: rgb(61, 104, 225)" |
| | | ></i> |
| | | <div class="el-upload__text" style="color: #babbbc !important"> |
| | | 将文件拖到此处,或 |
| | | <em class="text-primary cursor-pointer">点击上传</em> |
| | | ></i> --> |
| | | <div class="icon-wrap"> |
| | | <span class="iconfont iconshangchuantupian-11"></span> |
| | | </div> |
| | | <div |
| | | class="el-upload__text" |
| | | style="margin-top: 10px" |
| | | > |
| | | 将文件拖到此处或<span class="text-primary cursor-pointer" |
| | | >点击上传</span |
| | | > |
| | | </div> |
| | | <div |
| | | class="el-upload__tip text-light" |
| | | style="color: #babbbc !important" |
| | | > |
| | | {{ limitTypes ? `只能上传${limitTypes}文件` : "" |
| | | }}{{ limitSize ? ` 文件大小不超过${limitSize}` : "" }} |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div |
| | | <!-- <div |
| | | class="upload-model" |
| | | v-show="isShowBox" |
| | | @click="isShowBox = false" |
| | | ></div> |
| | | ></div> --> |
| | | </span> |
| | | </template> |
| | | <script> |
| | |
| | | position: absolute; |
| | | z-index: 100 !important; |
| | | width: 320px; |
| | | height: 160px; |
| | | padding: 20px; |
| | | right: 0; |
| | | top: 35px; |
| | | height: 195px; |
| | | z-index: 5; |
| | | background: #f1f1f1; |
| | | border-radius: 5px; |
| | | background: #ffffff; |
| | | padding: 20px 20px 20px 20px; |
| | | right: 0; |
| | | top: 45px; |
| | | border-radius: 8px; box-sizing: border-box; |
| | | |
| | | box-shadow: 0px 0px 10px rgb(0 0 0 / 12%); |
| | | .text-center { |
| | | .icon-wrap { |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | height: 72px; |
| | | margin-top: 20px; |
| | | .iconfont { |
| | | font-size: 72px; |
| | | color: #bbd2f9; |
| | | } |
| | | } |
| | | .el-upload__tip,.el-upload__text { |
| | | font-size: 12px; |
| | | line-height: 17px; |
| | | color: #999999; |
| | | margin-top: 0; |
| | | } |
| | | } |
| | | .files-area { |
| | | width: 100%; |
| | | height: 100%; |