diff --git a/web/src/view/example/breakpoint/breakpoint.vue b/web/src/view/example/breakpoint/breakpoint.vue index eae20342..0a2ea941 100644 --- a/web/src/view/example/breakpoint/breakpoint.vue +++ b/web/src/view/example/breakpoint/breakpoint.vue @@ -1,17 +1,31 @@ - - + 大文件上传 + + + 选择文件 + - 上传 - 上传文件 + 请上传不超过5MB的文件 + + + + + {{ item.name }} + {{percentage}}% + + + + + + + 此版本为先行体验功能测试版,样式美化和性能优化正在进行中,上传切片文件和合成的完整文件分别再QMPlusserver目录的breakpointDir文件夹和fileDir文件夹 - +#fromCont{ + display: inline-block; +} +.fileUpload{ + padding: 4px 10px; + height: 20px; + line-height: 20px; + position: relative; + cursor: pointer; + color: #000; + border: 1px solid #c1c1c1; + border-radius: 4px; + overflow: hidden; + display: inline-block; + input{ + position: absolute; + font-size: 100px; + right: 0; + top: 0; + opacity: 0; + cursor: pointer; + } + +} + .fileName{ + display: inline-block; + vertical-align: top; + margin: 6px 15px 0 15px; + } + .uploadBtn{ + position: relative; + top: -10px; + margin-left: 15px; + } + .tips{ + margin-top: 30px; + font-size: 14px; + font-weight: 400; + color: #606266; + } + .el-divider{ + margin: 0 0 30px 0; + } + + .list{ + margin-top:15px; + } + .list-item { + display: block; + margin-right: 10px; + color: #606266; + line-height: 25px; + margin-bottom: 5px; + width: 40%; + .percentage{ + float: right; + } +} +.list-enter-active, .list-leave-active { + transition: all 1s; +} +.list-enter, .list-leave-to +/* .list-leave-active for below version 2.1.8 */ { + opacity: 0; + transform: translateY(-30px); +} + \ No newline at end of file