|
@@ -1217,8 +1217,15 @@ function loginSet(userInfo, res){
|
|
|
// U.MD.D.I.openApplication("appStore")
|
|
// U.MD.D.I.openApplication("appStore")
|
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
- let shareCourseId = window.location.href.indexOf("?shareCourseId=")!=-1?window.location.href.split("?shareCourseId=")[1].toString():''
|
|
|
|
|
- if(shareCourseId){
|
|
|
|
|
|
|
+ // let shareCourseId = window.location.href.indexOf("?shareCourseId=")!=-1?window.location.href.split("?shareCourseId=")[1].toString():''
|
|
|
|
|
+ let _hashSearch = "?" + (window.location.hash.split("?")[1] || "");
|
|
|
|
|
+ let shareCourseId = U.UF.C.queryString("shareCourseId", _hashSearch);
|
|
|
|
|
+ let _shareType = U.UF.C.queryString("type", _hashSearch);
|
|
|
|
|
+ if (shareCourseId && _shareType === "prievew") {
|
|
|
|
|
+ U.UF.F.closeWindow("#studyDetail")
|
|
|
|
|
+ console.log(shareCourseId);
|
|
|
|
|
+ U.MD.D.I.openInApplication("studyDetailNo", shareCourseId, 5, 1)
|
|
|
|
|
+ }else if(shareCourseId){
|
|
|
console.log(shareCourseId);
|
|
console.log(shareCourseId);
|
|
|
U.MD.D.I.openInApplication("studyDetail", shareCourseId, 5, 1)
|
|
U.MD.D.I.openInApplication("studyDetail", shareCourseId, 5, 1)
|
|
|
}
|
|
}
|