[%
switch(this.items[i].action){
case -1000401:
var moodIcon = this.items[i].icon.include("http:") ? this.items[i].icon : ("http://www.woniugu.com/images/common/mood/" + (this.items[i].realObject.icon.length > 0 ? this.items[i].realObject.icon : "0.gif"));
var summary = getSummary(this.items[i].content, talkshowLen);
%]
[%=this.items[i].time.replace(/^.{3,3}(.+).{3,3}$/g, "$1")%]
回复([%=this.items[i].replyCount%])
[%if (this.items[i].items.items.length > 0) {%]
[%if(this.items[i].replyCount > 3){%]
- 之前还有[%=this.items[i].replyCount - 3%]条回复,去看看
[%}%]
[%
for(var j = 0; j < this.items[i].items.items.length; j++)
{
var comment = this.items[i].items.items[j];
%]
[%
}
}
%]
[%
break;
case -1001816:
case -1001817:
case -1001818:
var pageUrl = "";
switch(this.items[i].action){
case -1001816:
pageUrl = "/B_Message/Message.aspx?id={0}&mid={1}";
break;
case -1001817:
pageUrl = "/B_Message/PictureMessage.aspx?id={0}&mid={1}";
break;
case -1001818:
pageUrl = "/B_Message/ShareLink.aspx?id={0}&mid={1}&ptype=1";
break;
}
pageUrl = "http://city.woniugu.com" + pageUrl.format(this.items[i].spaceID, this.items[i].id);
var msg = getSummary(this.items[i].message.include("
[%if(this.items[i].action == -1001817 && this.items[i].photo)
{%]
[%}
else if(this.items[i].action == -1001818)
{
var desc = getSummary(this.items[i].linkDescription, 50);
if(this.items[i].linkPhoto != "")
{%]
[%=this.items[i].time.replace(/^.{3,3}(.+)$/g, "$1")%]
回复([%=this.items[i].commentCount%])
[%if (this.items[i].items.items.length > 0){%]
[%if(this.items[i].commentCount > 3){%]
- 之前还有[%=this.items[i].commentCount - 3%]条回复,去看看
[%}%]
[%
for(var j = 0; j < this.items[i].items.items.length; j++)
{
var comment = this.items[i].items.items[j];
%]
[%
}
}
%]
[%
break;case -1002006:
var pageUrl = "/street/Broadcast.aspx?rid={1}&bcid={0}";
pageUrl = "http://youle.woniugu.com" + pageUrl.format(this.items[i].id, this.items[i].areaID);
var msg = getSummary(this.items[i].content.include("
[%=this.items[i].createTime.replace(/^.{3,3}(.+)$/g, "$1")%]
回复 ([%=this.items[i].cCount%])
[%if (this.items[i].items.items.length > 0){%]
[%if(this.items[i].cCount > 3){%]
- 之前还有[%=this.items[i].cCount - 3%]条回复,去看看
[%}%]
[%
for(var j = 0; j < this.items[i].items.items.length; j++)
{
var comment = this.items[i].items.items[j];
%]
[%
}
}
%]
[%
break;
default:
%]
[%=this.items[i].detail%]
[%
break;
}%]