Xiao_123 4 months ago
parent
commit
78ea58159b
2 changed files with 8 additions and 23 deletions
  1. 7 22
      pagesB/positionDetail/index.vue
  2. 1 1
      static/style/position/index.scss

+ 7 - 22
pagesB/positionDetail/index.vue

@@ -94,9 +94,9 @@
           <uni-icons type="redo-filled" size="24" color="#00897B"/>
           <span style="color:#00897B;font-weight:bold;">分享</span>
         </view>
-        <button class="btnStyle bgButtons" @tap="handleSend">立即沟通</button>
+        <button class="btnStyle bgButtons" type="primary" plain="true" @tap="handleSend">立即沟通</button>
         <button v-if="delivery" :disabled="true" class="buttons btnStyle disable">我已投递</button>
-        <button v-else class="buttons btnStyle" @click="handleDelivery">我要投递</button>
+        <button v-else class="buttons btnStyle" type="primary" @click="handleDelivery">我要投递</button>
       </view>
     </view>
     <uni-popup
@@ -463,8 +463,6 @@ const resumeList = ref([])
 const selectIndex = ref(null)
 
 const handleOpen = async () => {
-  const { data } = await getPersonResumeCv()
-  resumeList.value = data
   // 未上传简历
   if (!resumeList.value?.length) {
     return uploadPopup.value.open()
@@ -495,6 +493,10 @@ const handleDelivery = async () => {
     return
   }
 
+  // 获取附件简历
+  const { data } = await getPersonResumeCv()
+  resumeList.value = data
+
   // 消息订阅
   const { data: templateList } = await getSubscribeTemplateList()
   const tmplIds = templateList.map(e => e.id)
@@ -653,23 +655,6 @@ const handleUpload = () => {
 // 分享
 const loginPopup = ref()
 const handleClickShare = () => {
-  // if (!getAccessToken()) {
-  //   uni.showToast({
-  //     title:'请先登录',
-  //     icon: 'none'
-  //   })
-  //   showAuthModal()
-  //   return
-  // }
-  // if (showNecessaryInfoPopup()) {
-	// 	uni.showToast({
-	// 		title: '请先完善基本信息',
-	// 		icon: 'none'
-	// 	})
-	// 	showAuthModal('necessaryInfo')
-	// 	return
-	// }
-
   // 如果当前职位是赏金职位且没有登录的状态,则弹窗询问是否需要登录;普通职位登录与不登录都可直接分享
   if (!getAccessToken() && info.value.hire) return loginPopup.value.open()
   sharePopup.value.open()
@@ -711,7 +696,7 @@ const handleLoginConfirm = () => {
   .bgButtons {
     border: 2rpx solid #00897b;
     color: #00897b;
-    background: #FFF;
+    // background: #FFF;
     border-radius: 50rpx;
   }
   .shareButtonCss {

+ 1 - 1
static/style/position/index.scss

@@ -85,7 +85,7 @@
   height: 44px;
   border-radius: 25px;
   margin: 0;
-  color: #fff !important;
+  // color: #fff !important;
   background-color: #00897b !important;
 }
 .disable { background-color: #41a79d !important; color: #ffffec !important;}