切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
60c7e3f0ae2cca5947f1f6daae12c5dff2f94b60
1 个父辈
4f31eeb5
1 个管道 的构建
通过
耗费 1 秒
56
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
5 行增加
和
6 行删除
app/portal/controller/PersonalcenterController.php
public/themes/simpleboot3/portal/personalcenter/personal_center.html
app/portal/controller/PersonalcenterController.php
查看文件 @
60c7e3f
...
...
@@ -20,6 +20,8 @@ class PersonalcenterController extends WeChatBaseController{
$uid
=
cmf_get_current_user_id
();
$my_user_status
=
Db
::
name
(
'my_user'
)
->
where
(
'uid'
,
$uid
)
->
find
();
$weixin
=
Db
::
name
(
'user'
)
->
where
(
'id'
,
$uid
)
->
find
();
$this
->
assign
(
'weixin'
,
$weixin
);
if
(
$my_user_status
[
'status'
]
==
0
||
$my_user_status
[
'status'
]
==
1
||
$my_user_status
[
'status'
]
==
3
||
$my_user_status
[
'status'
]
==
4
){
if
(
$my_user_status
[
'status'
]
==
0
){
$this
->
assign
(
'status'
,
0
);
...
...
public/themes/simpleboot3/portal/personalcenter/personal_center.html
查看文件 @
60c7e3f
...
...
@@ -84,19 +84,16 @@
</div>
<!-- 个人中心 -->
<if
condition=
"$status eq 1"
>
<div
class=
"w_myG"
>
个人中心
</div>
<div
class=
"w_myG"
onclick=
""
>
个人中心
</div>
</if>
<!-- 头像 -->
<div
class=
"log_top_buddha"
>
<div
class=
"log_top_buddha_img"
>
<img
src=
"
__TMPL__/public/assets/images/40.png
"
alt=
""
/>
<img
src=
"
{$weixin.avatar}
"
alt=
""
/>
</div>
<div
class=
"log_top_buddha_contant"
>
<div
class=
"log_top_buddha_contant_one"
>
嘿嘿!小豆芽儿
</div>
<div
class=
"log_top_buddha_contant_two"
>
五花马千金裘,呼儿将出换美酒
{$weixin.user_nickname}
</div>
</div>
</div>
...
...
请
注册
或
登录
后发表评论