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
e00cf6e7
Commit
e00cf6e7
authored
Sep 08, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
afe9c21c
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
53 additions
and
27 deletions
+53
-27
index$.web.js
dist/.tea/entryFiles-development/index$.web.js
+3
-1
index$.worker.js
dist/.tea/entryFiles-development/index$.worker.js
+19
-14
comhen_yi_han23.axml
dist/components/comhen_yi_han23/comhen_yi_han23.axml
+2
-0
comhen_yi_han23.js
dist/components/comhen_yi_han23/comhen_yi_han23.js
+10
-6
pagejie_shu_ye.axml
dist/pages/pagejie_shu_ye/pagejie_shu_ye.axml
+2
-1
pagejie_shu_ye.js
dist/pages/pagejie_shu_ye/pagejie_shu_ye.js
+15
-1
pagejie_shu_ye.json
dist/pages/pagejie_shu_ye/pagejie_shu_ye.json
+1
-3
pageshou_ye.js
dist/pages/pageshou_ye/pageshou_ye.js
+1
-1
No files found.
dist/.tea/entryFiles-development/index$.web.js
View file @
e00cf6e7
...
...
@@ -4,10 +4,12 @@ require('./config$');
require
(
'../../components/comyou_xi_gui_ze27/comyou_xi_gui_ze27?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43'
);
require
(
'../../components/comgou_mai_ji_lu32/comgou_mai_ji_lu32?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43'
);
require
(
'../../components/comhui_yuan/comhui_yuan?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43'
);
require
(
'../../components/comgong_xi_huo_jiang/comgong_xi_huo_jiang?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43'
);
require
(
'../../components/comhen_yi_han23/comhen_yi_han23?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43'
);
require
(
'../../components/logisticsModal/logisticsModal?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43'
);
require
(
'../../components/prizeModal/prizeModal?hash=951cb6a7fcdd2a5332763295aa08b4f86b6fd2e1'
);
require
(
'../../pages/pageshou_ye/pageshou_ye?hash=f6ca2530b12f33cb12545f5a792a8e73d47ec084'
);
require
(
'../../pages/pagehuo_dong_ye/pagehuo_dong_ye?hash=90465399d3364a1028b01344ac9aa9dacad0f7e0'
);
require
(
'../../pages/pagejie_shu_ye/pagejie_shu_ye?hash=
32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68
'
);
require
(
'../../pages/pagejie_shu_ye/pagejie_shu_ye?hash=
1959bae1d571bb9ed770cf51fdf6090f42925135
'
);
require
(
'../../pages/myprize/myprize?hash=74b7edb09b315961bb13059a83b72836912bfd2c'
);
require
(
'../../pages/pagewo_de_jiang_pin_ye_mian1/pagewo_de_jiang_pin_ye_mian1?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68'
);
dist/.tea/entryFiles-development/index$.worker.js
View file @
e00cf6e7
...
...
@@ -5,19 +5,22 @@ self.__appxInited = 1;
require
(
'./config$'
);
var
AFAppX
=
self
.
AFAppX
.
getAppContext
?
self
.
AFAppX
.
getAppContext
().
AFAppX
:
self
.
AFAppX
;
self
.
getCurrentPages
=
AFAppX
.
getCurrentPages
;
self
.
getApp
=
AFAppX
.
getApp
;
self
.
Page
=
AFAppX
.
Page
;
self
.
App
=
AFAppX
.
App
;
self
.
my
=
AFAppX
.
bridge
||
AFAppX
.
abridge
;
self
.
abridge
=
self
.
my
;
self
.
Component
=
AFAppX
.
WorkerComponent
||
function
(){};
self
.
$global
=
AFAppX
.
$global
;
self
.
requirePlugin
=
AFAppX
.
requirePlugin
;
if
(
navigator
.
userAgent
&&
(
navigator
.
userAgent
.
indexOf
(
'LyraVM'
)
>
0
||
navigator
.
userAgent
.
indexOf
(
'AlipayIDE'
)
>
0
)
)
{
var
AFAppX
=
self
.
AFAppX
.
getAppContext
?
self
.
AFAppX
.
getAppContext
().
AFAppX
:
self
.
AFAppX
;
}
else
{
importScripts
(
'https://appx/af-appx.worker.min.js'
);
var
AFAppX
=
self
.
AFAppX
;
}
self
.
getCurrentPages
=
AFAppX
.
getCurrentPages
;
self
.
getApp
=
AFAppX
.
getApp
;
self
.
Page
=
AFAppX
.
Page
;
self
.
App
=
AFAppX
.
App
;
self
.
my
=
AFAppX
.
bridge
||
AFAppX
.
abridge
;
self
.
abridge
=
self
.
my
;
self
.
Component
=
AFAppX
.
WorkerComponent
||
function
(){};
self
.
$global
=
AFAppX
.
$global
;
self
.
requirePlugin
=
AFAppX
.
requirePlugin
;
if
(
AFAppX
.
registerApp
)
{
AFAppX
.
registerApp
({
...
...
@@ -32,11 +35,13 @@ require('../../app');
require
(
'../../components/comyou_xi_gui_ze27/comyou_xi_gui_ze27?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43'
);
require
(
'../../components/comgou_mai_ji_lu32/comgou_mai_ji_lu32?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43'
);
require
(
'../../components/comhui_yuan/comhui_yuan?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43'
);
require
(
'../../components/comgong_xi_huo_jiang/comgong_xi_huo_jiang?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43'
);
require
(
'../../components/comhen_yi_han23/comhen_yi_han23?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43'
);
require
(
'../../components/logisticsModal/logisticsModal?hash=05d2a9730dd6009bf9446182f9c985f40f8c0f43'
);
require
(
'../../components/prizeModal/prizeModal?hash=951cb6a7fcdd2a5332763295aa08b4f86b6fd2e1'
);
require
(
'../../pages/pageshou_ye/pageshou_ye?hash=f6ca2530b12f33cb12545f5a792a8e73d47ec084'
);
require
(
'../../pages/pagehuo_dong_ye/pagehuo_dong_ye?hash=90465399d3364a1028b01344ac9aa9dacad0f7e0'
);
require
(
'../../pages/pagejie_shu_ye/pagejie_shu_ye?hash=
32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68
'
);
require
(
'../../pages/pagejie_shu_ye/pagejie_shu_ye?hash=
1959bae1d571bb9ed770cf51fdf6090f42925135
'
);
require
(
'../../pages/myprize/myprize?hash=74b7edb09b315961bb13059a83b72836912bfd2c'
);
require
(
'../../pages/pagewo_de_jiang_pin_ye_mian1/pagewo_de_jiang_pin_ye_mian1?hash=32d7d2807ed4e666ef03b4b3fe8c38ecf2e34e68'
);
}
...
...
dist/components/comhen_yi_han23/comhen_yi_han23.axml
View file @
e00cf6e7
...
...
@@ -10,4 +10,6 @@
<image class="ca_jian_er_guo" src={{resList['bbeaaf95-4954-46ad-b1aa-e8ae55c9e2b1'].url}} />
</view>
<image class="an_niu30" src={{resList['92e51b4c-be5e-4459-8379-6a2bc1f2a3b2'].url}} />
<text a:if="{{openPrizeStatus==OPEN_PRIZE_STATUS.NOT_OPEN}}">不开奖</text>
<text a:if="{{openPrizeStatus!=OPEN_PRIZE_STATUS.NOT_OPEN}}">未中奖</text>
</view>
\ No newline at end of file
dist/components/comhen_yi_han23/comhen_yi_han23.js
View file @
e00cf6e7
'use strict'
;
import
OPEN_PRIZE_STATUS
from
'/utils/OPEN_PRIZE_STATUS'
;
import
resList
from
'../../resconfig/resList'
;
Component
({
Component
({
props
:
{},
data
:
{},
data
:
{
resList
:
resList
,
OPEN_PRIZE_STATUS
:
OPEN_PRIZE_STATUS
},
methods
:
{},
onInit
(
props
)
{
this
.
setData
({
resList
:
resList
});
console
.
log
(
'fuck'
,
props
)
// this.setData({
// resList: resList
// });
}
});
\ No newline at end of file
dist/pages/pagejie_shu_ye/pagejie_shu_ye.axml
View file @
e00cf6e7
...
...
@@ -92,4 +92,5 @@
</view>
</view>
</view>
<prize-modal></prize-modal>
\ No newline at end of file
<prize-modal a:if="{{prizeVisible}}" ></prize-modal>
<noprize-modal a:if="{{noprizeVisible}}" openPrizeStatus="{{openPrizeStatus}}" ></noprize-modal>
\ No newline at end of file
dist/pages/pagejie_shu_ye/pagejie_shu_ye.js
View file @
e00cf6e7
...
...
@@ -5,6 +5,9 @@ import API from '../../api';
Page
({
data
:
{
prizeVisible
:
false
,
noprizeVisible
:
false
,
openPrizeStatus
:
0
,
// 购买记录列表
orderList
:[],
// 中奖名单
...
...
@@ -12,7 +15,18 @@ Page({
},
onLoad
(
props
)
{
console
.
log
(
'fuck'
,
JSON
.
parse
(
props
.
prize
))
console
.
log
(
'fuck'
,
JSON
.
parse
(
props
.
data
))
const
{
prize
,
openPrizeStatus
,
isShowPrize
}
=
JSON
.
parse
(
props
.
data
);
if
(
isShowPrize
)
{
if
(
prize
)
{
this
.
setData
({
prizeVisible
:
true
})
}
else
{
this
.
setData
({
noprizeVisible
:
true
,
openPrizeStatus
:
openPrizeStatus
})
}
}
this
.
setData
({
resList
:
resList
});
...
...
dist/pages/pagejie_shu_ye/pagejie_shu_ye.json
View file @
e00cf6e7
{
"usingComponents"
:
{
"rule-modal"
:
"/components/comyou_xi_gui_ze27/comyou_xi_gui_ze27"
,
"prize-modal"
:
"/components/comgong_xi_huo_jiang/comgong_xi_huo_jiang"
,
"noprize-modal"
:
"/components/comhen_yi_han23/comhen_yi_han23"
,
"noprize2-modal"
:
"/components/comhui_yuan/comhui_yuan"
"noprize-modal"
:
"/components/comhen_yi_han23/comhen_yi_han23"
}
}
\ No newline at end of file
dist/pages/pageshou_ye/pageshou_ye.js
View file @
e00cf6e7
...
...
@@ -63,7 +63,7 @@ Page({
if
(
vipInfo
.
isVip
&&
isUserJoin
)
{
if
(
isEnd
(
endTime
)
&&
(
openPrizeStatus
==
OPEN_PRIZE_STATUS
.
SUCCESS
||
openPrizeStatus
==
OPEN_PRIZE_STATUS
.
NOT_OPEN
))
{
//活动结束,开奖成功or不开奖
my
.
redirectTo
({
url
:
'/pages/pagejie_shu_ye/pagejie_shu_ye?
prize
='
+
JSON
.
stringify
({
prize
,
openPrizeStatus
,
isShowPrize
})
});
my
.
redirectTo
({
url
:
'/pages/pagejie_shu_ye/pagejie_shu_ye?
data
='
+
JSON
.
stringify
({
prize
,
openPrizeStatus
,
isShowPrize
})
});
}
else
{
my
.
redirectTo
({
url
:
'/pages/pagehuo_dong_ye/pagehuo_dong_ye'
});
}
...
...
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