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' }; 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 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;