publish.wxml 11.7 KB
<view class='container'>
  <view class='items'>
    <view class='item'>
      <view class='item_left'>岗位分类</view>

      <picker bindchange="jobClass" value="{{jobIndex}}" range="{{array}}" range-key='categories_name' data-id='{{item.id}}'>
        <view class='item_right'>
          <view class="item_right_text">
            <!-- {{array[jobIndex].categories_name}} -->
            {{categories_name}}
          </view>
          <view class='item_right_icon'>
            <image src='../../img/right.png'></image>
          </view>
        </view>
      </picker>

    </view>

    <view class='item' wx:if="{{categories_id==5}}">
      <view class='item_left'>选择行业</view>
      <picker bindchange="industryClass" value="{{industryIndex}}" range="{{industry}}" range-key='industry_name'>
        <view class='item_right'>
          <view class="item_right_text">
            <!-- {{industry[industryIndex].industry_name}} -->
            {{hangye}}
          </view>
          <view class='item_right_icon'>
            <image src='../../img/right.png'></image>
          </view>
        </view>
      </picker>
    </view>


    <!-- <view class='item hangye' wx:else>
      <view class='item_left'>输入行业</view>
      <view class='item_right'>
          <view class="item_right_text ">
              <input placeholder='请输入行业' bindinput="enterhangye"/>
         
            
          </view>
         
        </view>
    </view> -->

    <view class='item' wx:if="{{categories_id==5}}">
      <view class='item_left'>选择岗位</view>
      <picker bindchange="postClass" value="{{postIndex}}" range="{{post}}" range-key='station_name'>
        <view class='item_right'>
          <view class="item_right_text">
            <!-- {{post[postIndex].station_name}} -->
            {{gangwei}}
          </view>
          <view class='item_right_icon'>
            <image src='../../img/right.png'></image>
          </view>
        </view>
      </picker>
    </view>

    <view class='item hangye' wx:else>
      <view class='item_left'>输入岗位</view>

      <view class='item_right'>
        <view class="item_right_text">
          <!-- {{post[postIndex].station_name}} -->
          <input placeholder='请输入岗位' bindinput="entergangwei" />
        </view>
        <!-- <view class='item_right_icon'>
            <image src='../../img/right.png'></image>
          </view> -->
      </view>

    </view>


    <!-- 企业logo -->
    <view class='item logo'>
      <view class='item_left'>企业logo</view>
      <!-- logo图片 -->
      <view class='pic_box'>
        <view class="btn-file">
          <image src="{{logoitem?logoitem:'../../img/btn-file.png'}}" data-src="{{item}}" bindtap="chooseImage" />
          <!-- 删除按钮 -->
          <!-- <view class="delete" bindtap="delete" data-index="{{index}}">
            <image src='../../img/icon.png'></image>
          </view> -->
        </view>
        <!-- <view class='gallery_pic' bindtap='chooseImage'>
          <image src='../../img/btn-file.png'></image>
        </view> -->
      </view>
    </view>
    <!-- banner -->
    <view class='item banner'>
      <view class='item_left'>banner</view>
      <!-- logo图片 -->
      <view class='pic_banner '>
        <view class="banner_small">
          <image src="{{banneritem?banneritem:'../../img/btn-file.png'}}" data-src="{{item}}" bindtap="chooseImage2" />
          <!-- 删除按钮 -->
          <!-- <view class="delete" bindtap="delete2" data-index="{{index}}">
            <image src='../../img/icon.png'></image>
          </view> -->
        </view>
        <!-- <view class='banner_pic' bindtap='chooseImage2'>
          <image src='../../img/btn-file.png'></image>
        </view> -->


      </view>


    </view>
    <!-- 输入工资 -->
    <view class='item'>
      <view class='item_left entergongzi'>输入工资</view>
      <view class='item_right salary'>
        <!-- 酬薪范围与固定薪资切换 -->
        <!-- <view class='item_right_top'>
          <view class='item_right_top_left {{status==true?"color_y":""}}' bindtap='switch_a'>酬薪范围</view>
          <view class='item_right_top_right {{status==false?"color_y":""}}' bindtap='switch_a'>固定薪资</view>
        </view> -->
        <!-- 范围 -->
        <view class='item_right_bottom' wx:if="{{status}}">
          <input class='item_right_bottom_i' bindinput='minMoney' placeholder='最低' type="number">

          </input>
          <!-- 箭头 -->
          <view class='item_arrowsR'>
            <image src='../../img/arrowsR.png'></image>
          </view>

          <input class='item_right_bottom_i' bindinput='maxMoney' placeholder='最高' type="number">

          </input>
          <!-- 元/月 -->
          <picker bindchange="binddanweirChange" value="{{index}}" range="{{danweiarray}}" range-key='unit_name'>
            <view class='item_right_bottom_money'>
              {{danweiarray[danindex].unit_name}}
              <view class='bottom_money_icon'>
                <image src='../../img/aicon_01@2x.png'></image>
              </view>
            </view>
          </picker>
        </view>
        <view class='item_right_bottom' wx:else>
          <input class='item_right_bottom_i' bindinput='guminMoney' placeholder='固定' type="number">

          </input>

          <!-- 箭头 -->
          <view class='item_arrowsR'>
            <!-- <image src='../../img/arrowsR.png'></image> -->
          </view>

          <input class='item_right_bottom_i1' bindinput=''>

          </input>

          <!-- <view class='item_right_bottom_money'>
            元/月
            <view class='bottom_money_icon'>
              <image src='../../img/aicon_01@2x.png'></image>
            </view>
          </view> -->

          <picker bindchange="binddanweirChange" value="{{index}}" range="{{danweiarray}}" range-key="unit_name">
            <view class='item_right_bottom_money'>
              {{danweiarray[danindex].unit_name}}
              <view class='bottom_money_icon'>
                <image src='../../img/aicon_01@2x.png'></image>
              </view>
            </view>
          </picker>






        </view>
      </view>
    </view>
    <!-- 选择学历 -->
    <view class='item' wx:if="{{categories_id==5}}">
      <view class='item_left'>选择学历</view>
      <picker bindchange="selectEdu" value="{{eduIndex}}" range="{{edu}}" range-key='education_name'>
        <view class='item_right'>
          <view class="item_right_text">

            {{eduname}}

          </view>
          <view class='item_right_icon'>
            <image src='../../img/right.png'></image>
          </view>
        </view>
      </picker>

    </view>

    <!-- 选择性别 -->
    <view class='item' wx:if="{{categories_id==5}}">
      <view class='item_left'>选择性别</view>
      <picker bindchange="selectsex" value="{{sexindex}}" range="{{sex}}" range-key='name'>
        <view class='item_right'>
          <view class="item_right_text">

            {{sexname}}

          </view>
          <view class='item_right_icon'>
            <image src='../../img/right.png'></image>
          </view>
        </view>
      </picker>

    </view>
    <!-- 发布时间 -->
    <!-- <view class='item'>
      <view class='item_left'>发布时间</view>
      <view class='item_right releaseTime'>
        


        <picker mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" data-id="1" value="{{multiIndex}}" range="{{multiArray}}">

          <view class='item_right_rel'>
            <view>{{time}}</view>
            <view class='item_right_rel_icon'>
              <image src='../../img/aicon_01@2x.png'></image>
            </view>
          </view>

        </picker>
       
        <view class='item_right_arrowsB'>
          <image src='../../img/arrowsB.png'></image>
        </view>
        
        <picker mode="multiSelector" data-id="2" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}">

          <view class='item_right_rel'>
            <view>{{endtime}}</view>
            <view class='item_right_rel_icon'>
              <image src='../../img/aicon_01@2x.png'></image>
            </view>
          </view>

        </picker>
      </view>


    </view> -->
    <!-- 选工作地点 -->
    <view class='item map' wx:if="{{categories_id==5}}">
      <!-- 选择地区 -->
      <view class='map_item address' bindtap="enter">
        <view class='item_left'>详细地址</view>
        <view class='item_right'>
          <view class='item_right_text'>{{addressname}}</view>
          <view class='item_right_icon'>
            <!-- <image src='../../img/right.png'></image> -->
          </view>
        </view>
      </view>


      <view class="page-section page-section-gap" wx:if="{{categories_id==5}}">
        <map id="myMap" style="width: 100%; height: 300px;" latitude="{{latitude}}" longitude="{{longitude}}" markers="{{markers}}" covers="{{covers}}" show-location></map>
      </view>
    </view>
    <!-- 应聘联系方式 -->

    <view class='employ'>
      <view class='employ_left'>应聘联系方式</view>
      <view class='employ_right'>
        <!-- 手机号 -->
        <picker bindchange="yingji" value="{{connectindex}}" range="{{connectarr}}">
          <view class='employ_item'>
            <view class='employ_item_i'>{{connectname}}</view>

          </view>
        </picker>

        <view class='employ_item' wx:if="{{connectindex==0}}">

          <input placeholder='请输入手机号' bindinput="connectmobile" data-type="weixn"></input>
        </view>

        <view class='employ_item' wx:if="{{connectindex==2}}">

          <input placeholder='请输入微信号' bindinput="connectwx" data-type="weixn"></input>
        </view>

        <view class='employ_item' wx:if="{{connectindex==1}}">
          <!-- <view class='employ_item_i'>微信公众号</view> -->
          <input placeholder='请输入微信号公众号' bindinput="connectwxgroup" data-type="weixingroup"></input>
        </view>

        <view class='employ_item' wx:if="{{connectindex==3}}">
          <!-- <view class='employ_item_i'>QQ号</view> -->
          <input placeholder='请输入QQ号' bindinput="connectqq" data-type="qqnum"></input>
        </view>

        <view class='employ_item' wx:if="{{connectindex==4}}">
          <!-- <view class='employ_item_i'>QQ群</view> -->
          <input placeholder='请输入QQ群' bindinput="connectqqgroup" data-type="qqgroup"></input>
        </view>
      </view>
    </view>

    <!-- 招聘要求 -->
    <!-- <view class='require'>
      <view class='require_top'>招聘要求</view>
      <view class='require_textarea'>
        <textarea placeholder='性别不限/学历不限/年龄不限/经验不限' bindinput="zhaopinyaoqiu" maxlength='200'></textarea>
        <view class='require_textarea_text'>{{len}}/200</view>
      </view>
    </view> -->
    <!-- 福利要求 -->
    <!-- <view class='require'>
      <view class='require_top'>福利要求</view>
      <view class='require_textarea'>
        <textarea placeholder='性别不限/学历不限/年龄不限/经验不限' bindinput="fuliyaoqiu" maxlength='200'></textarea>
        <view class='require_textarea_text'>{{len_fuli}}/200</view>
      </view>
    </view> -->
    <!-- 岗位描述 -->
    <view class='require'>
      <view class='require_top'>岗位描述</view>
      <view class='require_textarea'>
        <textarea placeholder='性别不限/学历不限/年龄不限/经验不限' bindinput="gangweiyaoqiu" maxlength='200'></textarea>
        <view class='require_textarea_text'>{{len_miaoshu}}/200</view>
      </view>
    </view>
  </view>

  <!-- 按钮 -->
  <view class='bottom'>
    <view class='bottom_btn' bindtap='publish'>确认发布</view>
  </view>

</view>