列表样式
parent
6a338ff82b
commit
b9c8cf2691
@ -0,0 +1,442 @@
|
|||||||
|
<template>
|
||||||
|
<div class="job-list g_bg_page">
|
||||||
|
<template v-for="item in list" :key="item.id">
|
||||||
|
<view class="g_p_12">
|
||||||
|
{{ item.itemType }}
|
||||||
|
</view>
|
||||||
|
<div class="">
|
||||||
|
<view class="item g_position_rela g_mb_10 g_ml_12 g_mr_12 g_bg_f g_radius_8 g_border_e_b" :class="item.from == 'share' ? 'g_pl_32' : ''">
|
||||||
|
<view class="g_p_10 g_position_rela" style="" @click="handleCard(item, index)">
|
||||||
|
<i class="iconfont icon-yitingzhao" v-if="item.recruitment == 2 && item.from != 'mine'" style="position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); color: #ff4d4f; font-size: 80px; z-index: 1"></i>
|
||||||
|
<view class="m-top g_flex_row_between">
|
||||||
|
<view class="g_flex_1 g_flex_column_between">
|
||||||
|
<view class="g_flex_1 g_flex_row_between g_lh_1">
|
||||||
|
<view class="g_flex_none g_flex_row_start flex_center">
|
||||||
|
<img class="g_w_32 g_h_16 g_mr_4" v-if="item.picked == 1" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/bocaigongyinglian/zhen.svg" alt="" />
|
||||||
|
<view class="g_ell_1 g_fs_18 g_fw_600" style="color: rgba(0, 0, 0, 0.85); max-width: 480rpx; line-height: 1.3">{{ item.jobName }}</view>
|
||||||
|
</view>
|
||||||
|
<view class="g_fs_14 g_flex_row_end" style="color: rgba(0, 0, 0, 0.45)">
|
||||||
|
<view>{{ timeShowXXX(item.updateTime) }}</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="g_flex_none g_flex_row_between g_mt_6">
|
||||||
|
<view class="g_flex_row_between flex_center g_fs_14 g_flex_1" style="color: rgba(0, 0, 0, 0.45)">
|
||||||
|
<view class="g_ell_1" style="max-width: calc(100vw - 40px)">
|
||||||
|
<view class="" style=""> {{ item.district }}{{ item.district ? "丨" : "" }}{{ (item.gender || "-") + "丨" + item.age }} </view>
|
||||||
|
</view>
|
||||||
|
<view class="" hover-class="none" hover-stop-propagation="false">
|
||||||
|
{{ item.distance && item.storeDistrict ? item.distance : "" }}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="g_flex_none g_flex_column_center b_btn" @click.stop="openApplyPop(item, index)" v-if="false"> 立即报名 </view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="m-bottom g_flex_row_between g_mt_8">
|
||||||
|
<view class="g_flex_1 g_flex_row_between flex_center">
|
||||||
|
<view class="g_flex_1 g_flex_row_between">
|
||||||
|
<view class="g_flex_row_start_none g_flex_1" style="max-width: 75%; flex-wrap: wrap; height: 22px; overflow: hidden">
|
||||||
|
<view class="label_btn" v-for="(itm, inx) in item.jobSpecialLabelNameArray" :key="inx">{{ itm }}</view>
|
||||||
|
<view class="label_btn" v-if="item.jobSpecialLabelNameArray && item.jobSpecialLabelNameArray.length == 0"> 暂无特色 </view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="g_mt_6">
|
||||||
|
<view class="g_flex_row_between flex_center g_fs_18 g_c_f40 g_fw_600">
|
||||||
|
<rich-text class="g_lh_1" :nodes="item.cus_price" v-if="item.cus_price != '月薪'"></rich-text>
|
||||||
|
<view v-else>{{ item.monthlyPay }}<span class="g_fs_14"> 元/月 </span> </view>
|
||||||
|
<view class="g_flex_row_start g_fs_12 g_pr_4 g_h_20 g_fw_400" style="background: linear-gradient(138deg, #fde0ad 22%, #fac474); border-radius: 2px; color: #754300; line-height: 20px">
|
||||||
|
<view class>
|
||||||
|
<image class="g_mr_4" style="width: 20px; height: 20px; display: block" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/1shoudan/fee.svg" mode="aspecFill" lazy-load="false"></image>
|
||||||
|
</view>
|
||||||
|
<view class="g_fs_13">{{ (recordStatus == 3 || recordStatus == 4 || recordStatus == 5) && !isSelf ? "关注查看" : item.fuWuFei }}</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="" @click.stop>
|
||||||
|
<view class="g_flex_row_between flex_center g_border_e_t g_p_8" v-if="item.from == 'mine'">
|
||||||
|
<u-switch v-model="item.recruitmentValue" :showText="true" openText="开" closeText="停" class="" size="44" @change="recruitmentChange($event, item)" activeColor="#07C160"></u-switch>
|
||||||
|
<view class="g_flex_column_center g_pl_10 g_h_all biggerSize" @click.stop="showConfig(item)">
|
||||||
|
<i class="iconfont icon-gengduo2 icon g_c_b1" style="font-size: 32rpx"></i>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="g_border_e_t g_p_8" style="line-height: 23px" v-if="item.from != 'shareList' && item.from != 'mine'">
|
||||||
|
<view class="g_flex_row_between flex_center" v-if="item.from != 'chat'">
|
||||||
|
<view class="g_c_6 g_fs_12 g_pr_4 g_radius_4 g_flex_row_start flex_center" style="background: #f1faff" @click="toApplyInfo(item)">
|
||||||
|
<img class="g_w_36 g_h_20 g_mr_4" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/bocaigongyinglian/icon-fadanhao.svg" alt="" />
|
||||||
|
<view>
|
||||||
|
{{ item.fullName || item.agencyName || "-" }}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="g_c_6 g_fs_12 g_pr_4 g_radius_4 g_flex_row_start flex_center" style="background: #f1faff" v-if="userinfo.agencyId == item.agencyId">
|
||||||
|
<img class="g_w_36 g_h_20 g_mr_4" src="https://matripe-cms.oss-cn-beijing.aliyuncs.com/bocaigongyinglian/xmf.svg" alt="" />
|
||||||
|
<view>
|
||||||
|
{{ item.upFullName || item.upAgencyName || item.upProviderName || "-" }}
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="g_flex_row_end flex_center" v-if="item.from == 'chat'">
|
||||||
|
<g-button btnText="发送" fontSize="14" type="primary" size="mini" @clickBtn="sendJob(item)" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="checkBox" hover-class="none" v-if="item.from == 'share'" @click.stop="checkJob(item)">
|
||||||
|
<checkbox class="biggerSize" style="transform: scale(0.8, 0.8)" color="g_c_main" :checked="item.checked" :value="item.checked"></checkbox>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
// 组件名称
|
||||||
|
name: "",
|
||||||
|
// 局部注册的组件
|
||||||
|
components: {},
|
||||||
|
// 组件参数 接收来自父组件的数据
|
||||||
|
props: {},
|
||||||
|
// 组件状态值
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
userinfo: {
|
||||||
|
agencyId: 3088,
|
||||||
|
},
|
||||||
|
list: [
|
||||||
|
{
|
||||||
|
itemType: "我的职位样式",
|
||||||
|
from: "mine",
|
||||||
|
recruitmentValue: true,
|
||||||
|
active: 2,
|
||||||
|
address: "湖北省丨武汉市18-40岁",
|
||||||
|
age: "18-40岁",
|
||||||
|
agencyCode: "5258",
|
||||||
|
agencyId: 3087,
|
||||||
|
agencyLogo: "https://file.matripe.com.cn/images/2025/05/13/1747101728480749.png",
|
||||||
|
agencyName: "郑州稻田信息技术有限公司",
|
||||||
|
agencyReturnFee: "",
|
||||||
|
agencyReturnFeeDesp: "",
|
||||||
|
agencyReturnFeeType: "",
|
||||||
|
applyNum: 2,
|
||||||
|
classify: 1,
|
||||||
|
collect: 1,
|
||||||
|
collected: 2,
|
||||||
|
cozeStructureRes: "",
|
||||||
|
creator: 128266,
|
||||||
|
creatorName: "薄荷",
|
||||||
|
cus_price: "<span style='font-size:18px'>18<span style='font-size:14px'>元/小时</span></span>",
|
||||||
|
customServiceTel: "",
|
||||||
|
customServiceUserIdIM: "",
|
||||||
|
customServiceUserIds: "",
|
||||||
|
customServiceWechatImage: "",
|
||||||
|
distance: 0,
|
||||||
|
district: "湖北省丨武汉市",
|
||||||
|
fuWuFei: "2元/小时",
|
||||||
|
fullName: "稻田工作",
|
||||||
|
gender: "男女不限",
|
||||||
|
id: 116423,
|
||||||
|
ignore: 0,
|
||||||
|
imgs: "",
|
||||||
|
isToday: false,
|
||||||
|
jobInfo: "",
|
||||||
|
jobName: "武汉市藏龙岛国企操作工小时工",
|
||||||
|
jobRequestLabelId: "177,572,579",
|
||||||
|
jobRequestLabelNames: "免费住宿, 长白班, 空调车间",
|
||||||
|
jobSpecialLabelNameArray: ["免费住宿", "长白班", "空调车间"],
|
||||||
|
jobSpecialLabelNames: "",
|
||||||
|
jobType: 2,
|
||||||
|
lastNotice: "",
|
||||||
|
leafCateId: 116423,
|
||||||
|
logo: "https://file.matripe.com.cn/images/2025/05/13/1747101728480749.png",
|
||||||
|
maxAge: 40,
|
||||||
|
maxAgeMan: 40,
|
||||||
|
maxAgeWoman: 40,
|
||||||
|
maxMonthlyPay: 520000,
|
||||||
|
minAge: 18,
|
||||||
|
minAgeMan: 18,
|
||||||
|
minAgeWoman: 18,
|
||||||
|
minMonthlyPay: 450000,
|
||||||
|
monthlyPay: "4500-5200",
|
||||||
|
onSiteUsers: "",
|
||||||
|
owner: false,
|
||||||
|
policyClassify: 1,
|
||||||
|
price: "18元/小时",
|
||||||
|
recommend: 0,
|
||||||
|
recruitment: 1,
|
||||||
|
recruitmentImage: 2,
|
||||||
|
recruitmentSwitch: false,
|
||||||
|
returnFee: 200,
|
||||||
|
returnFeeDesp: "",
|
||||||
|
returnFeeType: 0,
|
||||||
|
salaryClassify: 0,
|
||||||
|
salaryClassifyValue: 1800,
|
||||||
|
serverPrice: "-",
|
||||||
|
storeAddr: "湖北省武汉市",
|
||||||
|
storeDistrict: "",
|
||||||
|
storeId: "",
|
||||||
|
storeLat: "30.5931",
|
||||||
|
storeLng: "114.3054",
|
||||||
|
storeName: "",
|
||||||
|
supplier: "",
|
||||||
|
supplierId: "",
|
||||||
|
teamType: 2,
|
||||||
|
templateId: "",
|
||||||
|
time: "34天前",
|
||||||
|
tip: 2,
|
||||||
|
title: "武汉市藏龙岛国企操作工小时工",
|
||||||
|
today: 0,
|
||||||
|
totalPrice: "",
|
||||||
|
up: 2,
|
||||||
|
upAgencyId: 3087,
|
||||||
|
upAgencyName: "郑州稻田信息技术有限公司",
|
||||||
|
upFullName: "稻田工作",
|
||||||
|
upProviderId: "",
|
||||||
|
upProviderName: "",
|
||||||
|
updateTime: 1754992288000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
itemType: "聊天发送职位样式",
|
||||||
|
|
||||||
|
from: "chat",
|
||||||
|
active: 2,
|
||||||
|
address: "湖北省丨武汉市18-40岁",
|
||||||
|
age: "18-40岁",
|
||||||
|
agencyCode: "5258",
|
||||||
|
agencyId: 3087,
|
||||||
|
agencyLogo: "https://file.matripe.com.cn/images/2025/05/13/1747101728480749.png",
|
||||||
|
agencyName: "郑州稻田信息技术有限公司",
|
||||||
|
agencyReturnFee: "",
|
||||||
|
agencyReturnFeeDesp: "",
|
||||||
|
agencyReturnFeeType: "",
|
||||||
|
applyNum: 2,
|
||||||
|
classify: 1,
|
||||||
|
collect: 1,
|
||||||
|
collected: 2,
|
||||||
|
cozeStructureRes: "",
|
||||||
|
creator: 128266,
|
||||||
|
creatorName: "薄荷",
|
||||||
|
cus_price: "<span style='font-size:18px'>18<span style='font-size:14px'>元/小时</span></span>",
|
||||||
|
customServiceTel: "",
|
||||||
|
customServiceUserIdIM: "",
|
||||||
|
customServiceUserIds: "",
|
||||||
|
customServiceWechatImage: "",
|
||||||
|
distance: 0,
|
||||||
|
district: "湖北省丨武汉市",
|
||||||
|
fuWuFei: "2元/小时",
|
||||||
|
fullName: "稻田工作",
|
||||||
|
gender: "男女不限",
|
||||||
|
id: 116424,
|
||||||
|
ignore: 0,
|
||||||
|
imgs: "",
|
||||||
|
isToday: false,
|
||||||
|
jobInfo: "",
|
||||||
|
jobName: "武汉市藏龙岛国企操作工小时工",
|
||||||
|
jobRequestLabelId: "177,572,579",
|
||||||
|
jobRequestLabelNames: "免费住宿, 长白班, 空调车间",
|
||||||
|
jobSpecialLabelNameArray: ["免费住宿", "长白班", "空调车间"],
|
||||||
|
jobSpecialLabelNames: "",
|
||||||
|
jobType: 2,
|
||||||
|
lastNotice: "",
|
||||||
|
leafCateId: 116424,
|
||||||
|
logo: "https://file.matripe.com.cn/images/2025/05/13/1747101728480749.png",
|
||||||
|
maxAge: 40,
|
||||||
|
maxAgeMan: 40,
|
||||||
|
maxAgeWoman: 40,
|
||||||
|
maxMonthlyPay: 520000,
|
||||||
|
minAge: 18,
|
||||||
|
minAgeMan: 18,
|
||||||
|
minAgeWoman: 18,
|
||||||
|
minMonthlyPay: 450000,
|
||||||
|
monthlyPay: "4500-5200",
|
||||||
|
onSiteUsers: "",
|
||||||
|
owner: false,
|
||||||
|
policyClassify: 1,
|
||||||
|
price: "18元/小时",
|
||||||
|
recommend: 0,
|
||||||
|
recruitment: 1,
|
||||||
|
recruitmentImage: 2,
|
||||||
|
recruitmentSwitch: false,
|
||||||
|
returnFee: 200,
|
||||||
|
returnFeeDesp: "",
|
||||||
|
returnFeeType: 0,
|
||||||
|
salaryClassify: 0,
|
||||||
|
salaryClassifyValue: 1800,
|
||||||
|
serverPrice: "-",
|
||||||
|
storeAddr: "湖北省武汉市",
|
||||||
|
storeDistrict: "",
|
||||||
|
storeId: "",
|
||||||
|
storeLat: "30.5931",
|
||||||
|
storeLng: "114.3054",
|
||||||
|
storeName: "",
|
||||||
|
supplier: "",
|
||||||
|
supplierId: "",
|
||||||
|
teamType: 2,
|
||||||
|
templateId: "",
|
||||||
|
time: "34天前",
|
||||||
|
tip: 2,
|
||||||
|
title: "武汉市藏龙岛国企操作工小时工",
|
||||||
|
today: 0,
|
||||||
|
totalPrice: "",
|
||||||
|
up: 2,
|
||||||
|
upAgencyId: 3087,
|
||||||
|
upAgencyName: "郑州稻田信息技术有限公司",
|
||||||
|
upFullName: "稻田工作",
|
||||||
|
upProviderId: "",
|
||||||
|
upProviderName: "",
|
||||||
|
updateTime: 1754992288000,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
itemType: "默认职位样式",
|
||||||
|
|
||||||
|
active: 2,
|
||||||
|
address: "湖北省丨武汉市18-40岁",
|
||||||
|
age: "18-40岁",
|
||||||
|
agencyCode: "5258",
|
||||||
|
agencyId: 3088,
|
||||||
|
agencyLogo: "https://file.matripe.com.cn/images/2025/05/13/1747101728480749.png",
|
||||||
|
agencyName: "郑州稻田信息技术有限公司",
|
||||||
|
agencyReturnFee: "",
|
||||||
|
agencyReturnFeeDesp: "",
|
||||||
|
agencyReturnFeeType: "",
|
||||||
|
applyNum: 2,
|
||||||
|
classify: 1,
|
||||||
|
collect: 1,
|
||||||
|
collected: 2,
|
||||||
|
cozeStructureRes: "",
|
||||||
|
creator: 128266,
|
||||||
|
creatorName: "薄荷",
|
||||||
|
cus_price: "<span style='font-size:18px'>18<span style='font-size:14px'>元/小时</span></span>",
|
||||||
|
customServiceTel: "",
|
||||||
|
customServiceUserIdIM: "",
|
||||||
|
customServiceUserIds: "",
|
||||||
|
customServiceWechatImage: "",
|
||||||
|
distance: 0,
|
||||||
|
district: "湖北省丨武汉市",
|
||||||
|
fuWuFei: "2元/小时",
|
||||||
|
fullName: "稻田工作",
|
||||||
|
gender: "男女不限",
|
||||||
|
id: 116425,
|
||||||
|
ignore: 0,
|
||||||
|
imgs: "",
|
||||||
|
isToday: false,
|
||||||
|
jobInfo: "",
|
||||||
|
jobName: "武汉市藏龙岛国企操作工小时工",
|
||||||
|
jobRequestLabelId: "177,572,579",
|
||||||
|
jobRequestLabelNames: "免费住宿, 长白班, 空调车间",
|
||||||
|
jobSpecialLabelNameArray: ["免费住宿", "长白班", "空调车间"],
|
||||||
|
jobSpecialLabelNames: "",
|
||||||
|
jobType: 2,
|
||||||
|
lastNotice: "",
|
||||||
|
leafCateId: 116425,
|
||||||
|
logo: "https://file.matripe.com.cn/images/2025/05/13/1747101728480749.png",
|
||||||
|
maxAge: 40,
|
||||||
|
maxAgeMan: 40,
|
||||||
|
maxAgeWoman: 40,
|
||||||
|
maxMonthlyPay: 520000,
|
||||||
|
minAge: 18,
|
||||||
|
minAgeMan: 18,
|
||||||
|
minAgeWoman: 18,
|
||||||
|
minMonthlyPay: 450000,
|
||||||
|
monthlyPay: "4500-5200",
|
||||||
|
onSiteUsers: "",
|
||||||
|
owner: false,
|
||||||
|
policyClassify: 1,
|
||||||
|
price: "18元/小时",
|
||||||
|
recommend: 0,
|
||||||
|
recruitment: 2,
|
||||||
|
recruitmentImage: 2,
|
||||||
|
recruitmentSwitch: false,
|
||||||
|
returnFee: 200,
|
||||||
|
returnFeeDesp: "",
|
||||||
|
returnFeeType: 0,
|
||||||
|
salaryClassify: 0,
|
||||||
|
salaryClassifyValue: 1800,
|
||||||
|
serverPrice: "-",
|
||||||
|
storeAddr: "湖北省武汉市",
|
||||||
|
storeDistrict: "",
|
||||||
|
storeId: "",
|
||||||
|
storeLat: "30.5931",
|
||||||
|
storeLng: "114.3054",
|
||||||
|
storeName: "",
|
||||||
|
supplier: "",
|
||||||
|
supplierId: "",
|
||||||
|
teamType: 2,
|
||||||
|
templateId: "",
|
||||||
|
time: "34天前",
|
||||||
|
tip: 2,
|
||||||
|
title: "武汉市藏龙岛国企操作工小时工",
|
||||||
|
today: 0,
|
||||||
|
totalPrice: "",
|
||||||
|
up: 2,
|
||||||
|
upAgencyId: 3087,
|
||||||
|
upAgencyName: "郑州稻田信息技术有限公司",
|
||||||
|
upFullName: "稻田工作",
|
||||||
|
upProviderId: "",
|
||||||
|
upProviderName: "",
|
||||||
|
updateTime: 1754992288000,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
};
|
||||||
|
},
|
||||||
|
// 计算属性
|
||||||
|
computed: {},
|
||||||
|
// 侦听器
|
||||||
|
watch: {},
|
||||||
|
created() {},
|
||||||
|
mounted() {},
|
||||||
|
// 组件方法
|
||||||
|
methods: {
|
||||||
|
recruitmentChange() {},
|
||||||
|
showConfig() {},
|
||||||
|
toApplyInfo() {},
|
||||||
|
sendJob() {},
|
||||||
|
checkJob() {},
|
||||||
|
openApplyPop() {},
|
||||||
|
handleCard() {},
|
||||||
|
timeShowXXX(updateTime) {
|
||||||
|
const now = Date.now();
|
||||||
|
const diff = now - updateTime;
|
||||||
|
|
||||||
|
const seconds = Math.floor(diff / 1000);
|
||||||
|
const minutes = Math.floor(seconds / 60);
|
||||||
|
const hours = Math.floor(minutes / 60);
|
||||||
|
const days = Math.floor(hours / 24);
|
||||||
|
|
||||||
|
if (days < 2) {
|
||||||
|
if (hours > 0) {
|
||||||
|
return `${hours}小时前`;
|
||||||
|
} else if (minutes > 0) {
|
||||||
|
return `${minutes}分钟前`;
|
||||||
|
} else {
|
||||||
|
return `刚刚`;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
return `${days}天前`;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style scoped lang="scss">
|
||||||
|
.label_btn {
|
||||||
|
display: inline-block;
|
||||||
|
height: 20px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #666;
|
||||||
|
background: #f1faff;
|
||||||
|
border-radius: 2px;
|
||||||
|
padding: 0 4px 0px;
|
||||||
|
line-height: 20px;
|
||||||
|
margin-right: 6px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
position: relative;
|
||||||
|
top: 1px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@ -1 +1 @@
|
|||||||
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\r\nexport default {\r\n\tonLaunch: function () {\r\n\t\tconsole.log(\"App Launch\");\r\n\t},\r\n\tonShow: function () {\r\n\t\tconsole.log(\"App Show\");\r\n\t},\r\n\tonHide: function () {\r\n\t\tconsole.log(\"App Hide\");\r\n\t},\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n@import \"./static/css/iconfont.css\";\r\n@import \"./uni.scss\";\r\n// @import \"./uni_modules/vk-uview-ui/index.scss\";\r\n@import \"./static/css/base.scss\";\r\n/*每个页面公共css */\r\n</style>\r\n","import App from './App'\n\nimport gEmpty from './components/empty.vue';\nimport gLoading from './components/loading.vue';\nimport gButton from './components/button.vue';\nimport gListJob from './components/list/job.vue';\nimport gListApply from './components/list/apply.vue';\nimport gPanelServer from './components/panel/server.vue';\nimport gPanelImage from './components/panel/defaultImage.vue';\nimport gPanelFormItem from './components/panel/formItem.vue';\nimport gPanelFormSlot from './components/panel/formSlot.vue';\nimport gPanelCardNum from './components/panel/numCard.vue';\nimport gPanelCardInfo from './components/panel/infoCard.vue';\nimport gPanelHr from './components/panel/hr.vue';\nimport gPanelFond from './components/panel/fond.vue';\nimport gPanelAbout from './components/panel/about.vue';\nimport gPanelDetailItem from './components/panel/detailItem.vue';\nimport gPanelRecord from './components/panel/record.vue';\nimport gPanelTime from './components/panel/time.vue';\nimport gPanelTabbar from './components/panel/tabbar.vue';\nimport gPanelFixed from './components/panel/fixed.vue';\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n app.config.productionTip = false;\n\n app.component('g-empty', gEmpty);\n app.component('g-loading', gLoading);\n app.component('g-button', gButton);\n app.component('g-list-job', gListJob);\n app.component('g-list-apply', gListApply);\n app.component('g-panel-server', gPanelServer);\n app.component('g-panel-image', gPanelImage);\n app.component('g-panel-form-item', gPanelFormItem);\n app.component('g-panel-form-slot', gPanelFormSlot);\n app.component('g-panel-card-num', gPanelCardNum);\n app.component('g-panel-card-info', gPanelCardInfo);\n app.component('g-panel-hr', gPanelHr);\n app.component('g-panel-fond', gPanelFond);\n app.component('g-panel-about', gPanelAbout);\n app.component('g-panel-detail-item', gPanelDetailItem);\n app.component('g-panel-record', gPanelRecord);\n app.component('g-panel-time', gPanelTime);\n app.component('g-panel-tabbar', gPanelTabbar);\n app.component('g-panel-fixed', gPanelFixed);\n return {\n app\n }\n}\n// #endif"],"names":["uni","createSSRApp","App"],"mappings":";;;;;;;;AACA,MAAK,YAAU;AAAA,EACd,UAAU,WAAY;AACrBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAY;AACnBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAY;AACnBA,kBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,EACtB;AACF;ACTA,MAAM,SAAS,MAAW;AAC1B,MAAM,WAAW,MAAW;AAC5B,MAAM,UAAU,MAAW;AAC3B,MAAM,WAAW,MAAW;AAC5B,MAAM,aAAa,MAAW;AAC9B,MAAM,eAAe,MAAW;AAChC,MAAM,cAAc,MAAW;AAC/B,MAAM,iBAAiB,MAAW;AAClC,MAAM,iBAAiB,MAAW;AAClC,MAAM,gBAAgB,MAAW;AACjC,MAAM,iBAAiB,MAAW;AAClC,MAAM,WAAW,MAAW;AAC5B,MAAM,aAAa,MAAW;AAC9B,MAAM,cAAc,MAAW;AAC/B,MAAM,mBAAmB,MAAW;AACpC,MAAM,eAAe,MAAW;AAChC,MAAM,aAAa,MAAW;AAC9B,MAAM,eAAe,MAAW;AAChC,MAAM,cAAc,MAAW;AAIxB,SAAS,YAAY;AAC1B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAC1B,MAAI,OAAO,gBAAgB;AAE7B,MAAI,UAAU,WAAW,MAAM;AAC/B,MAAI,UAAU,aAAa,QAAQ;AACnC,MAAI,UAAU,YAAY,OAAO;AACjC,MAAI,UAAU,cAAc,QAAQ;AACpC,MAAI,UAAU,gBAAgB,UAAU;AACxC,MAAI,UAAU,kBAAkB,YAAY;AAC5C,MAAI,UAAU,iBAAiB,WAAW;AAC1C,MAAI,UAAU,qBAAqB,cAAc;AACjD,MAAI,UAAU,qBAAqB,cAAc;AACjD,MAAI,UAAU,oBAAoB,aAAa;AAC/C,MAAI,UAAU,qBAAqB,cAAc;AACjD,MAAI,UAAU,cAAc,QAAQ;AACpC,MAAI,UAAU,gBAAgB,UAAU;AACxC,MAAI,UAAU,iBAAiB,WAAW;AAC1C,MAAI,UAAU,uBAAuB,gBAAgB;AACrD,MAAI,UAAU,kBAAkB,YAAY;AAC5C,MAAI,UAAU,gBAAgB,UAAU;AACxC,MAAI,UAAU,kBAAkB,YAAY;AAC5C,MAAI,UAAU,iBAAiB,WAAW;AAC1C,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}
|
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script>\r\nexport default {\r\n\tonLaunch: function () {\r\n\t\tconsole.log(\"App Launch\");\r\n\t},\r\n\tonShow: function () {\r\n\t\tconsole.log(\"App Show\");\r\n\t},\r\n\tonHide: function () {\r\n\t\tconsole.log(\"App Hide\");\r\n\t},\r\n};\r\n</script>\r\n\r\n<style lang=\"scss\">\r\n@import \"./static/css/iconfont.css\";\r\n@import \"./uni.scss\";\r\n// @import \"./uni_modules/vk-uview-ui/index.scss\";\r\n@import \"./static/css/base.scss\";\r\n/*每个页面公共css */\r\n</style>\r\n","import App from './App'\nimport G from './utils/common.js';\n\nimport gEmpty from './components/empty.vue';\nimport gLoading from './components/loading.vue';\nimport gButton from './components/button.vue';\nimport gListJob from './components/list/job.vue';\nimport gListApply from './components/list/apply.vue';\nimport gPanelServer from './components/panel/server.vue';\nimport gPanelImage from './components/panel/defaultImage.vue';\nimport gPanelFormItem from './components/panel/formItem.vue';\nimport gPanelFormSlot from './components/panel/formSlot.vue';\nimport gPanelCardNum from './components/panel/numCard.vue';\nimport gPanelCardInfo from './components/panel/infoCard.vue';\nimport gPanelHr from './components/panel/hr.vue';\nimport gPanelFond from './components/panel/fond.vue';\nimport gPanelAbout from './components/panel/about.vue';\nimport gPanelDetailItem from './components/panel/detailItem.vue';\nimport gPanelRecord from './components/panel/record.vue';\nimport gPanelTime from './components/panel/time.vue';\nimport gPanelTabbar from './components/panel/tabbar.vue';\nimport gPanelFixed from './components/panel/fixed.vue';\n\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp () {\n const app = createSSRApp(App)\n app.config.productionTip = false;\n\n app.component('g-empty', gEmpty);\n app.component('g-loading', gLoading);\n app.component('g-button', gButton);\n app.component('g-list-job', gListJob);\n app.component('g-list-apply', gListApply);\n app.component('g-panel-server', gPanelServer);\n app.component('g-panel-image', gPanelImage);\n app.component('g-panel-form-item', gPanelFormItem);\n app.component('g-panel-form-slot', gPanelFormSlot);\n app.component('g-panel-card-num', gPanelCardNum);\n app.component('g-panel-card-info', gPanelCardInfo);\n app.component('g-panel-hr', gPanelHr);\n app.component('g-panel-fond', gPanelFond);\n app.component('g-panel-about', gPanelAbout);\n app.component('g-panel-detail-item', gPanelDetailItem);\n app.component('g-panel-record', gPanelRecord);\n app.component('g-panel-time', gPanelTime);\n app.component('g-panel-tabbar', gPanelTabbar);\n app.component('g-panel-fixed', gPanelFixed);\n app.config.globalProperties.G = G\n return {\n app\n }\n}\n// #endif"],"names":["uni","createSSRApp","App","G"],"mappings":";;;;;;;;;;;AACA,MAAK,YAAU;AAAA,EACd,UAAU,WAAY;AACrBA,kBAAAA,MAAY,MAAA,OAAA,gBAAA,YAAY;AAAA,EACxB;AAAA,EACD,QAAQ,WAAY;AACnBA,kBAAAA,MAAA,MAAA,OAAA,gBAAY,UAAU;AAAA,EACtB;AAAA,EACD,QAAQ,WAAY;AACnBA,kBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,EACtB;AACF;ACRA,MAAM,SAAS,MAAW;AAC1B,MAAM,WAAW,MAAW;AAC5B,MAAM,UAAU,MAAW;AAC3B,MAAM,WAAW,MAAW;AAC5B,MAAM,aAAa,MAAW;AAC9B,MAAM,eAAe,MAAW;AAChC,MAAM,cAAc,MAAW;AAC/B,MAAM,iBAAiB,MAAW;AAClC,MAAM,iBAAiB,MAAW;AAClC,MAAM,gBAAgB,MAAW;AACjC,MAAM,iBAAiB,MAAW;AAClC,MAAM,WAAW,MAAW;AAC5B,MAAM,aAAa,MAAW;AAC9B,MAAM,cAAc,MAAW;AAC/B,MAAM,mBAAmB,MAAW;AACpC,MAAM,eAAe,MAAW;AAChC,MAAM,aAAa,MAAW;AAC9B,MAAM,eAAe,MAAW;AAChC,MAAM,cAAc,MAAW;AAIxB,SAAS,YAAa;AAC3B,QAAM,MAAMC,cAAY,aAACC,SAAG;AAC5B,MAAI,OAAO,gBAAgB;AAE3B,MAAI,UAAU,WAAW,MAAM;AAC/B,MAAI,UAAU,aAAa,QAAQ;AACnC,MAAI,UAAU,YAAY,OAAO;AACjC,MAAI,UAAU,cAAc,QAAQ;AACpC,MAAI,UAAU,gBAAgB,UAAU;AACxC,MAAI,UAAU,kBAAkB,YAAY;AAC5C,MAAI,UAAU,iBAAiB,WAAW;AAC1C,MAAI,UAAU,qBAAqB,cAAc;AACjD,MAAI,UAAU,qBAAqB,cAAc;AACjD,MAAI,UAAU,oBAAoB,aAAa;AAC/C,MAAI,UAAU,qBAAqB,cAAc;AACjD,MAAI,UAAU,cAAc,QAAQ;AACpC,MAAI,UAAU,gBAAgB,UAAU;AACxC,MAAI,UAAU,iBAAiB,WAAW;AAC1C,MAAI,UAAU,uBAAuB,gBAAgB;AACrD,MAAI,UAAU,kBAAkB,YAAY;AAC5C,MAAI,UAAU,gBAAgB,UAAU;AACxC,MAAI,UAAU,kBAAkB,YAAY;AAC5C,MAAI,UAAU,iBAAiB,WAAW;AAC1C,MAAI,OAAO,iBAAiB,IAAIC,aAAC;AACjC,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
{"version":3,"file":"index.js","sources":["pages/index/index.vue","../../chromeDownload/HBuilderX.4.45.2025010502/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvaW5kZXgudnVl"],"sourcesContent":["<template>\r\n\t<view class=\"content\">\r\n\t\t<view class=\"g_border_e g_w_all\" v-for=\"(item, index) in list\" :key=\"item.id\">\r\n\t\t\t<view class=\"g_bg_f_5 g_p_12 g_flex_row_between flex_center\" :class=\"item.open ? '' : ''\" @click=\"triggerCollapse(index, item.id)\">\r\n\t\t\t\t<text class=\"\">{{ item.name }}</text>\r\n\t\t\t\t<i class=\"iconfont icon-zhankai\" :style=\"{ transform: item.open ? 'rotate(180deg)' : '' }\"></i>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"\" v-if=\"item.open\">\r\n\t\t\t\t<view class=\"g_border_e_b g_p_12 g_flex_row_between flex_center\" v-for=\"(item2, key) in item.pages\" :key=\"key\" @click=\"goDetailPage(item.id, item2)\">\r\n\t\t\t\t\t<text class=\"\">{{ item2.name ? item2.name : item2 }}</text>\r\n\t\t\t\t\t<i class=\"iconfont icon-gengduo11\"></i>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tlist: [\r\n\t\t\t\t{\r\n\t\t\t\t\tid: \"form\",\r\n\t\t\t\t\tname: \"表单组件\",\r\n\t\t\t\t\topen: false,\r\n\t\t\t\t\tpages: [\"button\"],\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t};\r\n\t},\r\n\tonLoad() {},\r\n\tmethods: {\r\n\t\ttriggerCollapse(e, id) {\r\n\t\t\tif (!this.list[e].pages) {\r\n\t\t\t\tthis.goDetailPage(\"\", this.list[e].url);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tfor (var i = 0; i < this.list.length; ++i) {\r\n\t\t\t\tif (e === i) {\r\n\t\t\t\t\tthis.list[i].open = !this.list[i].open;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.list[i].open = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tgoDetailPage(panel, e) {\r\n\t\t\tif (typeof e === \"string\") {\r\n\t\t\t\tconst url = \"/pages/component/\" + e + \"/\" + e;\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: url,\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: e.url,\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t},\r\n\t},\r\n};\r\n</script>\r\n\r\n<style>\r\n.content {\r\n\tpadding: 10px 0;\r\n\twidth: calc(100vw - 20px);\r\n\tmargin: 0 auto;\r\n}\r\n</style>\r\n","import MiniProgramPage from 'D:/code/zujianku/pages/index/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni"],"mappings":";;AAkBA,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAM;AAAA,QACL;AAAA,UACC,IAAI;AAAA,UACJ,MAAM;AAAA,UACN,MAAM;AAAA,UACN,OAAO,CAAC,QAAQ;AAAA,QAChB;AAAA,MACD;AAAA;EAEF;AAAA,EACD,SAAS;AAAA,EAAE;AAAA,EACX,SAAS;AAAA,IACR,gBAAgB,GAAG,IAAI;AACtB,UAAI,CAAC,KAAK,KAAK,CAAC,EAAE,OAAO;AACxB,aAAK,aAAa,IAAI,KAAK,KAAK,CAAC,EAAE,GAAG;AACtC;AAAA,MACD;AACA,eAAS,IAAI,GAAG,IAAI,KAAK,KAAK,QAAQ,EAAE,GAAG;AAC1C,YAAI,MAAM,GAAG;AACZ,eAAK,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,KAAK,CAAC,EAAE;AAAA,eAC5B;AACN,eAAK,KAAK,CAAC,EAAE,OAAO;AAAA,QACrB;AAAA,MACD;AAAA,IACA;AAAA,IACD,aAAa,OAAO,GAAG;AACtB,UAAI,OAAO,MAAM,UAAU;AAC1B,cAAM,MAAM,sBAAsB,IAAI,MAAM;AAC5CA,sBAAAA,MAAI,WAAW;AAAA,UACd;AAAA,QACD,CAAC;AAAA,aACK;AACNA,sBAAAA,MAAI,WAAW;AAAA,UACd,KAAK,EAAE;AAAA,QACR,CAAC;AAAA,MACF;AAAA,IACA;AAAA,EACD;AACF;;;;;;;;;;;;;;;;;;;;;;;;;AC1DA,GAAG,WAAW,eAAe;"}
|
{"version":3,"file":"index.js","sources":["pages/index/index.vue","../../chromeDownload/HBuilderX.4.45.2025010502/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvaW5kZXgvaW5kZXgudnVl"],"sourcesContent":["<template>\r\n\t<view class=\"content\">\r\n\t\t<view class=\"g_border_e g_w_all\" v-for=\"(item, index) in list\" :key=\"item.id\">\r\n\t\t\t<view class=\"g_bg_f_5 g_p_12 g_flex_row_between flex_center\" :class=\"item.open ? '' : ''\" @click=\"triggerCollapse(index, item.id)\">\r\n\t\t\t\t<text class=\"\">{{ item.name }}</text>\r\n\t\t\t\t<i class=\"iconfont icon-zhankai\" :style=\"{ transform: item.open ? 'rotate(180deg)' : '' }\"></i>\r\n\t\t\t</view>\r\n\t\t\t<view class=\"\" v-if=\"item.open\">\r\n\t\t\t\t<view class=\"g_border_e_b g_p_12 g_flex_row_between flex_center\" v-for=\"(item2, key) in item.pages\" :key=\"key\" @click=\"goDetailPage(item.id, item2)\">\r\n\t\t\t\t\t<text class=\"\">{{ item2.name ? item2.name : item2 }}</text>\r\n\t\t\t\t\t<i class=\"iconfont icon-gengduo11\"></i>\r\n\t\t\t\t</view>\r\n\t\t\t</view>\r\n\t\t</view>\r\n\t</view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n\tdata() {\r\n\t\treturn {\r\n\t\t\tlist: [\r\n\t\t\t\t{\r\n\t\t\t\t\tid: \"form\",\r\n\t\t\t\t\tname: \"表单组件\",\r\n\t\t\t\t\topen: false,\r\n\t\t\t\t\tpages: [\"button\"],\r\n\t\t\t\t},\r\n\t\t\t\t{\r\n\t\t\t\t\tid: \"form\",\r\n\t\t\t\t\tname: \"列表样式\",\r\n\t\t\t\t\topen: false,\r\n\t\t\t\t\tpages: [\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"职位列表\",\r\n url:'/pages/component/listItem/jobList'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\tname: \"工单列表\",\r\n url:'/pages/component/listItem/applyList'\r\n\t\t\t\t\t\t},\r\n\t\t\t\t\t],\r\n\t\t\t\t},\r\n\t\t\t],\r\n\t\t};\r\n\t},\r\n\tonLoad() {},\r\n\tmethods: {\r\n\t\ttriggerCollapse(e, id) {\r\n\t\t\tif (!this.list[e].pages) {\r\n\t\t\t\tthis.goDetailPage(\"\", this.list[e].url);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tfor (var i = 0; i < this.list.length; ++i) {\r\n\t\t\t\tif (e === i) {\r\n\t\t\t\t\tthis.list[i].open = !this.list[i].open;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tthis.list[i].open = false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t},\r\n\t\tgoDetailPage(panel, e) {\r\n\t\t\tif (typeof e === \"string\") {\r\n\t\t\t\tconst url = \"/pages/component/\" + e + \"/\" + e;\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: url,\r\n\t\t\t\t});\r\n\t\t\t} else {\r\n\t\t\t\tuni.navigateTo({\r\n\t\t\t\t\turl: e.url,\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t},\r\n\t},\r\n};\r\n</script>\r\n\r\n<style>\r\n.content {\r\n\tpadding: 10px 0;\r\n\twidth: calc(100vw - 20px);\r\n\tmargin: 0 auto;\r\n}\r\n</style>\r\n","import MiniProgramPage from 'D:/code/zujianku/pages/index/index.vue'\nwx.createPage(MiniProgramPage)"],"names":["uni"],"mappings":";;AAkBA,MAAK,YAAU;AAAA,EACd,OAAO;AACN,WAAO;AAAA,MACN,MAAM;AAAA,QACL;AAAA,UACC,IAAI;AAAA,UACJ,MAAM;AAAA,UACN,MAAM;AAAA,UACN,OAAO,CAAC,QAAQ;AAAA,QAChB;AAAA,QACD;AAAA,UACC,IAAI;AAAA,UACJ,MAAM;AAAA,UACN,MAAM;AAAA,UACN,OAAO;AAAA,YACN;AAAA,cACC,MAAM;AAAA,cACC,KAAI;AAAA,YACX;AAAA,YACD;AAAA,cACC,MAAM;AAAA,cACC,KAAI;AAAA,YACX;AAAA,UACD;AAAA,QACD;AAAA,MACD;AAAA;EAEF;AAAA,EACD,SAAS;AAAA,EAAE;AAAA,EACX,SAAS;AAAA,IACR,gBAAgB,GAAG,IAAI;AACtB,UAAI,CAAC,KAAK,KAAK,CAAC,EAAE,OAAO;AACxB,aAAK,aAAa,IAAI,KAAK,KAAK,CAAC,EAAE,GAAG;AACtC;AAAA,MACD;AACA,eAAS,IAAI,GAAG,IAAI,KAAK,KAAK,QAAQ,EAAE,GAAG;AAC1C,YAAI,MAAM,GAAG;AACZ,eAAK,KAAK,CAAC,EAAE,OAAO,CAAC,KAAK,KAAK,CAAC,EAAE;AAAA,eAC5B;AACN,eAAK,KAAK,CAAC,EAAE,OAAO;AAAA,QACrB;AAAA,MACD;AAAA,IACA;AAAA,IACD,aAAa,OAAO,GAAG;AACtB,UAAI,OAAO,MAAM,UAAU;AAC1B,cAAM,MAAM,sBAAsB,IAAI,MAAM;AAC5CA,sBAAAA,MAAI,WAAW;AAAA,UACd;AAAA,QACD,CAAC;AAAA,aACK;AACNA,sBAAAA,MAAI,WAAW;AAAA,UACd,KAAK,EAAE;AAAA,QACR,CAAC;AAAA,MACF;AAAA,IACA;AAAA,EACD;AACF;;;;;;;;;;;;;;;;;;;;;;;;;ACzEA,GAAG,WAAW,eAAe;"}
|
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"navigationBarTitleText": "工单列表",
|
||||||
|
"usingComponents": {}
|
||||||
|
}
|
||||||
@ -0,0 +1 @@
|
|||||||
|
<view class="job-list g_bg_page"><view><block wx:for="{{a}}" wx:for-item="item" wx:key="q"><view class="g_p_12">{{item.a}}</view><view class="item g_pt_18 g_pl_10 g_pr_10 g_pb_18 g_bg_f g_border_e_b" hover-class="g_bg_f_5 " bindtap="{{item.p}}"><view class="g_flex_row_start"><view class="g_flex_none g_mr_12 g_w_44 g_h_44 g_radius_50 g_flex_c" catchtap="{{item.e}}"><image wx:if="{{item.b}}" src="{{item.c}}" class="g_w_44 g_h_44"></image><image wx:else src="{{item.d}}" class="g_w_44 g_h_44"></image></view><view class="g_flex_1 g_flex_row_start"><view class="g_flex_1 g_flex_column_between"><view class="g_fs_16 g_c_3 g_fw_bold g_ell_1">{{item.f}}{{item.g}}</view><view class="g_fs_14 g_c_6 g_ell_1">{{item.h}}</view></view><view class="g_flex_none g_ml_20 g_flex_column_between"><view class="g_fs_14 g_c_9 g_flex_row_end">{{item.i}}</view><view class="g_fs_14 g_c_3 g_flex_row_end">{{item.j}}</view></view></view></view><view wx:if="{{item.k}}" class="g_flex_row_end flex_center g_mt_8" catchtap="{{item.o}}"><g-button wx:if="{{item.n}}" bindclickBtn="{{item.l}}" u-i="{{item.m}}" bind:__l="__l" u-p="{{item.n}}"/></view></view></block></view></view>
|
||||||
@ -0,0 +1,428 @@
|
|||||||
|
"use strict";
|
||||||
|
const common_vendor = require("../../../common/vendor.js");
|
||||||
|
const _sfc_main = {
|
||||||
|
// 组件名称
|
||||||
|
name: "",
|
||||||
|
// 局部注册的组件
|
||||||
|
components: {},
|
||||||
|
// 组件参数 接收来自父组件的数据
|
||||||
|
props: {},
|
||||||
|
// 组件状态值
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
userinfo: {
|
||||||
|
agencyId: 3088
|
||||||
|
},
|
||||||
|
list: [
|
||||||
|
{
|
||||||
|
itemType: "我的职位样式",
|
||||||
|
from: "mine",
|
||||||
|
recruitmentValue: true,
|
||||||
|
active: 2,
|
||||||
|
address: "湖北省丨武汉市18-40岁",
|
||||||
|
age: "18-40岁",
|
||||||
|
agencyCode: "5258",
|
||||||
|
agencyId: 3087,
|
||||||
|
agencyLogo: "https://file.matripe.com.cn/images/2025/05/13/1747101728480749.png",
|
||||||
|
agencyName: "郑州稻田信息技术有限公司",
|
||||||
|
agencyReturnFee: "",
|
||||||
|
agencyReturnFeeDesp: "",
|
||||||
|
agencyReturnFeeType: "",
|
||||||
|
applyNum: 2,
|
||||||
|
classify: 1,
|
||||||
|
collect: 1,
|
||||||
|
collected: 2,
|
||||||
|
cozeStructureRes: "",
|
||||||
|
creator: 128266,
|
||||||
|
creatorName: "薄荷",
|
||||||
|
cus_price: "<span style='font-size:18px'>18<span style='font-size:14px'>元/小时</span></span>",
|
||||||
|
customServiceTel: "",
|
||||||
|
customServiceUserIdIM: "",
|
||||||
|
customServiceUserIds: "",
|
||||||
|
customServiceWechatImage: "",
|
||||||
|
distance: 0,
|
||||||
|
district: "湖北省丨武汉市",
|
||||||
|
fuWuFei: "2元/小时",
|
||||||
|
fullName: "稻田工作",
|
||||||
|
gender: "男女不限",
|
||||||
|
id: 116423,
|
||||||
|
ignore: 0,
|
||||||
|
imgs: "",
|
||||||
|
isToday: false,
|
||||||
|
jobInfo: "",
|
||||||
|
jobName: "武汉市藏龙岛国企操作工小时工",
|
||||||
|
jobRequestLabelId: "177,572,579",
|
||||||
|
jobRequestLabelNames: "免费住宿, 长白班, 空调车间",
|
||||||
|
jobSpecialLabelNameArray: ["免费住宿", "长白班", "空调车间"],
|
||||||
|
jobSpecialLabelNames: "",
|
||||||
|
jobType: 2,
|
||||||
|
lastNotice: "",
|
||||||
|
leafCateId: 116423,
|
||||||
|
logo: "https://file.matripe.com.cn/images/2025/05/13/1747101728480749.png",
|
||||||
|
maxAge: 40,
|
||||||
|
maxAgeMan: 40,
|
||||||
|
maxAgeWoman: 40,
|
||||||
|
maxMonthlyPay: 52e4,
|
||||||
|
minAge: 18,
|
||||||
|
minAgeMan: 18,
|
||||||
|
minAgeWoman: 18,
|
||||||
|
minMonthlyPay: 45e4,
|
||||||
|
monthlyPay: "4500-5200",
|
||||||
|
onSiteUsers: "",
|
||||||
|
owner: false,
|
||||||
|
policyClassify: 1,
|
||||||
|
price: "18元/小时",
|
||||||
|
recommend: 0,
|
||||||
|
recruitment: 1,
|
||||||
|
recruitmentImage: 2,
|
||||||
|
recruitmentSwitch: false,
|
||||||
|
returnFee: 200,
|
||||||
|
returnFeeDesp: "",
|
||||||
|
returnFeeType: 0,
|
||||||
|
salaryClassify: 0,
|
||||||
|
salaryClassifyValue: 1800,
|
||||||
|
serverPrice: "-",
|
||||||
|
storeAddr: "湖北省武汉市",
|
||||||
|
storeDistrict: "",
|
||||||
|
storeId: "",
|
||||||
|
storeLat: "30.5931",
|
||||||
|
storeLng: "114.3054",
|
||||||
|
storeName: "",
|
||||||
|
supplier: "",
|
||||||
|
supplierId: "",
|
||||||
|
teamType: 2,
|
||||||
|
templateId: "",
|
||||||
|
time: "34天前",
|
||||||
|
tip: 2,
|
||||||
|
title: "武汉市藏龙岛国企操作工小时工",
|
||||||
|
today: 0,
|
||||||
|
totalPrice: "",
|
||||||
|
up: 2,
|
||||||
|
upAgencyId: 3087,
|
||||||
|
upAgencyName: "郑州稻田信息技术有限公司",
|
||||||
|
upFullName: "稻田工作",
|
||||||
|
upProviderId: "",
|
||||||
|
upProviderName: "",
|
||||||
|
updateTime: 1754992288e3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
itemType: "聊天发送职位样式",
|
||||||
|
from: "chat",
|
||||||
|
active: 2,
|
||||||
|
address: "湖北省丨武汉市18-40岁",
|
||||||
|
age: "18-40岁",
|
||||||
|
agencyCode: "5258",
|
||||||
|
agencyId: 3087,
|
||||||
|
agencyLogo: "https://file.matripe.com.cn/images/2025/05/13/1747101728480749.png",
|
||||||
|
agencyName: "郑州稻田信息技术有限公司",
|
||||||
|
agencyReturnFee: "",
|
||||||
|
agencyReturnFeeDesp: "",
|
||||||
|
agencyReturnFeeType: "",
|
||||||
|
applyNum: 2,
|
||||||
|
classify: 1,
|
||||||
|
collect: 1,
|
||||||
|
collected: 2,
|
||||||
|
cozeStructureRes: "",
|
||||||
|
creator: 128266,
|
||||||
|
creatorName: "薄荷",
|
||||||
|
cus_price: "<span style='font-size:18px'>18<span style='font-size:14px'>元/小时</span></span>",
|
||||||
|
customServiceTel: "",
|
||||||
|
customServiceUserIdIM: "",
|
||||||
|
customServiceUserIds: "",
|
||||||
|
customServiceWechatImage: "",
|
||||||
|
distance: 0,
|
||||||
|
district: "湖北省丨武汉市",
|
||||||
|
fuWuFei: "2元/小时",
|
||||||
|
fullName: "稻田工作",
|
||||||
|
gender: "男女不限",
|
||||||
|
id: 116424,
|
||||||
|
ignore: 0,
|
||||||
|
imgs: "",
|
||||||
|
isToday: false,
|
||||||
|
jobInfo: "",
|
||||||
|
jobName: "武汉市藏龙岛国企操作工小时工",
|
||||||
|
jobRequestLabelId: "177,572,579",
|
||||||
|
jobRequestLabelNames: "免费住宿, 长白班, 空调车间",
|
||||||
|
jobSpecialLabelNameArray: ["免费住宿", "长白班", "空调车间"],
|
||||||
|
jobSpecialLabelNames: "",
|
||||||
|
jobType: 2,
|
||||||
|
lastNotice: "",
|
||||||
|
leafCateId: 116424,
|
||||||
|
logo: "https://file.matripe.com.cn/images/2025/05/13/1747101728480749.png",
|
||||||
|
maxAge: 40,
|
||||||
|
maxAgeMan: 40,
|
||||||
|
maxAgeWoman: 40,
|
||||||
|
maxMonthlyPay: 52e4,
|
||||||
|
minAge: 18,
|
||||||
|
minAgeMan: 18,
|
||||||
|
minAgeWoman: 18,
|
||||||
|
minMonthlyPay: 45e4,
|
||||||
|
monthlyPay: "4500-5200",
|
||||||
|
onSiteUsers: "",
|
||||||
|
owner: false,
|
||||||
|
policyClassify: 1,
|
||||||
|
price: "18元/小时",
|
||||||
|
recommend: 0,
|
||||||
|
recruitment: 1,
|
||||||
|
recruitmentImage: 2,
|
||||||
|
recruitmentSwitch: false,
|
||||||
|
returnFee: 200,
|
||||||
|
returnFeeDesp: "",
|
||||||
|
returnFeeType: 0,
|
||||||
|
salaryClassify: 0,
|
||||||
|
salaryClassifyValue: 1800,
|
||||||
|
serverPrice: "-",
|
||||||
|
storeAddr: "湖北省武汉市",
|
||||||
|
storeDistrict: "",
|
||||||
|
storeId: "",
|
||||||
|
storeLat: "30.5931",
|
||||||
|
storeLng: "114.3054",
|
||||||
|
storeName: "",
|
||||||
|
supplier: "",
|
||||||
|
supplierId: "",
|
||||||
|
teamType: 2,
|
||||||
|
templateId: "",
|
||||||
|
time: "34天前",
|
||||||
|
tip: 2,
|
||||||
|
title: "武汉市藏龙岛国企操作工小时工",
|
||||||
|
today: 0,
|
||||||
|
totalPrice: "",
|
||||||
|
up: 2,
|
||||||
|
upAgencyId: 3087,
|
||||||
|
upAgencyName: "郑州稻田信息技术有限公司",
|
||||||
|
upFullName: "稻田工作",
|
||||||
|
upProviderId: "",
|
||||||
|
upProviderName: "",
|
||||||
|
updateTime: 1754992288e3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
itemType: "默认职位样式",
|
||||||
|
active: 2,
|
||||||
|
address: "湖北省丨武汉市18-40岁",
|
||||||
|
age: "18-40岁",
|
||||||
|
agencyCode: "5258",
|
||||||
|
agencyId: 3088,
|
||||||
|
agencyLogo: "https://file.matripe.com.cn/images/2025/05/13/1747101728480749.png",
|
||||||
|
agencyName: "郑州稻田信息技术有限公司",
|
||||||
|
agencyReturnFee: "",
|
||||||
|
agencyReturnFeeDesp: "",
|
||||||
|
agencyReturnFeeType: "",
|
||||||
|
applyNum: 2,
|
||||||
|
classify: 1,
|
||||||
|
collect: 1,
|
||||||
|
collected: 2,
|
||||||
|
cozeStructureRes: "",
|
||||||
|
creator: 128266,
|
||||||
|
creatorName: "薄荷",
|
||||||
|
cus_price: "<span style='font-size:18px'>18<span style='font-size:14px'>元/小时</span></span>",
|
||||||
|
customServiceTel: "",
|
||||||
|
customServiceUserIdIM: "",
|
||||||
|
customServiceUserIds: "",
|
||||||
|
customServiceWechatImage: "",
|
||||||
|
distance: 0,
|
||||||
|
district: "湖北省丨武汉市",
|
||||||
|
fuWuFei: "2元/小时",
|
||||||
|
fullName: "稻田工作",
|
||||||
|
gender: "男女不限",
|
||||||
|
id: 116425,
|
||||||
|
ignore: 0,
|
||||||
|
imgs: "",
|
||||||
|
isToday: false,
|
||||||
|
jobInfo: "",
|
||||||
|
jobName: "武汉市藏龙岛国企操作工小时工",
|
||||||
|
jobRequestLabelId: "177,572,579",
|
||||||
|
jobRequestLabelNames: "免费住宿, 长白班, 空调车间",
|
||||||
|
jobSpecialLabelNameArray: ["免费住宿", "长白班", "空调车间"],
|
||||||
|
jobSpecialLabelNames: "",
|
||||||
|
jobType: 2,
|
||||||
|
lastNotice: "",
|
||||||
|
leafCateId: 116425,
|
||||||
|
logo: "https://file.matripe.com.cn/images/2025/05/13/1747101728480749.png",
|
||||||
|
maxAge: 40,
|
||||||
|
maxAgeMan: 40,
|
||||||
|
maxAgeWoman: 40,
|
||||||
|
maxMonthlyPay: 52e4,
|
||||||
|
minAge: 18,
|
||||||
|
minAgeMan: 18,
|
||||||
|
minAgeWoman: 18,
|
||||||
|
minMonthlyPay: 45e4,
|
||||||
|
monthlyPay: "4500-5200",
|
||||||
|
onSiteUsers: "",
|
||||||
|
owner: false,
|
||||||
|
policyClassify: 1,
|
||||||
|
price: "18元/小时",
|
||||||
|
recommend: 0,
|
||||||
|
recruitment: 2,
|
||||||
|
recruitmentImage: 2,
|
||||||
|
recruitmentSwitch: false,
|
||||||
|
returnFee: 200,
|
||||||
|
returnFeeDesp: "",
|
||||||
|
returnFeeType: 0,
|
||||||
|
salaryClassify: 0,
|
||||||
|
salaryClassifyValue: 1800,
|
||||||
|
serverPrice: "-",
|
||||||
|
storeAddr: "湖北省武汉市",
|
||||||
|
storeDistrict: "",
|
||||||
|
storeId: "",
|
||||||
|
storeLat: "30.5931",
|
||||||
|
storeLng: "114.3054",
|
||||||
|
storeName: "",
|
||||||
|
supplier: "",
|
||||||
|
supplierId: "",
|
||||||
|
teamType: 2,
|
||||||
|
templateId: "",
|
||||||
|
time: "34天前",
|
||||||
|
tip: 2,
|
||||||
|
title: "武汉市藏龙岛国企操作工小时工",
|
||||||
|
today: 0,
|
||||||
|
totalPrice: "",
|
||||||
|
up: 2,
|
||||||
|
upAgencyId: 3087,
|
||||||
|
upAgencyName: "郑州稻田信息技术有限公司",
|
||||||
|
upFullName: "稻田工作",
|
||||||
|
upProviderId: "",
|
||||||
|
upProviderName: "",
|
||||||
|
updateTime: 1754992288e3
|
||||||
|
}
|
||||||
|
]
|
||||||
|
};
|
||||||
|
},
|
||||||
|
// 计算属性
|
||||||
|
computed: {},
|
||||||
|
// 侦听器
|
||||||
|
watch: {},
|
||||||
|
created() {
|
||||||
|
},
|
||||||
|
mounted() {
|
||||||
|
},
|
||||||
|
// 组件方法
|
||||||
|
methods: {
|
||||||
|
recruitmentChange() {
|
||||||
|
},
|
||||||
|
showConfig() {
|
||||||
|
},
|
||||||
|
toApplyInfo() {
|
||||||
|
},
|
||||||
|
sendJob() {
|
||||||
|
},
|
||||||
|
checkJob() {
|
||||||
|
},
|
||||||
|
openApplyPop() {
|
||||||
|
},
|
||||||
|
handleCard() {
|
||||||
|
},
|
||||||
|
timeShowXXX(updateTime) {
|
||||||
|
const now = Date.now();
|
||||||
|
const diff = now - updateTime;
|
||||||
|
const seconds = Math.floor(diff / 1e3);
|
||||||
|
const minutes = Math.floor(seconds / 60);
|
||||||
|
const hours = Math.floor(minutes / 60);
|
||||||
|
const days = Math.floor(hours / 24);
|
||||||
|
if (days < 2) {
|
||||||
|
if (hours > 0) {
|
||||||
|
return `${hours}小时前`;
|
||||||
|
} else if (minutes > 0) {
|
||||||
|
return `${minutes}分钟前`;
|
||||||
|
} else {
|
||||||
|
return `刚刚`;
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
return `${days}天前`;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
if (!Array) {
|
||||||
|
const _easycom_u_switch2 = common_vendor.resolveComponent("u-switch");
|
||||||
|
const _component_g_button = common_vendor.resolveComponent("g-button");
|
||||||
|
(_easycom_u_switch2 + _component_g_button)();
|
||||||
|
}
|
||||||
|
const _easycom_u_switch = () => "../../../uni_modules/vk-uview-ui/components/u-switch/u-switch.js";
|
||||||
|
if (!Math) {
|
||||||
|
_easycom_u_switch();
|
||||||
|
}
|
||||||
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||||
|
return {
|
||||||
|
a: common_vendor.f($data.list, (item, k0, i0) => {
|
||||||
|
return common_vendor.e({
|
||||||
|
a: common_vendor.t(item.itemType),
|
||||||
|
b: item.recruitment == 2 && item.from != "mine"
|
||||||
|
}, item.recruitment == 2 && item.from != "mine" ? {} : {}, {
|
||||||
|
c: item.picked == 1
|
||||||
|
}, item.picked == 1 ? {} : {}, {
|
||||||
|
d: common_vendor.t(item.jobName),
|
||||||
|
e: common_vendor.t($options.timeShowXXX(item.updateTime)),
|
||||||
|
f: common_vendor.t(item.district),
|
||||||
|
g: common_vendor.t(item.district ? "丨" : ""),
|
||||||
|
h: common_vendor.t((item.gender || "-") + "丨" + item.age),
|
||||||
|
i: common_vendor.t(item.distance && item.storeDistrict ? item.distance : "")
|
||||||
|
}, {}, {
|
||||||
|
k: common_vendor.f(item.jobSpecialLabelNameArray, (itm, inx, i1) => {
|
||||||
|
return {
|
||||||
|
a: common_vendor.t(itm),
|
||||||
|
b: inx
|
||||||
|
};
|
||||||
|
}),
|
||||||
|
l: item.jobSpecialLabelNameArray && item.jobSpecialLabelNameArray.length == 0
|
||||||
|
}, item.jobSpecialLabelNameArray && item.jobSpecialLabelNameArray.length == 0 ? {} : {}, {
|
||||||
|
m: item.cus_price != "月薪"
|
||||||
|
}, item.cus_price != "月薪" ? {
|
||||||
|
n: item.cus_price
|
||||||
|
} : {
|
||||||
|
o: common_vendor.t(item.monthlyPay)
|
||||||
|
}, {
|
||||||
|
p: common_vendor.t((_ctx.recordStatus == 3 || _ctx.recordStatus == 4 || _ctx.recordStatus == 5) && !_ctx.isSelf ? "关注查看" : item.fuWuFei),
|
||||||
|
q: common_vendor.o(($event) => $options.handleCard(item, _ctx.index), item.id),
|
||||||
|
r: item.from == "mine"
|
||||||
|
}, item.from == "mine" ? {
|
||||||
|
s: common_vendor.o(($event) => $options.recruitmentChange($event, item), item.id),
|
||||||
|
t: "aa33aa99-0-" + i0,
|
||||||
|
v: common_vendor.o(($event) => item.recruitmentValue = $event, item.id),
|
||||||
|
w: common_vendor.p({
|
||||||
|
showText: true,
|
||||||
|
openText: "开",
|
||||||
|
closeText: "停",
|
||||||
|
size: "44",
|
||||||
|
activeColor: "#07C160",
|
||||||
|
modelValue: item.recruitmentValue
|
||||||
|
}),
|
||||||
|
x: common_vendor.o(($event) => $options.showConfig(item), item.id)
|
||||||
|
} : {}, {
|
||||||
|
y: item.from != "shareList" && item.from != "mine"
|
||||||
|
}, item.from != "shareList" && item.from != "mine" ? common_vendor.e({
|
||||||
|
z: item.from != "chat"
|
||||||
|
}, item.from != "chat" ? common_vendor.e({
|
||||||
|
A: common_vendor.t(item.fullName || item.agencyName || "-"),
|
||||||
|
B: common_vendor.o(($event) => $options.toApplyInfo(item), item.id),
|
||||||
|
C: $data.userinfo.agencyId == item.agencyId
|
||||||
|
}, $data.userinfo.agencyId == item.agencyId ? {
|
||||||
|
D: common_vendor.t(item.upFullName || item.upAgencyName || item.upProviderName || "-")
|
||||||
|
} : {}) : {}, {
|
||||||
|
E: item.from == "chat"
|
||||||
|
}, item.from == "chat" ? {
|
||||||
|
F: common_vendor.o(($event) => $options.sendJob(item), item.id),
|
||||||
|
G: "aa33aa99-1-" + i0,
|
||||||
|
H: common_vendor.p({
|
||||||
|
btnText: "发送",
|
||||||
|
fontSize: "14",
|
||||||
|
type: "primary",
|
||||||
|
size: "mini"
|
||||||
|
})
|
||||||
|
} : {}) : {}, {
|
||||||
|
I: common_vendor.o(() => {
|
||||||
|
}, item.id),
|
||||||
|
J: item.from == "share"
|
||||||
|
}, item.from == "share" ? {
|
||||||
|
K: item.checked,
|
||||||
|
L: item.checked,
|
||||||
|
M: common_vendor.o(($event) => $options.checkJob(item), item.id)
|
||||||
|
} : {}, {
|
||||||
|
N: common_vendor.n(item.from == "share" ? "g_pl_32" : ""),
|
||||||
|
O: item.id
|
||||||
|
});
|
||||||
|
})
|
||||||
|
};
|
||||||
|
}
|
||||||
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-aa33aa99"]]);
|
||||||
|
wx.createPage(MiniProgramPage);
|
||||||
|
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/component/listItem/jobList.js.map
|
||||||
@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"navigationBarTitleText": "职位列表",
|
||||||
|
"usingComponents": {
|
||||||
|
"u-switch": "../../../uni_modules/vk-uview-ui/components/u-switch/u-switch"
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,16 @@
|
|||||||
|
.label_btn.data-v-aa33aa99 {
|
||||||
|
display: inline-block;
|
||||||
|
height: 20px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #666;
|
||||||
|
background: #f1faff;
|
||||||
|
border-radius: 2px;
|
||||||
|
padding: 0 4px 0px;
|
||||||
|
line-height: 20px;
|
||||||
|
margin-right: 6px;
|
||||||
|
margin-bottom: 0px;
|
||||||
|
position: relative;
|
||||||
|
top: 1px;
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue