Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-luck
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
lea guo
6 years ago
Commit
2160aa5f61c2c2519e60e9cf10a277f898f85b23
1 parent
47cac4b7
yohood抽奖原价购
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
23 deletions
pages/zeroSell/originalPriceSell.js
pages/zeroSell/originalPriceSell.wxml
pages/zeroSell/originalPriceSell.js
View file @
2160aa5
...
...
@@ -230,22 +230,6 @@ Page(
this
.
_loadGroupList
(
page
);
},
goToGroupMiniApp
(
e
)
{
yasReport
(
YB_LUCK_DT_GDS_C
,
{
ACTIVITY_ID
:
this
.
data
.
actPrizeId
,
PRD_SKN
:
e
.
detail
.
product_skn
,
TAB_ID
:
this
.
data
.
tabIdx
,
});
wx
.
navigateToMiniProgram
({
appId
:
'wx207f18be42db9028'
,
path
:
`
pages
/
group
/
detail
?
productSkn
=
$
{
e
.
detail
.
product_skn
}
&
activityId
=
$
{
e
.
detail
.
activity_id
}
&
page_param
=
$
{
e
.
detail
.
activity_id
}
`
,
});
},
_getMineCode
()
{
if
(
this
.
data
.
uid
)
{
this
.
service
...
...
@@ -254,7 +238,7 @@ Page(
actPrizeId
:
this
.
data
.
actPrizeId
,
})
.
then
(
res
=>
{
let
len
=
res
.
data
.
length
>
3
?
3
:
res
.
data
.
length
;
let
len
=
res
.
data
.
length
;
if
(
len
)
{
res
.
data
.
map
(
value
=>
{
value
.
user_thumb
=
formatImageUrl
(
value
.
user_thumb
,
60
,
60
);
...
...
@@ -542,10 +526,6 @@ Page(
};
}
},
goList
(
e
)
{
let
tab
=
e
.
target
.
dataset
.
index
;
router
.
go
(
'index'
,
{
tabIndex
:
tab
||
0
,
reload
:
0
});
},
reportSuccess
({
detail
})
{
yasReport
(
YB_LUCK_DT_JOIN_C
,
{
ACTIVITY_ID
:
detail
});
},
...
...
pages/zeroSell/originalPriceSell.wxml
View file @
2160aa5
...
...
@@ -15,7 +15,7 @@
<view class="code-list-item">
<view class="content"></view>
</view>
<view class="code-list-item" wx:for="{{codeList}}" wx:
if="{{index < 3}}" wx:
key="{{index}}">
<view class="code-list-item" wx:for="{{codeList}}" wx:key="{{index}}">
<view class="content">
<image class="thumb" mode="widthFix" src="{{item.user_thumb}}"></image>
<view class="text">
...
...
@@ -26,7 +26,6 @@
</view>
<image class="shadow" src="https://img11.static.yhbimg.com/yhb-img01/2018/12/27/19/0140fa3243af949068d2aabeedb0ea0666.png" mode="widthFix" wx:if="{{index == 2 && codeList.length>3 }}"></image>
</view>
<image src="./images/down.png" bindtap="goList" data-index="3" mode="widthFix" class="down" wx:if="{{codeList.length>3}}"></image>
</view>
</view>
</view>
...
...
Please
register
or
login
to post a comment