yoluck 修复参加人员滚动头像及名称不显示,修复提示框文字
Showing
4 changed files
with
9 additions
and
3 deletions
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | <div class="line"></div> | 24 | <div class="line"></div> |
25 | 25 | ||
26 | <div class="action-bar-wrap"> | 26 | <div class="action-bar-wrap"> |
27 | - {{> yoluck/action-bar status=actionStatus num=myPrizeCount actPrizeId=actPrizeId lotteryInfo=product.lottery_info}} | 27 | + {{> yoluck/action-bar status=actionStatus num=myPrizeCount actPrizeId=actPrizeId lotteryInfo=product.lotteryInfo}} |
28 | </div> | 28 | </div> |
29 | 29 | ||
30 | <div class="foot"></div> | 30 | <div class="foot"></div> |
@@ -2,10 +2,11 @@ | @@ -2,10 +2,11 @@ | ||
2 | <div class="swiper-container swiper"> | 2 | <div class="swiper-container swiper"> |
3 | <div class="swiper-wrapper"> | 3 | <div class="swiper-wrapper"> |
4 | {{#each list}} | 4 | {{#each list}} |
5 | + {{log .}} | ||
5 | <div class="swiper-slide avatar-item"> | 6 | <div class="swiper-slide avatar-item"> |
6 | - <img src="{{image2 user_thumb w=70 h=70 q=60}}" | 7 | + <img src="{{image2 userThumb w=70 h=70 q=60}}" |
7 | class="avatar-image"/> | 8 | class="avatar-image"/> |
8 | - <div class="avatar-desc">{{user_name}}参与了抽奖</div> | 9 | + <div class="avatar-desc">{{userName}}参与了抽奖</div> |
9 | </div> | 10 | </div> |
10 | {{/each}} | 11 | {{/each}} |
11 | </div> | 12 | </div> |
@@ -197,6 +197,8 @@ if (+fellowInfo.type === 2) { | @@ -197,6 +197,8 @@ if (+fellowInfo.type === 2) { | ||
197 | 197 | ||
198 | (function() { | 198 | (function() { |
199 | let lotteryInfo = $('.js-lottery').data('lottery') || {}; | 199 | let lotteryInfo = $('.js-lottery').data('lottery') || {}; |
200 | + | ||
201 | + console.log(lotteryInfo); | ||
200 | let clipboardLottery = new Clipboard('.js-lottery', { | 202 | let clipboardLottery = new Clipboard('.js-lottery', { |
201 | text: function() { | 203 | text: function() { |
202 | return lotteryInfo.h5Copy || '潮流有货'; | 204 | return lotteryInfo.h5Copy || '潮流有货'; |
-
Please register or login to post a comment