瀏覽代碼

Merge branch 'master' of https://git.citupro.com/zhengnaiwen_citu/menduner-uniapp

lifanagju_citu 2 月之前
父節點
當前提交
ccf5d3d15c
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 1 1
      pages/index/position.vue
  2. 3 1
      pagesB/jobFair/positionClassification.vue

+ 1 - 1
pages/index/position.vue

@@ -35,7 +35,7 @@
             <view class="white-bgc px-10 stickFilter">
             <FilterList :list="filterList" idValue="label" @change="handleSearch"></FilterList>
           </view>
-          <PositionList :list="positionListData" :noMore="false" :showJobFairEntrance="false"></PositionList>
+          <PositionList :list="positionListData" :noMore="false" :showJobFairEntrance="true"></PositionList>
           <uni-load-more :status="more" />
         </view>
       </scroll-view>

+ 3 - 1
pagesB/jobFair/positionClassification.vue

@@ -65,8 +65,10 @@ const query = reactive({
 
 const entName = ref('')
 
+let obj = {}
 onLoad(async (options) => {
   console.log('options:', options)
+  // 网站二维码分享
 	if (options.scene) {
     const scene = decodeURIComponent(options.scene)
     const key = scene.split('=')[1]
@@ -87,7 +89,7 @@ onLoad(async (options) => {
       getJobFairDetail()
     }
   }
-  if (options.backgroundColor) backgroundColor.value = options.backgroundColor
+  if (options.backgroundColor || obj?.backgroundColor) backgroundColor.value = options.backgroundColor || obj?.backgroundColor
 })
 
 // 招聘会详情