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
2f6b2855
Commit
2f6b2855
authored
Sep 12, 2020
by
汪欢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
share
parent
a2e572d7
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
65 additions
and
20 deletions
+65
-20
comgong_xi_huo_jiang.js
dist/components/comgong_xi_huo_jiang/comgong_xi_huo_jiang.js
+4
-1
comgou_mai_ji_lu32.js
dist/components/comgou_mai_ji_lu32/comgou_mai_ji_lu32.js
+5
-2
comhen_yi_han23.js
dist/components/comhen_yi_han23/comhen_yi_han23.js
+6
-1
comhui_yuan.js
dist/components/comhui_yuan/comhui_yuan.js
+5
-2
comwu_liu_dan_chuang.js
dist/components/comwu_liu_dan_chuang/comwu_liu_dan_chuang.js
+5
-2
comyou_xi_gui_ze27.js
dist/components/comyou_xi_gui_ze27/comyou_xi_gui_ze27.js
+5
-2
logisticsModal.js
dist/components/logisticsModal/logisticsModal.js
+5
-0
prizeModal.js
dist/components/prizeModal/prizeModal.js
+4
-1
myprize.js
dist/pages/myprize/myprize.js
+4
-0
pagejie_shu_ye.acss
dist/pages/pagejie_shu_ye/pagejie_shu_ye.acss
+2
-0
pagejie_shu_ye.axml
dist/pages/pagejie_shu_ye/pagejie_shu_ye.axml
+3
-3
pagejie_shu_ye.js
dist/pages/pagejie_shu_ye/pagejie_shu_ye.js
+13
-6
pageshou_ye.js
dist/pages/pageshou_ye/pageshou_ye.js
+4
-0
No files found.
dist/components/comgong_xi_huo_jiang/comgong_xi_huo_jiang.js
View file @
2f6b2855
'use strict'
;
'use strict'
;
import
{
SHARE_CONFIG
}
from
'/tbcc-sdk/lib/constants'
;
import
resList
from
'../../resconfig/resList'
;
import
resList
from
'../../resconfig/resList'
;
Component
({
Component
({
props
:
{},
props
:
{},
...
@@ -33,6 +33,9 @@ Component({
...
@@ -33,6 +33,9 @@ Component({
// resList: resList
// resList: resList
// });
// });
},
},
onShareAppMessage
()
{
return
SHARE_CONFIG
;
},
});
});
\ No newline at end of file
dist/components/comgou_mai_ji_lu32/comgou_mai_ji_lu32.js
View file @
2f6b2855
'use strict'
;
'use strict'
;
import
{
SHARE_CONFIG
}
from
'/tbcc-sdk/lib/constants'
;
import
resList
from
'../../resconfig/resList'
;
import
resList
from
'../../resconfig/resList'
;
import
API
from
'../../api'
import
API
from
'../../api'
Component
({
Component
({
...
@@ -64,6 +64,9 @@ Component({
...
@@ -64,6 +64,9 @@ Component({
didMount
(){
didMount
(){
this
.
getOrderListProps
();
this
.
getOrderListProps
();
}
},
onShareAppMessage
()
{
return
SHARE_CONFIG
;
},
});
});
\ No newline at end of file
dist/components/comhen_yi_han23/comhen_yi_han23.js
View file @
2f6b2855
'use strict'
;
'use strict'
;
import
OPEN_PRIZE_STATUS
from
'/utils/OPEN_PRIZE_STATUS'
;
import
OPEN_PRIZE_STATUS
from
'/utils/OPEN_PRIZE_STATUS'
;
import
resList
from
'../../resconfig/resList'
;
import
resList
from
'../../resconfig/resList'
;
import
{
SHARE_CONFIG
}
from
'/tbcc-sdk/lib/constants'
;
Component
({
Component
({
props
:
{},
props
:
{},
data
:
{
data
:
{
...
@@ -20,6 +21,10 @@ Component({
...
@@ -20,6 +21,10 @@ Component({
// this.setData({
// this.setData({
// resList: resList
// resList: resList
// });
// });
}
},
onShareAppMessage
()
{
return
SHARE_CONFIG
;
},
});
});
\ No newline at end of file
dist/components/comhui_yuan/comhui_yuan.js
View file @
2f6b2855
'use strict'
;
'use strict'
;
import
{
SHARE_CONFIG
}
from
'/tbcc-sdk/lib/constants'
;
import
resList
from
'../../resconfig/resList'
;
import
resList
from
'../../resconfig/resList'
;
import
API
from
'../../api'
import
API
from
'../../api'
const
app
=
getApp
();
const
app
=
getApp
();
...
@@ -75,6 +75,9 @@ Component({
...
@@ -75,6 +75,9 @@ Component({
didMount
()
{
didMount
()
{
let
{
vipCredits
}
=
this
.
props
;
let
{
vipCredits
}
=
this
.
props
;
console
.
log
(
this
.
props
,
'huiyuan'
)
console
.
log
(
this
.
props
,
'huiyuan'
)
}
},
onShareAppMessage
()
{
return
SHARE_CONFIG
;
},
});
});
\ No newline at end of file
dist/components/comwu_liu_dan_chuang/comwu_liu_dan_chuang.js
View file @
2f6b2855
'use strict'
;
'use strict'
;
import
{
SHARE_CONFIG
}
from
'/tbcc-sdk/lib/constants'
;
import
resList
from
'../../resconfig/resList'
;
import
resList
from
'../../resconfig/resList'
;
Component
({
Component
({
props
:
{},
props
:
{},
...
@@ -10,6 +10,9 @@ Component({
...
@@ -10,6 +10,9 @@ Component({
this
.
setData
({
this
.
setData
({
resList
:
resList
resList
:
resList
});
});
}
},
onShareAppMessage
()
{
return
SHARE_CONFIG
;
},
});
});
\ No newline at end of file
dist/components/comyou_xi_gui_ze27/comyou_xi_gui_ze27.js
View file @
2f6b2855
'use strict'
;
'use strict'
;
import
{
SHARE_CONFIG
}
from
'/tbcc-sdk/lib/constants'
;
import
resList
from
'../../resconfig/resList'
;
import
resList
from
'../../resconfig/resList'
;
Component
({
Component
({
props
:
{},
props
:
{},
...
@@ -17,6 +17,9 @@ Component({
...
@@ -17,6 +17,9 @@ Component({
// this.setData({
// this.setData({
// resList: resList
// resList: resList
// });
// });
}
},
onShareAppMessage
()
{
return
SHARE_CONFIG
;
},
});
});
\ No newline at end of file
dist/components/logisticsModal/logisticsModal.js
View file @
2f6b2855
import
{
SHARE_CONFIG
}
from
'/tbcc-sdk/lib/constants'
;
const
app
=
getApp
();
const
app
=
getApp
();
const
{
tbcc
}
=
app
;
const
{
tbcc
}
=
app
;
const
{
commonToast
}
=
tbcc
.
tb
;
const
{
commonToast
}
=
tbcc
.
tb
;
...
@@ -42,4 +44,7 @@ Component({
...
@@ -42,4 +44,7 @@ Component({
});
});
}
}
},
},
onShareAppMessage
()
{
return
SHARE_CONFIG
;
},
});
});
dist/components/prizeModal/prizeModal.js
View file @
2f6b2855
import
{
SHARE_CONFIG
}
from
'/tbcc-sdk/lib/constants'
;
const
app
=
getApp
();
const
app
=
getApp
();
const
{
tbcc
}
=
app
;
const
{
tbcc
}
=
app
;
const
{
commonToast
,
navigateToOutside
,
getUserAddress
,
setClipboard
}
=
tbcc
.
tb
;
const
{
commonToast
,
navigateToOutside
,
getUserAddress
,
setClipboard
}
=
tbcc
.
tb
;
...
@@ -23,6 +23,9 @@ Component({
...
@@ -23,6 +23,9 @@ Component({
didMount
()
{
},
didMount
()
{
},
didUpdate
()
{
},
didUpdate
()
{
},
didUnmount
()
{
},
didUnmount
()
{
},
onShareAppMessage
()
{
return
SHARE_CONFIG
;
},
methods
:
{
methods
:
{
//领取奖品
//领取奖品
handleClick
(
e
)
{
handleClick
(
e
)
{
...
...
dist/pages/myprize/myprize.js
View file @
2f6b2855
'use strict'
;
'use strict'
;
import
API
from
"/api"
;
import
API
from
"/api"
;
import
{
SHARE_CONFIG
}
from
'/tbcc-sdk/lib/constants'
;
const
app
=
getApp
();
const
app
=
getApp
();
const
{
tbcc
}
=
app
;
const
{
tbcc
}
=
app
;
const
{
commonToast
,
navigateToOutside
,
getUserAddress
,
setClipboard
}
=
tbcc
.
tb
;
const
{
commonToast
,
navigateToOutside
,
getUserAddress
,
setClipboard
}
=
tbcc
.
tb
;
...
@@ -41,6 +42,9 @@ Page({
...
@@ -41,6 +42,9 @@ Page({
flag
=
false
flag
=
false
this
.
getMyPrize
();
this
.
getMyPrize
();
},
},
onShareAppMessage
()
{
return
SHARE_CONFIG
;
},
// 到期时间
// 到期时间
getEndTime
(
prizeList
=
[])
{
getEndTime
(
prizeList
=
[])
{
if
(
!
prizeList
||
!
prizeList
.
length
)
return
null
if
(
!
prizeList
||
!
prizeList
.
length
)
return
null
...
...
dist/pages/pagejie_shu_ye/pagejie_shu_ye.acss
View file @
2f6b2855
...
@@ -113,6 +113,7 @@
...
@@ -113,6 +113,7 @@
opacity: 0.70196078;
opacity: 0.70196078;
left: 131rpx;
left: 131rpx;
top: 1337rpx;
top: 1337rpx;
text-align: center;
position: absolute;
position: absolute;
font-size: 22rpx;
font-size: 22rpx;
color: #ffffff;
color: #ffffff;
...
@@ -500,6 +501,7 @@
...
@@ -500,6 +501,7 @@
opacity: 1;
opacity: 1;
/* left: 10rpx; */
/* left: 10rpx; */
position: absolute;
position: absolute;
overflow-x:hidden;
}
}
.jie_shu_ye .gou_mai_ji_lu46 .zu13447 .tu_ceng09_yue15_ri56 {
.jie_shu_ye .gou_mai_ji_lu46 .zu13447 .tu_ceng09_yue15_ri56 {
...
...
dist/pages/pagejie_shu_ye/pagejie_shu_ye.axml
View file @
2f6b2855
...
@@ -11,10 +11,10 @@
...
@@ -11,10 +11,10 @@
<label class="tu_ceng2271">00</label>
<label class="tu_ceng2271">00</label>
<label class="tu_ceng22_kao_bei370">00</label>
<label class="tu_ceng22_kao_bei370">00</label>
</view>
</view>
<
label
class="mai_zhongn20n50n80_lou_ceng_de_yong_hu_ke_huo_de_jiang_pinn_dai_biao_gai_lou_jie_shu_shi_de_zong_lou_ceng">
<
view
class="mai_zhongn20n50n80_lou_ceng_de_yong_hu_ke_huo_de_jiang_pinn_dai_biao_gai_lou_jie_shu_shi_de_zong_lou_ceng">
<!-- 买中N*20%,N*50%,N*80%楼层的用户可获得奖品 N代表盖楼结束时的总楼层 -->
<!-- 买中N*20%,N*50%,N*80%楼层的用户可获得奖品 N代表盖楼结束时的总楼层 -->
买中<label a:for="{{list}}" a:key="i" a:for-item="items">
{{totalFloor}}*{{items.probability}}
</label>楼层的用户可获得奖品 N代表盖楼结束时的总楼层
买中<label a:for="{{list}}" a:key="i" a:for-item="items">
N*{{items.probability}}%,
</label>楼层的用户可获得奖品 N代表盖楼结束时的总楼层
</
label
>
</
view
>
<view class="zhong_jiang_ming_dan">
<view class="zhong_jiang_ming_dan">
<image class="di953" src={{resList['e701381d-fb5a-4b6a-8fc1-71aedea9416d'].url}} />
<image class="di953" src={{resList['e701381d-fb5a-4b6a-8fc1-71aedea9416d'].url}} />
<view class="zhong_jiang_zhuang_tai">
<view class="zhong_jiang_zhuang_tai">
...
...
dist/pages/pagejie_shu_ye/pagejie_shu_ye.js
View file @
2f6b2855
...
@@ -2,6 +2,7 @@
...
@@ -2,6 +2,7 @@
import
resList
from
'../../resconfig/resList'
;
import
resList
from
'../../resconfig/resList'
;
import
API
from
'../../api'
;
import
API
from
'../../api'
;
import
{
SHARE_CONFIG
}
from
'/tbcc-sdk/lib/constants'
;
Page
({
Page
({
data
:
{
data
:
{
...
@@ -35,7 +36,8 @@ Page({
...
@@ -35,7 +36,8 @@ Page({
if
(
prize
)
{
if
(
prize
)
{
this
.
setData
({
this
.
setData
({
prizeVisible
:
true
,
prizeVisible
:
true
,
myPrize
:
prize
myPrize
:
prize
,
maskVisible
:
true
,
})
})
...
@@ -44,7 +46,8 @@ Page({
...
@@ -44,7 +46,8 @@ Page({
this
.
setData
({
this
.
setData
({
noprizeVisible
:
true
,
noprizeVisible
:
true
,
openPrizeStatus
:
openPrizeStatus
,
openPrizeStatus
:
openPrizeStatus
,
myPrize
:
prize
myPrize
:
prize
,
maskVisible
:
true
})
})
}
}
}
}
...
@@ -67,6 +70,9 @@ Page({
...
@@ -67,6 +70,9 @@ Page({
this
.
getOrderList
();
this
.
getOrderList
();
this
.
getPrizeMenu
();
this
.
getPrizeMenu
();
},
},
onShareAppMessage
()
{
return
SHARE_CONFIG
;
},
onPrizeBtnClick
()
{
onPrizeBtnClick
()
{
my
.
navigateTo
({
my
.
navigateTo
({
...
@@ -177,14 +183,15 @@ Page({
...
@@ -177,14 +183,15 @@ Page({
left
:
0
,
left
:
0
,
top
:
40
*
i
+
'rpx'
,
top
:
40
*
i
+
'rpx'
,
position
:
'absolute'
,
position
:
'absolute'
,
color
:
'white'
color
:
'white'
,
},
},
prizeuser
:
{
prizeuser
:
{
left
:
20
0
+
'rpx'
,
left
:
18
0
+
'rpx'
,
top
:
40
*
i
+
'rpx'
,
top
:
40
*
i
+
'rpx'
,
position
:
'absolute'
,
position
:
'absolute'
,
color
:
'white'
,
color
:
'white'
,
width
:
100
+
'rpx'
width
:
120
+
'rpx'
,
textAlign
:
'center'
},
},
prizeimage
:
{
prizeimage
:
{
left
:
400
+
'rpx'
,
left
:
400
+
'rpx'
,
...
@@ -216,7 +223,7 @@ Page({
...
@@ -216,7 +223,7 @@ Page({
API
.
getActivityBaseInfoById
().
then
((
res
)
=>
{
API
.
getActivityBaseInfoById
().
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
data
){
if
(
res
.
success
&&
res
.
data
){
let
data
=
res
.
data
;
let
data
=
res
.
data
;
let
list
=
res
.
list
;
let
list
=
data
.
list
;
let
totalFloor
=
res
.
totalFloor
;
let
totalFloor
=
res
.
totalFloor
;
this
.
setData
({
this
.
setData
({
ruleData
:
res
.
data
.
rule
,
ruleData
:
res
.
data
.
rule
,
...
...
dist/pages/pageshou_ye/pageshou_ye.js
View file @
2f6b2855
...
@@ -4,6 +4,7 @@ import resList from '../../resconfig/resList'; //import API from '../../api';
...
@@ -4,6 +4,7 @@ import resList from '../../resconfig/resList'; //import API from '../../api';
import
API
from
'../../api'
;
import
API
from
'../../api'
;
import
isEnd
from
'/utils/isEnd'
;
import
isEnd
from
'/utils/isEnd'
;
import
OPEN_PRIZE_STATUS
from
'/utils/OPEN_PRIZE_STATUS'
;
import
OPEN_PRIZE_STATUS
from
'/utils/OPEN_PRIZE_STATUS'
;
import
{
SHARE_CONFIG
}
from
'/tbcc-sdk/lib/constants'
;
let
isAuth
=
0
;
let
isAuth
=
0
;
const
app
=
getApp
();
const
app
=
getApp
();
const
{
tbcc
}
=
app
;
const
{
tbcc
}
=
app
;
...
@@ -30,6 +31,9 @@ Page({
...
@@ -30,6 +31,9 @@ Page({
this
.
getAuth
();
this
.
getAuth
();
console
.
info
(
`Page onLoad with query:
${
JSON
.
stringify
(
query
)}
`
);
console
.
info
(
`Page onLoad with query:
${
JSON
.
stringify
(
query
)}
`
);
},
},
onShareAppMessage
()
{
return
SHARE_CONFIG
;
},
gotoVipPage
()
{
gotoVipPage
()
{
console
.
log
(
'isAuth'
,
isAuth
);
console
.
log
(
'isAuth'
,
isAuth
);
if
(
isAuth
===
0
)
{
if
(
isAuth
===
0
)
{
...
...
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