| 1 |
- <view class="book-order"><view class="section-card"><block wx:if="{{defaultAddr.id}}"><view data-event-opts="{{[['tap',[['handleAddress',['$event']]]]]}}" class="flex-a flex-j-b mb-20" bindtap="__e"><image style="width:40rpx;height:40rpx;" src="../static/adderss.png"></image><view class="flex-d flex-1 ml-24" style="margin-right:90rpx;"><view class="flex-a flex-j-b mb-10"><view style="{{(titleStyle)}}">{{"发货人:"+defaultAddr.name}}</view><view style="{{(titleStyle)}}">{{defaultAddr.mobile}}</view></view><view style="{{(titleStyle)}}">{{"地址:"+defaultAddr.fullAddress}}</view></view><u-icon vue-id="327b7330-1" name="arrow-right" size="{{28}}" color="#666" top="4" bind:__l="__l"></u-icon></view></block><block wx:else><view data-event-opts="{{[['tap',[['handleAddress',['$event']]]]]}}" class="flex-a flex-j-b" bindtap="__e"><view class="flex-a"><u-icon vue-id="327b7330-2" name="plus-circle-fill" size="{{48}}" color="#38C148" top="2" bind:__l="__l"></u-icon><view class="ml-10 font-30" style="{{(titleStyle)}}">取货地址</view><text class="u-required">*</text></view><view class="flex-a"><view class="ml-10" style="{{(titleStyle)}}">请添加</view><u-icon vue-id="327b7330-3" name="arrow-right" size="{{28}}" color="#666" top="4" bind:__l="__l"></u-icon></view></view></block><view class="free-pickup mb-20 mt-20"><view class="pickup-title">免费上门取货</view><view class="pickup-desc">书嗨将预约指定快递上门取件,邮费由书嗨承担</view></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="flex-a flex-j-b time-card" style="padding:0 10rpx;" bindtap="__e"><view class="flex-a"><view class="ml-10 font-28" style="{{(titleStyle)}}">取件时间</view><text class="u-required">*</text></view><view class="flex-a"><block wx:if="{{selectedTime.day}}"><view class="ml-10" style="{{(titleStyle)}}">{{selectedTime.day+"\n "+selectedTime.time+''}}</view></block><block wx:else><view class="ml-10" style="{{(titleStyle)}}">请选择快递上门取件时间</view></block><u-icon vue-id="327b7330-4" name="arrow-right" size="{{28}}" color="#666" top="4" bind:__l="__l"></u-icon></view></view></view><view class="section-card"><view data-event-opts="{{[['tap',[['showExpressPicker',['$event']]]]]}}" class="flex-a flex-j-b mb-20" bindtap="__e"><view class="flex-a"><view class="font-28" style="{{(titleStyle)}}">快递备注</view></view><view class="flex-a"><view class="ml-10" style="{{(titleStyle)}}">{{submitData.expressDelivery||'请选择'}}</view><u-icon vue-id="327b7330-5" name="arrow-right" size="{{28}}" color="#666" top="3" bind:__l="__l"></u-icon></view></view><view class="express-desc">请从【顺丰】或【京东】中选择可正常收寄的快递,如您不选择,则由系统根据区域情况自动分配</view></view><view class="book-list"><block wx:for="{{books}}" wx:for-item="book" wx:for-index="__i0__" wx:key="id"><book-item vue-id="{{'327b7330-6-'+__i0__}}" book="{{book}}" bind:__l="__l"></book-item></block></view><view class="bottom-bar"><view class="agreement"><u-checkbox bind:input="__e" vue-id="327b7330-7" shape="circle" value="{{agreed}}" data-event-opts="{{[['^input',[['__set_model',['','agreed','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><text class="agreement-text">我已阅读并同意</text><text class="agreement-link">《书嗨用户协议》</text></u-checkbox></view><view class="order-summary"><view class="total">共<text class="price">{{totalBooks}}</text>件 预估回收价<text class="price">{{"¥"+totalPrice}}</text></view><u-button vue-id="327b7330-8" type="primary" custom-style="{{({margin:0})}}" data-event-opts="{{[['^click',[['submitOrder']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">提交订单</u-button></view></view><u-picker vue-id="327b7330-9" mode="selector" range="{{expressList}}" range-key="name" value="{{showPicker}}" data-event-opts="{{[['^confirm',[['onExpressConfirm']]],['^cancel',[['e1']]],['^input',[['__set_model',['','showPicker','$event',[]]]]]]}}" bind:confirm="__e" bind:cancel="__e" bind:input="__e" bind:__l="__l"></u-picker><pickup-time-picker vue-id="327b7330-10" show="{{showTimePicker}}" data-event-opts="{{[['^updateShow',[['__set_sync',['$0','showTimePicker','$event'],['']]]],['^confirm',[['onTimeConfirm']]]]}}" bind:updateShow="__e" bind:confirm="__e" bind:__l="__l"></pickup-time-picker><submit-confirm class="vue-ref" bind:confirm="__e" vue-id="327b7330-11" data-ref="submitConfirmDialog" data-event-opts="{{[['^confirm',[['handleConfirmSubmit']]]]}}" bind:__l="__l"></submit-confirm></view>
|