123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <template>
- <view>
- <u-navbar :is-back="false" title="我的" :background="background" title-color="#fff" :border-bottom="false">
- <view class="slot-wrap" v-if="false">
- <u-icon name="mb-cog" custom-prefix="custom-icon" size="44" color="#fff"></u-icon>
- </view>
- </u-navbar>
- <view class="user-head">
- <view class="user-head-img">
- <!-- <view class="head-state">已认证</view> -->
- <u-avatar :src="src" size="140"></u-avatar>
- </view>
- <view class="user-head-text">
- <h3 v-text="hr.realName"></h3>
- <p v-text="hr.companyName"></p>
- </view>
- </view>
- <view class="user-main">
- <view class="title">招聘统计</view>
- <view class="main">
- <view class="main-item" @click="gotoUrl('pages/hr/my/position/position')">
- <span>我的职位</span>
- <h3>{{info.jobCount?info.jobCount:0}}</h3>
- </view>
- <u-line color="#ccc" length="40" direction="col" margin="0 20rpx"/>
- <view class="main-item" @click="gotoUrl('pages/hr/my/look/look')">
- <span>看过的人才</span>
- <h3>{{info.browseResumeCount?info.browseResumeCount:0}}</h3>
- </view>
- <u-line color="#ccc" length="40" direction="col" margin="0 20rpx"/>
- <view class="main-item" @click="gotoUrl('pages/hr/my/follow/follow')">
- <span>对您感兴趣</span>
- <h3>{{info.interestTimes?info.interestTimes:0}}</h3>
- </view>
- </view>
- </view>
- <u-cell-group>
- <u-cell-item title="职位管理" @click="gotoUrl('pages/hr/my/position/position')" ></u-cell-item>
- <u-cell-item title="求职管理" @click="gotoUrl('pages/hr/my/enroll/enroll')"></u-cell-item>
- <u-cell-item title="收藏简历" @click="gotoUrl('pages/hr/my/collection/collection')"></u-cell-item>
- </u-cell-group>
- <u-cell-group class="u-m-t-20">
- <u-cell-item title="关于我们" ></u-cell-item>
- <u-cell-item title="联系客服" value="400-1231-122"></u-cell-item>
- </u-cell-group>
- <view class="signOut">
- 退出登录
- </view>
- <Tabbar-Hr :current="2" ></Tabbar-Hr>
- </view>
- </template>
- <script>
- import api from './index.js'
- export default api;
- </script>
- <style>
- page{
- background-color: #f7f7f7;
- }
- </style>
- <style scoped lang="scss">
- .slot-wrap{
- display: flex;
- justify-content: flex-end;
- flex: 1;
- padding-right: 24rpx;
- }
- .user-head{
- background: #2e99fa;
- height: 110px;
- display: flex;
- align-items: center;
- padding: 0 30rpx;
- position: relative;
- overflow: hidden;
- &::after{
- content: '';
- position: absolute;
- background:linear-gradient(70deg, #3298fb, #45a6fd);
- height:360rpx;
- width: 360rpx;
- border-radius: 50%;
- right: -60rpx;
- z-index:0;
- }
- .user-head-text{
- color:#fff;
- margin-left: 20rpx;
- position: relative;
- z-index: 1;
- h3{
- font-size: 40rpx;
- margin-bottom: 20rpx;
- }
- }
- .user-head-img{
- position: relative;
- .head-state{
- height:36rpx;
- width: 100rpx;
- background-color: #fff;
- border-radius: 8rpx;
- text-align: center;
- line-height: 36rpx;
- position: absolute;
- z-index: 99;
- bottom:0;
- left: 50%;
- margin-left: -50rpx;
- font-size: 24rpx;
- color:#1677FF;
- }
- }
- }
- .user-main{
- background-color: #fff;
- margin-top: 20rpx;
- margin-bottom: 20rpx;
- .title{
- margin:0 30rpx;
- border-bottom: 1px solid #f7f7f7;
- padding: 20rpx 0;
- font-size: 32rpx;
- }
- .main{
- display: flex;
- padding: 30rpx;
- justify-content: space-between;
- align-items: center;
- .main-item{
- display: flex;
- flex-direction: column;
- align-items: center;
- span{
- color:#999;
- font-size: 24rpx;
- }
- h3{
- margin-top: 10rpx;
- font-size: 40rpx;
- }
- }
- }
- }
- .signOut{
- height: 100rpx;
- line-height: 100rpx;
- text-align: center;
- background-color: #fff;
- margin-top: 20rpx;
- border-bottom: 1px solid #f3f4f7;
- border-top: 1px solid #f3f4f7;
- }
- </style>
|