<template>
  <view>
    <u-navbar title="个人简历"></u-navbar>
    <view class="item-box">
      <view class="make-box" @click="makeFn">
        <image src="/static/common/img/resume.svg" style="width: 40rpx; height: 40rpx" />
        <text style="margin-left: 10rpx"> 制作在线简历 </text>
      </view>
      <view class="upload-box" @click="uploadFn">
        <image src="/static/common/img/upload.svg" style="width: 40rpx; height: 40rpx" />
        <text style="margin-left: 10rpx"> 上传附件简历 </text>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    router() {
      uni.navigateBack({
        delta: 1,
      });
    },
    // 制作在线简历
    makeFn() {
      uni.navigateTo({
        url: "/pages/my/personalResume/online",
      });
    },
    // 上传个人简历
    uploadFn() {
      uni.navigateTo({
        url: "/pages/my/fileAcc/fileAcc",
      });
    },
  },
};
</script>

<style lang="scss">
.item-box {
  margin-top: 200rpx;
  padding-left: 30rpx;
  padding-right: 30rpx;
  .make-box {
    background-color: #3CB5FB;
    height: 100rpx;
    line-height: 100rpx;
    color: white;
    text-align: center;
    border-radius: 50rpx;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .upload-box {
    margin-top: 60rpx;
    background-color: #08CC8B;
    height: 100rpx;
    line-height: 100rpx;
    text-align: center;
    color: white;
    border-radius: 50rpx;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
</style>
