Browse Source

上传修改

master
前端-胡立永 7 months ago
parent
commit
dcb4a637d9
14 changed files with 336 additions and 13 deletions
  1. +145
    -0
      components/list/bossList/bossItem.vue
  2. +70
    -0
      components/list/bossList/index.vue
  3. +5
    -2
      components/list/workList/index.vue
  4. +6
    -2
      components/list/workList/workListSwipe.vue
  5. +3
    -0
      pages.json
  6. +3
    -3
      pages/index/center.vue
  7. +1
    -1
      pages/index/consult.vue
  8. +4
    -1
      pages/index/keepAccounts.vue
  9. +6
    -3
      pages_order/components/user/userHead.vue
  10. +35
    -1
      pages_order/mine/contactRecord.vue
  11. +58
    -0
      pages_order/mine/seeMy.vue
  12. BIN
      static/image/center/headImage.png
  13. BIN
      static/image/center/help.png
  14. BIN
      static/image/center/message.png

+ 145
- 0
components/list/bossList/bossItem.vue View File

@ -0,0 +1,145 @@
<template>
<view class="boss-item">
<view class="head">
<view class="headImage">
<image src="/static/image/center/headImage.png" mode=""></image>
</view>
<view class="info">
<view class="name">
李老板
<view>
企业HR
</view>
</view>
<view class="tips">
湖南江海国际经济技术合作有限公司
</view>
</view>
<view class="right">
一个小时前
</view>
</view>
<view class="item"
v-for="(item, index) in 2">
<view class="top">
<view class="title">
产品经理
</view>
<view class="price">
12-18K
</view>
</view>
<view class="bottom">
<view class="address">
长沙 | 经验不限 | 学历不限
</view>
<view class="time">
09月23日 1620
</view>
</view>
</view>
<view class="more">
查看全部5个职位
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods: {
}
}
</script>
<style scoped lang="scss">
.boss-item{
background-color: #fff;
border-radius: 20rpx;
.head {
display: flex;
align-items: center;
position: relative;
padding: 20rpx;
image {
width: 100%;
height: 100%;
}
.headImage {
width: 80rpx;
height: 80rpx;
background-size: 100% 100%;
overflow: hidden;
border-radius: 50%;
margin-right: 40rpx;
}
.info {
font-size: 28rpx;
.name {
font-size: 32rpx;
display: flex;
padding-bottom: 10rpx;
view {
display: flex;
font-size: 24rpx;
align-items: center;
margin-left: 20rpx;
background: rgba($uni-color, 0.2);
color: $uni-color;
padding: 10rpx;
border-radius: 10rpx;
}
}
.tips {
font-size: 24rpx;
}
}
.right{
margin-left: auto;
font-size: 24rpx;
}
}
.item{
padding: 20rpx;
border-top: 1rpx solid #00000015;
.top{
display: flex;
justify-content: space-between;
font-weight: 900;
.title{
}
.price{
color: $uni-color;
}
}
.bottom{
display: flex;
justify-content: space-between;
align-items: flex-end;
font-size: 24rpx;
margin-top: 20rpx;
.time{
color: #999999;
}
}
}
.more{
padding: 20rpx;
text-align: center;
color: $uni-color;
font-size: 24rpx;
}
}
</style>

+ 70
- 0
components/list/bossList/index.vue View File

@ -0,0 +1,70 @@
<template>
<scroll-view
scroll-y="true"
:style="{height: height}"
@scrolltolower="loadMoreData">
<view class="bossList">
<view
@click="$utils.navigateTo('/pages_order/boss/bossDetail?id=' + 123)"
:key="index"
v-for="(item, index) in 10">
<bossItem :item="item"/>
</view>
</view>
</scroll-view>
</template>
<script>
import bossItem from './bossItem.vue'
export default {
components : {
bossItem,
},
props : {
height : {
default : 'auto'
},
api : {
default : ''
}
},
data() {
return {
queryParams: {
pageNo: 1,
pageSize: 10,
},
total : 0,
list : 10,
}
},
methods: {
queryVideoList(){
if(uni.getStorageSync('token')){
this.queryParams.token = uni.getStorageSync('token')
}
this.$api(this.api, this.queryParams, res => {
if(res.code == 200){
this.list = res.result
// this.total = res.result.total
}
})
},
loadMoreData(){
if(this.queryParams.pageSize <= this.list.length){
this.queryParams.pageSize += 10
this.queryVideoList()
}
},
}
}
</script>
<style scoped lang="scss">
.bossList {
&>view{
margin: 20rpx;
}
}
</style>

+ 5
- 2
components/list/workList/index.vue View File

