Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
a698766f
"src/main/vscode:/vscode.git/clone" did not exist on "bb7b7a527771751d13014fae00105931c367f78e"
Commit
a698766f
authored
Aug 10, 2018
by
Junling Bu
Browse files
fix[litemall-wx]: 商品足迹不能跳转商品
parent
0627802c
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-wx/pages/ucenter/footprint/footprint.js
View file @
a698766f
...
@@ -43,7 +43,8 @@ Page({
...
@@ -43,7 +43,8 @@ Page({
let
that
=
this
;
let
that
=
this
;
let
index
=
event
.
currentTarget
.
dataset
.
index
;
let
index
=
event
.
currentTarget
.
dataset
.
index
;
let
iindex
=
event
.
currentTarget
.
dataset
.
iindex
;
let
iindex
=
event
.
currentTarget
.
dataset
.
iindex
;
let
goodsId
=
this
.
data
.
footprintList
[
index
][
iindex
].
id
;
let
footprintId
=
this
.
data
.
footprintList
[
index
][
iindex
].
id
;
let
goodsId
=
this
.
data
.
footprintList
[
index
][
iindex
].
goodsId
;
var
touchTime
=
that
.
data
.
touchEnd
-
that
.
data
.
touchStart
;
var
touchTime
=
that
.
data
.
touchEnd
-
that
.
data
.
touchStart
;
console
.
log
(
touchTime
);
console
.
log
(
touchTime
);
//如果按下时间大于350为长按
//如果按下时间大于350为长按
...
@@ -53,7 +54,7 @@ Page({
...
@@ -53,7 +54,7 @@ Page({
content
:
'
要删除所选足迹?
'
,
content
:
'
要删除所选足迹?
'
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
if
(
res
.
confirm
)
{
if
(
res
.
confirm
)
{
util
.
request
(
api
.
FootprintDelete
,
{
footprintId
:
g
oo
ds
Id
},
'
POST
'
).
then
(
function
(
res
)
{
util
.
request
(
api
.
FootprintDelete
,
{
footprintId
:
f
oo
tprint
Id
},
'
POST
'
).
then
(
function
(
res
)
{
if
(
res
.
errno
===
0
)
{
if
(
res
.
errno
===
0
)
{
wx
.
showToast
({
wx
.
showToast
({
title
:
'
删除成功
'
,
title
:
'
删除成功
'
,
...
...
Write
Preview
Supports
Markdown
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