Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 21b973bc
authored
Nov 09, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
长按海报增加活动回调
1 parent
1c6c6811
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
components/CrowdfundPoster/CrowdfundPoster.js
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.js
components/CrowdfundPoster/CrowdfundPoster.js
View file @
21b973b
...
@@ -27,7 +27,9 @@ Component({
...
@@ -27,7 +27,9 @@ Component({
/**
/**
* 组件的初始数据
* 组件的初始数据
*/
*/
data
:
{},
data
:
{
_item_
:
null
},
/**
/**
* 组件的方法列表
* 组件的方法列表
...
@@ -40,6 +42,9 @@ Component({
...
@@ -40,6 +42,9 @@ Component({
item
.
posterUrl
&&
this
.
getImageInfo
(
item
)
item
.
posterUrl
&&
this
.
getImageInfo
(
item
)
},
},
check
(
n
)
{
check
(
n
)
{
this
.
setData
({
_item_
:
n
})
const
fileList
=
wx
.
$storage
.
get
(
'fileList'
)
||
[],
const
fileList
=
wx
.
$storage
.
get
(
'fileList'
)
||
[],
fn
=
wx
.
getFileSystemManager
(),
fn
=
wx
.
getFileSystemManager
(),
{
{
...
@@ -201,8 +206,11 @@ Component({
...
@@ -201,8 +206,11 @@ Component({
showAuth
:
true
showAuth
:
true
})
})
},
},
longpress
(){
longpress
()
{
this
.
triggerEvent
(
'longtouch'
)
let
{
_item_
}
=
this
.
data
this
.
triggerEvent
(
'longtouch'
,
_item_
)
}
}
}
}
})
})
\ No newline at end of file
\ No newline at end of file
packagesList/packageOutput/components/outputCrowdfund/outputCrowdfund.js
View file @
21b973b
...
@@ -189,8 +189,8 @@ Component({
...
@@ -189,8 +189,8 @@ Component({
}
}
},
},
/**长按海报 */
/**长按海报 */
longtouch
(){
longtouch
(
e
){
console
.
log
(
'长按海报'
)
console
.
log
(
'长按海报'
,
e
)
}
}
}
}
})
})
Write
Preview
Markdown
is supported
Attach a file
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 post a comment