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
a4a69afc
Commit
a4a69afc
authored
Sep 12, 2020
by
汪欢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f72d8fd7
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
68 additions
and
36 deletions
+68
-36
comgong_xi_huo_jiang.js
dist/components/comgong_xi_huo_jiang/comgong_xi_huo_jiang.js
+1
-0
pagehuo_dong_ye.acss
dist/pages/pagehuo_dong_ye/pagehuo_dong_ye.acss
+33
-16
pagehuo_dong_ye.axml
dist/pages/pagehuo_dong_ye/pagehuo_dong_ye.axml
+2
-1
pagehuo_dong_ye.js
dist/pages/pagehuo_dong_ye/pagehuo_dong_ye.js
+3
-2
pagejie_shu_ye.acss
dist/pages/pagejie_shu_ye/pagejie_shu_ye.acss
+17
-13
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
+10
-3
No files found.
dist/components/comgong_xi_huo_jiang/comgong_xi_huo_jiang.js
View file @
a4a69afc
...
...
@@ -24,6 +24,7 @@ Component({
}
});
this
.
handleClose
();
}
},
...
...
dist/pages/pagehuo_dong_ye/pagehuo_dong_ye.acss
View file @
a4a69afc
...
...
@@ -85,41 +85,45 @@
position: absolute;
}
.huo_dong_ye .dao_ji_shi87 .tu_ceng2291 {
width:
35
rpx;
height:
25
rpx;
width:
50
rpx;
height:
40
rpx;
opacity: 1;
left:
1
5rpx;
left: 5rpx;
top: 40rpx;
text-align: center;
position: absolute;
font-size: 25rpx;
color: #ffffff;
}
.huo_dong_ye .dao_ji_shi87 .tu_ceng22_kao_bei90 {
width:
35
rpx;
height:
25
rpx;
width:
50
rpx;
height:
40
rpx;
opacity: 1;
left: 1
3
5rpx;
left: 1
2
5rpx;
top: 40rpx;
text-align: center;
position: absolute;
font-size: 25rpx;
color: #ffffff;
}
.huo_dong_ye .dao_ji_shi87 .tu_ceng2289 {
width:
35
rpx;
height:
25
rpx;
width:
50
rpx;
height:
40
rpx;
opacity: 1;
left: 24
8
rpx;
left: 24
0
rpx;
top: 40rpx;
text-align: center;
position: absolute;
font-size: 25rpx;
color: #ffffff;
}
.huo_dong_ye .dao_ji_shi87 .tu_ceng22_kao_bei388 {
width:
35
rpx;
height:
25
rpx;
width:
50
rpx;
height:
40
rpx;
opacity: 1;
left: 3
6
0rpx;
left: 3
5
0rpx;
top: 40rpx;
text-align: center;
position: absolute;
font-size: 25rpx;
color: #ffffff;
...
...
@@ -308,13 +312,15 @@
}
.huo_dong_ye .xxxxxx {
width: 120rpx;
height:
36
rpx;
height:
40
rpx;
opacity: 1;
left: 3
4
5rpx;
left: 3
1
5rpx;
top: 455rpx;
position: absolute;
font-size:
28
rpx;
font-size:
32
rpx;
color: #e7210a;
font-weight: 600;
text-align: center;
}
.huo_dong_ye .ji_fen {
width: 371rpx;
...
...
@@ -339,7 +345,7 @@
position: absolute;
}
.huo_dong_ye .ji_fen .dang_qian_ji_fenxxxx {
width: 1
72
rpx;
width: 1
10
rpx;
height: 25rpx;
opacity: 1;
left: 30rpx;
...
...
@@ -348,3 +354,14 @@
font-size: 24rpx;
color: #5392cc;
}
.huo_dong_ye .ji_fen .current_credits {
width: 80rpx;
height: 25rpx;
opacity: 1;
left: 140rpx;
top: 5rpx;
text-align: center;
position: absolute;
font-size: 24rpx;
color: #5392cc;
}
dist/pages/pagehuo_dong_ye/pagehuo_dong_ye.axml
View file @
a4a69afc
...
...
@@ -52,7 +52,8 @@
<view class="ji_fen">
<image class="di111" src={{resList['8cb47bc2-bc31-4713-86ba-c8738367cb82'].url}} />
<image class="zu3" onTap="orderRecord" src={{resList['0c7c2470-690e-43df-aa7e-ed9aa99fb859'].url}} />
<label class="dang_qian_ji_fenxxxx">当前积分:{{userCredits}}</label>
<label class="dang_qian_ji_fenxxxx">当前积分:</label>
<label class="current_credits">{{userCredits}}</label>
</view>
</view>
...
...
dist/pages/pagehuo_dong_ye/pagehuo_dong_ye.js
View file @
a4a69afc
...
...
@@ -162,7 +162,7 @@ Page({
grade
,
gradeName
},
maskVisible
:
true
})
// 判断活动时间
let
currentTime
=
new
Date
().
getTime
();
...
...
@@ -176,7 +176,8 @@ Page({
// 可以买
// 显示
this
.
setData
({
orderNowModalVisible
:
true
orderNowModalVisible
:
true
,
maskVisible
:
true
})
}
else
{
commonToast
(
'当前最多可购买'
+
reduced
+
'层'
);
...
...
dist/pages/pagejie_shu_ye/pagejie_shu_ye.acss
View file @
a4a69afc
...
...
@@ -64,41 +64,45 @@
position: absolute;
}
.jie_shu_ye .dao_ji_shi69 .tu_ceng2273 {
width:
35
rpx;
height:
25
rpx;
width:
50
rpx;
height:
40
rpx;
opacity: 1;
left:
1
5rpx;
left: 5rpx;
top: 40rpx;
text-align: center;
position: absolute;
font-size: 25rpx;
color: #ffffff;
}
.jie_shu_ye .dao_ji_shi69 .tu_ceng22_kao_bei72 {
width:
35
rpx;
height:
25
rpx;
width:
50
rpx;
height:
40
rpx;
opacity: 1;
left: 1
3
5rpx;
left: 1
2
5rpx;
top: 40rpx;
text-align: center;
position: absolute;
font-size: 25rpx;
color: #ffffff;
}
.jie_shu_ye .dao_ji_shi69 .tu_ceng2271 {
width:
35
rpx;
height:
25
rpx;
width:
50
rpx;
height:
40
rpx;
opacity: 1;
left: 24
8
rpx;
left: 24
0
rpx;
top: 40rpx;
text-align: center;
position: absolute;
font-size: 25rpx;
color: #ffffff;
}
.jie_shu_ye .dao_ji_shi69 .tu_ceng22_kao_bei370 {
width:
35
rpx;
height:
25
rpx;
width:
50
rpx;
height:
40
rpx;
opacity: 1;
left: 3
6
0rpx;
left: 3
5
0rpx;
top: 40rpx;
text-align: center;
position: absolute;
font-size: 25rpx;
color: #ffffff;
...
...
@@ -110,7 +114,7 @@
left: 131rpx;
top: 1337rpx;
position: absolute;
font-size:
13.68653
rpx;
font-size:
22
rpx;
color: #ffffff;
}
.jie_shu_ye .zhong_jiang_ming_dan {
...
...
dist/pages/pagejie_shu_ye/pagejie_shu_ye.axml
View file @
a4a69afc
...
...
@@ -12,7 +12,8 @@
<label class="tu_ceng22_kao_bei370">00</label>
</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">
买中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>
<view class="zhong_jiang_ming_dan">
<image class="di953" src={{resList['e701381d-fb5a-4b6a-8fc1-71aedea9416d'].url}} />
...
...
dist/pages/pagejie_shu_ye/pagejie_shu_ye.js
View file @
a4a69afc
...
...
@@ -19,7 +19,9 @@ Page({
// myPrizeBtnVisible: false,
ruleData
:
''
,
myPrize
:
''
,
maskVisible
:
false
maskVisible
:
false
,
list
:
''
,
totalFloor
:
''
},
onLoad
(
props
)
{
...
...
@@ -212,9 +214,14 @@ Page({
// 获取规则接口
async
getRuleSource
(){
API
.
getActivityBaseInfoById
().
then
((
res
)
=>
{
if
(
res
.
success
){
if
(
res
.
success
&&
res
.
data
){
let
data
=
res
.
data
;
let
list
=
res
.
list
;
let
totalFloor
=
res
.
totalFloor
;
this
.
setData
({
ruleData
:
res
.
data
.
rule
ruleData
:
res
.
data
.
rule
,
list
,
totalFloor
})
}
})
...
...
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