54 lines
2.7 KiB
Plaintext
54 lines
2.7 KiB
Plaintext
<view class="newUpkeep">
|
|
<view class="upkeep_row" bindtap="headerEquipmentPopupClick">
|
|
<view class="upkeep_row_tit">设备型号</view>
|
|
<view class="upkeep_row_con">
|
|
<input type="text" disabled value="{{selectEquipment.product_name}}" placeholder="请填写您的设备型号" placeholder-style="font-size: 26rpx;color:#999" />
|
|
</view>
|
|
</view>
|
|
<view class="upkeep_row">
|
|
<view class="upkeep_row_tit">联系电话</view>
|
|
<view class="upkeep_row_con">
|
|
<input type="number" maxlength="11" value="{{phone}}" data-name='phone' bindinput="headerInputChange" placeholder="请填写您的联系电话" placeholder-style="font-size: 26rpx;color:#999" />
|
|
</view>
|
|
</view>
|
|
<view class="upkeep_row noBor">
|
|
<view class="upkeep_row_tit">期望上门时间</view>
|
|
<view class="upkeep_row_con" bind:tap="changeShow">
|
|
<input type="text" value="{{time}}" placeholder="请选择期望上门时间" placeholder-style="font-size: 26rpx;color:#999" disabled />
|
|
</view>
|
|
</view>
|
|
<view class="gray"></view>
|
|
<view class="upkeep_Con">
|
|
<view class="upkeep_Con_tit">报修内容</view>
|
|
|
|
<view class="upkeep_msg">
|
|
<van-field type="textarea" data-name='desc' bind:change="headerInputChange" value="{{desc}}" maxlength="50" placeholder="点击此处填写您的报修内容" show-word-limit />
|
|
</view>
|
|
</view>
|
|
<view class="gray"></view>
|
|
|
|
<view class="upkeep_Con">
|
|
<view class="upkeep_Con_tit">图片上传</view>
|
|
<van-uploader file-list="{{ fileList }}" max-count="1" before-read="beforeRead" bind:after-read="beforeRead" bind:delete="deleteImg" upload-icon="plus" />
|
|
</view>
|
|
|
|
<view class="submit" bind:tap="submits">提交</view>
|
|
</view>
|
|
|
|
<van-popup show="{{ show }}" bind:close="onClose" safe-area-inset-bottom position="bottom" close-on-click-overlay>
|
|
<van-datetime-picker formatter="{{ formatter }}" type="datetime" min-date="{{ minDate }}" bind:confirm="onInput" />
|
|
</van-popup>
|
|
|
|
<van-popup show="{{ equipmentShow }}" close-on-click-overlay position="bottom" round custom-style="height: 60%;" bind:close="onClosePopup">
|
|
<view class="equipment">
|
|
<view class="equipment_title" bindtap="headerCancelClick">
|
|
<text>取消</text>
|
|
</view>
|
|
<view class="devices">
|
|
<view class="equip_item {{index === deviceList.length -1 && 'no_bottom'}}" wx:for="{{deviceList}}" wx:key="index" bindtap="headerSelectClick" data-item="{{item}}">
|
|
<image class="equip_pic" src="{{item.product_icon}}" mode="" />
|
|
<view class="equip_desc">{{item.product_name}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</van-popup> |