|
@@ -33,7 +33,7 @@ function getInfomation() {
|
|
|
"hisDetailName": getUrlArgObject('hisDetailName'),
|
|
|
"contentTypes":[1,2,3]
|
|
|
};
|
|
|
- showName = param.hisName;
|
|
|
+ //showName = param.hisName;
|
|
|
// if (param.type == 5 || param.type == 51) {
|
|
|
// param.type = 12;
|
|
|
// param.name = uname;
|
|
@@ -49,7 +49,6 @@ function getInfomation() {
|
|
|
showEmpty();
|
|
|
return;
|
|
|
}
|
|
|
- $(".titleCont .title").html(showName);
|
|
|
showLis=data
|
|
|
for(let i = 0;i < showLis.length;i++){
|
|
|
let tmp = showLis[i]
|
|
@@ -59,7 +58,7 @@ function getInfomation() {
|
|
|
sName=showLis[0].name+"("+showLis[0].hisName+")";
|
|
|
$(".showWhichSelect").html(sName).attr("title",sName)
|
|
|
showName = data[0].name
|
|
|
- document.title = showName
|
|
|
+ renderTitleShow();
|
|
|
showInfoSelect()
|
|
|
showInfo(data[0])
|
|
|
$('.content img').bind('contextmenu', function(){
|
|
@@ -97,8 +96,8 @@ function showInfoSelect(){
|
|
|
$('.showWhich li').click(function(){
|
|
|
let idx = $(this).attr('data-idx')
|
|
|
let name = $(this).html(),str=''
|
|
|
- showName = showLis[idx].name
|
|
|
- document.title = showName
|
|
|
+ showName = showLis[idx].name;
|
|
|
+ renderTitleShow();
|
|
|
showInfo(showLis[idx])
|
|
|
$('.content .infos').scrollTop(0)
|
|
|
$(".showWhich ul").css("display","none")
|
|
@@ -112,6 +111,10 @@ function showInfoSelect(){
|
|
|
$(".showWhich ul").css("display","none")
|
|
|
})
|
|
|
}
|
|
|
+function renderTitleShow(){
|
|
|
+ document.title = showName;
|
|
|
+ $(".titleCont .title").html(showName);
|
|
|
+}
|
|
|
function renderContent(list, contentWrapClassName){
|
|
|
$(`.${contentWrapClassName} .infos`).html('');
|
|
|
$(`.${contentWrapClassName} .anchors ul`).html('');
|