add api config
This commit is contained in:
parent
72b8145b0c
commit
828af1aa76
@ -2,8 +2,8 @@
|
||||
* 小程序配置文件
|
||||
*/
|
||||
|
||||
var host = "apitest.ipaotui.com"
|
||||
// var host = "api.ipaotui.com"
|
||||
// var host = "apitest.ipaotui.com"
|
||||
var host = "api.ipaotui.com"
|
||||
const debug = wx.getStorageSync('debug')
|
||||
if (debug) {
|
||||
host = "apitest.ipaotui.com"
|
||||
|
@ -12,16 +12,6 @@
|
||||
<view class="grey-color">
|
||||
{{item.addr}} {{item.detail}}
|
||||
</view>
|
||||
<view class="address-actions">
|
||||
<navigator url="/pages/address/add?id={{item.addr_id}}&callback=callback" class="address-actions__item">
|
||||
<image class="address-actions__item-img" src="/images/address_edit_white.png">
|
||||
</image>
|
||||
</navigator>
|
||||
<view id="{{index}}" bindtap="onDelete" class="address-actions__item">
|
||||
<image class="address-actions__item-img" src="/images/delete@2x.png">
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
@ -65,7 +65,7 @@
|
||||
<view class="quasi-goods__list">
|
||||
<view class="quasi-goods__item">
|
||||
<view class="quasi-goods__item-name quasi-goods__item-name_grey">
|
||||
总计¥{{info.order_price}} 优惠¥{{info.cut_money_total}}
|
||||
总计¥{{info.order_price}} <text wx:if="{{info.cut_money_total > 0}}">优惠¥{{info.cut_money_total}}</text>
|
||||
</view>
|
||||
<view class="quasi-goods__item-num"></view>
|
||||
<view class="quasi-goods__item-price primary-color">
|
||||
|
@ -88,9 +88,7 @@
|
||||
选好了
|
||||
</button>
|
||||
<button wx:else class="weui-btn menu-cart__btn" type="primary" disabled>
|
||||
<text wx:if="{{order.totalPrice > 0}}">
|
||||
还差{{info.min_price - order.totalPrice}}元起送
|
||||
</text>
|
||||
<text wx:if="{{order.totalPrice > 0}}">还差{{info.min_price - order.totalPrice}}元起送</text>
|
||||
<text wx:else>{{info.min_price}}元起送</text>
|
||||
</button>
|
||||
</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user