zhengyiming
2025-02-14 ddfa27c45cc80f575f414bac49201ac60f20888a
fix: b端
4个文件已修改
47 ■■■■ 已修改文件
apps/bMiniApp/src/subpackages/task/taskManage/InnerPage.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/cMiniApp/config/staging.js 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/cMiniApp/src/subpackages/city/citySelect/citySelect.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/components/src/Card/JobApplicationCard.vue 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/bMiniApp/src/subpackages/task/taskManage/InnerPage.vue
@@ -17,7 +17,12 @@
    :key="queryState.status"
  >
    <template #renderItem="{ item }">
      <JobApplicationCard @click="goSubmitTaskDetail(item)" />
      <JobApplicationCard @click="goSubmitTaskDetail(item)" mode="taskManage">
        <template #footer-actions>
          <!-- <nut-button type="primary">人员安排</nut-button> -->
          <nut-button type="primary" :color="Colors.Info" class="dark-btn">详情</nut-button>
        </template>
      </JobApplicationCard>
    </template>
  </InfiniteLoading>
</template>
@@ -26,7 +31,7 @@
import { JobApplicationCard, ProTabs, ProTabPane } from '@12333/components';
import Taro from '@tarojs/taro';
import { useInfiniteLoading } from '@12333/hooks';
import { OrderInputType } from '@12333/constants';
import { OrderInputType, Colors } from '@12333/constants';
import * as orderServices from '@12333/services/api/Order';
defineOptions({
apps/cMiniApp/config/staging.js
@@ -1,6 +1,7 @@
module.exports = {
  env: {
    BASE_URL: '"https://testrlywx.boleyuma.com"',
    // BASE_URL: '"https://testrlywx.boleyuma.com"',
    BASE_URL: '"https://api.81812333.com"',
    BASE_URL_JX: '"https://api.jx818.com"',
    OSS_URL: '"https://waterdroptest2.oss-cn-hangzhou.aliyuncs.com/"',
apps/cMiniApp/src/subpackages/city/citySelect/citySelect.vue
@@ -1,7 +1,16 @@
<template>
  <PageLayout title="选择城市" class="citySelect-page-wrapper" :need-auth="false">
    <ContentView class="citySelect-content-wrapper">
      <div class="current-city">当前城市:{{ locationCity }}</div>
      <!-- <div class="current-city">当前城市:{{ locationCity }}</div> -->
      <div class="home-searchbar-wrapper">
        <div class="city-btn-wrapper">
          <div class="city-btn">
            <img :src="IconLocaltion" class="city-btn-icon" />
            <div class="city-btn-text">{{ locationCity }}</div>
          </div>
        </div>
        <div class="reset-localtion">重新定位</div>
      </div>
      <Elevator :index-list="elevatorData" :height="'100%'" @click-item="clickItem" />
    </ContentView>
  </PageLayout>
@@ -15,6 +24,7 @@
import { groupBy, sortBy } from 'lodash';
import { useUserStore } from '@/stores/modules/user';
import { Elevator } from '@12333/components';
import IconLocaltion from '@/assets/home/icon-localtion.png';
defineOptions({
  name: 'citySelect',
packages/components/src/Card/JobApplicationCard.vue
@@ -2,26 +2,29 @@
  <div class="job-application-card-wrapper">
    <div class="job-application-card-title-wrapper">
      <div class="job-application-card-title">客房服务员</div>
      <div class="job-application-card-title-more" @click.stop="handleMore">
      <TaskPrice :value="212" v-if="mode === 'taskManage'" />
      <div v-else class="job-application-card-title-more" @click.stop="handleMore">
        <img :src="IconMore" class="more-btn-icon" />
      </div>
    </div>
    <div class="job-application-card-line">
      <div class="job-application-card-time">{{ `${'2025年2月5日'}至${'2025年3月5日'}` }}</div>
      <div class="job-application-card-status">{{ '生效中' }}</div>
      <div class="job-application-card-status" v-if="mode === 'normal'">{{ '生效中' }}</div>
    </div>
    <div class="job-application-card-line">
      <div class="job-application-card-company">
        <div class="job-application-card-company-tag">H</div>
        <div class="job-application-card-company-address">宁波雷迪森酒店</div>
      </div>
      <div class="job-application-card-people">{{ `报名人数:${5}` }}</div>
      <div class="job-application-card-people" v-if="mode === 'normal'">{{ `报名人数:${5}` }}</div>
    </div>
    <div class="job-application-card-line">
      <div class="job-application-card-publish-time">{{ `发布日期:${'2022年12月25日'}` }}</div>
      <div class="job-application-card-fee">
        <TaskPrice :value="212" />
      </div>
      <slot name="footer-actions">
        <div class="job-application-card-fee">
          <TaskPrice :value="212" />
        </div>
      </slot>
    </div>
  </div>
</template>
@@ -77,10 +80,12 @@
type Props = CommonTaskCardProps & {
  showActions?: boolean;
  status?: ResourceStatus;
  mode?: 'taskManage' | 'normal';
};
const props = withDefaults(defineProps<Props>(), {
  showActions: true,
  mode: 'normal',
});
const emit = defineEmits<{
@@ -265,6 +270,12 @@
    .job-application-card-publish-time {
      color: boleGetCssVar('text-color', 'regular');
    }
    .nut-button {
      min-width: 144rpx;
      height: 52rpx;
      font-size: 24rpx;
    }
  }
}
</style>