zhengyiming
23 小时以前 c743612b8129a6221c13b865fcd0b112b84afc38
fix: bug
4个文件已修改
36 ■■■■■ 已修改文件
apps/bMiniApp/src/components/JobDetailContent/components/curriculumView.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/cMiniApp/project.config.json 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/components/src/Card/FlexJobCard.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/components/src/Image/PreviewImage.vue 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/bMiniApp/src/components/JobDetailContent/components/curriculumView.vue
@@ -23,15 +23,8 @@
          </CurriculumViewItem>
        </div>
      </CellChunk>
      <CellChunk title="资格证书">
        <nut-grid
          square
          :column-num="3"
          :border="false"
          :gutter="20"
          v-if="_userCredentials.length > 0"
          class="pro-img-grid"
        >
      <CellChunk title="资格证书" v-if="_userCredentials.length > 0">
        <nut-grid square :column-num="3" :border="false" :gutter="20" class="pro-img-grid">
          <nut-grid-item
            v-for="(item, index) in _userCredentials"
            :key="item"
@@ -44,8 +37,7 @@
        </nut-grid>
      </CellChunk>
      <CellChunk title="工作经验">
        <CurriculumViewItem label="工作年限:" :text="workSeniority ? `${workSeniority}年` : ''">
        </CurriculumViewItem>
        <CurriculumViewItem label="工作年限:" :text="workSeniority"> </CurriculumViewItem>
        <CurriculumViewItem label="工作经验:" :text="workExperience"> </CurriculumViewItem>
      </CellChunk>
      <CellChunk title="详细信息">
apps/cMiniApp/project.config.json
@@ -3,8 +3,8 @@
    "description": "",
    "setting": {
        "urlCheck": false,
        "es6": true,
        "enhance": true,
        "es6": false,
        "enhance": false,
        "postcss": false,
        "preloadBackgroundData": false,
        "minified": false,
packages/components/src/Card/FlexJobCard.vue
@@ -14,7 +14,7 @@
      {{ workExperience }}
    </div>
    <div class="flexJob-card-done-detail" v-if="showDoneDetail">
      <div class="flexJob-card-done-detail-item">{{ workSeniority && `${workSeniority}年` }}</div>
      <div class="flexJob-card-done-detail-item">{{ workSeniority }}</div>
      <!-- <div class="flexJob-card-done-detail-item">{{ '在「宁波雷迪森酒店」,做过客房服务员' }}</div> -->
    </div>
    <div class="flexJob-card-footer">
packages/components/src/Image/PreviewImage.vue
@@ -1,6 +1,12 @@
<template>
  <div :class="['preview-image-wrapper', wrapperClassName]">
    <Image @tap="handeClick" :mode="mode" :src="src" v-bind="$attrs" />
    <!-- <Image @tap="handeClick" :mode="mode" :src="src" v-bind="$attrs" /> -->
    <div
      class="preview-image-div"
      :style="{ backgroundImage: `url(${src})` }"
      v-bind="$attrs"
      @tap="handeClick"
    ></div>
  </div>
</template>
@@ -29,7 +35,6 @@
  () => props.src,
  () => {
    if (props.src) {
      console.log('props.src: ', props.src);
      Taro.getImageInfo({
        src: props.src,
        success(result) {
@@ -64,5 +69,12 @@
  width: 100%;
  height: 100%;
  overflow: hidden;
  .preview-image-div {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
  }
}
</style>