From a7c41acc052d47b752921f5099f204932262f8fa Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Thu, 19 Sep 2019 09:30:09 +0800 Subject: [PATCH 1/3] configShareForCustom --- public/react/src/common/util/ShareUtil.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/react/src/common/util/ShareUtil.js b/public/react/src/common/util/ShareUtil.js index c11ed6381..bd34e2edb 100644 --- a/public/react/src/common/util/ShareUtil.js +++ b/public/react/src/common/util/ShareUtil.js @@ -122,11 +122,11 @@ export function configShareForCourses () { export function configShareForCustom (title, desc, imgUrl, path) { requestForSignatrue(() => { console.log('configShareForCustom', host) - const _path = window.location.href.split('#')[0]; + const _url = window.location.href.split('#')[0]; var shareData = { title: title, desc: desc, - link: `${host}/${path || _path}`, + link: path ? `${host}/${path}` : _url, imgUrl: imgUrl || window.__testImageUrl || host + '/react/build/images/share_logo_icon.jpg' }; From 1ba633947cd24cef92975b350150365a883c0d01 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Thu, 19 Sep 2019 09:43:49 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E6=92=91=E5=BC=80=E6=BB=9A=E5=8A=A8?= =?UTF-8?q?=E6=9D=A1=EF=BC=8C=E9=98=B2=E6=8A=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/user/usersInfo/video/InfosVideo.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/react/src/modules/user/usersInfo/video/InfosVideo.css b/public/react/src/modules/user/usersInfo/video/InfosVideo.css index 4722fde63..39e0ff123 100644 --- a/public/react/src/modules/user/usersInfo/video/InfosVideo.css +++ b/public/react/src/modules/user/usersInfo/video/InfosVideo.css @@ -1,3 +1,7 @@ +/* 撑开滚动条,防抖 */ +.educontent > .itemWrap { + min-height: 400px; +} .itemWrap { display: flex; flex-wrap: wrap; From 08caf76007402c63624c66d1b60c7a2365e57e1e Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Thu, 19 Sep 2019 09:48:55 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E9=98=B2=E6=8A=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/modules/user/usersInfo/usersInfo.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/react/src/modules/user/usersInfo/usersInfo.css b/public/react/src/modules/user/usersInfo/usersInfo.css index a0cd3ba21..69b4bcd00 100644 --- a/public/react/src/modules/user/usersInfo/usersInfo.css +++ b/public/react/src/modules/user/usersInfo/usersInfo.css @@ -429,4 +429,8 @@ .topsicinline{ display: inline-block; +} +/* 防抖 */ +.educontent .square-list { + min-height: 400px; } \ No newline at end of file