<template>
  <view class="ss-p-50">
    <uni-card class="ss-m-t-30" @tap="handleToAdd">
      <view class="d-flex flex-column align-center ss-p-y-50">
        <image src="https://minio.citupro.com/dev/static/clone.png" class="svg ss-m-l-10"></image>
        <view class="color-primary text-center MiSans-Medium" style="font-size: 24px">填写职位信息发布</view>
      </view>
    </uni-card>
    <uni-card class="ss-m-t-80" @tap="handleToClone">
      <view class="d-flex flex-column align-center ss-p-y-50">
        <image src="https://minio.citupro.com/dev/static/edit.png" class="svg ss-m-l-10"></image>
        <view class="color-primary text-center MiSans-Medium" style="font-size: 24px">克隆已有职位发布</view>
      </view>
    </uni-card>
  </view>
</template>

<script setup>
// 克隆职位发布
const handleToClone = () => {
	uni.navigateTo({
		url: '/pagesB/jobFair/join'
	})
}

// 填写职位信息发布
const handleToAdd = () => {
	uni.reLaunch({
		url: '/pagesB/positionAdd/index'
	})
}
</script>

<style lang="scss" scoped>
.svg {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
}
</style>
