buy.wxml 3.5 KB

1
  1. <view class="app-content _div data-v-28c2c0ae"><app-tabs vue-id="1" tabs="{{tabs}}" currentTab="{{tabIndex}}" isFixed="{{true}}" borderLeft="{{true}}" itemWidth="50%" data-event-opts="{{[['^change',[['tabChange']]]]}}" bind:change="__e" class="data-v-28c2c0ae" bind:__l="__l"></app-tabs><form data-event-opts="{{[['submit',[['formSubmit',['$event']]]]]}}" bindsubmit="__e" class="data-v-28c2c0ae"><block wx:if="{{tabIndex==0}}"><block class="data-v-28c2c0ae"><app-delivery-module vue-id="2" data-ref="appDelivery" class="data-v-28c2c0ae vue-ref" bind:__l="__l"></app-delivery-module></block></block><block wx:else><block class="data-v-28c2c0ae"><view class="module-com _div data-v-28c2c0ae"><tui-list-cell class="line-cell data-v-28c2c0ae" vue-id="3" hover="{{false}}" bind:__l="__l" vue-slots="{{['default']}}"><view class="tui-title _div data-v-28c2c0ae">手机号</view><input class="tui-input data-v-28c2c0ae" placeholder-class="phcolor" name="phone" placeholder="请输入手机号" type="phone" data-event-opts="{{[['input',[['__set_model',['$0','bookMobile','$event',[]],['mentionForm']]]]]}}" value="{{mentionForm.bookMobile}}" bindinput="__e"/></tui-list-cell></view></block></block><view class="module-com shop-price-wrap _div data-v-28c2c0ae"><view class="module-tit _div data-v-28c2c0ae">商品金额</view><view class="module-det _div data-v-28c2c0ae"><block wx:if="{{!$root.g0}}"><app-list-module vue-id="4" info="{{goodsInfo}}" class="data-v-28c2c0ae" bind:__l="__l"></app-list-module></block><view class="shop-prompt _div data-v-28c2c0ae"><view class="_div data-v-28c2c0ae">总计</view><view class="_div data-v-28c2c0ae">{{"¥"+goodsInfo.price*option.goodsNum}}</view></view></view></view><block wx:if="{{!$root.g1&&shopUser.userAsset.member&&shopUser.userAsset.getCouponNum}}"><view class="module-com discount-wrap _div data-v-28c2c0ae"><view class="module-tit _div data-v-28c2c0ae">可选优惠</view><view class="module-det _div data-v-28c2c0ae"><app-coupon-sel vue-id="5" price="{{goodsInfo.price*option.goodsNum}}" discountArr="{{['member','coupon']}}" data-ref="couponSel" class="data-v-28c2c0ae vue-ref" bind:__l="__l"></app-coupon-sel></view></view></block><view class="none-name-delivery flex-center _div data-v-28c2c0ae"><checkbox data-event-opts="{{[['change',[['anonymityChange',['$event']]]]]}}" class="ljd-checkbox data-v-28c2c0ae" bindchange="__e"></checkbox><label class="none-name-text _span data-v-28c2c0ae">匿名派送</label></view><app-trademark vue-id="6" class="data-v-28c2c0ae" bind:__l="__l"></app-trademark><view class="page-btn app-footer _div data-v-28c2c0ae"><view class="flex-center _div data-v-28c2c0ae"><label class="_span data-v-28c2c0ae">应付款</label><label class="app-price _span data-v-28c2c0ae"><label class="_span data-v-28c2c0ae">¥</label><label class="app-size-40 _span data-v-28c2c0ae">{{totalPrice}}</label></label></view><button class="button-com red data-v-28c2c0ae" formType="submit">确认</button></view></form><alert-module vue-id="7" show="{{showAlert}}" data-event-opts="{{[['^click',[['hideAlert']]],['^cancel',[['hideAlert']]]]}}" bind:click="__e" bind:cancel="__e" class="data-v-28c2c0ae" bind:__l="__l" vue-slots="{{['default']}}"><view class="alt-content _div data-v-28c2c0ae"><view class="_div data-v-28c2c0ae">5公里内免运费</view><view class="_div data-v-28c2c0ae"><label class="_span data-v-28c2c0ae">超过</label><label class="app-price _span data-v-28c2c0ae">5公里</label><label class="_span data-v-28c2c0ae">每增加1公里</label><label class="app-price _span data-v-28c2c0ae">+2元</label></view></view></alert-module></view>