Merge branch 'dev_aliyun' of https://bdgit.educoder.net/Hjqreturn/educoder into dev_aliyun

dev_cs
daiao 5 years ago
commit ed76fef768

@ -122,11 +122,11 @@ export function configShareForCourses () {
export function configShareForCustom (title, desc, imgUrl, path) { export function configShareForCustom (title, desc, imgUrl, path) {
requestForSignatrue(() => { requestForSignatrue(() => {
console.log('configShareForCustom', host) console.log('configShareForCustom', host)
const _path = window.location.href.split('#')[0]; const _url = window.location.href.split('#')[0];
var shareData = { var shareData = {
title: title, title: title,
desc: desc, desc: desc,
link: `${host}/${path || _path}`, link: path ? `${host}/${path}` : _url,
imgUrl: imgUrl || window.__testImageUrl imgUrl: imgUrl || window.__testImageUrl
|| host + '/react/build/images/share_logo_icon.jpg' || host + '/react/build/images/share_logo_icon.jpg'
}; };

@ -429,4 +429,8 @@
.topsicinline{ .topsicinline{
display: inline-block; display: inline-block;
}
/* 防抖 */
.educontent .square-list {
min-height: 400px;
} }

@ -1,3 +1,7 @@
/* 撑开滚动条,防抖 */
.educontent > .itemWrap {
min-height: 400px;
}
.itemWrap { .itemWrap {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;

Loading…
Cancel
Save