@@ -127,7 +127,7 @@
<image src="../../../images/footer/shoppingcart.png" class="detail-footer-icon"></image>
<text class="detail-footer-text">购物车</text>
</view> -->
- <button class="detail-footer-item detail-yellow" bindtap="toCart" wx:if="{{project.seckill_show_price <= 0}}">
+ <button class="detail-footer-item detail-yellow" bindtap="toCart" wx:if="{{project.seckill_show_price <= 0 && project.left_count > 0}}">
<text>加入购物车</text>
</button>
<form bindsubmit="toPay" report-submit="{{true}}" wx:if="{{project.left_count > 0 && project.seckill_state !='end'}}" class="detail-footer-item">
@@ -1,7 +1,7 @@
// // 新正式(未审批)
-//const apiHost = 'https://fohowapi.hiwavo.com/'
+const apiHost = 'https://fohowapi.hiwavo.com/'
// 测试
- const apiHost = 'https://tfohowapi.hiwavo.com/'
+// const apiHost = 'https://tfohowapi.hiwavo.com/'
function $get (url, params, success, fail) {
wx.showNavigationBarLoading()