diff --git a/src/static/images/delete.png b/src/static/images/delete.png new file mode 100644 index 0000000..f84334d Binary files /dev/null and b/src/static/images/delete.png differ diff --git a/src/static/images/link.png b/src/static/images/link.png new file mode 100644 index 0000000..af037a5 Binary files /dev/null and b/src/static/images/link.png differ diff --git a/src/static/images/smile.png b/src/static/images/smile.png new file mode 100644 index 0000000..01e8947 Binary files /dev/null and b/src/static/images/smile.png differ diff --git a/src/static/js/common.ts b/src/static/js/common.ts index e69de29..8f5b035 100644 --- a/src/static/js/common.ts +++ b/src/static/js/common.ts @@ -0,0 +1,20 @@ +/** + * 图片转Base64 + */ +function getBase64(file: File): Promise { + return new Promise((resolve, reject) => { + const reader = new FileReader(); + reader.readAsDataURL(file); + reader.onload = () => resolve(reader.result); + reader.onerror = error => reject(error); + }); +} +/** + * 预览图片 + */ +export async function previewCover(file: any): Promise { + if (!file.url && !file.preview) { + file.preview = await getBase64(file.originFileObj); + } + return file.url || file.preview || ''; +} diff --git a/src/views/mine/Archives.vue b/src/views/mine/Archives.vue index aa7b8d2..e3cd19b 100644 --- a/src/views/mine/Archives.vue +++ b/src/views/mine/Archives.vue @@ -107,7 +107,7 @@
自我介绍
- +
@@ -322,7 +322,7 @@ export default defineComponent({ } .main-container { margin-left: 17px; - .input-box { + ::v-deep .input-box { display: flex; align-items: center; margin-bottom: 28px; @@ -341,12 +341,16 @@ export default defineComponent({ border-radius: 3px; border: 1px solid #DCDFE0; font-size: 11px; + color: #3F3F3F; } .ant-select { font-size: 12px; + color: #3F3F3F; } .ant-select-dropdown { - font-size: 12px; + .ant-select-dropdown-menu-item { + font-size: 12px; + } } } .speak-lang { @@ -403,6 +407,11 @@ export default defineComponent({ .ant-input { width: 359px; } + .introduce-textarea { + height: 85px; + min-height: 85px; + max-height: 85px; + } } .phone-box { .phone { diff --git a/src/views/mine/ReleaseVideo.vue b/src/views/mine/ReleaseVideo.vue index 6aa8618..e339e6c 100644 --- a/src/views/mine/ReleaseVideo.vue +++ b/src/views/mine/ReleaseVideo.vue @@ -5,26 +5,32 @@ - + -
+
+
+ +
- +
-
{{ item.name }}
+ +
+ + {{ item.name }} + +

视频要求:

@@ -32,7 +38,8 @@
- + + {{ form.brief.length }}/200 上传视频 @@ -42,9 +49,10 @@