切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
0386683d6c97e44958af88a5bfc1c3f406701f0a
1 个父辈
60c7e3f0
1 个管道 的构建
通过
耗费 0 秒
8
变更
3
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
3 个修改的文件
包含
165 行增加
和
3 行删除
app/portal/controller/PersonalcenterController.php
public/themes/simpleboot3/portal/personalcenter/perfect_information.html
public/themes/simpleboot3/portal/personalcenter/personal_center.html
app/portal/controller/PersonalcenterController.php
查看文件 @
0386683
...
...
@@ -38,11 +38,21 @@ class PersonalcenterController extends WeChatBaseController{
return
$this
->
fetch
();
}
}
/**
* 完善个人信息页
*/
public
function
perfect_information
(){
$uid
=
cmf_get_current_user_id
();
$weixin
=
Db
::
name
(
'user'
)
->
where
(
'id'
,
$uid
)
->
find
();
$this
->
assign
(
'weixin'
,
$weixin
);
return
$this
->
fetch
();
}
/**
* 我的收藏页
*/
...
...
public/themes/simpleboot3/portal/personalcenter/perfect_information.html
0 → 100644
查看文件 @
0386683
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html;charset=UTF-8"
/>
<meta
content=
"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;"
name=
"viewport"
/>
<meta
http-equiv=
"X-UA-Compatible"
content=
"ie=edge"
/>
<title>
学考无忧-我的-完善个人信息
</title>
<link
rel=
"stylesheet"
href=
"__TMPL__/public/assets/css/reset.css"
/>
<link
rel=
"stylesheet"
href=
"__TMPL__/public/assets/css/log.css"
/>
</head>
<body>
<div
class=
"log_top"
>
<!-- 顶部 -->
<div
class=
" order_top log_top"
>
<!-- <a href="">
<img src="img/left2.png" alt="" />
</a>-->
<p
style=
"color:white"
>
订单确认
</p>
</div>
<!-- 头像 -->
<div
class=
"log_top_buddha"
>
<div
class=
"log_top_buddha_img"
>
<img
src=
"{$weixin.avatar}"
alt=
""
/>
</div>
<div
class=
"log_top_buddha_btn"
>
<a
href=
"log_two.html"
>
完善个人信息
</a>
</div>
</div>
</div>
<!-- 列表 -->
<div
class=
"log_one_list"
>
<a
href=
"log_five.html"
>
<div
class=
"log_one_list_one"
>
<div
class=
"log_one_list_left"
>
<div
class=
"log_one_list_img"
>
<img
src=
"./img/shangpin.png"
alt=
""
/>
</div>
<div
class=
"log_one_list_word"
>
商品管理
</div>
</div>
<div
class=
"log_one_list_right"
>
<img
src=
"./img/29.png"
alt=
""
/>
</div>
</div>
</a>
<a
href=
"log_three.html"
>
<div
class=
"log_one_list_one"
>
<div
class=
"log_one_list_left"
>
<div
class=
"log_one_list_img"
>
<img
src=
"./img/dingdan.png"
alt=
""
/>
</div>
<div
class=
"log_one_list_word"
>
订单管理
</div>
</div>
<div
class=
"log_one_list_right"
>
<img
src=
"./img/29.png"
alt=
""
/>
</div>
</div>
</a>
<a
href=
"log_seven.html"
>
<div
class=
"log_one_list_one"
>
<div
class=
"log_one_list_left"
>
<div
class=
"log_one_list_img"
>
<img
src=
"./img/school.png"
alt=
""
/>
</div>
<div
class=
"log_one_list_word"
>
学校管理
</div>
</div>
<div
class=
"log_one_list_right"
>
<img
src=
"./img/29.png"
alt=
""
/>
</div>
</div>
</a>
<a
href=
"log_nine.html"
>
<div
class=
"log_one_list_one"
>
<div
class=
"log_one_list_left"
>
<div
class=
"log_one_list_img"
>
<img
src=
"./img/49.png"
alt=
""
/>
</div>
<div
class=
"log_one_list_word"
>
我的钱包
</div>
</div>
<div
class=
"log_one_list_right"
>
<img
src=
"./img/29.png"
alt=
""
/>
</div>
</div>
</a>
<a
href=
"w_code.html"
>
<div
class=
"log_one_list_one"
>
<div
class=
"log_one_list_left"
>
<div
class=
"log_one_list_img"
>
<img
src=
"./img/47.png"
alt=
""
/>
</div>
<div
class=
"log_one_list_word"
>
商城分享
</div>
</div>
<div
class=
"log_one_list_right"
>
<img
src=
"./img/29.png"
alt=
""
/>
</div>
</div>
</a>
</div>
<!-- 底部一级导航 -->
<div
class=
"in_bottom"
>
<ul>
<a
href=
"index.html"
>
<li>
<img
src=
"img/22.png"
alt=
""
/>
<p>
首页
</p>
</li>
</a>
<a
href=
"nav_class.html"
>
<li>
<img
src=
"img/16.png"
alt=
""
/>
<p>
分类
</p>
</li>
</a>
<a
href=
"w_shopping_cart.html"
>
<li>
<img
src=
"img/17.png"
alt=
""
/>
<p>
购物车
</p>
</li>
</a>
<a
href=
"log_one.html"
>
<li>
<img
src=
"img/19.png"
alt=
""
/>
<p
style=
"color:#FF7700;"
>
我的
</p>
</li>
</a>
</ul>
</div>
<script
src=
"__TMPL__/public/assets/js/jquery.js"
></script>
<script
src=
"__TMPL__/public/assets/js/base.js"
></script>
<script></script>
</body>
</html>
\ No newline at end of file
...
...
public/themes/simpleboot3/portal/personalcenter/personal_center.html
查看文件 @
0386683
...
...
@@ -77,14 +77,14 @@
<div
class=
"log_top"
>
<!-- 顶部 -->
<div
class=
" order_top log_top"
>
<a
href=
""
>
<
!--<
a href="">
<img src="__TMPL__/public/assets/images/left2.png" alt="" />
</a>
</a>
-->
<p
style=
"color:white"
>
我的
</p>
</div>
<!-- 个人中心 -->
<if
condition=
"$status eq 1"
>
<div
class=
"w_myG"
onclick=
""
>
个人中心
</div>
<div
class=
"w_myG"
onclick=
"
perfect_information()
"
>
个人中心
</div>
</if>
<!-- 头像 -->
<div
class=
"log_top_buddha"
>
...
...
@@ -260,6 +260,14 @@
<script
src=
"__TMPL__/public/assets/js/mui.picker.min.js"
></script>
<script
src=
"__TMPL__/public/assets/js/city.data-3.js"
></script>
<script>
/**
* 点击个人中心跳转
*/
function
perfect_information
(){
window
.
location
.
href
=
"{:url('Personalcenter/perfect_information')}"
;
}
</script>
<script>
$
(
".log_top_buddha_btn"
).
click
(
function
()
{
$
(
this
).
css
({
display
:
"none"
...
...
请
注册
或
登录
后发表评论