|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <view>
|
|
|
|
|
|
|
+ <view style="height: 100vh;" class="flex flex-direction">
|
|
|
<!-- 顶部导航栏 -->
|
|
<!-- 顶部导航栏 -->
|
|
|
<view class="navbar" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
|
|
<view class="navbar" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
|
|
|
<view class="navbar-content">
|
|
<view class="navbar-content">
|
|
@@ -13,31 +13,28 @@
|
|
|
|
|
|
|
|
<!-- <nav-bar title="基本信息"></nav-bar> -->
|
|
<!-- <nav-bar title="基本信息"></nav-bar> -->
|
|
|
<view class="contain flex flex-direction">
|
|
<view class="contain flex flex-direction">
|
|
|
- <view class="usermain">
|
|
|
|
|
- <scroll-view scroll-with-animation scroll-y>
|
|
|
|
|
- <!-- 我的公司 -->
|
|
|
|
|
- <view class="usermain-item item-padding" v-for="item in content">
|
|
|
|
|
- <view class="usermain-item-title c-flex-center">
|
|
|
|
|
- <image
|
|
|
|
|
- :src="item.fileType == 'pdf' ? '../../static/images/pdf.svg' : '../../static/images/docx.svg'"
|
|
|
|
|
- class="header-icon" mode="aspectFill" />
|
|
|
|
|
- </view>
|
|
|
|
|
- <view @click="seekDoc(item)" class="fileContent c-flex-center">
|
|
|
|
|
- <view class="fileName m-ellipsis">{{ item.attachmentName }}</view>
|
|
|
|
|
- <view class="filedesc">{{ item.attachmentSize }}kb 更新于{{ item.createTime }}</view>
|
|
|
|
|
- </view>
|
|
|
|
|
- <view @click.stop="more(item.resumesAttachmentId)" class="c-flex-center">
|
|
|
|
|
- <u-icon name="more-dot-fill"></u-icon>
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <scroll-view scroll-with-animation scroll-y>
|
|
|
|
|
+ <!-- 我的公司 -->
|
|
|
|
|
+ <view class="usermain-item item-padding" v-for="item in content">
|
|
|
|
|
+ <view class="usermain-item-title c-flex-center">
|
|
|
|
|
+ <image
|
|
|
|
|
+ :src="item.fileType == 'pdf' ? '../../static/images/pdf.svg' : '../../static/images/docx.svg'"
|
|
|
|
|
+ class="header-icon" mode="aspectFill" />
|
|
|
</view>
|
|
</view>
|
|
|
- <empty :isShow="false" v-if="content.length == 0" />
|
|
|
|
|
- </scroll-view>
|
|
|
|
|
- </view>
|
|
|
|
|
-
|
|
|
|
|
- <view class="footer-btn">
|
|
|
|
|
- <fileSelector title="上传简历" allowType=".doc,.docx,.xls,.xlsx,.pdf" @fileSelected="uploadResumes"
|
|
|
|
|
- @filesChanged="onFilesChanged" />
|
|
|
|
|
- </view>
|
|
|
|
|
|
|
+ <view @click="seekDoc(item)" class="fileContent c-flex-center">
|
|
|
|
|
+ <view class="fileName m-ellipsis">{{ item.attachmentName }}</view>
|
|
|
|
|
+ <view class="filedesc">{{ item.attachmentSize }}kb 更新于{{ item.createTime }}</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view @click.stop="more(item.resumesAttachmentId)" class="c-flex-center">
|
|
|
|
|
+ <u-icon name="more-dot-fill"></u-icon>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <empty :isShow="false" v-if="content.length == 0" />
|
|
|
|
|
+ </scroll-view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="footer-btn">
|
|
|
|
|
+ <fileSelector title="上传简历" allowType=".doc,.docx,.xls,.xlsx,.pdf" @fileSelected="uploadResumes"
|
|
|
|
|
+ @filesChanged="onFilesChanged" />
|
|
|
</view>
|
|
</view>
|
|
|
<!-- 权限说明弹窗 -->
|
|
<!-- 权限说明弹窗 -->
|
|
|
<u-popup mode="top" ref="permission">
|
|
<u-popup mode="top" ref="permission">
|
|
@@ -382,19 +379,13 @@ page {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.navbar {
|
|
.navbar {
|
|
|
- position: fixed;
|
|
|
|
|
- top: 0;
|
|
|
|
|
- left: 0;
|
|
|
|
|
- right: 0;
|
|
|
|
|
- z-index: 999;
|
|
|
|
|
|
|
+ padding: 24rpx 32rpx 20rpx 32rpx;
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
- padding: 0 0 40rpx 20rpx;
|
|
|
|
|
|
|
|
|
|
.navbar-content {
|
|
.navbar-content {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
align-items: center;
|
|
align-items: center;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
- padding: 0 30rpx;
|
|
|
|
|
height: 60rpx;
|
|
height: 60rpx;
|
|
|
|
|
|
|
|
.navbar-left {
|
|
.navbar-left {
|
|
@@ -446,19 +437,7 @@ button {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.contain {
|
|
.contain {
|
|
|
- padding-top: 120rpx;
|
|
|
|
|
- /* 为固定导航栏留出空间 */
|
|
|
|
|
- /* #ifdef APP*/
|
|
|
|
|
- padding-top: calc(120rpx + var(--status-bar-height));
|
|
|
|
|
- /* #endif*/
|
|
|
|
|
- height: 100vh;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-.usermain {
|
|
|
|
|
- background: #ffffff;
|
|
|
|
|
- /* color: #fff; */
|
|
|
|
|
- height: 100vh;
|
|
|
|
|
-
|
|
|
|
|
|
|
+ flex: 1;
|
|
|
scroll-view {
|
|
scroll-view {
|
|
|
height: 100%;
|
|
height: 100%;
|
|
|
}
|
|
}
|
|
@@ -639,7 +618,6 @@ button {
|
|
|
|
|
|
|
|
.footer-btn {
|
|
.footer-btn {
|
|
|
margin-top: 40rpx;
|
|
margin-top: 40rpx;
|
|
|
- padding-bottom: 40rpx;
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.footer-btn .usermain-btn {
|
|
.footer-btn .usermain-btn {
|