Authored by 肖亚东

分享优化 — review by 李奇

... ... @@ -101,6 +101,10 @@ Component({
error: false,
fellow: false
});
},
hadJoinToShare() {
this.goShare();
this.triggerEvent('getcode');
},
... ...
... ... @@ -61,7 +61,7 @@
<view class="code">{{code}}</view>
</view>
<form bindsubmit='submitFormId' report-submit='true'>
<button class="share" form-type="submit" bindtap="goShare">分享一下,中奖概率立马double</button>
<button class="share" form-type="submit" bindtap="hadJoinToShare">分享一下,中奖概率立马double</button>
</form>
<view class="share-desc">1个好友参加=1个抽奖码=中奖几率UP!</view>
</view>
... ...