1 |
- <view class="good__detail data-v-45802466"><view class="good__detail-swiper data-v-45802466"><swiper data-event-opts="{{[['change',[['swiperChange',['$event']]]]]}}" class="swiper data-v-45802466" style="height:400px;" bindchange="__e"><block wx:for="{{list1}}" wx:for-item="item" wx:for-index="__i0__" wx:key="*this"><swiper-item class="data-v-45802466"><image class="swiper-img data-v-45802466" src="{{item}}" mode="aspectFit" data-event-opts="{{[['tap',[['preview',['$0'],[[['list1','',__i0__]]]]]]]}}" bindtap="__e"></image></swiper-item></block></swiper><view class="indicator data-v-45802466"><text class="indicator__text data-v-45802466">{{currentIndex+1+"/"+$root.g0}}</text></view></view><view class="good__detail-info-box data-v-45802466"><view class="good__detail-name data-v-45802466">{{detailData.productName}}</view><view class="good__detail-info-body data-v-45802466"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="info-item data-v-45802466" bindtap="__e"><view class="item__label data-v-45802466">规格</view><view class="item-1 data-v-45802466"><view class="item-1-1 data-v-45802466"><block wx:if="{{!$root.g1}}"><view class="item-1-1-placeholder data-v-45802466">请选择规格</view></block><block wx:else><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i1__" wx:key="tagKey"><view class="item-1-1-name data-v-45802466">{{''+item+''}}</view></block></block></view><u-icon vue-id="6a83664e-1" name="arrow-right" color="#606266" size="16" class="data-v-45802466" bind:__l="__l"></u-icon></view></view><view class="info-item data-v-45802466"><view class="item__label data-v-45802466">数量</view><u-number-box bind:input="__e" vue-id="6a83664e-2" value="{{businessInfo.tradeCount}}" data-event-opts="{{[['^input',[['__set_model',['$0','tradeCount','$event',[]],['businessInfo']]]]]}}" class="data-v-45802466" bind:__l="__l" vue-slots="{{['minus','input','plus']}}"><view class="minus data-v-45802466" slot="minus"><u-icon vue-id="{{('6a83664e-3')+','+('6a83664e-2')}}" name="minus" size="12" class="data-v-45802466" bind:__l="__l"></u-icon></view><text class="input data-v-45802466" style="text-align:center;" slot="input">{{businessInfo.tradeCount}}</text><view class="plus data-v-45802466" slot="plus"><u-icon vue-id="{{('6a83664e-4')+','+('6a83664e-2')}}" name="plus" size="12" class="data-v-45802466" bind:__l="__l"></u-icon></view></u-number-box></view><view class="info-item data-v-45802466"><view class="item__label data-v-45802466">交易</view><view class="data-v-45802466"><u-radio-group bind:input="__e" vue-id="6a83664e-5" value="{{businessInfo.tradeType}}" data-event-opts="{{[['^input',[['__set_model',['$0','tradeType','$event',[]],['businessInfo']]]]]}}" class="data-v-45802466" bind:__l="__l" vue-slots="{{['default']}}"><u-radio vue-id="{{('6a83664e-6')+','+('6a83664e-5')}}" label="购买" name="0" size="{{16}}" customStyle="{{({marginRight:'40px'})}}" class="data-v-45802466" bind:__l="__l"></u-radio><u-radio vue-id="{{('6a83664e-7')+','+('6a83664e-5')}}" label="借用" name="1" size="{{16}}" class="data-v-45802466" bind:__l="__l"></u-radio></u-radio-group></view></view><view class="info-item data-v-45802466"><view class="item__label data-v-45802466">物流</view><view class="data-v-45802466"><u-radio-group bind:input="__e" vue-id="6a83664e-8" value="{{businessInfo.expressType}}" data-event-opts="{{[['^input',[['__set_model',['$0','expressType','$event',[]],['businessInfo']]]]]}}" class="data-v-45802466" bind:__l="__l" vue-slots="{{['default']}}"><u-radio vue-id="{{('6a83664e-9')+','+('6a83664e-8')}}" label="到付" size="{{16}}" name="0" customStyle="{{({marginRight:'40px'})}}" class="data-v-45802466" bind:__l="__l"></u-radio><u-radio vue-id="{{('6a83664e-10')+','+('6a83664e-8')}}" label="寄付" size="{{16}}" name="1" class="data-v-45802466" bind:__l="__l"></u-radio></u-radio-group></view></view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="info-item data-v-45802466" bindtap="__e"><view class="item__label data-v-45802466">送至</view><view class="item__label-address data-v-45802466"><block wx:if="{{!form.contactsName&&!form.contactsPhone&&!form.address&&!form.fullAddress}}"><view class="item__label-placeholder data-v-45802466">请选择收货地址</view></block><block wx:else><view class="item__label-text data-v-45802466"><view class="item__label-text1 data-v-45802466">{{''+form.address+form.fullAddress+''}}</view><view class="item__label-text2 data-v-45802466"><text class="label-text2-name data-v-45802466">{{form.contactsName}}</text><text class="label-text2-phone data-v-45802466">{{form.contactsPhone}}</text></view></view></block><u-icon vue-id="6a83664e-11" name="arrow-right" color="#606266" size="16" class="data-v-45802466" bind:__l="__l"></u-icon></view></view></view><view class="good__detail-intro data-v-45802466"><view class="intro-title data-v-45802466">商品介绍</view><view class="intro-info data-v-45802466"><text class="intro-info-text data-v-45802466">{{detailData.productDesc}}</text></view></view></view><view class="go-order-btn data-v-45802466"><u-button vue-id="6a83664e-12" type="primary" text="去下单" data-event-opts="{{[['^click',[['goOrderOk',['$0'],['id']]]]]}}" bind:click="__e" class="data-v-45802466" bind:__l="__l"></u-button></view><view class="popupOverflow data-v-45802466"><u-popup vue-id="6a83664e-13" show="{{showSpec}}" closeable="{{true}}" data-event-opts="{{[['^close',[['closeSpec']]]]}}" bind:close="__e" class="data-v-45802466" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content data-v-45802466"><view class="spec-select-top data-v-45802466"><text class="select-top-text data-v-45802466">规格选择</text></view><view class="scroll-container data-v-45802466"><spec-select vue-id="{{('6a83664e-14')+','+('6a83664e-13')}}" list="{{list}}" data-event-opts="{{[['^changeSelect',[['changeSelect']]]]}}" bind:changeSelect="__e" class="data-v-45802466" bind:__l="__l"></spec-select></view></view></u-popup></view><u-popup vue-id="6a83664e-15" show="{{showAddress}}" closeable="{{true}}" data-event-opts="{{[['^close',[['closeAddress']]],['^open',[['openAddress']]]]}}" bind:close="__e" bind:open="__e" class="data-v-45802466" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content data-v-45802466"><view class="spec-select-top data-v-45802466"><text class="select-top-text data-v-45802466">配送至</text></view><u--form vue-id="{{('6a83664e-16')+','+('6a83664e-15')}}" model="{{form}}" rules="{{rules}}" labelWidth="100" labelStyle="{{({color:'#868990'})}}" data-ref="uForm" class="data-v-45802466 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><u-form-item vue-id="{{('6a83664e-17')+','+('6a83664e-16')}}" label="收货人" prop="name" borderBottom="{{true}}" class="data-v-45802466" bind:__l="__l" vue-slots="{{['default']}}"><u--input bind:input="__e" vue-id="{{('6a83664e-18')+','+('6a83664e-17')}}" placeholder="请输入收货人" value="{{form.contactsName}}" data-event-opts="{{[['^input',[['__set_model',['$0','contactsName','$event',[]],['form']]]]]}}" class="data-v-45802466" bind:__l="__l"></u--input></u-form-item><u-form-item vue-id="{{('6a83664e-19')+','+('6a83664e-16')}}" label="收货人手机号" prop="contactsPhone" borderBottom="{{true}}" class="data-v-45802466" bind:__l="__l" vue-slots="{{['default']}}"><u--input bind:input="__e" vue-id="{{('6a83664e-20')+','+('6a83664e-19')}}" placeholder="请输入收货人手机号" value="{{form.contactsPhone}}" data-event-opts="{{[['^input',[['__set_model',['$0','contactsPhone','$event',[]],['form']]]]]}}" class="data-v-45802466" bind:__l="__l"></u--input></u-form-item><u-form-item vue-id="{{('6a83664e-21')+','+('6a83664e-16')}}" label="收货地址" prop="address" borderBottom="{{true}}" class="data-v-45802466" bind:__l="__l" vue-slots="{{['default']}}"><picker class="spec-select-bottom data-v-45802466" value="{{valueIndex}}" mode="multiSelector" range="{{addressList}}" range-key="name" data-event-opts="{{[['change',[['changeValue',['$event']]]],['columnchange',[['changeColumn',['$event']]]]]}}" bindchange="__e" bindcolumnchange="__e"><block wx:if="{{!result_show}}"><view class="select-address data-v-45802466"><view style="color:#c0c4cc;font-size:15px;" class="data-v-45802466">请选择省/市/区</view><view class="data-v-45802466"><u-icon vue-id="{{('6a83664e-22')+','+('6a83664e-21')}}" name="arrow-right" color="#c0c4cc" class="data-v-45802466" bind:__l="__l"></u-icon></view></view></block><block wx:else><view class="data-v-45802466">{{''+result_show+''}}</view></block></picker></u-form-item><u-form-item vue-id="{{('6a83664e-23')+','+('6a83664e-16')}}" label="详细地址" prop="fullAddress" borderBottom="{{true}}" class="data-v-45802466" bind:__l="__l" vue-slots="{{['default']}}"><u--input bind:input="__e" vue-id="{{('6a83664e-24')+','+('6a83664e-23')}}" placeholder="请输入详细地址" value="{{form.fullAddress}}" data-event-opts="{{[['^input',[['__set_model',['$0','fullAddress','$event',[]],['form']]]]]}}" class="data-v-45802466" bind:__l="__l"></u--input></u-form-item></u--form><view class="btn data-v-45802466"><u-button vue-id="{{('6a83664e-25')+','+('6a83664e-15')}}" type="primary" text="确定" data-event-opts="{{[['^click',[['submit']]]]}}" bind:click="__e" class="data-v-45802466" bind:__l="__l"></u-button></view></view></u-popup><u-toast vue-id="6a83664e-26" data-ref="uToast" class="data-v-45802466 vue-ref" bind:__l="__l"></u-toast></view>
|