Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
6cdd26cd
authored
Jul 09, 2019
by
梁建民
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
exit
parent
77e40284
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
21 deletions
Application/Home/View/Account/index.html
Application/Home/View/public/navleft.html
dist/js/global/api.js
dist/js/global/global.min.js
Application/Home/View/Account/index.html
View file @
6cdd26cd
...
...
@@ -29,21 +29,6 @@
</div>
</div>
<div
class=
"xh input_div"
>
<span
class=
"input_title lineBlock"
>
国家地区:
</span>
<div
class=
"input_parent"
>
<div
class=
"layui-input-block"
style=
"width: 170px;margin-left: 0;"
>
<select
name=
"city"
lay-verify=
"required"
>
<option
value=
""
></option>
<option
value=
"0"
>
北京
</option>
<option
value=
"1"
>
上海
</option>
<option
value=
"2"
>
广州
</option>
<option
value=
"3"
>
深圳
</option>
<option
value=
"4"
>
杭州
</option>
</select>
</div>
</div>
</div>
<div
class=
"xh input_div"
>
<span
class=
"input_title lineBlock"
>
所在地区:
</span>
<div
class=
"input_parent"
>
<div
class=
"layui-input-inline auto-area"
style=
"width: 170px;margin-left: 0;margin-right: 20px;"
>
...
...
@@ -96,7 +81,7 @@
</div>
</div>
</div>
<div
class=
"tod-bar"
>
<!--
<div class="tod-bar">
<h3 class="bold">账户绑定</h3>
<ul class="list-box clr">
<li class="clr">
...
...
@@ -115,7 +100,7 @@
</div>
</li>
</ul>
</div>
</div>
-->
<div
class=
"tod-bar"
>
<h3
class=
"bold"
>
消息通知
</h3>
<ul
class=
"list-box clr"
>
...
...
Application/Home/View/public/navleft.html
View file @
6cdd26cd
...
...
@@ -46,12 +46,12 @@
<span
class=
"li_title"
>
商品管理
</span>
</a>
</li>
<li
class=
"content_ul_li <if condition="
(
ACTION_NAME
eq
'
integral
')"
>
active
</if>
">
<!--
<li class="content_ul_li <if condition="(ACTION_NAME eq 'integral')">active</if>">
<a href="homeicsales/integral" class="out">
<span class="li_icon icon iconfont iconjuxing9"></span>
<span class="li_title">积分管理</span>
</a>
</li>
</li>
-->
<li
class=
"content_ul_li <if condition="
(
ACTION_NAME
eq
'
certification
')"
>
active
</if>
">
<a
href=
"homeicsales/cert"
class=
"out"
>
<span
class=
"li_icon icon iconfont iconjuxing10"
></span>
...
...
dist/js/global/api.js
View file @
6cdd26cd
...
...
@@ -41,6 +41,10 @@
* 注册获取短信验证码接口
*/
getRegistCode
:
auth_url
+
'/v1/getRegistCode'
,
/**
* 退出
*/
authLogout
:
auth_url
+
'/auth/logout'
,
/***
* 获取用户基本信息
*/
...
...
dist/js/global/global.min.js
View file @
6cdd26cd
...
...
@@ -75,8 +75,24 @@
$
(
this
).
find
(
'dl'
).
slideUp
();
$
(
'.xbj_li'
).
find
(
'.li_right'
).
removeClass
(
'iconjuxing15'
).
addClass
(
'iconjuxing12'
)
}
$
})
});
//退出
$
(
".nav_end"
).
on
(
'click'
,
function
()
{
layer
.
confirm
(
'您确定退出系统嘛'
,
{
icon
:
3
,
title
:
'提示'
,
move
:
false
},
function
(
index
)
{
opt
.
getData
(
apis
.
authLogout
,
'POST'
,
null
,
function
(
res
)
{
if
(
res
.
err_code
==
0
)
{
Util
.
delCookie
(
'token'
,
cookieHostname
);
window
.
location
.
reload
();
}
else
{
layer
.
msg
(
res
.
err_msg
);
}
},
undefined
,
true
);
layer
.
close
(
index
);
})
});
return
this
;
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment