From 5e2a70b1ad1ec32e1fb6ae8a0d2e8f9673f6740d Mon Sep 17 00:00:00 2001 From: ghusermoon <2673031505@qq.com> Date: Mon, 28 Sep 2020 16:42:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=A1=A8=E5=8D=95=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/static/images/delete.png | Bin 0 -> 1613 bytes src/static/images/link.png | Bin 0 -> 1412 bytes src/static/images/smile.png | Bin 0 -> 2217 bytes src/static/js/common.ts | 20 +++++ src/views/mine/Archives.vue | 15 +++- src/views/mine/ReleaseVideo.vue | 144 +++++++++++++++++++++++------- src/views/mine/ReleaseWebcast.vue | 63 +++++++++++-- 7 files changed, 201 insertions(+), 41 deletions(-) create mode 100644 src/static/images/delete.png create mode 100644 src/static/images/link.png create mode 100644 src/static/images/smile.png diff --git a/src/static/images/delete.png b/src/static/images/delete.png new file mode 100644 index 0000000000000000000000000000000000000000..f84334d75f84004b0575ed3aabfd6c6ab898f4b0 GIT binary patch literal 1613 zcmV-T2D15yP)})xsLZGHW2(Yy5&NDN+TZX0EZNcxq`Q{zJ@7<5kfm2ab zWb515IFXnpgLxz~=Yi-k01U>t_ol+5N2A$zG6D#=TvHLpCJ>&s2)RbUVP;Z6+(^a)hz5Xl8NgVE zX_drbz5szmN;tf~JrEB7V1Vi+*J>SDbx#-$#D)0kj7Q#=$-LDC1$O(*=u{%S3t(K5 zR~O8mcp~97nLs=MAn0^$WWti9Se@1SDx3APxc$hVqtf zT_=pJsk!|y%2Pbm1qHnvx9(H{>;n+vIL7$SsK>1`O#mU6%b~{+1R)Q=6|#wZZzy#2 zQIw~6>lEcFYKheW=mSQuX;A+W<0~s;ssAQ`I;Xsph&Gs)0<#oV-JP!d$mr2sv!zug zn!4fcd6dIj&E(Mag}w&u$5sGF)CVPZ1Hi)wT%9}excGACoB zGLaPs!I3jo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|h&*j`D(6Bl9czlc|Ce4~v^lKV^smgNmzh>s;fnPmm z>T%zvqgs%es2fNN`cHweX87ds4b!Ggd#75)kEcSryTY<+$YEJ{=VR$~TD=lSHOtLE z%ghT(9rUZD5&z1F_pmBM2@-!TOL{arnT)?$3%cq+1bU%v$W7A29*{f^rf#8$48Tjl z7+;}lSc0!i8^*iyRdiOTY97m8l_rf&ksMcLt$l&)9#fCcu9qU^Z2QX~aew%ZZsZcd zb{_P=OKZWZXQl1tUuEFq!ESFg^|){8(ZIQU4>aBtx(Q4Ee#$iNst2Opwk))DD!Xm~ zTp+?DokFaM#bV{#t6C;&+jj^OKM1}{3GPW7#@{1>eP4F+KWFgDvVim!MP(n=6CJSa znS$uEMAS!&ix@Z`pdljIlI8O#7N2Z%$>bboF+l2|`Oi)w+-K_gH^R9h>k>h_q^$gr zVBlLG%lXZgM4NGos4*&K5}-ep-HWhqj1aRci{CX%RRg+%;4+VeLFN- zM3ACA6~YqmZ%8j=n&$pW*}BERQ7iUuZF%SGj&WCC9~B!xG}FIr8+XKX_YM;D?Q-@3 z40|m5qIR@lxm7`Hpv???;9UTE4IZzo_dsd}wp0KVKPz8Ar4Vw&lX6Kd_iG63A41ET z!lL8J5sFKdp&bl)pDYxfj!JJL{WP0BM|5^BA&9S!{@a1}!lPx$WGq{2!A$`xVcWL5 znCOQLT2*nog?f(yv|X~dlZg76$Q8w+U;39F9pi~vXXdGz(B?6-Dmk531>_NU9Wj45 zkx0BXK6LdaQZZK}Z3V!e1MvPP@d3%a7ew0!t@tbL rMw!zFZpAuha%{{0gr3RC+tKwuig?oy8&Xwz00000NkvXXu0mjfz;Q$; literal 0 HcmV?d00001 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 @@