lanan-repair/unpackage/dist/dev/mp-weixin/pages/myCar/carDetail.wxml
2024-09-24 20:50:30 +08:00

1 line
3.2 KiB
Plaintext

<view class="container data-v-0f3757d6"><v-navigation-bar vue-id="1426af91-1" title="车辆详情" background-color="#fff" title-color="#333" class="data-v-0f3757d6" bind:__l="__l"></v-navigation-bar><view class="body data-v-0f3757d6"><view class="card data-v-0f3757d6"><view class="formItem data-v-0f3757d6"><text class="formLabel data-v-0f3757d6">车牌号</text><input type="text" placeholder="请输入文本" data-event-opts="{{[['input',[['__set_model',['$0','licenseNumber','$event',[]],['car']]]]]}}" value="{{car.licenseNumber}}" bindinput="__e" class="data-v-0f3757d6"/></view><view class="formItem data-v-0f3757d6"><text class="formLabel data-v-0f3757d6">品牌</text><picker value="{{brandIndex}}" range="{{brandNamesComputed}}" data-event-opts="{{[['change',[['brandChange',['$event']]]]]}}" bindchange="__e" class="data-v-0f3757d6"><view class="uni-input data-v-0f3757d6">{{brandNamesComputed[brandIndex]}}</view></picker></view><view class="formItem data-v-0f3757d6"><text class="formLabel data-v-0f3757d6">型号</text><input type="text" placeholder="请输入文本" data-event-opts="{{[['input',[['__set_model',['$0','carModelInput','$event',[]],['car']]]]]}}" value="{{car.carModelInput}}" bindinput="__e" class="data-v-0f3757d6"/></view><view class="formItem data-v-0f3757d6"><text class="formLabel data-v-0f3757d6">车辆类别</text><picker value="{{categoryIndex}}" range="{{categoryNamesComputed}}" data-event-opts="{{[['change',[['categoryChange',['$event']]]]]}}" bindchange="__e" class="data-v-0f3757d6"><view class="uni-input data-v-0f3757d6">{{categoryNamesComputed[categoryIndex]}}</view></picker></view><view class="formItem data-v-0f3757d6"><text class="formLabel data-v-0f3757d6">车辆性质</text><picker value="{{natureIndex}}" range="{{natureNamesComputed}}" data-event-opts="{{[['change',[['natureChange',['$event']]]]]}}" bindchange="__e" class="data-v-0f3757d6"><view class="uni-input data-v-0f3757d6">{{natureNamesComputed[natureIndex]}}</view></picker></view><view class="formItem data-v-0f3757d6"><text class="formLabel data-v-0f3757d6">注册日期</text><picker mode="date" value="{{car.carRegisterDate}}" start="2020-01-01" end="2030-12-31" data-event-opts="{{[['change',[['bindDateChange1',['$event']]]]]}}" bindchange="__e" class="data-v-0f3757d6"><view style="margin-left:10rpx;" class="data-v-0f3757d6">{{''+car.carRegisterDate+''}}</view></picker></view></view></view><view class="footer data-v-0f3757d6"><block wx:if="{{bo2}}"><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="btnItem edit data-v-0f3757d6" bindtap="__e">确定</view></block><block wx:if="{{bo1}}"><view data-event-opts="{{[['tap',[['del',['$event']]]]]}}" class="btnItem delete data-v-0f3757d6" bindtap="__e"><uni-icons vue-id="1426af91-2" type="trash" color="#F92C2C" class="data-v-0f3757d6" bind:__l="__l"></uni-icons>删除</view></block><block wx:if="{{bo1}}"><view class="line data-v-0f3757d6"></view></block><block wx:if="{{bo1}}"><view data-event-opts="{{[['tap',[['update',['$event']]]]]}}" class="btnItem edit data-v-0f3757d6" bindtap="__e"><uni-icons vue-id="1426af91-3" type="compose" color="#0174F6" class="data-v-0f3757d6" bind:__l="__l"></uni-icons>保存</view></block></view></view>