|
@@ -16686,7 +16686,7 @@ function o(a, s, l) {
|
|
|
for (var i = document.createDocumentFragment(), n = Object.keys(e), r = 0; r < n.length; r++) {
|
|
|
var o = document.createElement("li")
|
|
|
, a = document.createElement("span");
|
|
|
- a.innerHTML = e[n[r]].title || "热点",
|
|
|
+ a.innerHTML = e[n[r]].title || e[n[r]].infoAttribute.title || "热点",
|
|
|
o.hot = t[n[r]],
|
|
|
o.appendChild(a),
|
|
|
i.appendChild(o)
|
|
@@ -16726,14 +16726,17 @@ function o(a, s, l) {
|
|
|
if(!e){
|
|
|
console.error("data2 is null")
|
|
|
}else{
|
|
|
- for (var t in g_data2 = hotMatcher(e),
|
|
|
- this.hotsCount = 0,
|
|
|
- e.hots)
|
|
|
+ g_data2 = hotMatcher(e)
|
|
|
+ this.hotsCount = 0
|
|
|
+ for (var t in e.hots){
|
|
|
this.hotsCount++,
|
|
|
this.hots[t] = new M(t,e.hots[t],this);
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ this.hots[t].initStyleImg(e.hots[t].infoAttribute);
|
|
|
+ }
|
|
|
+ window.hotData = e.hots
|
|
|
+ this.createHotItem(e.hots, this.hots);
|
|
|
+
|
|
|
+
|
|
|
g_index = I.valueFromHash("m"),
|
|
|
e.tourAudio && (g_tourAudio = new Audio,
|
|
|
g_tourAudio.loop = !1,
|
|
@@ -16744,39 +16747,31 @@ function o(a, s, l) {
|
|
|
}));
|
|
|
e.weixinDesc && (g_weixinObj.desc = e.weixinDesc)
|
|
|
//window.wx && manage.weixinShare(),
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
- var i = $.Deferred()
|
|
|
+ /* var i = $.Deferred()
|
|
|
, n = g_Prefix + "data/" + this.sid + "/hot/js/data.js?" + randomTime().getTime();
|
|
|
a.get(n, {
|
|
|
responseType: "json",
|
|
|
auth: this.isPublic ? null : u.authorizationHeader
|
|
|
}).done(function(e) {
|
|
|
- window.hotData = e,
|
|
|
- this.createHotItem(e, this.hots);
|
|
|
+ window.hotData = e,
|
|
|
+ this.createHotItem(e, this.hots);
|
|
|
|
|
|
for(let i in this.hots){
|
|
|
e[i] && this.hots[i].initStyleImg(e[i]);
|
|
|
- }
|
|
|
+ }
|
|
|
|
|
|
i.resolve()
|
|
|
}
|
|
|
.bind(this)).fail(function() {
|
|
|
console.log("Data.js is empty");
|
|
|
- //直接使用data2
|
|
|
- /* window.hotData = data2
|
|
|
- this.createHotItem(data2, this.hots);
|
|
|
-
|
|
|
- for(let i in this.hots){
|
|
|
- e[i] && this.hots[i].initStyleImg(e[i]);
|
|
|
- }
|
|
|
-
|
|
|
- */
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
i.resolve()
|
|
|
}),
|
|
|
-
|
|
|
+ */
|
|
|
r.resolve()
|
|
|
}
|
|
|
.bind(this)).fail(function() {
|