Authored by 邱骏

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

... ... @@ -24,7 +24,7 @@
<div class="line"></div>
<div class="action-bar-wrap">
{{> yoluck/action-bar status=actionStatus num=myPrizeCount actPrizeId=actPrizeId lotteryInfo=product.lottery_info}}
{{> yoluck/action-bar status=actionStatus num=myPrizeCount actPrizeId=actPrizeId lotteryInfo=product.lotteryInfo}}
</div>
<div class="foot"></div>
... ...
... ... @@ -2,10 +2,11 @@
<div class="swiper-container swiper">
<div class="swiper-wrapper">
{{#each list}}
{{log .}}
<div class="swiper-slide avatar-item">
<img src="{{image2 user_thumb w=70 h=70 q=60}}"
<img src="{{image2 userThumb w=70 h=70 q=60}}"
class="avatar-image"/>
<div class="avatar-desc">{{user_name}}参与了抽奖</div>
<div class="avatar-desc">{{userName}}参与了抽奖</div>
</div>
{{/each}}
</div>
... ...
... ... @@ -197,6 +197,8 @@ if (+fellowInfo.type === 2) {
(function() {
let lotteryInfo = $('.js-lottery').data('lottery') || {};
console.log(lotteryInfo);
let clipboardLottery = new Clipboard('.js-lottery', {
text: function() {
return lotteryInfo.h5Copy || '潮流有货';
... ...
... ... @@ -14,6 +14,9 @@
display: inline-block;
margin-left: 30px;
vertical-align: top;
white-space: nowrap;
overflow: hidden;
width: 75%;
}
.swiper {
... ...