You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
bocai_supplyChain/pages/publishJob/index.wxml

200 lines
12 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<view class="f16 pl10 c6" hover-class="none" style="height:48px;line-height:67px" hover-stop-propagation="false">
职位名称
<text class="cfred">*</text>
</view>
<view class="cell" hover-class="none" hover-stop-propagation="false">
<view class="cell_sub">
<input class type="text" style="width:100%" value="{{jobObj.jobName}}" name="userName" bindinput="inputUpdate" data-type="jobName" placeholder="请输入职位名称" placeholder-class="input__placeholder" />
</view>
</view>
<view class="cell mt24" hover-class="none" hover-stop-propagation="false">
<view class="cell_sub bb1" bindtap="showSex">
<view class hover-class="none">
性别年龄
<text class="cfred">*</text>
</view>
<view class="c9 fsa" hover-class="none">
<view class="c3" wx:if="{{nanChecked || nvChecked}}" hover-class="none" hover-stop-propagation="false">{{nanChecked ? '男 ' + (salaryArray[0][salaryIndex[0]] || '')+ '-' + (salaryArray[1][salaryIndex[1]] || '') + '岁':''}}{{nanChecked && nvChecked?'':''}}{{nvChecked ? '女 ' + (salaryArrayN[0][salaryIndexN[0]] || '')+ '-' + (salaryArrayN[1][salaryIndexN[1]] || '' )+ '岁':''}}</view>
<view class wx:else hover-class="none" hover-stop-propagation="false">请选择性别年龄</view>
<text class="iconfont icon-gengduo f14"></text>
</view>
</view>
<view class="cell_sub bb1" bindtap="showPrice">
<view class hover-class="none" hover-stop-propagation="false">
工价
<text class="cfred">*</text>
</view>
<view class="c9 fsa" hover-class="none" hover-stop-propagation="false">
<view class="c3" wx:if="{{priceType || jobObj.salaryClassifyValue}}" hover-class="none" hover-stop-propagation="false">{{(jobObj.salaryClassifyValue || '') + priceUnit}}</view>
<view class wx:else hover-class="none" hover-stop-propagation="false">请选择工价</view>
<text class="iconfont icon-gengduo f14"></text>
</view>
</view>
<view class="cell_sub" bindtap="showFuwufei">
<view class hover-class="none" hover-stop-propagation="false">
服务费
<text class="cfred">*</text>
</view>
<view class="fsa c9" hover-class="none" hover-stop-propagation="false">
<view class="c3" wx:if="{{fuwufeiType || jobObj.returnFee}}" hover-class="none" hover-stop-propagation="false">{{(jobObj.returnFee || '') + fuwufeiUnit}}</view>
<view class wx:else hover-class="none" hover-stop-propagation="false">请选择服务费</view>
<text class="iconfont icon-gengduo f14"></text>
<!-- <input class="tar c3" type="text" name="userName" bindinput="bothwayBind" data-type="name" value="{{userInfo.name}}" placeholder="请选择服务费" placeholder-class="input__placeholder" /> -->
</view>
</view>
</view>
<view class="f16 pl10 c6" hover-class="none" style="height:48px;line-height:67px" hover-stop-propagation="false">职位描述</view>
<view class="despArea" hover-class="none" hover-stop-propagation="false">
<textarea class="areaInput" type="text" name="desp" maxlength="-1" bindinput="inputUpdate" data-type="jobDesp" value="{{jobObj.jobDesp}}" disable-default-padding="{{false}}" placeholder="请输入职位描述" placeholder-class="input__placeholder" auto-height style></textarea>
</view>
<view class="pb32 bottomBox" hover-class="none" hover-stop-propagation="false">
<button class="normalBtn loginOut" hover-class="thover" bindtap="subAdd">发布</button>
</view>
<!-- 性别选择 -->
<bottom-drawer show="{{sexShow}}" drawerType="sexShow" bindhidedrawer="hidedrawershow" height="80vh">
<view class="tac" slot="title" style="line-height:50px" hover-class="none" hover-stop-propagation="false">性别年龄</view>
<view class hover-class="none" hover-stop-propagation="false">
<form catchsubmit="formSubmit">
<view class="mt10 bgf p010">
<view class="weui-cells weui-cells_after-title" style="margin-top: 0;">
<view class="weui-cell">
<view class="weui-cell__bd f16 c6 va-center">
<i class="iconfont {{nanChecked?'icon-duoxuan2 ysd-base-color':'icon-duoxuan11 c9'}} mr12 f24" bindtap="changeNan" style="width: 24px;height: 24px;line-height:24px"></i>
</view>
<view class="weui-cell__bd f16 c3">
<picker mode="multiSelector" class bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{salaryIndex}}" range="{{salaryArray}}">
<view class="picker tr fse" style>
<block>
<view class="c9" wx:if="{{salaryArray[0][salaryIndex[0]] == 16 && salaryArray[1][salaryIndex[1]] == 17}}">年龄范围默认</view>
</block>
<block wx:if="{{(salaryIndex[0] != -1 && salaryIndex[0] != '') || salaryIndex[0] == 0}}">
<view class="fsa {{salaryArray[0][salaryIndex[0]] == 16 && salaryArray[1][salaryIndex[1]] == 17 ? 'c9':''}}" hover-class="none" hover-stop-propagation="false">
{{salaryArray[0][salaryIndex[0]]}}-{{salaryArray[1][salaryIndex[1]]}}
<text class="ml6 c3">岁</text>
</view>
</block>
</view>
</picker>
</view>
</view>
<view class="weui-cell">
<view class="weui-cell__bd f16 c6 va-center">
<i class="iconfont {{nvChecked?'icon-duoxuan2 ysd-base-color':'icon-duoxuan11 c9'}} f24 mr12" bindtap="changeNv" style="width: 24px;height: 24px;;line-height:24px"></i>
</view>
<view class="weui-cell__bd f16 c3">
<picker mode="multiSelector" bindchange="bindMultiPickerChangeN" bindcolumnchange="bindMultiPickerColumnChangeN" value="{{salaryIndexN}}" range="{{salaryArrayN}}">
<view class="picker tr fse">
<view class="c9" wx:if="{{salaryArrayN[0][salaryIndexN[0]] == 16 && salaryArrayN[1][salaryIndexN[1]] == 17}}">年龄范围默认</view>
<block wx:if="{{(salaryIndexN[0] != -1 && salaryIndexN[0] != '') || salaryIndexN[0] == 0}}">
<view class="fsa {{salaryArrayN[0][salaryIndexN[0]] == 16 && salaryArrayN[1][salaryIndexN[1]] == 17 ? 'c9':''}}" hover-class="none" hover-stop-propagation="false">
{{salaryArrayN[0][salaryIndexN[0]]}}-{{salaryArrayN[1][salaryIndexN[1]]}}
<text class="ml6 c3">岁</text>
</view>
</block>
<block wx:else>
<text class="c9">请选择年龄范围</text>
</block>
</view>
</picker>
</view>
</view>
</view>
</view>
<button type class="loginOut normalBtn mt120" bindtap="sureSex" hover-class="thover" formType="submit" style="font-weight:blod">确定</button>
</form>
</view>
</bottom-drawer>
<!-- 工价设置 -->
<bottom-drawer show="{{priceShow}}" drawerType="priceShow" bindhidedrawer="hidedrawershow" height="80vh">
<view class="tac" slot="title" style="line-height:50px" hover-class="none" hover-stop-propagation="false">工价</view>
<view class="drawerContent" hover-class="none" hover-stop-propagation="false">
<view class="cell_sub bb1" bindtap="showPriceType">
<view class hover-class="none" hover-stop-propagation="false">
{{priceArray[priceType].name}}
<!-- <text class="cfred">*</text> -->
</view>
<view class="c9" hover-class="none" hover-stop-propagation="false">
<text class="iconfont icon-gengduo f14"></text>
</view>
</view>
<view class="cell_sub bb1">
<view class hover-class="none" hover-stop-propagation="false">金额</view>
<view class="c9 fsa" hover-class="none" hover-stop-propagation="false">
<input class="tar c3" type="number" name="userName" bindinput="inputUpdate" data-type="salaryClassifyValue" value="{{jobObj.salaryClassifyValue}}" placeholder="请输入金额 如20" placeholder-class="input__placeholder" />
<view class="priceUnit ml8 c3" hover-class="none" hover-stop-propagation="false">{{priceUnit}}</view>
</view>
</view>
<view class="cell_sub bb1">
<view class hover-class="none" hover-stop-propagation="false">综合月薪</view>
<view class="c9 fsa" hover-class="none" hover-stop-propagation="false">
<input class="tac c3" type="number" name="userName" bindinput="inputUpdate" data-type="minMonthlyPay" style="width:100px" value="{{jobObj.minMonthlyPay}}" placeholder="最小月薪" placeholder-class="input__placeholder" />
-
<input class="tac c3" type="number" name="userName" bindinput="inputUpdate" data-type="maxMonthlyPay" style="width:100px" value="{{jobObj.maxMonthlyPay}}" placeholder="最大月薪" placeholder-class="input__placeholder" />
<!-- <view class="priceUnit ml12 c3" hover-class="none" hover-stop-propagation="false">{{priceUnit}}</view> -->
</view>
</view>
<button class="normalBtn loginOut mt120" hover-class="thover" bindtap="surePrice">确定</button>
</view>
</bottom-drawer>
<!-- 服务费设置 -->
<bottom-drawer show="{{fuwufeiShow}}" drawerType="fuwufeiShow" bindhidedrawer="hidedrawershow" height="80vh">
<view class="tac" slot="title" style="line-height:50px" hover-class="none" hover-stop-propagation="false">服务费</view>
<view class="drawerContent" hover-class="none" hover-stop-propagation="false">
<view class="cell_sub bb1" bindtap="showFuwufeiType">
<view class hover-class="none" hover-stop-propagation="false">
{{fuwufeiArray[fuwufeiType].name}}
<!-- <text class="cfred">*</text> -->
</view>
<view class="c9" hover-class="none" hover-stop-propagation="false">
<text class="iconfont icon-gengduo f14"></text>
</view>
</view>
<view class="cell_sub bb1">
<view class hover-class="none" hover-stop-propagation="false">金额</view>
<view class="c9 fsa" hover-class="none" hover-stop-propagation="false">
<input class="tar c3" type="number" name="userName" bindinput="inputUpdate" data-type="returnFee" value="{{jobObj.returnFee}}" placeholder="请输入金额 如20" placeholder-class="input__placeholder" />
<view class="priceUnit ml8 c3" hover-class="none" hover-stop-propagation="false">{{fuwufeiUnit}}</view>
</view>
</view>
<button class="normalBtn loginOut mt120" hover-class="thover" bindtap="sureFuwufei">确定</button>
</view>
</bottom-drawer>
<!-- 服务费类型选择 -->
<bottom-drawer show="{{fuwufeiTypeShow}}" drawerType="fuwufeiTypeShow" bindhidedrawer="hidedrawershow" height="80vh">
<view class="tac" slot="title" style="line-height:50px" hover-class="none" hover-stop-propagation="false">选择服务费类型</view>
<view class="drawerContent" hover-class="none" hover-stop-propagation="false">
<radio-group bindchange="fuwufeiChange">
<label class="fsa bb1 weui-check__label" style="padding-top: 12px;padding-bottom: 12px;" wx:for="{{fuwufeiArray}}" wx:key="value">
<view class="weui-cell__bd f16 c3">{{item.name}}</view>
<view class="weui-cell__ft">
<radio class="weui-check" value="{{item.id}}" checked="{{item.checked}}" />
<i class="iconfont icon-duihao2 mr16" style="color:var(--color-ysd)" wx:if="{{item.checked}}"></i>
</view>
</label>
</radio-group>
</view>
</bottom-drawer>
<!-- 薪资类型选择 -->
<bottom-drawer show="{{priceTypeShow}}" drawerType="priceTypeShow" bindhidedrawer="hidedrawershow" height="80vh">
<view class="tac" slot="title" style="line-height:50px" hover-class="none" hover-stop-propagation="false">选择薪资类型</view>
<view class="drawerContent" hover-class="none" hover-stop-propagation="false">
<radio-group bindchange="radioChange">
<label class="fsa bb1 weui-check__label" style="padding-top: 12px;padding-bottom: 12px;" wx:for="{{priceArray}}" wx:key="value">
<view class="weui-cell__bd f16 c3">{{item.name}}</view>
<view class="weui-cell__ft">
<radio class="weui-check" value="{{item.id}}" checked="{{item.checked}}" />
<i class="iconfont icon-duihao2 mr16" style="color:var(--color-ysd)" wx:if="{{item.checked}}"></i>
</view>
</label>
</radio-group>
</view>
</bottom-drawer>