Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hello_taobao
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
hello_taobao
Commits
a09756de
Commit
a09756de
authored
Sep 14, 2020
by
汪欢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
06e37c04
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
29 deletions
+11
-29
comhui_yuan.js
dist/components/comhui_yuan/comhui_yuan.js
+2
-1
pagehuo_dong_ye.js
dist/pages/pagehuo_dong_ye/pagehuo_dong_ye.js
+5
-24
pagejie_shu_ye.js
dist/pages/pagejie_shu_ye/pagejie_shu_ye.js
+4
-4
No files found.
dist/components/comhui_yuan/comhui_yuan.js
View file @
a09756de
...
@@ -44,7 +44,8 @@ Component({
...
@@ -44,7 +44,8 @@ Component({
enableTap
:
false
enableTap
:
false
})
})
this
.
props
.
onUserCredit
();
this
.
props
.
onUserCredit
();
commonToast
(
resp
.
message
);
// commonToast(resp.message);
commonToast
(
"购买成功"
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
props
.
onUserCredit
();
this
.
props
.
onUserCredit
();
},
500
);
},
500
);
...
...
dist/pages/pagehuo_dong_ye/pagehuo_dong_ye.js
View file @
a09756de
...
@@ -54,7 +54,6 @@ Page({
...
@@ -54,7 +54,6 @@ Page({
ruleData
:
''
,
ruleData
:
''
,
screentop
:
''
,
screentop
:
''
,
maskVisible
:
false
,
maskVisible
:
false
,
musicswitch
:
true
},
},
...
@@ -69,23 +68,7 @@ Page({
...
@@ -69,23 +68,7 @@ Page({
this
.
getOrderList
();
this
.
getOrderList
();
// this.screenAdapt();
// this.screenAdapt();
// this.addMusic();
// this.musicOpen();
},
musicOpen
(){
let
{
musicswitch
}
=
this
.
data
if
(
musicswitch
){
this
.
addMusic
();
this
.
addMusic
();
}
},
musicClose
(){
let
{
musicswitch
}
=
this
.
data
;
this
.
setData
({
musicswitch
:
true
})
},
},
// screenAdapt(){
// screenAdapt(){
...
@@ -397,17 +380,17 @@ Page({
...
@@ -397,17 +380,17 @@ Page({
}
}
let
lens
=
data
.
length
;
let
lens
=
data
.
length
;
for
(
let
i
=
lens
-
1
;
i
>=
0
;
i
--
)
{
for
(
let
i
=
0
;
i
<
lens
;
i
++
)
{
let
orderStyle
=
{
let
orderStyle
=
{
orderDay
:
{
orderDay
:
{
left
:
0
,
left
:
0
,
top
:
50
*
(
lens
-
i
)
+
'rpx'
,
top
:
50
*
i
+
'rpx'
,
position
:
'absolute'
,
position
:
'absolute'
,
color
:
'white'
,
color
:
'white'
,
},
},
orderFloor
:
{
orderFloor
:
{
left
:
120
+
'rpx'
,
left
:
120
+
'rpx'
,
top
:
50
*
(
lens
-
i
)
+
'rpx'
,
top
:
50
*
i
+
'rpx'
,
position
:
'absolute'
,
position
:
'absolute'
,
color
:
'white'
,
color
:
'white'
,
width
:
260
+
'rpx'
,
width
:
260
+
'rpx'
,
...
@@ -415,7 +398,7 @@ Page({
...
@@ -415,7 +398,7 @@ Page({
},
},
orderCredits
:
{
orderCredits
:
{
left
:
370
+
'rpx'
,
left
:
370
+
'rpx'
,
top
:
50
*
(
lens
-
i
)
+
'rpx'
,
top
:
50
*
i
+
'rpx'
,
position
:
'absolute'
,
position
:
'absolute'
,
color
:
'white'
,
color
:
'white'
,
width
:
140
+
'rpx'
,
width
:
140
+
'rpx'
,
...
@@ -507,9 +490,7 @@ Page({
...
@@ -507,9 +490,7 @@ Page({
});
});
let
musicUrl
=
null
;
let
musicUrl
=
null
;
if
(
resultSrc
[
0
])
musicUrl
=
resultSrc
[
0
].
url
;
if
(
resultSrc
[
0
])
musicUrl
=
resultSrc
[
0
].
url
;
playBgMusic
(
true
,
musicUrl
)
playBgMusic
(
true
,
musicUrl
)
console
.
log
(
'fuck music'
)
console
.
log
(
'fuck music'
)
}
}
});
});
\ No newline at end of file
dist/pages/pagejie_shu_ye/pagejie_shu_ye.js
View file @
a09756de
...
@@ -125,17 +125,17 @@ Page({
...
@@ -125,17 +125,17 @@ Page({
}
}
let
lens
=
data
.
length
;
let
lens
=
data
.
length
;
for
(
let
i
=
lens
-
1
;
i
>=
0
;
i
--
)
{
for
(
let
i
=
0
;
i
<
lens
;
i
++
)
{
let
orderStyle
=
{
let
orderStyle
=
{
orderDay
:
{
orderDay
:
{
left
:
0
,
left
:
0
,
top
:
50
*
(
lens
-
i
)
+
'rpx'
,
top
:
50
*
i
+
'rpx'
,
position
:
'absolute'
,
position
:
'absolute'
,
color
:
'white'
color
:
'white'
},
},
orderFloor
:
{
orderFloor
:
{
left
:
120
+
'rpx'
,
left
:
120
+
'rpx'
,
top
:
50
*
(
lens
-
i
)
+
'rpx'
,
top
:
50
*
i
+
'rpx'
,
position
:
'absolute'
,
position
:
'absolute'
,
color
:
'white'
,
color
:
'white'
,
width
:
260
+
'rpx'
,
width
:
260
+
'rpx'
,
...
@@ -143,7 +143,7 @@ Page({
...
@@ -143,7 +143,7 @@ Page({
},
},
orderCredits
:
{
orderCredits
:
{
left
:
370
+
'rpx'
,
left
:
370
+
'rpx'
,
top
:
50
*
(
lens
-
i
)
+
'rpx'
,
top
:
50
*
i
+
'rpx'
,
position
:
'absolute'
,
position
:
'absolute'
,
color
:
'white'
,
color
:
'white'
,
width
:
140
+
'rpx'
,
width
:
140
+
'rpx'
,
...
...
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