addcar.wxml 4.2 KB
<view class="container">
  <form action="" catchsubmit="formSubmit">
    <view class="card">
      <view class="card_name car">
        <label for="姓名" class="labelsitem">姓名:</label>
        <input type="text" placeholder="请输入车主信息" value="{{name}}" placeholder-class="text_car" name="name" bindblur="getInput" class="inputitem" />
      </view>
      <view class="card_num   car">
        <label for="车牌号" class="labelsitem">车牌号:</label>
        <view class='select_box' bindtap="clickme">
          <view class='select'>
            <view class="colorHui" wx:if="{{color == 1}}">{{shengItem}}</view>
            <view class="sheng_id" wx:else>{{shengItem}}</view>
            <image class='select_img {{show &&"select_img_rotate"}}' src='{{imagesUrl}}assets/static/img/down_arrow.png'></image>
          </view>
        </view>
        <input type="text" value="{{pai}}" placeholder="英文字母请大写" placeholder-class="text_car" name="pai" bindblur="paiInput" bindinput="bindinputed" class="inputitem" maxlength="17" />
      </view>
      <view class="card_logo  car">
        <label for="车辆品牌" class="labelsitem">车辆品牌:</label>
        <view class="change_4S  inputitem" bindtap="goCarBrand">
          <input type="text" placeholder="请选择车辆品牌" value="{{CarBrandName}}" placeholder-class="text_car" name="name" />
          <view class="rowimg">
            <image src="{{imagesUrl}}assets/static/img/right_arrow.png" />
          </view>
        </view>
      </view>
      <view class="card_time  car">
        <label for="购买时间" class="labelsitem">购买时间:</label>
        <view class="change_4S  inputitem">
          <picker mode="date" class="pickeritem" value="{{buy_time}}" start="1900-09-01" end="{{formatDate}}" bindchange="bindTimeChange" name="buy_time">
            <view class="picker">
              <view class="picker_1" wx:if="{{buy_time != ''}}">{{buy_time}}</view>
              <view class="picker_2" wx:else>请选择购车时间</view>
              <view class="rowimg">
                <image src="{{imagesUrl}}assets/static/img/right_arrow.png" />
              </view>
            </view>
          </picker>
        </view>
      </view>
      <view class="card_km  ">
        <label for="行驶里程" class="labelsitem">行驶里程:</label>
        <input type="number" class="flex_km  inputitem" placeholder="请输入公里数" placeholder-class="text_car" name="km" bindblur="kmInput" />
        <view class="km">km</view>
      </view>
      <view class="card_time  car4S car">
        <label for="绑定4S店" class="labelsitem">绑定4S店:</label>
        <view class="change_4S  inputitem" catchtap="go4Ssearch">
          <input type="text" placeholder="请选择绑定4S店" value="{{S4SName}}" placeholder-class="text_car" name="id" />
          <view class="rowimg">
            <image src="{{imagesUrl}}assets/static/img/right_arrow.png" />
          </view>
        </view>
      </view>
    </view>
    <view class="rules">
      <view class="title">规则说明</view>
      <scroll-view class="scrollY" scroll-y="true" style="height:250rpx ;">
        <view class="rich_text">
          <rich-text nodes="{{content}}"></rich-text>
        </view>
      </scroll-view>
    </view>
    <view class="downbtn">
      <view class="books_change" bindtap="radiosRed">
        <view class="radios">
          <image src="{{imagesUrl}}assets/static/img/select.png" wx:if="{{selected}}" />
          <image src="{{imagesUrl}}assets/static/img/radios.png" wx:else />
        </view>
        <view class="fuwuxie_t">使用本服务意味着您已阅读并同意</view>
        <view class="fuwuxieyi  fuwuxie_t">《服务协议》</view>
      </view>
      <view class="ben_tn">
        <button class="btn" formType="submit">确认</button>
      </view>
    </view>
  </form>
  <view class="commodity_screen" bindtap="hideModal" wx:if="{{showModalStatus}}"></view>
  <view animation="{{animationData}}" class="commodity_attr_box" wx:if="{{showModalStatus}}">
    <view class="tent">
      <view class="carText {{idx== item.id ? 'activedCar' : ''}}" wx:for="{{selectData}}" wx:key="id" catchtap="tiveCar" data-id='{{item.id}}'>
        {{item.name}}
      </view>
    </view>
  </view>
</view>