publish.wxml 10.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'>
      <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'>
      <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>


    <!-- 企业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'>输入工资</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='最低'>

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

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

          </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='固定'>

          </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'>
      <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">
            <!-- {{post[postIndex]}} -->
            <!-- {{edu[eduIndex].education_name}} -->
            {{eduname}}
            <!-- 请选择 -->
          </view>
          <view class='item_right_icon'>
            <image src='../../img/right.png'></image>
          </view>
        </view>
      </picker>
      <!-- <view class='item_right'>
        <view class='item_right_text'>小学及以下</view>
        <view class='item_right_icon'>
          <image src='../../img/right.png'></image>
        </view>
      </view> -->
    </view>
    <!-- 发布时间 -->
    <view class='item'>
      <view class='item_left'>发布时间</view>
      <view class='item_right releaseTime'>
        <!-- 时间 -->
        <!-- <view class='item_right_rel'>
          2019.10.26-13:32
          <view class='item_right_rel_icon'>
            <image src='../../img/aicon_01@2x.png'></image>
          </view>
        </view> -->


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

          <view class='item_right_rel'>
            <input value='{{time}}' placeholder='选择时间' />
            <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'>
            <input value='{{endtime}}' placeholder='选择时间' />
            <view class='item_right_rel_icon'>
              <image src='../../img/aicon_01@2x.png'></image>
            </view>
          </view>

        </picker>
      </view>


    </view>
    <!-- 选工作地点 -->
    <view class='item map' >
      <!-- 选择地区 -->
      <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">
        <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'>
        <!-- 手机号 -->
        <view class='employ_item'>
          <view class='employ_item_i'>手机号</view>
          <input placeholder='请输入手机号' bindinput="connect" data-type="mobile"></input>
        </view>
        <!-- 微信号 -->
        <view class='employ_item'>
          <view class='employ_item_i'>微信</view>
          <input placeholder='请输入微信号' bindinput="connect" data-type="weixn"></input>
        </view>
        <!-- 微信公众号 -->
        <view class='employ_item'>
          <view class='employ_item_i'>微信公众号</view>
          <input placeholder='请输入微信号公众号' bindinput="connect" data-type="weixingroup"></input>
        </view>
        <!-- QQ号 -->
        <view class='employ_item'>
          <view class='employ_item_i'>QQ号</view>
          <input placeholder='请输入QQ号' bindinput="connect" data-type="qqnum"></input>
        </view>
        <!-- QQ群 -->
        <view class='employ_item'>
          <view class='employ_item_i'>QQ群</view>
          <input placeholder='请输入QQ群' bindinput="connect" 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>