Przeglądaj źródła

自定义导航

zhengnaiwen_citu 7 miesięcy temu
rodzic
commit
97172e1f52

+ 18 - 19
custom-tab-bar/index.wxss

@@ -3,7 +3,7 @@
   bottom: 0;
   left: 0;
   right: 0;
-  height: 48px;
+  height: 60px;
   background: white;
   display: flex;
   padding-bottom: env(safe-area-inset-bottom);
@@ -33,37 +33,36 @@
 }
 
 .tab-bar-item.center {
-  margin-top: -14px;
+  margin-top: -20px;
 }
 .tab-bar-item.center image {
-  width: 41px;
-  height: 41px;
+  width: 56px;
+  height: 56px;
   z-index: 3;
   border-radius: 50%;
 }
-/* .tab-bar-item.center::after {
-  content: '';
-  width: 80px;
-  height: 50px;
-  position: absolute;
-  left: 50%;
-  top: 15px;
-  background: #FFF;
-  transform: translate(-50%, 0);
-  z-index: 0;
-} */
 .tab-bar-item.center::before {
   content: '';
-  width: 46px;
-  height: 46px;
+  width: 64px;
+  height: 32px;
   position: absolute;
   left: 50%;
   top: 0;
   transform: translate(-50%, 0px);
   background: #FFF;
-  border-radius: 180px 180px 0 0;
+  border-radius: 180px 180px 0 0 ;
   box-shadow: 0px 8px 20px 0px rgba(0,0,0,.5);
-
+  /* clip-path: inset(0 0 66.66% 0); 裁剪三分之一高度 */
+}
+.tab-bar-item.center::after {
+  content: '';
+  width: 100px;
+  height: 40px;
+  position: absolute;
+  left: 50%;
+  top: 20px;
+  background: #FFF;
+  transform: translate(-50%, 0px);
 }
 .tab-bar-item image {
   width: 27px;

+ 2 - 2
layout/index.vue

@@ -47,9 +47,9 @@ watch(() => useUserStore.accountInfo.userId, (newVal, oldVal) => {
   .page-main {
     position: absolute;
     z-index: 1;
-    padding-bottom: 160rpx;
     width: 100%;
-    min-height: calc(100% - 160rpx);
+    padding-bottom: 120rpx;
+    min-height: 100%;
     display: flex;
     flex-direction: column;
 

+ 28 - 28
pages/index/crowdsourcing.vue

@@ -1,38 +1,38 @@
 <template>
   <layout-page>
     <scroll-view class="scrollBox" scroll-y="true" @scrolltolower="loadingMore" style="position:relative;">
-	  <view class="content defaultBgc">
-		  <view class="content-top">
-			<view class="content-top-title">
-				<view class="content-top-title-label">
-					<text class="content-top-title-label-l">全员猎聘</text>
-					<text class="content-top-title-label-s">海量岗位 | 推荐有赏</text>
+			<view class="content defaultBgc">
+				<view class="content-top">
+				<view class="content-top-title">
+					<view class="content-top-title-label">
+						<text class="content-top-title-label-l">全员猎聘</text>
+						<text class="content-top-title-label-s">海量岗位 | 推荐有赏</text>
+					</view>
 				</view>
-			</view>
-			<view class="content-top-carousel">
-				<view class="content-top-carousel-box">
-					<SwiperAd :list="swiperAdList"></SwiperAd>
+				<view class="content-top-carousel">
+					<view class="content-top-carousel-box">
+						<SwiperAd :list="swiperAdList"></SwiperAd>
+					</view>
+				</view>
+				<view class="content-top-recommend">
+					<view class="content-top-recommend-box">
+						<resume-status>
+							<template #header>
+								<view class="content-top-recommend-box-title">
+									<text class="title">我的推荐</text>
+								</view>
+							</template>
+						</resume-status>
+					</view>
+				</view>
+				</view>
+				<view class="content-main">
+				<view class="content-main-list">
+					<PositionList class="pb-10" :list="items" :noMore="items.length === total"></PositionList>
 				</view>
-			</view>
-			<view class="content-top-recommend">
-				<view class="content-top-recommend-box">
-					<resume-status>
-						<template #header>
-							<view class="content-top-recommend-box-title">
-								<text class="title">我的推荐</text>
-							</view>
-						</template>
-					</resume-status>
 				</view>
 			</view>
-		  </view>
-		  <view class="content-main">
-			<view class="content-main-list">
-				<PositionList class="pb-10" :list="items" :noMore="items.length === total"></PositionList>
-			</view>
-		  </view>
-	  </view>
-	</scroll-view>
+		</scroll-view>
   </layout-page>
 </template>
 

+ 14 - 1
pagesA/chart/index.vue

@@ -303,7 +303,6 @@ function setScrollBottom () {
 async function getInterviewInviteList () {
   if (!info.value.id) return
   const { data } = await getInterviewInviteListByInviteUserId(info.value.id)
-  console.log(data, statusList)
   interview.value = data.slice(0, 1).map(e => {
     const statusItem = statusList.value.find(_e => _e.value === e.status)
     const statusText = statusItem?.label || ''
@@ -384,6 +383,8 @@ function handleSendResume () {
     type: 1
   }
   send (JSON.stringify(text), channelItem.value, 105)
+  // 提交简历
+  // {jobId, title, type, url}
   popup.value.close()
 }
 
@@ -470,11 +471,23 @@ function handleUploadResume () {
   })
 }
 
+// 根据id检测是否有发过简历
+async function checkResume (jobId) {
+  try {
+    const { data } = await getJobFavoriteCheck({ jobId })
+    console.log(data)
+  } catch (error) {
+    
+  }
+}
+
 onLoad(async (options) => {
   info.value = Object.keys(options).reduce((r, k) => {
     r[k] = decodeURIComponent(options[k])
     return r
   }, {})
+  // console.log(info.value)
+  // await checkResume(info.value.enterpriseId)
   await init(options.id, options.enterpriseId)
   await getStatusList()
   getInterviewInviteList()

BIN
static/img/message-fill.png


BIN
static/img/message.png


BIN
static/img/my-fill.png


BIN
static/img/my.png


BIN
static/img/pin-fill.png


BIN
static/img/pin.png


BIN
static/img/position-fill.png


BIN
static/img/position.png


BIN
static/img/welfare.png