Authored by htoooth

fix

const config = {
domains: {
// production
// api: 'https://api.yoho.cn',
// service: 'https://api.yoho.cn',
api: 'https://api.yoho.cn',
service: 'https://api.yoho.cn',
// gray
... ... @@ -10,8 +10,8 @@ const config = {
// store: 'http://openstore.yohops.com',
// test
api: 'http://api-test3.dev.yohocorp.com',
service: 'http://api-test3.dev.yohocorp.com',
// api: 'http://api-test3.dev.yohocorp.com',
// service: 'http://api-test3.dev.yohocorp.com',
yasApi: 'https://analysis.yohobuy.com/yas_mobile'
},
... ...
... ... @@ -116,12 +116,21 @@
</block>
<block wx:if="{{productSourceType === 2}}">
<action-bar>
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="as-bottom ok" bindtap="goList">查看其他活动</view>
<action-bar wx:if="{{assistStatus === 2}}">
<view class="top-assist-action">
<view class="top-title" >你的好友已助力成功</view>
<view class="top-action3">
<view class="as-bottom ok width150" bindtap="restartSelfShare">我也要参加</view>
</view>
</action-bar>
</view>
</action-bar>
<action-bar wx:else>
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="as-bottom ok" bindtap="goList">查看其他活动</view>
</view>
</action-bar>
</block>
</block>
... ... @@ -142,8 +151,18 @@
</view>
</action-bar>
</block>
<block wx:if="{{productSourceType === 2}}">
<action-bar>
<action-bar wx:if="{{assistStatus === 2}}">
<view class="top-assist-action">
<view class="top-title" >你的好友已助力成功</view>
<view class="top-action3">
<view class="as-bottom ok width150" bindtap="restartSelfShare">我也要参加</view>
</view>
</view>
</action-bar>
<action-bar wx:else>
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="as-bottom ok" bindtap="goList">查看其他活动</view>
... ... @@ -153,19 +172,53 @@
</block>
<block wx:elif="{{showStatus === 5}}">
<action-bar>
<action-bar wx:if="{{productSourceType === 1}}">
<view class="bottom1-action">
<view class="as-bottom cancel">限购码已抢光</view>
</view>
</action-bar>
<block wx:if="{{productSourceType === 2}}">
<action-bar wx:if="{{assistStatus === 2}}">
<view class="top-assist-action">
<view class="top-title" >你的好友已助力成功</view>
<view class="top-action3">
<view class="as-bottom ok width150" bindtap="restartSelfShare">我也要参加</view>
</view>
</view>
</action-bar>
<action-bar wx:else>
<view class="bottom1-action">
<view class="as-bottom cancel">限购码已抢光</view>
</view>
</action-bar>
</block>
</block>
<block wx:elif="{{showStatus === 6}}">
<action-bar>
<action-bar wx:if="{{productSourceType === 1}}">
<view class="bottom1-action">
<view class="as-bottom cancel">即将开售</view>
</view>
</action-bar>
<block wx:if="{{productSourceType === 2}}">
<action-bar wx:if="{{assistStatus === 2}}">
<view class="top-assist-action">
<view class="top-title" >你的好友已助力成功</view>
<view class="top-action3">
<view class="as-bottom ok width150" bindtap="restartSelfShare">我也要参加</view>
</view>
</view>
</action-bar>
<action-bar wx:else>
<view class="bottom1-action">
<view class="as-bottom cancel">即将开售</view>
</view>
</action-bar>
</block>
</block>
<block wx:elif="{{showStatus === 7}}">
... ... @@ -176,8 +229,18 @@
</view>
</action-bar>
</block>
<block wx:if="{{productSourceType === 2}}">
<action-bar>
<action-bar wx:if="{{assistStatus === 2}}">
<view class="top-assist-action">
<view class="top-title" >你的好友已助力成功</view>
<view class="top-action3">
<view class="as-bottom ok width150" bindtap="restartSelfShare">我也要参加</view>
</view>
</view>
</action-bar>
<action-bar wx:else>
<view class="top-assist-action">
<view class="top-title" >当前活动已结束</view>
<view class="as-bottom ok" bindtap="goList">查看其他活动</view>
... ...