You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

154 lines
11 KiB

<!--pages/newRecruitment/newRecruitment.wxml-->
<scroll-view class="container" scroll-y>
<view class="top">
<image src="/images/publish/sj.png"></image>
<view class="top_text">提醒:发布设备后,分享到您的微信群,卖车更快!</view>
</view>
<view class="list_item usually" bindtap="show_all_picker_fn" data-type="equipment">
<text>设备类型</text>
<input type="text" value="{{form_data.equipment_val}}" disabled placeholder="请选择" />
<image class="more" src="/images/publish/more_icon.png"></image>
</view>
<view class="list_item usually" bindtap="show_all_picker_fn" data-type="brand" wx:if="{{form_data.equipment_val!=''}}">
<text>设备品牌</text>
<input type="text" value="{{form_data.brand_val}}" disabled placeholder="请选择" />
<image class="more" src="/images/publish/more_icon.png"></image>
</view>
<!-- 特殊 -->
<!-- 履带挖掘机 静压桩机 塔吊 履带吊 越野吊 高空作业车 高空作业平台 施工升降机 装载机 自卸车 铣刨机 平板夯 摊铺机 平地机 沥青搅拌设备 迷你挖 小挖 中挖 大挖 特大挖 轮式挖掘机 旋挖钻机 水平定向钻 潜水钻 正反循环钻机 锤机 静压桩机 三轴钻机 长螺旋 双轮铣 地下连续强液压抓斗-->
<!-- <view class="list_item usually" wx:if="{{form_data.equipment_val!=''&&(form_data.equipment_val=='履带挖掘机'||form_data.equipment_val=='静压桩机'||form_data.equipment_val=='塔吊'||form_data.equipment_val=='履带吊'||form_data.equipment_val=='越野吊'||form_data.equipment_val=='高空作业车'||form_data.equipment_val=='高空作业平台'||form_data.equipment_val=='施工升降机'||form_data.equipment_val=='装载机'||form_data.equipment_val=='自卸车'||form_data.equipment_val=='铣刨机'||form_data.equipment_val=='摊铺机'||form_data.equipment_val=='平地机'||form_data.equipment_val=='沥青搅拌设备'||form_data.equipment_val=='迷你挖'||form_data.equipment_val=='小挖'||form_data.equipment_val=='中挖'||form_data.equipment_val=='大挖'||form_data.equipment_val=='特大挖')||form_data.equipment_val=='轮式挖掘机'||form_data.equipment_val=='旋挖钻机'||form_data.equipment_val=='水平定向钻'||form_data.equipment_val=='潜水钻'||form_data.equipment_val=='正反循环钻机'||form_data.equipment_val=='锤机'||form_data.equipment_val=='静压桩机'||form_data.equipment_val=='三轴钻机'||form_data.equipment_val=='长螺旋' ||form_data.equipment_val=='双轮铣'||form_data.equipment_val=='地下连续强液压抓斗'}}"> -->
<view class="list_item usually">
<text>设备型号</text>
<textarea class="alltextarea" value="{{form_data.model}}" bindinput="input_fn" data-type="model" placeholder="请填写" />
</view>
<!-- 吊车 随车吊 履带吊 越野吊 装载机 叉车-->
<view class="list_item usually" wx:if="{{form_data.equipment_val!=''&&(form_data.equipment_val=='吊车'||form_data.equipment_val=='随车吊'||form_data.equipment_val=='履带吊'||form_data.equipment_val=='越野吊'||form_data.equipment_val=='装载机'||form_data.equipment_val=='叉车')}}">
<text>吨位</text>
<textarea class="alltextarea" value="{{form_data.tonnage}}" bindinput="input_fn" data-type="tonnage" placeholder="请填写" />
</view>
<!--推土机-->
<view class="list_item usually" wx:if="{{form_data.equipment_val!=''&&(form_data.equipment_val=='推土机')}}">
<text>功率</text>
<textarea class="alltextarea" value="{{form_data.power}}" bindinput="input_fn" data-type="power" placeholder="请填写" />
</view>
<!--铲运机-->
<view class="list_item usually" wx:if="{{form_data.equipment_val!=''&&(form_data.equipment_val=='铲运机')}}">
<text>斗容</text>
<textarea class="alltextarea" value="{{form_data.volume}}" bindinput="input_fn" data-type="volume" placeholder="请填写" />
</view>
<!-- 拖泵 -->
<view class="list_item usually" bindtap="show_all_picker_fn" data-type="maxtransmission" wx:if="{{form_data.equipment_val!=''&&form_data.equipment_val=='拖泵'}}">
<text>最大传输量</text>
<input type="text" value="{{form_data.maxtransmission_val}}" disabled placeholder="请选择" />
<image class="more" src="/images/publish/more_icon.png"></image>
</view>
<!-- 搅拌车 天泵 -->
<view class="list_item usually" bindtap="show_all_picker_fn" data-type="chassis" wx:if="{{form_data.equipment_val!=''&&(form_data.equipment_val=='搅拌车'||form_data.equipment_val=='天泵')}}">
<text>汽车底盘</text>
<input type="text" value="{{form_data.chassis_val}}" disabled placeholder="请选择" />
<image class="more" src="/images/publish/more_icon.png"></image>
</view>
<!-- 搅拌车 -->
<view class="list_item usually" bindtap="show_all_picker_fn" data-type="volume" wx:if="{{form_data.equipment_val!=''&&form_data.equipment_val=='搅拌车'}}">
<text>装载方量</text>
<input type="text" value="{{form_data.volume_val}}" disabled placeholder="请选择" />
<image class="more" src="/images/publish/more_icon.png"></image>
</view>
<!-- 天泵 -->
<view class="list_item usually" bindtap="show_all_picker_fn" data-type="boom" wx:if="{{form_data.equipment_val!=''&&form_data.equipment_val=='天泵'}}">
<text>臂架长度</text>
<input type="text" value="{{form_data.boom_val}}" disabled placeholder="请选择" />
<image class="more" src="/images/publish/more_icon.png"></image>
</view>
<view class="list_item usually" bindtap="show_all_picker_fn" data-type="years" >
<text>出厂年份</text>
<input type="text" value="{{form_data.years_val}}" disabled placeholder="请选择" /> <text wx:if="{{form_data.years_val}}">年</text>
<image class="more" src="/images/publish/more_icon.png"></image>
</view>
<view class="list_item usually">
<text>出售价格</text>
<textarea class="alltextarea" value="{{form_data.price}}" bindinput="input_fn" data-type="price" placeholder="请填写" />
<text style="color: red;margin-left: 10rpx;">万元</text>
</view>
<!-- 特殊 -->
<view class="xian"></view>
<view class="list_item desc usually">
<text>设备介绍</text>
<textarea class="desc_textarea" maxlength="50" value="{{form_data.content}}" placeholder-style="font-size: 30rpx" bindinput="input_fn" data-type="content" placeholder="工作状况..."></textarea>
<text class="textarea_tip">{{form_data.content.length}}/50</text>
</view>
<!-- <view class="xian"></view> -->
<view class="xian"></view>
<!-- 上传图片 -->
<view class="imgs">
<view class="imgs_title">设备照片 <text style="font-size: 24rpx; color: #b5b5b5;">(请你如实上传照片,为你加分,最多12张)</text></view>
<view class="upimg" bindtap="up_equipment_imgs" wx:if="{{form_data.equipment_imgs.length<12}}">
<image src="/images/common/upimg.png" mode="widthFix"></image>
</view>
<view class="img_item" wx:for="{{form_data.equipment_imgs}}" wx:key="item">
<image class="img" src="{{item.pictureLink}}" mode="aspectFill"></image>
<image class="empty" src="/images/common/empty.png" mode="widthFix" bindtap="del_equipment_imgs" data-index="{{index}}"></image>
</view>
</view>
<view class="imgs">
<view class="imgs_title">行驶证 <text style="font-size: 24rpx; color: #b5b5b5;">(必须清晰无遮盖,不对外公开)</text></view>
<view class="upimg" bindtap="up_license_imgs" wx:if="{{form_data.license_imgs.length<1}}">
<image src="/images/common/upimg.png" mode="widthFix"></image>
</view>
<view class="img_item" wx:for="{{form_data.license_imgs}}" wx:key="item">
<image class="img" src="{{item.pictureLink}}" mode="aspectFill"></image>
<image class="empty" src="/images/common/empty.png" mode="widthFix" bindtap="del_license_imgs" data-index="{{index}}"></image>
</view>
</view>
<view class="xian"></view>
<view class="list_item usually">
<text>联系人</text>
<textarea class="alltextarea" value="{{form_data.name}}" bindinput="input_fn" data-type="name" placeholder="请填写" />
</view>
<view class="list_item usually">
<text>手机号</text>
<textarea class="alltextarea" maxlength="11" value="{{form_data.phone}}" bindinput="input_fn" data-type="phone" placeholder="请填写" />
</view>
<view class="list_item usually">
<text>车辆位置</text>
<input type="text" value="{{form_data.city_val}}" disabled bindtap="show_region_picker_fn" disabled placeholder="请选择" />
<image class="more" src="/images/publish/more_icon.png"></image>
</view>
<view class="xian"></view>
</scroll-view>
<view class="issue">
<view bindtap="check">
<text>确认发布</text>
</view>
</view>
<!-- 设备选择 -->
<new_picker isShowPicker="{{show_equipment}}" equipment_idx="{{equipment_idx}}" bindconfirm="allconfirm_equipment" bindcancel="allcancel" listData="{{equipment_list}}" />
<!-- 设备品牌 -->
<new_picker2 wx:if="{{show_brand}}" isShowPicker="{{show_brand}}" bindconfirm="allconfirm" defaultPickData='{{ brand_idx }}' bindcancel="allcancel" listData="{{brand_list}}" />
<!-- 最大传输量 -->
<new_picker2 wx:if="{{show_maxtransmission}}" isShowPicker="{{show_maxtransmission}}" bindconfirm="allconfirm" defaultPickData='{{ maxtransmission_idx }}' bindcancel="allcancel" listData="{{maxtransmission_list}}" />
<!-- 汽车底盘 -->
<new_picker2 wx:if="{{show_chassis}}" isShowPicker="{{show_chassis}}" bindconfirm="allconfirm" defaultPickData='{{ chassis_idx }}' bindcancel="allcancel" listData="{{chassis_list}}" />
<!-- 装载方量 -->
<new_picker2 wx:if="{{show_volume}}" isShowPicker="{{show_volume}}" bindconfirm="allconfirm" defaultPickData='{{ volume_idx }}' bindcancel="allcancel" listData="{{volume_list}}" />
<!-- 臂架长度 -->
<new_picker2 wx:if="{{show_boom}}" isShowPicker="{{show_boom}}" bindconfirm="allconfirm" defaultPickData='{{ boom_idx }}' bindcancel="allcancel" listData="{{boom_list}}" />
<!-- 出厂年份 -->
<new_picker2 wx:if="{{show_years}}" isShowPicker="{{show_years}}" bindconfirm="allconfirm" defaultPickData='{{ years_idx }}' bindcancel="allcancel" listData="{{years_list}}" />
<!-- 地区 -->
<region_picker multiple='{{false}}' is_show='{{ show_region_picker }}' bindconfirm='sureCallBack_region' bindcancel="cancleCallBack_region" list='{{region_list}}' />
<!-- 提示没有发布机会 -->
<modal bindconfirm_fn='earn_currency' bindcancel_fn='hide_modal' wx:if='{{ is_show_lack_currency }}'>
<view class="lack_currency">
<text>您当前的免费发布次已用完</text>
<!-- <text style="color: #FF0000;">100</text> -->
<text>,请充值后继续发布。</text>
<!-- 享受更多发布次数 -->
</view>
</modal>
<!-- 选择 -->
<!-- <picker1 isShowPicker="{{show_all_picker}}" value="{{all_val}}" key='value' bindconfirm="allconfirm" defaultPickData='{{ [all_idx] }}' bindcancel="allcancel" listData="{{all_list}}" /> -->