Authored by baoss

增加库存新状态显示

... ... @@ -22,5 +22,6 @@
"debug": true,
"navigateToMiniProgramAppIdList": [
"wx084ab813d88c594b"
]
}
],
"sitemapLocation": "sitemap.json"
}
\ No newline at end of file
... ...
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
// api: 'http://apigray.yoho.cn',
// 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'
},
... ...
... ... @@ -252,9 +252,65 @@
</action-bar>
<block wx:else></block>
</block>
</block>
</block>
<block wx:elif="{{showStatus === 8}}">
<block wx:if="{{productSourceType === 1}}">
<action-bar wx:if="{{assistStatus === 1 || assistStatus === 3}}">
<form bindsubmit="assistShare" report-submit='true'>
<view class="bottom1-action">
<button class="as-bottom ok1" formType="submit">{{isNew=='Y' ? '邀请新用户助力获取限购码' : '邀请好友助力获取限购码'}}
<text class="buy-tip"> (线下购买专用)</text></button>
<view class="help-wrapper" bindtap="goHelp">
<image class="help" src="../../../static/images/XD_q_ic@3x.png"></image>
</view>
</view>
</form>
</action-bar>
<action-bar wx:elif="{{assistStatus === 2}}">
<view class="bottom1-action">
<view class="as-bottom cancel">即将开售</view>
</view>
</action-bar>
<block wx:else></block>
</block>
<block wx:if="{{productSourceType === 2}}">
<action-bar wx:if="{{assistStatus === 2 || assistStatus === 5}}">
<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:elif="{{assistStatus === 3}}">
<view class="top-assist-action">
<view class="top-title" >你的好友邀请你为ta助力</view>
<view class="top-action">
<view class="as-bottom ok width130" bindtap="assistAction">帮ta助力</view>
<view class="as-bottom ok width130" bindtap="assistJion">直接参加</view>
</view>
</view>
</action-bar>
<action-bar wx:elif="{{assistStatus === 4}}">
<view class="bottom1-action">
<view class="as-bottom ok">已助力</view>
<view class="help-wrapper" bindtap="goHelp">
<image class="help" src="../../../static/images/XD_q_ic@3x.png"></image>
</view>
</view>
</action-bar>
<block wx:else></block>
</block>
</block>
</block>
<block wx:elif="{{limitProductType === 5}}">
... ...
... ... @@ -183,7 +183,15 @@
.ok {
background-color: #d0021b;
}
.ok1 {
color: #222;
background-color: #B29674;
}
.buy-tip {
font-size: 24rpx;
line-height: 30rpx;
}
.cancel {
background-color: #b0b0b0;
}
... ...
{
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
"rules": [{
"action": "allow",
"page": "*"
}]
}
\ No newline at end of file
... ...