Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-luck
·
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
Plain Diff
Browse Files
Authored by
陈峰
2019-07-03 11:57:13 +0800
Commit
7f7834d4b6791398229d4a26fe8a89bd737c6946
2 parents
ff6467fb
c9f5e001
Merge branch 'feature/3158-revise' into 'release/6.8.7'
样式调整以及定时器销毁处理 问题修改 See merge request
!18
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
pages/zeroSell/components/product-item-status.js
pages/zeroSell/index.wxss
pages/zeroSell/components/product-item-status.js
View file @
7f7834d
import
router
from
'../router/router'
;
let
timer
;
Component
({
properties
:
{
product
:
{
...
...
@@ -17,7 +19,7 @@ Component({
});
//放大缩小循环动画
var
next
=
true
;
setInterval
(
function
()
{
timer
=
setInterval
(
function
()
{
if
(
next
)
{
animation
.
scale
(
1.05
).
step
()
next
=
!
next
;
...
...
@@ -30,6 +32,10 @@ Component({
})
}.
bind
(
this
),
400
)
},
detached
:
function
()
{
clearInterval
(
timer
);
},
methods
:
{
onClick
()
{
router
.
go
(
'detail'
,
{
...
...
pages/zeroSell/index.wxss
View file @
7f7834d
...
...
@@ -107,5 +107,10 @@ page {
}
.my-draw-code-text {
font-size: 26rpx;
font-family: PingFangSC-Medium;
font-weight: bold;
font-size: 28rpx;
color: #444444;
letter-spacing: 0;
text-align: center;
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment