statements.ttml
1.32 KB
<!-- 商品信息 -->
<view tt:if="{{hasAddress}}">
<deliveryInfo id="addressInfo" data="{{addressInfo}}" bind:changeAddress="otherAddressTapped"></deliveryInfo>
</view>
<view tt:else>
<view class="noAddressContainer">
<view class="noAddress" bindtap="otherAddressTapped" data-type='normal'>
<image class="addressIconNew" src="../../images/add@2x.png"></image>
<text class="addressPlaceholder">新增收货地址</text>
<image class="addressArrow" src='../../images/arrow@2x.png'></image>
</view>
</view>
</view>
<view class="split-view"/>
<product-view id="productInfo" product="{{data.goods_list[0]}}"></product-view>
<view class="split-view"/>
<select-view id="deliveryInfo" items="{{data.delivery_way}}" bind:checkboxChange="refreshCompute"/>
<swichItem id="invoiceItem" item="{{invoicesItem}}" bind:changeSwitch="onChangeSwitch"/>
<!-- <promotionItem id="couponsItem"/> -->
<view class="split-view"/>
<view class="amountBox">
<block tt:for="{{data.promotion_formula_list}}" tt:for-item="amountInfo" tt:key="{{index}}">
<item-view id="amountItem" item="{{amountInfo}}"/>
</block>
<item-view id="realamount" item="{{data.real_amount}}"/>
</view>
<!-- <view> -->
<view class="split-view"/>
<text class="select-item-pay-button" bindtap="submit">支付宝支付</text>
<!-- </view> -->