Authored by lea guo

yohood抽奖原价购

@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
27 <view class="product_name">{{product.name}}</view> 27 <view class="product_name">{{product.name}}</view>
28 <view class="product_lucky_bg"> 28 <view class="product_lucky_bg">
29 <view class="product_lucky"> 29 <view class="product_lucky">
30 - <text>原价</text> 30 + <text>原价</text>
31 <text class="price-info">{{product.lottery_price}}</text> 31 <text class="price-info">{{product.lottery_price}}</text>
32 </view> 32 </view>
33 <view class="product_price"> 33 <view class="product_price">
@@ -182,7 +182,7 @@ Page( @@ -182,7 +182,7 @@ Page(
182 wx.showLoading({ 182 wx.showLoading({
183 mask: true, 183 mask: true,
184 }); 184 });
185 - this._init().then(() => { 185 + this._init({isPulldown: true}).then(() => {
186 wx.stopPullDownRefresh(); 186 wx.stopPullDownRefresh();
187 }); 187 });
188 }, 188 },
@@ -291,9 +291,10 @@ Page( @@ -291,9 +291,10 @@ Page(
291 }); 291 });
292 }, 292 },
293 293
294 - _init() { 294 + _init(options = {}) {
  295 + const { isPulldown } = options
295 let params = { 296 let params = {
296 - actPrizeId: this.data.actPrizeId, 297 + actPrizeId: isPulldown ? '' : this.data.actPrizeId,
297 }; 298 };
298 299
299 return this.service 300 return this.service
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 <text>活动流程</text> 6 <text>活动流程</text>
7 <help url="https://activity.yoho.cn/feature/5901.html" text="活动规则" title="原价购活动说明"></help> 7 <help url="https://activity.yoho.cn/feature/5901.html" text="活动规则" title="原价购活动说明"></help>
8 </view> 8 </view>
9 - <image mode="aspectFill" class="jion-tips-image" src="https://cdn.yoho.cn/o_1dhlc14l11pm01c8q6p01ur718at8.png"></image> 9 + <image mode="aspectFill" class="jion-tips-image" src="https://cdn.yoho.cn/o_1dhq2n6551qc5djrv5v1geekcq8.png"></image>
10 </view> 10 </view>
11 <view class="machine {{shareFlag ? 'machine-t-m' : 'machine-t-l'}}"> 11 <view class="machine {{shareFlag ? 'machine-t-m' : 'machine-t-l'}}">
12 <view class="open-shadow"></view> 12 <view class="open-shadow"></view>
@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 <view class="fellow-bar" wx:if="{{product.status && !shareFlag}}"> 32 <view class="fellow-bar" wx:if="{{product.status && !shareFlag}}">
33 <block wx:if="{{product.status >= 3}}"> 33 <block wx:if="{{product.status >= 3}}">
34 <view class="endTip"> 34 <view class="endTip">
35 - <text>{{notice.content || '本场活动已结束,请关注开奖消息通知'}}</text> 35 + <text>{{notice.content || '本场活动已结束,请关注中奖结果通知'}}</text>
36 </view> 36 </view>
37 </block> 37 </block>
38 <block wx:elif="{{notice.content}}"> 38 <block wx:elif="{{notice.content}}">