修改页面样式等
This commit is contained in:
@@ -1,34 +1,10 @@
|
||||
<template>
|
||||
<view class="job-list">
|
||||
<view class="top_box_bg">
|
||||
<u-image src="@/packageRc/static/images/top.png" width="750rpx" height="496rpx" />
|
||||
</view>
|
||||
<view class="job-list__navbar">
|
||||
<div class="navbar">
|
||||
<view class="navbar-left" @click="goBack">
|
||||
<uni-icons name="back" color="#fff" size="36"></uni-icons>
|
||||
</view>
|
||||
<view class="navbar-title" style="color: #fff">服务详情</view>
|
||||
<view class="navbar-right">
|
||||
<!-- 注释掉store相关引用,避免getters错误 -->
|
||||
<!--
|
||||
<uni-icons
|
||||
v-show="false"
|
||||
@tap=""
|
||||
name="list"
|
||||
size="44rpx"
|
||||
color="#fff"
|
||||
></uni-icons>
|
||||
-->
|
||||
</view>
|
||||
</div>
|
||||
</view>
|
||||
<view class="job-list" style="background-image: url('../../../packageRc/static/pageBg.png');">
|
||||
<view class="job-list__content">
|
||||
<img
|
||||
<image
|
||||
class="top_box_bg_service"
|
||||
src=""
|
||||
width="360rpx"
|
||||
height="50rpx"
|
||||
src="/packageRc/static/images/serviceFrequency.png"
|
||||
style="width:calc(100vw - 64rpx);height:80rpx;display: block;"
|
||||
alt=""
|
||||
/>
|
||||
<view class="serviceFrequency" @tap="
|
||||
@@ -40,7 +16,7 @@
|
||||
<view
|
||||
|
||||
style="font-size: 28rpx; font-weight: normal"
|
||||
>查看></view
|
||||
>{{'查看>'}}</view
|
||||
>
|
||||
</view>
|
||||
<view class="content">
|
||||
@@ -81,10 +57,9 @@
|
||||
</view>
|
||||
<view class="visitAndInvestigate" @click="goAddServices">
|
||||
<view class="text">服务</view>
|
||||
<img
|
||||
<image
|
||||
src="/packageRc/static/images/person/fillInRecords.png"
|
||||
width="60rpx"
|
||||
height="40rpx"
|
||||
style="width:220rpx;height:60rpx;"
|
||||
alt=""
|
||||
srcset=""
|
||||
/>
|
||||
@@ -128,66 +103,68 @@
|
||||
>条求职需求</text
|
||||
>
|
||||
</view> -->
|
||||
<u-swipe-action v-show="activeType == 1">
|
||||
<u-swipe-action-item
|
||||
:options="[{ text: '删除' }]"
|
||||
<uni-swipe-action v-show="activeType == 1">
|
||||
<uni-swipe-action-item
|
||||
:right-options="[{ text: '删除' }]"
|
||||
class="jobSearchListview"
|
||||
v-for="item in jobSearchList"
|
||||
:key="item.id"
|
||||
@click="removeRowData(item)"
|
||||
>
|
||||
<view style="padding: 30rpx;" @click="goNeedsDetail(item, 1)">
|
||||
<view class="jobSearchListview_name">{{
|
||||
getJobWorkTypeName(item.jobWorkType)
|
||||
}}</view>
|
||||
<view class="salaryExpectation">
|
||||
<text style="color: #8e8e8e">期望薪资:</text>
|
||||
<view class="salary">
|
||||
{{ item.minRecruitmentSalary}}-
|
||||
{{ item.highRecruitmentSalary}}
|
||||
/月
|
||||
<view>
|
||||
<view style="border-radius: 8rpx;margin-top: 16rpx;background: #fff;padding: 30rpx;" @click="goNeedsDetail(item, 1)">
|
||||
<view class="jobSearchListview_name">{{
|
||||
getJobWorkTypeName(item.jobWorkType)
|
||||
}}</view>
|
||||
<view class="salaryExpectation">
|
||||
<text style="color: #8e8e8e">期望薪资:</text>
|
||||
<view class="salary">
|
||||
{{ item.minRecruitmentSalary}}-
|
||||
{{ item.highRecruitmentSalary}}
|
||||
/月
|
||||
</view>
|
||||
</view>
|
||||
<view class="salaryExpectation">
|
||||
<text style="color: #8e8e8e">希望工作地点:</text>
|
||||
<text>{{ item.addressDesc }}</text>
|
||||
</view>
|
||||
<view class="jobSearchListview_currentStatus">
|
||||
<text style="color: #e0a61f" v-if="item.currentStatus == 1"
|
||||
>待处理</text
|
||||
>
|
||||
<text style="color: #288ae6" v-if="item.currentStatus == 2"
|
||||
>处理中</text
|
||||
>
|
||||
<text style="color: #1ac88b" v-if="item.currentStatus == 3"
|
||||
>已完成</text
|
||||
>
|
||||
</view>
|
||||
<view v-if="item.currentStatus == 3" class="job-list__item-btn">
|
||||
<u-button
|
||||
type="primary"
|
||||
:plain="true"
|
||||
color="#1A62CE"
|
||||
text="服务追溯"
|
||||
@click.native.stop="serviceTraceButton(item, 1)"
|
||||
:customStyle="{ border: 'none' }"
|
||||
></u-button>
|
||||
</view>
|
||||
<view class="job-list__item-btn" v-else>
|
||||
<view
|
||||
class="btn"
|
||||
@click.native.stop="requirementTraining(item, 1)"
|
||||
>推荐</view
|
||||
>
|
||||
<view
|
||||
class="btn"
|
||||
@click.native.stop="requirementHandling(item, 1)"
|
||||
>办结</view
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
<view class="salaryExpectation">
|
||||
<text style="color: #8e8e8e">希望工作地点:</text>
|
||||
<text>{{ item.addressDesc }}</text>
|
||||
</view>
|
||||
<view class="jobSearchListview_currentStatus">
|
||||
<text style="color: #e0a61f" v-if="item.currentStatus == 1"
|
||||
>待处理</text
|
||||
>
|
||||
<text style="color: #288ae6" v-if="item.currentStatus == 2"
|
||||
>处理中</text
|
||||
>
|
||||
<text style="color: #1ac88b" v-if="item.currentStatus == 3"
|
||||
>已完成</text
|
||||
>
|
||||
</view>
|
||||
<view v-if="item.currentStatus == 3" class="job-list__item-btn">
|
||||
<u-button
|
||||
type="primary"
|
||||
:plain="true"
|
||||
color="#1A62CE"
|
||||
text="服务追溯"
|
||||
@click.native.stop="serviceTraceButton(item, 1)"
|
||||
:customStyle="{ border: 'none' }"
|
||||
></u-button>
|
||||
</view>
|
||||
<view class="job-list__item-btn" v-else>
|
||||
<view
|
||||
class="btn"
|
||||
@click.native.stop="requirementTraining(item, 1)"
|
||||
>推荐</view
|
||||
>
|
||||
<view
|
||||
class="btn"
|
||||
@click.native.stop="requirementHandling(item, 1)"
|
||||
>办结</view
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</u-swipe-action-item>
|
||||
</u-swipe-action>
|
||||
</uni-swipe-action-item>
|
||||
</uni-swipe-action>
|
||||
<!-- <view class="requirementTitle">
|
||||
<text>创业需求</text>
|
||||
<text class="text"
|
||||
@@ -197,15 +174,15 @@
|
||||
>条求职需求</text
|
||||
>
|
||||
</view> -->
|
||||
<u-swipe-action v-show="activeType == 2">
|
||||
<u-swipe-action-item
|
||||
:options="[{ text: '删除' }]"
|
||||
<uni-swipe-action v-show="activeType == 2">
|
||||
<uni-swipe-action-item
|
||||
:right-options="[{ text: '删除' }]"
|
||||
@click="removeRowData(item)"
|
||||
class="entrepreneurialNeeds"
|
||||
v-for="item in listOfEntrepreneurialNeeds"
|
||||
:key="item.id"
|
||||
>
|
||||
<view style="padding: 30rpx" @click="goNeedsDetail(item, 3)">
|
||||
<view style="border-radius: 8rpx;margin-top: 16rpx;background: #fff;padding: 30rpx" @click="goNeedsDetail(item, 3)">
|
||||
<view class="entrepreneurialNeeds_name">
|
||||
{{ item.personName }}的创业需求
|
||||
</view>
|
||||
@@ -251,8 +228,8 @@
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</u-swipe-action-item>
|
||||
</u-swipe-action>
|
||||
</uni-swipe-action-item>
|
||||
</uni-swipe-action>
|
||||
<!-- <view class="requirementTitle">
|
||||
<text>培训需求</text>
|
||||
<text class="text"
|
||||
@@ -260,15 +237,15 @@
|
||||
>条求职需求</text
|
||||
>
|
||||
</view> -->
|
||||
<u-swipe-action v-show="activeType == 3">
|
||||
<u-swipe-action-item
|
||||
:options="[{ text: '删除' }]"
|
||||
<uni-swipe-action v-show="activeType == 3">
|
||||
<uni-swipe-action-item
|
||||
:right-options="[{ text: '删除' }]"
|
||||
@click="removeRowData(item)"
|
||||
class="entrepreneurialNeeds"
|
||||
v-for="item in trainingList"
|
||||
:key="item.id"
|
||||
>
|
||||
<view style="padding: 30rpx" @click="goNeedsDetail(item, 4)">
|
||||
<view style="border-radius: 8rpx;margin-top: 16rpx;background: #fff;padding: 30rpx" @click="goNeedsDetail(item, 4)">
|
||||
<view class="entrepreneurialNeeds_name">
|
||||
{{ item.personName }}的培训需求
|
||||
</view>
|
||||
@@ -316,8 +293,8 @@
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</u-swipe-action-item>
|
||||
</u-swipe-action>
|
||||
</uni-swipe-action-item>
|
||||
</uni-swipe-action>
|
||||
<!-- <view class="requirementTitle">
|
||||
<text>其他需求</text>
|
||||
<text class="text"
|
||||
@@ -325,15 +302,15 @@
|
||||
>条其他需求</text
|
||||
>
|
||||
</view> -->
|
||||
<u-swipe-action v-show="activeType == 4">
|
||||
<u-swipe-action-item
|
||||
<uni-swipe-action v-show="activeType == 4">
|
||||
<uni-swipe-action-item
|
||||
:options="[{ text: '删除' }]"
|
||||
@click="removeRowData(item)"
|
||||
class="entrepreneurialNeeds"
|
||||
v-for="item in otherList"
|
||||
:key="item.id"
|
||||
>
|
||||
<view style="padding: 30rpx" @click="goNeedsDetail(item, 5)">
|
||||
<view style="border-radius: 8rpx;margin-top: 16rpx;background: #fff;padding: 30rpx" @click="goNeedsDetail(item, 5)">
|
||||
<view class="entrepreneurialNeeds_name">
|
||||
{{ item.personName }}的其他需求
|
||||
</view>
|
||||
@@ -378,15 +355,15 @@
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</u-swipe-action-item>
|
||||
</u-swipe-action>
|
||||
</uni-swipe-action-item>
|
||||
</uni-swipe-action>
|
||||
</view>
|
||||
</view>
|
||||
<view class="addNeeds" @click="goAddNeeds">
|
||||
<img src="/packageRc/static/images/person/addNeeds.png" />
|
||||
</view>
|
||||
|
||||
<u-popup :show="show" @close="close" @open="open">
|
||||
<!-- <uni-popup ref="show" @close="close" @open="open">
|
||||
<view class="dialog_div">
|
||||
<view class="dialog_div_item" @click="goAddNeeds(1)">
|
||||
<img
|
||||
@@ -428,10 +405,10 @@
|
||||
/>
|
||||
其他需求
|
||||
</view>
|
||||
<view class="dialog_div_btn" @click="show = false"> 取 消 </view>
|
||||
<view class="dialog_div_btn" @click="closeShow"> 取 消 </view>
|
||||
</view>
|
||||
</u-popup>
|
||||
<u-datetime-picker
|
||||
</uni-popup> -->
|
||||
<!-- <u-datetime-picker
|
||||
style="position: relative; z-index: 100"
|
||||
:show="showTime"
|
||||
v-model="hopeSolveDate"
|
||||
@@ -440,7 +417,7 @@
|
||||
@confirm="confirmDate"
|
||||
@cancel="showTime = false"
|
||||
@close="showTime = false"
|
||||
></u-datetime-picker>
|
||||
></u-datetime-picker> -->
|
||||
<!-- 社区端 - 显示隐藏退出组件 -->
|
||||
<exitPopup />
|
||||
</view>
|
||||
@@ -528,7 +505,7 @@ export default {
|
||||
onLoad(options) {
|
||||
this.form.id = options.id;
|
||||
this.form.userId = options.name
|
||||
this.form.userId = options.id; // 确保userId被正确赋值
|
||||
this.form.userId = options.userId; // 确保userId被正确赋值
|
||||
console.log("options", options);
|
||||
this.getPersonInfo11();
|
||||
|
||||
@@ -622,8 +599,8 @@ export default {
|
||||
open() {
|
||||
// console.log('open');
|
||||
},
|
||||
close() {
|
||||
this.show = false;
|
||||
closeShow() {
|
||||
this.$refs.show.close();
|
||||
// console.log('close');
|
||||
},
|
||||
|
||||
@@ -731,22 +708,17 @@ export default {
|
||||
},
|
||||
});
|
||||
},
|
||||
goAddNeeds(needsType) {
|
||||
console.log("this.form.userId",this.form);
|
||||
|
||||
uni.navigateTo({
|
||||
|
||||
url: `/packageRc/pages/demand/demandail?activeType=${1}&id=${this.form.userId}&name=${this.form.name}`,
|
||||
success: function() {
|
||||
console.log('导航成功')
|
||||
|
||||
},
|
||||
fail: function(err) {
|
||||
console.error('导航失败:', err);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
goAddNeeds() {
|
||||
uni.navigateTo({
|
||||
url: `/packageRc/pages/demand/demandail?activeType=${1}&id=${this.form.userId}&name=${this.form.name}`,
|
||||
success: function() {
|
||||
console.log('导航成功')
|
||||
|
||||
},
|
||||
fail: function(err) {
|
||||
console.error('导航失败:', err);
|
||||
}
|
||||
});
|
||||
},
|
||||
getDictLabel(value, list) {
|
||||
if (list) {
|
||||
@@ -814,13 +786,13 @@ export default {
|
||||
// 需求推荐/培训
|
||||
requirementTraining(item, index) {
|
||||
if (index == 1) {
|
||||
this.$tab.navigateTo(
|
||||
`/pages/services/serviceDetail?personName=${item.personName}&personId=${item.personId}&jobDemandInfoId=${item.id}&jobWorkType=${item.jobWorkType}&type=3&showTab=1`
|
||||
);
|
||||
uni.navigateTo({
|
||||
url: `/packageRc/pages/services/serviceDetail?personName=${item.personName}&personId=${item.personId}&jobDemandInfoId=${item.id}&jobWorkType=${item.jobWorkType}&type=3&showTab=1`
|
||||
});
|
||||
} else {
|
||||
this.$tab.navigateTo(
|
||||
`/pages/services/serviceDetail?personName=${item.personName}&personId=${item.personId}&skillTrainingId=${item.id}&personStatus=${item.personStatus}&type=4&showTab=1`
|
||||
);
|
||||
uni.navigateTo({
|
||||
url: `/packageRc/pages/services/serviceDetail?personName=${item.personName}&personId=${item.personId}&skillTrainingId=${item.id}&personStatus=${item.personStatus}&type=4&showTab=1`
|
||||
});
|
||||
}
|
||||
},
|
||||
changeFile(e) {
|
||||
@@ -1013,15 +985,15 @@ export default {
|
||||
}
|
||||
|
||||
.job-list {
|
||||
&__navbar {
|
||||
height: 80rpx;
|
||||
}
|
||||
height: 100%;;
|
||||
background-repeat: no-repeat;
|
||||
background-color: #F4F4F4;
|
||||
|
||||
&__content {
|
||||
position: relative;
|
||||
padding: 32rpx;
|
||||
z-index: 10;
|
||||
background-color: #d0dcee;
|
||||
background-color: #F4F4F4;
|
||||
border-radius: 32rpx 32rpx 0 0;
|
||||
border: 1px solid #fff;
|
||||
}
|
||||
@@ -1108,18 +1080,17 @@ export default {
|
||||
position: relative;
|
||||
padding: 1rpx;
|
||||
.content {
|
||||
padding: 17px;
|
||||
margin-top: 110rpx;
|
||||
height: calc(100vh - 264rpx);
|
||||
padding: 0 32rpx;
|
||||
margin-top: 100rpx;
|
||||
height: calc(100vh - 64rpx);
|
||||
overflow: auto;
|
||||
z-index: 10;
|
||||
background-color: #d0dcee;
|
||||
border-radius: 17px 17px 0 0;
|
||||
border: 3px solid #fff !important;
|
||||
// background-color: #d0dcee;
|
||||
// border-radius: 17px 17px 0 0;
|
||||
// border: 3px solid #fff !important;
|
||||
}
|
||||
}
|
||||
.top_box_bg_service {
|
||||
display:none;
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
left: 40rpx;
|
||||
@@ -1212,6 +1183,7 @@ export default {
|
||||
width: 100%;
|
||||
height: 205rpx;
|
||||
border-radius: 8px;
|
||||
border-top-right-radius: 0;
|
||||
background: #ffffff;
|
||||
padding: 30rpx;
|
||||
box-sizing: border-box;
|
||||
|
||||
Reference in New Issue
Block a user