@ -8,7 +8,7 @@
@click="$utils.navigateTo('/pages_order/work/workDetail?id=' + 123)"
:key="index"
v-for="(item, index) in list">
<workItem class="work-item"/>
<workItem :item="item"/>
</view>
</view>
</scroll-view>
@ -24,6 +24,9 @@
height : {
default : 'auto'
},
api : {
default : ''
}
},
data() {
return {
@ -41,7 +44,7 @@
this.queryParams.token = uni.getStorageSync('token')
}
this.$api('queryVedioById', this.queryParams, res => {
this.$api(this.api, this.queryParams, res => {
if(res.code == 200){
this.list = res.result
// this.total = res.result.total


+ 6
- 2
components/list/workList/workListSwipe.vue View File

@ -2,9 +2,9 @@
<uv-swipe-action>
<view
v-for="(item, index) in list"
class="item"
:key="index"
>
<view style="margin-top: 20rpx;"></view>
<uv-swipe-action-item
@click="e => clickSwipeAction(e, item)"
:options="options">
@ -49,5 +49,9 @@
</script>
<style scoped lang="scss">
.item{
margin: 20rpx;
border-radius: 20rpx;
overflow: hidden;
}
</style>

+ 3
- 0
pages.json View File

@ -70,6 +70,9 @@
},
{
"path": "mine/releaseWork"
},
{
"path": "mine/seeMy"
}
]
}],


+ 3
- 3
pages/index/center.vue View File

@ -99,7 +99,7 @@
<text class="grid-text">我的找活</text>
</uv-grid-item>
<uv-grid-item @click="$utils.redirectTo('/index/order')">
<uv-grid-item @click="$utils.navigateTo('/pages_order/mine/seeMy')">
<image class="image" src="/static/image/center/5.png" mode=""></image>
<text class="grid-text">谁看过我</text>
</uv-grid-item>
@ -192,7 +192,7 @@
computed: {
...mapState(['userInfo']),
headImage(){
return '/static/image/center/headImage.png'
},
username(){
@ -266,7 +266,7 @@
.headImage {
width: 120rpx;
height: 120rpx;
background-image: url(/static/image/center/3.png);
// background-image: url(/static/image/center/3.png);
background-size: 100% 100%;
overflow: hidden;
border-radius: 50%;


+ 1
- 1
pages/index/consult.vue View File

@ -2,7 +2,7 @@
<view class="page">
<navbar
title="订单中心"
title="考证咨询"
/>


+ 4
- 1
pages/index/keepAccounts.vue View File

@ -1,6 +1,9 @@
<template>
<view class="page">
<navbar/>
<navbar
title="记工记账"
/>
<tabber select="1" />


+ 6
- 3
pages_order/components/user/userHead.vue View File

@ -1,7 +1,7 @@
<template>
<view class="head">
<view class="headImage">
<image src="/static/image/center/3.png" mode=""></image>
<image :src="image" mode=""></image>
</view>
<view class="info">
<view class="name">
@ -32,6 +32,9 @@
phone : {
default : '联系老板'
},
image : {
default : '/static/image/center/headImage.png'
}
},
data() {
return {
@ -56,8 +59,8 @@
}
.headImage {
width: 70rpx;
height: 70rpx;
width: 80rpx;
height: 80rpx;
background-size: 100% 100%;
overflow: hidden;
border-radius: 50%;


+ 35
- 1
pages_order/mine/contactRecord.vue View File

@ -1,18 +1,52 @@
<template>
<!-- 联系记录 -->
<view class="page">
<navbar title="联系记录"
bgColor="#3796F8"
leftClick
color="#fff"
@leftClick="$utils.navigateBack"/>
<view class="">
<uv-tabs :list="tabs"
lineColor="#3796F8"
lineHeight="8rpx"
lineWidth="50rpx"
:scrollable="false"
@click="clickTabs"></uv-tabs>
</view>
<workList ref="workList" v-if="type == 0"/>
<bossList ref="bossList" v-if="type == 1"/>
</view>
</template>
<script>
import workList from '@/components/list/workList/index.vue'
import bossList from '@/components/list/bossList/index.vue'
export default {
components : {
bossList,
workList,
},
data() {
return {
tabs: [
{
name: '我看过谁'
},
{
name: '谁看过我'
},
],
type : 0,
}
},
methods: {
clickTabs({index}) {
this.type = index
},
}
}


+ 58
- 0
pages_order/mine/seeMy.vue View File

@ -0,0 +1,58 @@
<template>
<!-- 谁看过我 -->
<view class="page">
<navbar title="谁看过我简历"
bgColor="#3796F8"
leftClick
color="#fff"
@leftClick="$utils.navigateBack"/>
<statisticsNumber title="简历被查看量"/>
<bossList ref="bossList"/>
</view>
</template>
<script>
import bossList from '@/components/list/bossList/index.vue'
import statisticsNumber from '../components/statistics/statisticsNumber.vue'
import mixinList from '@/mixins/list.js'
export default {
mixins : [mixinList],
components : {
statisticsNumber,
bossList
},
data() {
return {
options: [
{
text: '修改',
style: {
backgroundColor: '#ffa12c'
}
},
{
text: '删除',
style: {
backgroundColor: '#FA5A0A'
}
},
],
}
},
methods: {
clickSwipeAction({e, item}){
console.log(e, item);
},
}
}
</script>
<style scoped lang="scss">
.page{
/deep/ .uv-swipe-action{
width: 100%;
}
}
</style>

BIN
static/image/center/headImage.png View File

Before After
Width: 116  |  Height: 116  |  Size: 16 KiB

BIN
static/image/center/help.png View File

Before After
Width: 48  |  Height: 48  |  Size: 2.3 KiB

BIN
static/image/center/message.png View File

Before After
Width: 56  |  Height: 56  |  Size: 1.4 KiB

Loading…
Cancel
Save