-
-
在此上传图片,只能上传jpg/png文件,且不超过10mb
-
-
-
-
-
-
-
-
-
-
-
发布图片
+
+ 发布图片
@@ -26,75 +8,19 @@
export default {
data() {
return {
- dialogImageUrl: "",
- dialogVisible: false,
+
};
},
props: {
- isVideo: {
- Type: Boolean,
- },
+
},
methods: {
- handleRemove(file, fileList) {
- console.log(file, fileList);
- },
- handlePictureCardPreview(file) {
- this.dialogImageUrl = file.url;
- this.dialogVisible = true;
- },
+
}
};
\ No newline at end of file
diff --git a/src/components/publish-video.vue b/src/components/publish-video.vue
index 45602a9..7605429 100644
--- a/src/components/publish-video.vue
+++ b/src/components/publish-video.vue
@@ -1,21 +1,88 @@
-
-
-
- 将视频文件拖到此处,或点击上传
-
- 只能上传mp4文件,且不超过500mb
-
-
-
发布视频
+
+
+
+
+
+
+ 将文件拖到此处,或点击上传
+
+ 只能上传MP4文件,且不超过10mb
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 立即发布
+ 重置
+
+
+
+
+
\ No newline at end of file
diff --git "a/\345\244\207\344\273\275/publish-image.vue" "b/\345\244\207\344\273\275/publish-image.vue"
new file mode 100644
index 0000000..ff30846
--- /dev/null
+++ "b/\345\244\207\344\273\275/publish-image.vue"
@@ -0,0 +1,100 @@
+
+
+
+
在此上传图片,只能上传jpg/png文件,且不超过10mb
+
+
+
+
+
+
+
+
+
+
+
发布图片
+
+
+
+
+
+
\ No newline at end of file
diff --git "a/\345\244\207\344\273\275/publish-video.vue" "b/\345\244\207\344\273\275/publish-video.vue"
new file mode 100644
index 0000000..3797254
--- /dev/null
+++ "b/\345\244\207\344\273\275/publish-video.vue"
@@ -0,0 +1,65 @@
+
+
+
+
+ 将视频文件拖到此处,或点击上传
+
+ 只能上传mp4文件,且不超过500mb
+
+
+
发布视频
+
+
+
+
+
+
\ No newline at end of file
--
Gitee