Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_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
new_taobao
Commits
84a3c2ba
Commit
84a3c2ba
authored
Oct 16, 2020
by
zhangjinzhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码暂存
parent
94517a24
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
pageshou_ye.js
taobao_mini/client/pages/pageshou_ye/pageshou_ye.js
+13
-9
No files found.
taobao_mini/client/pages/pageshou_ye/pageshou_ye.js
View file @
84a3c2ba
...
...
@@ -109,11 +109,11 @@ Page({
onLoad
(
query
)
{
if
(
query
)
{
if
(
query
.
open
Id
)
{
app
.
inviteId
=
query
.
open
Id
;
if
(
query
.
invite
Id
)
{
app
.
inviteId
=
query
.
invite
Id
;
}
if
(
query
.
shoes
t
ype
)
{
app
.
shoes
type
=
query
.
shoest
ype
;
if
(
query
.
shoes
T
ype
)
{
app
.
shoes
Type
=
query
.
shoesT
ype
;
}
}
this
.
setData
({
...
...
@@ -268,6 +268,9 @@ Page({
sysInfo
&&
sysInfo
.
windowHeight
||
document
.
body
.
clientHeight
,
FYGE
.
RENDERER_TYPE
.
CANVAS
);
var
con
=
stage
.
addChild
(
new
FYGE
.
Container
())
con
.
y
=
stage
.
viewRect
.
y
;
//stage初始化
stage
.
addEventListener
(
FYGE
.
Event
.
INIT_STAGE
,
()
=>
{
//添加个背景
...
...
@@ -281,7 +284,7 @@ Page({
//会进TextureCache
// FYGE.createTextureSheet(new FYGE.BaseTexture(image), res)
var
a
=
stage
.
addChild
(
new
FYGE
.
Lottie
(
whitedia
))
var
a
=
con
.
addChild
(
new
FYGE
.
Lottie
(
whitedia
))
a
.
play
();
cardani
=
a
;
//加个lottie
...
...
@@ -484,11 +487,11 @@ Page({
//进来提示助力
let
lselected
=
this
.
data
.
selected
;
let
actover
=
this
.
data
.
actover
;
if
(
!
actover
&&
lselected
==
0
&&
app
.
inviteId
&&
app
.
shoes
t
ype
)
{
//进来,提示助力弹窗
if
(
!
actover
&&
lselected
==
0
&&
app
.
inviteId
&&
app
.
shoes
T
ype
)
{
//进来,提示助力弹窗
let
myid
=
app
.
openId
;
let
inid
=
app
.
inviteId
;
if
(
myid
!=
inid
)
{
let
invitename
=
[
"jijia"
,
"jianzhen"
,
"erciyuan"
,
"shanhai"
,
"tiancheng"
][
Number
(
app
.
shoes
t
ype
)
-
1
];
let
invitename
=
[
"jijia"
,
"jianzhen"
,
"erciyuan"
,
"shanhai"
,
"tiancheng"
][
Number
(
app
.
shoes
T
ype
)
-
1
];
let
spimg
=
resList
[
invitename
+
"big"
].
url
;
this
.
addDialogsData
({
cardType
:
1
,
...
...
@@ -864,7 +867,8 @@ Page({
*/
async
checkIsVip
()
{
const
uvipinfo
=
await
API
.
getVipInfo
({
inviteId
:
app
.
inviteId
inviteId
:
app
.
inviteId
,
shoesType
:
app
.
shoesType
,
}).
catch
(
res
=>
{
commonToast
(
res
&&
res
.
message
);
})
||
{};
...
...
@@ -1443,7 +1447,7 @@ Page({
}
=
SHARE_CONFIG
;
// console.log('app.openId', app.openId, "shoesname", this.data.shoesName);
if
(
app
.
openId
)
{
path
=
'/pages/pageshou_ye/pageshou_ye'
+
'?
openId='
+
app
.
openId
+
"&shoest
ype="
+
this
.
data
.
shoesType
;
path
=
'/pages/pageshou_ye/pageshou_ye'
+
'?
inviteId='
+
app
.
openId
+
"&shoesT
ype="
+
this
.
data
.
shoesType
;
}
console
.
log
(
'path'
,
path
)
...
...
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