Authored by 邱骏

yoluck 修复参加人员滚动头像及名称不显示,修复提示框文字

@@ -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 || '潮流有货';
@@ -14,6 +14,9 @@ @@ -14,6 +14,9 @@
14 display: inline-block; 14 display: inline-block;
15 margin-left: 30px; 15 margin-left: 30px;
16 vertical-align: top; 16 vertical-align: top;
  17 + white-space: nowrap;
  18 + overflow: hidden;
  19 + width: 75%;
17 } 20 }
18 21
19 .swiper { 22 .swiper {