carModel.wxml 7.8 KB

1
  1. <view class="box data-v-411247ea"><view class="zdyNav data-v-411247ea"><view class="status_bar data-v-411247ea" style="{{'height:'+(iStatusBarHeight+'px')+';'}}"></view><view class="zdyNavCont data-v-411247ea"><view class="zdyNavContLeft data-v-411247ea"><image class="baiheibackImg data-v-411247ea" src="../../static/img/baiheiback.png" mode data-event-opts="{{[['tap',[['gofhj',['$event']]]]]}}" bindtap="__e"></image><image class="gaunbiIMg data-v-411247ea" src="../../static/img/chahao.png" mode data-event-opts="{{[['tap',[['goback',['$event']]]]]}}" bindtap="__e"></image></view><view class="zdyNavContTitle data-v-411247ea">自主选车</view><view class="zdyNavContRight data-v-411247ea"></view></view></view><view class="status_bar data-v-411247ea" style="{{'height:'+(iStatusBarHeight+'px')+';'}}"></view><view style="height:44px;" class="data-v-411247ea"></view><view class="tab data-v-411247ea"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="{{['tabLine','data-v-411247ea',(tabIndex==1)?'activeTab':'']}}" bindtap="__e">手动选车</view><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="{{['tabLine','data-v-411247ea',(tabIndex==2)?'activeTab':'']}}" bindtap="__e">VIN识别</view></view><block wx:if="{{tabIndex==1}}"><view class="tab1 data-v-411247ea"><scroll-view class="scroll-view data-v-411247ea" scroll-into-view="{{toView}}" scroll-y="true"><view class="brand-select data-v-411247ea"><block wx:for="{{carModelList}}" wx:for-item="item" wx:for-index="__i0__"><block wx:if="{{item['首字母']!='热门'}}"><view id="{{item['首字母']}}" class="data-v-411247ea"><view class="brand-select-title data-v-411247ea" id="{{item['首字母']+'-model'}}"><view class="{{['_h5','data-v-411247ea',(item['首字母']==toView)?'brand-select-titleselect':'']}}">{{item['首字母']}}</view></view><view class="brand-select-wrapper data-v-411247ea"><block wx:for="{{item['品牌列表']}}" wx:for-item="item2" wx:for-index="__i1__"><navigator class="brand-select-item _a data-v-411247ea" id="{{item2.brand}}" data-event-opts="{{[['tap',[['selectBrand',['$0'],[[['carModelList','',__i0__],['品牌列表','',__i1__]]]]]]]}}" bindtap="__e"><image class="brand-select-item-icon _img data-v-411247ea" src="{{item2.logo}}"></image><label class="_span data-v-411247ea">{{item2.brand||item2.name}}</label></navigator></block></view></view></block><block wx:if="{{item['首字母']=='热门'}}"><view id="rm" class="data-v-411247ea"><view class="brand-select-title data-v-411247ea" id="{{item['首字母']+'-model'}}"><view class="{{['_h5','data-v-411247ea',(item['首字母']==toView)?'brand-select-titleselect':'']}}">{{item['首字母']}}</view></view><view class="brand-select-wrapper data-v-411247ea"><block wx:for="{{item['品牌列表']}}" wx:for-item="item2" wx:for-index="__i2__"><navigator class="brand-select-item _a data-v-411247ea" id="{{item2.brand}}" data-event-opts="{{[['tap',[['selectBrand',['$0'],[[['carModelList','',__i0__],['品牌列表','',__i2__]]]]]]]}}" bindtap="__e"><image class="brand-select-item-icon _img data-v-411247ea" src="{{item2.logo}}"></image><label class="_span data-v-411247ea">{{item2.brand||item2.name}}</label></navigator></block></view></view></block></block></view></scroll-view><view class="fast-navigation _div data-v-411247ea"><block wx:for="{{carModelList}}" wx:for-item="item" wx:for-index="__i3__"><navigator data-event-opts="{{[['tap',[['bindToView',['$0'],[[['carModelList','',__i3__]]]]]]]}}" class="{{['fast-navigation-sel','_a','data-v-411247ea',(item['首字母']==toView)?'select':'']}}" bindtap="__e">{{item['首字母']}}</navigator></block></view></view></block><uni-popup vue-id="0f65265b-1" type="right" mask-click="{{true}}" data-ref="popup" class="data-v-411247ea vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-content data-v-411247ea"><view class="status_bar data-v-411247ea" style="{{'height:'+(iStatusBarHeight+'px')+';'}}"></view><view style="height:44px;" class="data-v-411247ea"></view><view class="carModel-nav-title cell-logo _h3 data-v-411247ea"><image class="carModel-nav-title-img _img data-v-411247ea" src="{{selectedCarBrand.logo}}"></image><label class="carModel-nav-title-msg _span data-v-411247ea">{{selectedCarBrand.brand}}</label></view><scroll-view class="brandList data-v-411247ea" scroll-y="true"><block wx:for="{{carSeriesList}}" wx:for-item="item" wx:for-index="__i4__" wx:key="manufactor"><view class="data-v-411247ea"><view class="cell-item-title _h3 data-v-411247ea">{{item.manufactor}}</view><block wx:for="{{item.carSeries}}" wx:for-item="item2" wx:for-index="__i5__" wx:key="*this"><label class="span-cell _span data-v-411247ea" title="{{item2}}" data-event-opts="{{[['tap',[['selectCarFactory',['$0','$1'],[[['carSeriesList','manufactor',item.manufactor,'manufactor']],[['carSeriesList','manufactor',item.manufactor],['carSeries','',__i5__]]]]]]]}}" bindtap="__e">{{item2}}</label></block></view></block></scroll-view></view></uni-popup><view hidden="{{!(carGroupListShow)}}" class="carGroupListBox data-v-411247ea"><view class="status_bar data-v-411247ea" style="{{'height:'+(iStatusBarHeight+'px')+';'}}"></view><view style="height:44px;" class="data-v-411247ea"></view><view class="carModel-nav-title _h3 data-v-411247ea"><image class="carModel-nav-title-img _img data-v-411247ea" src="{{selectedCarBrand.logo}}" data-event-opts="{{[['tap',[['$emit',['changeStep',1]]]]]}}" bindtap="__e"></image><label class="carModel-nav-title-msg _span data-v-411247ea">{{selectedCarBrand.brand+" "+carSeries+displacement}}</label></view><scroll-view class="brandList data-v-411247ea" scroll-y="true"><block wx:for="{{carGroupList}}" wx:for-item="item" wx:for-index="__i6__"><view data-event-opts="{{[['tap',[['goAddCar',['$0'],[[['carGroupList','',__i6__]]]]]]]}}" class="displacementListLine data-v-411247ea" bindtap="__e">{{''+item.title+''}}</view></block></scroll-view></view><block wx:if="{{tabIndex==2}}"><view class="tab2 data-v-411247ea"><block wx:if="{{vinboxoneShow}}"><view class="vinboxone data-v-411247ea"><view class="smvin data-v-411247ea">请扫描VIN</view><view class="smvin2 data-v-411247ea">扫描时请保持环境光线充足不要反光</view><view class="sltp data-v-411247ea"><image class="sltpImg data-v-411247ea" src="../../static/img/vin.png" mode></image></view><view data-event-opts="{{[['tap',[['scVinIMg',['$event']]]]]}}" class="vinSc data-v-411247ea" bindtap="__e">上传图片</view></view></block><block wx:if="{{vinboxtwoShow}}"><view class="vinboxTwo data-v-411247ea"><view data-event-opts="{{[['tap',[['e2',['$event']]]]]}}" class="vinboxTwoTopFh data-v-411247ea" bindtap="__e">返回扫描</view><view class="vinboxTwoTopVIn data-v-411247ea">{{"车辆识别代码:"+vin}}</view><view class="vinCxNum data-v-411247ea">{{'共'+vinSbList.length+"条查询结果"}}</view><view class="vinXzBox data-v-411247ea"><block wx:for="{{vinSbList}}" wx:for-item="vinItem" wx:for-index="vIndex"><view data-event-opts="{{[['tap',[['ckVin',['$0',vIndex],[[['vinSbList','',vIndex]]]]]]]}}" class="vinXzLine data-v-411247ea" bindtap="__e"><view class="vinXzLineCx data-v-411247ea">{{vinItem.title}}</view><block wx:if="{{vinIndex!=vIndex}}"><view class="vinXzLineyk data-v-411247ea"></view></block><block wx:if="{{vinIndex==vIndex}}"><image class="loginLogo data-v-411247ea" src="../../static/img/icon_checked.png" mode></image></block></view></block><view class="status_bar data-v-411247ea" style="{{'height:'+(iStatusBarHeight+'px')+';'}}"></view></view></view></block><block wx:if="{{vinboxtwoShow}}"><view class="vinboxTwoBottom data-v-411247ea" style="{{'bottom:'+(iStatusBarHeight+'px')+';'}}"><view data-event-opts="{{[['tap',[['shoudong',['$event']]]]]}}" class="shoudonng data-v-411247ea" bindtap="__e">都不是,手动选车</view><view data-event-opts="{{[['tap',[['qrcx',['$event']]]]]}}" class="qrcx data-v-411247ea" bindtap="__e">确认车型</view></view></block></view></block></view>