切换导航条
此项目
正在载入...
登录
root
/
jyht
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
sgj
6 years ago
提交
bb55960b3e4569b4736b6476d08690e537aeb524
1 个父辈
da6099a2
complete the friend group
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
5 行增加
和
6 行删除
app/portal/controller/FriendsController.php
public/themes/simpleboot3/portal/friends/friendlist.html
app/portal/controller/FriendsController.php
查看文件 @
bb55960
...
...
@@ -53,7 +53,6 @@ class FriendsController extends WeChatBaseController
foreach
(
$article
as
$k
=>
$v
){
$article
[
$k
][
'pic'
]
=
cmf_get_image_url
(
json_decode
(
$v
[
'amore'
],
true
)[
'thumbnail'
]);
}
dump
(
$article
);
$this
->
assign
(
'info'
,
$info
);
$this
->
assign
(
'group'
,
$group
);
$this
->
assign
(
'article'
,
$article
);
...
...
public/themes/simpleboot3/portal/friends/friendlist.html
查看文件 @
bb55960
...
...
@@ -125,6 +125,7 @@
<div
class=
"content_box"
hidden
"
>
<div>
<volist
name=
"article"
id=
"v1"
>
<a
href=
"{:url('portal/article/index',['id'=>$v1.id])}"
>
<div
class=
"item_box circle"
>
<div>
<img
src=
"{$v1.pic}"
alt=
""
>
...
...
@@ -132,11 +133,12 @@
<div>
<div
class=
"item_title"
>
{$v1.post_title}
</div>
<div
class=
"item_content"
>
{:getDescirpe(
$vo.post_content,0,1
0)}...
{:getDescirpe(
getSaveContent($v1.post_content),0,5
0)}...
</div>
<div>
{:date('Y.m.d',$v
o
.create_time)}
</div>
<div>
{:date('Y.m.d',$v
1
.create_time)}
</div>
</div>
</div>
</a>
</volist>
...
...
@@ -170,9 +172,7 @@
$
(
'.collect_box'
).
click
(
function
()
{
window
.
location
.
href
=
'{:url('
addTalk
',['
gid
'=>$group.id])}'
})
$
(
'.circle'
).
click
(
function
()
{
window
.
location
.
href
=
'../circle/articleDetail.html'
})
$
(
'.icon-xin3'
).
click
(
function
()
{
var
id
=
$
(
this
).
attr
(
'data-id'
);
$
.
ajax
({
...
...
请
注册
或
登录
后发表评论