Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
uedxwg
9 years ago
Commit
bba7cc34bce9d6e016322cc9b5490fd2a9d6c738
1 parent
65fc888b
update 添加删除提示 cby 赵彪
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
static/js/me/browse-record.js
yohobuy/m.yohobuy.com/application/controllers/Home.php
static/js/me/browse-record.js
View file @
bba7cc3
...
...
@@ -99,6 +99,7 @@ $page.on('touchstart', '.del-icon', function() {
rightBtnText
:
'确定'
}
},
function
()
{
$
.
ajax
({
type
:
'GET'
,
url
:
'/home/delRecord'
,
...
...
@@ -107,7 +108,12 @@ $page.on('touchstart', '.del-icon', function() {
},
success
:
function
(
data
)
{
if
(
data
.
code
===
200
)
{
window
.
history
.
go
(
0
);
dialog
.
showDialog
({
dialogText
:
'删除浏览记录成功'
,
autoHide
:
true
,
fast
:
true
});
setTimeout
(
function
(){
window
.
history
.
go
(
0
);},
1000
);
}
},
complete
:
function
()
{
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
bba7cc3
...
...
@@ -181,7 +181,8 @@ class HomeController extends AbstractAction
$this
->
setNavHeader
(
'浏览记录'
,
true
,
SITE_MAIN
);
$this
->
_view
->
display
(
'browse-record'
,
array
(
'browseRecordPage'
=>
true
'browseRecordPage'
=>
true
,
'pageFooter'
=>
true
));
}
...
...
Please
register
or
login
to post a comment