Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mp-customer-people-recruitment-h5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
彭佳妮(贵阳日报)
mp-customer-people-recruitment-h5
Commits
088a8061
Commit
088a8061
authored
Dec 11, 2024
by
陈宗胤(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
aab3fdf3
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
40 additions
and
18 deletions
+40
-18
index.vue
src/pages/login/index.vue
+10
-0
index.vue
src/pages/postionList/companyDetails/index.vue
+15
-11
index.vue
src/pages/postionList/index.vue
+1
-1
index.vue
src/pages/postionList/positionDetails/index.vue
+1
-1
index.vue
src/pages/user/index.vue
+6
-2
index.vue
src/pages/user/resume/essentialInformation/index.vue
+3
-1
index.vue
src/pages/user/resume/index.vue
+3
-1
test.png
src/static/image/temp/test.png
+0
-0
default-avatar-nan.png
src/static/image/user/default-avatar-nan.png
+0
-0
default-avatar-nv.png
src/static/image/user/default-avatar-nv.png
+0
-0
swipeHandler.js
src/utils/swipeHandler.js
+1
-1
No files found.
src/pages/login/index.vue
View file @
088a8061
...
...
@@ -9,6 +9,7 @@
<view
class=
"title"
>
<img
src=
"@/static/image/icon/login.png"
alt=
""
/>
<text
class=
"t2"
>
安全、便捷的就业、创业服务平台
</text>
<view
class=
"title-label"
>
用户端
</view>
</view>
<view
class=
"box"
>
<text
class=
"box-text"
>
观山湖区人力资源和社会保障局
</text>
...
...
@@ -90,6 +91,15 @@ const login = () => {
color
:
#1b2026
;
margin-top
:
28rpx
;
}
.title-label
{
font-size
:
20rpx
;
width
:
124rpx
;
padding
:
12rpx
28rpx
;
color
:
#FFFFFF
;
background
:
rgba
(
0
,
102
,
223
,
0
.7
);
border-radius
:
40rpx
;
margin
:
28rpx
auto
;
}
}
.box
{
position
:
fixed
;
...
...
src/pages/postionList/companyDetails/index.vue
View file @
088a8061
...
...
@@ -15,13 +15,13 @@
<!--
<image
mode=
"widthFix"
wx:if=
"
{{
partTimeJobData
.
logoPath
}}
" src="
{{
videosrc
}}{{
partTimeJobData
.
logoPath
}}
">
</image>
-->
<image
v-if=
"partTimeJobData.logoPath"
src=
"@/static/image/temp/test.jpg"
></image>
<image
v-else
src=
"@/static/image/temp/test.
jp
g"
></image>
<image
v-else
src=
"@/static/image/temp/test.
pn
g"
></image>
</view>
<view>
<view
class=
"pos-name"
>
{{
partTimeJobData
.
name
}}
</view>
<view
class=
"cos-position"
>
<!--
<text>
{{
partTimeJobData
.
placeCityName
}}
</text>
-->
<text>
{{
partTimeJobData
.
location
?.
split
(
'-'
)[
1
]
}}
</text>
<text>
{{
partTimeJobData
.
location
?.
split
(
"-"
)[
1
]
}}
</text>
<text
class=
"margin-8"
>
|
</text>
<text>
{{
partTimeJobData
.
jobVacancies
}}
个在招职位
</text>
</view>
...
...
@@ -52,7 +52,7 @@
<text
class=
"text"
>
公司介绍
</text>
</view>
<view
class=
"pos-duty activeClass"
>
<text>
{{
partTimeJobData
.
introduction
||
'无'
}}
</text>
<text>
{{
partTimeJobData
.
introduction
||
"无"
}}
</text>
</view>
</view>
<!-- 公司基本信息 -->
...
...
@@ -91,13 +91,15 @@
class=
"pos-recommend"
:style=
"`top:$
{activeRecommend ? top : recommendTop}px`"
v-if="partTimeJobData.positionList?.length"
@touchstart="onTouchStart"
@touchmove="onTouchMove"
@touchend="onTouchEnd"
>
<view
class=
"title"
>
<view>
</view>
<view
class=
"title"
@
touchstart=
"onTouchStart"
@
touchmove=
"onTouchMove"
@
touchend=
"onTouchEnd"
>
<view
style=
"width: 100rpx;height: 5rpx;background-color: rgb(26 138 250 / 100%);margin: 0 auto;position: relative;top: -20rpx;border-radius: 100%;"
></view>
<text
class=
"text"
>
公司在招职位
<text
class=
"num"
>
{{
partTimeJobData
.
positionList
.
length
}}
</text></text
>
公司在招职位
<text
class=
"num"
>
{{
partTimeJobData
.
positionList
.
length
}}
</text></text
>
</view>
<!--
<scroll-view
scroll-x=
"
{{
true
}}
" class="pos-select">
...
...
@@ -113,7 +115,7 @@
</view>
</scroll-view>
-->
<!-- 职位列表 -->
<scroll-view
scroll-y=
"
{{
true
}}
" class="recommend-list-wrap">
<scroll-view
scroll-y=
"
{{
true
}}
" c
atchtouchmove c
lass="recommend-list-wrap">
<block
v-for=
"(item, index) in partTimeJobData.positionList"
:key=
"index"
>
<view
class=
"card-wrap"
>
<PostionCard1
:data=
"item"
></PostionCard1>
...
...
@@ -148,6 +150,7 @@ const recommendTop = ref(0);
const
top
=
ref
(
0
);
const
onTouchStart
=
e
=>
{
swipeHandler
.
onTouchStart
(
e
);
console
.
log
(
'打印'
,
e
);
};
const
onTouchMove
=
e
=>
{
swipeHandler
.
onTouchMove
(
e
);
...
...
@@ -877,9 +880,10 @@ const navigationSelect = ({ item }) => {
font-weight
:
600
;
color
:
#1b2026
;
.num
{
font-size
:
24
rpx
;
font-size
:
32
rpx
;
font-weight
:
500
;
color
:
#4e5969
;
margin-left
:
10rpx
;
}
}
}
...
...
@@ -962,7 +966,7 @@ const navigationSelect = ({ item }) => {
}
.recommend-list-wrap
{
// flex-grow: 1;
height
:
780rpx
;
height
:
calc
(
100%
-
500rpx
)
;
.card-wrap
{
padding
:
32rpx
;
border-bottom
:
1px
solid
#f3f4f8
;
...
...
src/pages/postionList/index.vue
View file @
088a8061
...
...
@@ -108,7 +108,7 @@
v-for="(item, index) in identityData"
:key="item.code"
@tap="choiceDetails(3,item, index)"
>
{{
item
.
text
}}
{{
item
.
text
}}
</view
>
{{
item
.
text
}}
</view
>
</view>
<view
class=
"title"
>
职位类型
</view>
...
...
src/pages/postionList/positionDetails/index.vue
View file @
088a8061
...
...
@@ -107,7 +107,7 @@
bindtap="bindNavCompany"
>
<view
class=
"cosimage"
>
<img
src=
"@/static/image/temp/test.
jp
g"
/>
<img
src=
"@/static/image/temp/test.
pn
g"
/>
</view>
<view>
<view
class=
"cos-title"
>
...
...
src/pages/user/index.vue
View file @
088a8061
...
...
@@ -7,7 +7,8 @@
<view
class=
"avatar"
>
<!--
<img
v-if=
"avatarPath"
:src=
"evn.APP_IMAGE_BASE_API + avatarPath"
/>
<img
v-else
src=
"@/static/image/user/default-avatar.png"
alt=
""
/>
-->
<img
src=
"@/static/image/user/default-avatar.png"
alt=
""
/>
<img
v-if=
"sex === 2"
src=
"@/static/image/user/default-avatar-nv.png"
alt=
""
/>
<img
v-else
src=
"@/static/image/user/default-avatar-nan.png"
alt=
""
/>
</view>
<view
class=
"name"
>
<text
>
{{
realName
||
"姓名"
}}
</text>
...
...
@@ -112,13 +113,16 @@ const navList = [
const
realName
=
ref
(
""
);
const
avatarPath
=
ref
(
""
);
const
schoolName
=
ref
(
""
);
const
sex
=
ref
(
null
);
const
educationLevelText
=
ref
(
""
);
/* 获取用户信息 */
const
getUserInfo
=
()
=>
{
getLoginUserApi
().
then
(
async
res
=>
{
const
{
avatarPath
:
_avatarPath
,
name
:
_realName
,
education
}
=
res
.
data
;
const
{
avatarPath
:
_avatarPath
,
name
:
_realName
,
education
,
sex
:
_sex
}
=
res
.
data
;
realName
.
value
=
_realName
||
null
;
avatarPath
.
value
=
_avatarPath
||
null
;
sex
.
value
=
_sex
||
null
;
console
.
log
(
'sex.value'
,
sex
.
value
);
/* this.setData({
avatarPath,
realName,
...
...
src/pages/user/resume/essentialInformation/index.vue
View file @
088a8061
...
...
@@ -25,7 +25,9 @@
</view>
<!--
<img
class=
"avatar"
v-if=
"userInfo.avatarPath"
:src=
"evn.APP_IMAGE_BASE_API + userInfo.avatarPath"
/>
<img
class=
"avatar"
v-else
src=
"@/static/image/user/default-avatar.png"
/>
-->
<img
class=
"avatar"
src=
"@/static/image/user/default-avatar.png"
/>
<!--
<img
class=
"avatar"
src=
"@/static/image/user/default-avatar.png"
/>
-->
<img
class=
"avatar"
v-if=
"userInfo.sex === 2"
src=
"@/static/image/user/default-avatar-nv.png"
/>
<img
class=
"avatar"
v-else
src=
"@/static/image/user/default-avatar-nan.png"
/>
</view>
<view
class=
"my-info-list flex-column"
>
<view
class=
"my-info-title label"
>
...
...
src/pages/user/resume/index.vue
View file @
088a8061
...
...
@@ -14,7 +14,9 @@
</view>
<!--
<image
v-if=
"resumeData.avatarPath"
class=
"avatar"
:src=
"evn.APP_IMAGE_BASE_API + resumeData.avatarPath"
mode=
""
/>
-->
<!--
<image
v-else
class=
"avatar"
src=
"@/static/image/user/default-avatar.png"
mode=
""
/>
-->
<image
class=
"avatar"
src=
"@/static/image/user/default-avatar.png"
mode=
""
/>
<!--
<img
class=
"avatar"
src=
"@/static/image/user/default-avatar.png"
mode=
""
/>
-->
<img
class=
"avatar"
v-if=
"resumeData.sex === 2"
src=
"@/static/image/user/default-avatar-nv.png"
/>
<img
class=
"avatar"
v-else
src=
"@/static/image/user/default-avatar-nan.png"
/>
</view>
<!-- 个人信息 -->
<view
class=
"basics"
v-if=
"userInfoActive.workAge"
>
...
...
src/static/image/temp/test.png
0 → 100644
View file @
088a8061
244 KB
src/static/image/user/default-avatar-nan.png
0 → 100644
View file @
088a8061
217 KB
src/static/image/user/default-avatar-nv.png
0 → 100644
View file @
088a8061
241 KB
src/utils/swipeHandler.js
View file @
088a8061
...
...
@@ -19,7 +19,7 @@ class SwipeHandler {
this
.
endY
=
e
.
changedTouches
[
0
].
clientY
;
this
.
endTime
=
Date
.
now
();
const
distanceThreshold
=
5
0
;
// 设置滑动距离阈值,单位:像素
const
distanceThreshold
=
1
0
;
// 设置滑动距离阈值,单位:像素
const
timeThreshold
=
200
;
// 设置时间阈值,单位:毫秒
const
distance
=
this
.
startY
-
this
.
endY
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment