workExperience.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794
  1. <template>
  2. <view class="work-experience">
  3. <!-- 自定义导航栏 -->
  4. <view class="custom-navbar" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
  5. <view class="navbar-content">
  6. <view class="nav-left" @click="goBack">
  7. <u-icon name="arrow-leftward" color="#333" size="42"></u-icon>
  8. </view>
  9. <view class="nav-title">工作经历</view>
  10. <view class="nav-right"></view>
  11. </view>
  12. </view>
  13. <!-- 主要内容 -->
  14. <view class="main-content">
  15. <!-- 公司信息 -->
  16. <view class="form-section">
  17. <!-- 公司名称 -->
  18. <view class="form-item">
  19. <view class="form-label">公司名称</view>
  20. <input
  21. v-model="formData.companyName"
  22. placeholder="请填写公司名称"
  23. class="form-input"
  24. />
  25. </view>
  26. <!-- 公司业务类型 -->
  27. <view class="form-item">
  28. <view class="form-label" style="margin-bottom: 20rpx;">
  29. <text class="required-mark">*</text>
  30. <text class="label-text">公司业务类型</text>
  31. </view>
  32. <view class="checkbox-container">
  33. <u-checkbox-group
  34. @change="checkboxGroupChange"
  35. :wrap="false"
  36. shape="square"
  37. active-color="#007AFF"
  38. >
  39. <u-checkbox
  40. v-for="(option, index) in businessTypeOptions"
  41. :key="index"
  42. :name="option.value"
  43. v-model="option.checked"
  44. class="checkbox-item"
  45. >
  46. {{ option.label }}
  47. </u-checkbox>
  48. </u-checkbox-group>
  49. </view>
  50. </view>
  51. </view>
  52. <!-- 岗位履历 -->
  53. <view class="form-section" v-for="(resume, index) in formData.resumes" :key="index">
  54. <view class="section-title" v-if="hasCrossBorderExperience" >岗位履历 ({{ index + 1 }})</view>
  55. <!-- 任职时间 -->
  56. <view class="form-item">
  57. <view class="form-label">
  58. <text class="required-mark">*</text>
  59. <text class="label-text">{{ hasCrossBorderExperience ? '任职时间' : '在职时间' }}</text>
  60. </view>
  61. <view class="form-input">
  62. <uni-datetime-picker
  63. v-model="resume.employmentTime"
  64. type="daterange"
  65. rangeSeparator="至"
  66. :border="false"
  67. :startPlaceholder="hasCrossBorderExperience ? '选择任职时间' : '选择在职时间'"
  68. endPlaceholder="选择离职时间"
  69. />
  70. <!-- <text v-if="resume.employmentTime">{{ resume.employmentTime }}</text> -->
  71. <!-- <text v-else class="placeholder">{{ hasCrossBorderExperience ? '选择任职时间&离职时间' : '选择在职时间&离职时间' }}</text> -->
  72. <image src="../../static/images/index/Iconly_Light_Calendar.svg" style="width: 48rpx; height: 48rpx;" mode="aspectFit"></image>
  73. </view>
  74. </view>
  75. <!-- 所在部门 -->
  76. <view class="form-item">
  77. <view class="form-label">
  78. <text class="required-mark">*</text>
  79. <text class="label-text">所在部门</text>
  80. </view>
  81. <view class="form-input">
  82. <picker class="picker" :data-index="index" mode="selector" :range="departments" @change="selectDepartment">
  83. <text>{{departments.length>0?departments[resume.departmentIndex]:'请选择部门'}}</text>
  84. </picker>
  85. <u-icon name="arrow-down" color="#999" size="36"></u-icon>
  86. </view>
  87. </view>
  88. <!-- 岗位 -->
  89. <view class="form-item">
  90. <view class="form-label">
  91. <text class="required-mark">*</text>
  92. <text class="label-text">岗位</text>
  93. </view>
  94. <view class="form-input" @click="selectPosition(index)">
  95. <text v-if="resume.position">{{ resume.position }}</text>
  96. <text v-else class="placeholder">请选择岗位</text>
  97. <u-icon name="arrow-right" color="#999" size="36"></u-icon>
  98. </view>
  99. </view>
  100. <!-- 岗位职级 -->
  101. <view class="form-item">
  102. <view class="form-label">岗位职级</view>
  103. <view class="form-input">
  104. <picker class="picker" :data-index="index" mode="selector" :range="positionLevels" @change="selectPositionLevel">
  105. <text>{{resume.positionLevel||'请选择'}}</text>
  106. </picker>
  107. <u-icon name="arrow-down" color="#999" size="36"></u-icon>
  108. </view>
  109. </view>
  110. <!-- 岗位职业技能 -->
  111. <view class="form-item">
  112. <view class="form-label">
  113. <text class="required-mark">*</text>
  114. <text class="label-text">岗位职业技能</text>
  115. </view>
  116. <view class="skills-input-container">
  117. <view class="skills-tags">
  118. <view
  119. v-for="(skill, skillIndex) in resume.skills"
  120. :key="skillIndex"
  121. class="skill-tag"
  122. >
  123. <text>{{ skill }}</text>
  124. <u-icon name="close" color="#999" size="16" @click="removeSkill(index, skillIndex)"></u-icon>
  125. </view>
  126. </view>
  127. <view class="add-skill-btn" @click="addSkill(index)">
  128. <u-icon name="plus" color="rgba(102, 102, 102, 1)" size="28"></u-icon>
  129. </view>
  130. </view>
  131. </view>
  132. <!-- 工作内容 -->
  133. <view class="form-item">
  134. <view class="form-label">工作内容</view>
  135. <view class="form-input">
  136. <textarea auto-height v-model="resume.workContent" placeholder="选填,请输入"></textarea>
  137. </view>
  138. </view>
  139. <!-- 工作业绩 -->
  140. <view class="form-item">
  141. <view class="form-label">工作业绩</view>
  142. <view class="form-input">
  143. <textarea auto-height v-model="resume.workPerformance" placeholder="选填,请输入"></textarea>
  144. </view>
  145. </view>
  146. <!-- 添加岗位履历按钮 -->
  147. <view class="add-resume-btn" @click="addResume" v-if="index === formData.resumes.length - 1 && hasCrossBorderExperience">
  148. <text>添加岗位履历</text>
  149. </view>
  150. </view>
  151. </view>
  152. <!-- 底部保存按钮 -->
  153. <view class="bottom-btn-container">
  154. <view class="save-btn" @click="saveWorkExperience">
  155. <text>保存</text>
  156. </view>
  157. </view>
  158. <!-- 添加技能弹窗 -->
  159. <u-popup v-model="showAddSkill" mode="center" border-radius="24" width="80%">
  160. <view class="add-skill-popup">
  161. <view class="popup-title">添加技能</view>
  162. <view class="popup-content">
  163. <input
  164. v-model="newSkillName"
  165. placeholder="请输入技能名称"
  166. class="skill-input"
  167. maxlength="10"
  168. />
  169. </view>
  170. <view class="popup-buttons">
  171. <view class="popup-btn cancel-btn" @click="cancelAddSkill">取消</view>
  172. <view class="popup-btn confirm-btn" @click="confirmAddSkill">确定</view>
  173. </view>
  174. </view>
  175. </u-popup>
  176. </view>
  177. </template>
  178. <script>
  179. var id='';
  180. export default {
  181. data() {
  182. return {
  183. statusBarHeight: 0, // 状态栏高度
  184. showAddSkill: false,
  185. newSkillName: '',
  186. currentResumeIndex: 0,
  187. businessTypeOptions: [
  188. { label: '跨境电商', value: '0', checked: false },
  189. { label: '国内电商', value: '1', checked: false },
  190. { label: '外贸', value: '2', checked: false },
  191. { label: '其他', value: '3', checked: false }
  192. ],
  193. formData: {
  194. companyName: '',
  195. businessTypes: [],
  196. resumes: [{
  197. workExpDetailId:"",
  198. workExpId:"",
  199. employmentTime: [],
  200. department:'',
  201. departmentId: 0,
  202. departmentIndex:0,
  203. position: '',
  204. positionId: 0,
  205. positionLevel: '初级',
  206. skills: [],
  207. workContent: '',
  208. workPerformance: ''
  209. }]
  210. },
  211. departments:[],
  212. departmentsIds:[],
  213. positionLevels:['初级','资深'],
  214. operateKey:0,
  215. isWork:false
  216. }
  217. },
  218. onLoad(options) {
  219. // 获取状态栏高度
  220. let systemInfo = uni.getSystemInfoSync();
  221. this.statusBarHeight = systemInfo.statusBarHeight || 0;
  222. // 接收从在线简历页面传递的业务类型参数
  223. if (options.businessTypes) {
  224. try {
  225. const businessTypes = JSON.parse(decodeURIComponent(options.businessTypes))
  226. this.formData.businessTypes = businessTypes
  227. console.log('接收到的业务类型:', businessTypes)
  228. console.log('是否有跨境经验:', this.hasCrossBorderExperience)
  229. if(this.hasCrossBorderExperience)
  230. this.businessTypeOptions[0].checked=true
  231. } catch (e) {
  232. console.error('解析业务类型参数失败:', e)
  233. }
  234. }
  235. this.getDepartment()
  236. id=options&&options.id?options.id:''
  237. // 监听技能设置更新
  238. uni.$on('jobs', (data) => {
  239. console.log('岗位设置已更新:', data)
  240. // 这里可以更新对应的技能显示
  241. this.formData.resumes[this.operateKey].position=data.ruleClassifyName
  242. this.formData.resumes[this.operateKey].positionId= data.ruleClassifyId;
  243. // 更新以后给岗位职业技能设置默认值
  244. this.getDataInfo(this.formData.resumes[this.operateKey].positionId);
  245. })
  246. uni.$on('skillsUpdated', (data) => {
  247. console.log('技能设置已更新:', data)
  248. // 这里可以更新对应的技能显示
  249. this.formData.resumes[this.operateKey].skills=data.selectedTags
  250. })
  251. },
  252. beforeDestroy() {
  253. // 移除事件监听
  254. uni.$off('jobs')
  255. uni.$off('skillsUpdated')
  256. },
  257. computed: {
  258. hasCrossBorderExperience() {
  259. return this.formData.businessTypes.includes('0')
  260. }
  261. },
  262. methods: {
  263. getDataInfo(jobId) {
  264. let data = {
  265. ruleClassifyId: jobId
  266. }
  267. var action = jobId == '' || jobId == 0 ? '/app/userFirst/selectSkill' :
  268. '/app/userFirst/getPostSkill'
  269. this.$Request.getT(action, data).then(res => {
  270. if (res.code == 0) {
  271. this.formData.resumes[this.operateKey].skills = [res.data[0]?.childrenList[0]?.postSkillName] || []
  272. }
  273. })
  274. },
  275. goBack() {
  276. uni.navigateBack()
  277. },
  278. getDepartment(){
  279. var that=this
  280. this.$Request.postJson("/app/userFirst/getDepartment", {}).then((res) => {
  281. if (res.code == 0) {
  282. that.departments=that.$queue.array_column(res.data,'departmentName')
  283. that.departmentsIds=that.$queue.array_column(res.data,'departmentId')
  284. that.formData.resumes.forEach(function(item){
  285. item.departmentId=that.departmentsIds[item.departmentIndex]
  286. item.department=that.departments[item.departmentIndex]
  287. })
  288. if(id!=''&&id!=0)
  289. that.getData()
  290. } else {
  291. uni.showToast({
  292. title: res.msg,
  293. icon: "none",
  294. });
  295. }
  296. });
  297. },
  298. getData(){
  299. var that=this
  300. this.$Request.getT("/app/userFirst/getWorkExpDetailOne", {workExpId:id}).then((res) => {
  301. if (res.code == 0) {
  302. res=res.data
  303. that.formData.companyName= res.workExp.companyName
  304. that.formData.businessTypes= JSON.parse(res.workExp.type)
  305. res.workExpDetails.forEach(function(item){
  306. item.skills=JSON.parse(item.skills)
  307. item.employmentTime=item.startTime==''?[]:[item.startTime,item.endTime],
  308. item.departmentIndex=that.departmentsIds.indexOf(item.departmentId)<0?0:that.departmentsIds.indexOf(item.departmentId)
  309. })
  310. that.formData.resumes=res.workExpDetails
  311. } else {
  312. uni.showToast({
  313. title: res.msg,
  314. icon: "none",
  315. });
  316. }
  317. });
  318. },
  319. selectDepartment(e){
  320. var key=Number(e.currentTarget.dataset.index)
  321. this.formData.resumes[key].departmentId=this.departmentsIds[e.detail.value]
  322. this.formData.resumes[key].departmentIndex=e.detail.value
  323. this.formData.resumes[key].department=this.departments[e.detail.value]
  324. },
  325. formatter(type, value) {
  326. if (type === 'year') {
  327. return `${value}年`
  328. }
  329. if (type === 'month') {
  330. return `${value}月`
  331. }
  332. if (type === 'day') {
  333. return `${value}日`
  334. }
  335. return value
  336. },
  337. checkboxGroupChange(e) {
  338. console.log('选中的业务类型:', e)
  339. // 更新 formData.businessTypes 以保持数据同步
  340. this.formData.businessTypes = e
  341. },
  342. selectEmploymentTime(index) {
  343. // 选择任职时间
  344. uni.showToast({
  345. title: '选择任职时间',
  346. icon: 'none'
  347. })
  348. },
  349. selectPosition(index) {
  350. this.operateKey=index
  351. // 选择岗位
  352. uni.navigateTo({
  353. url:'/package/jobIntention/jobList'
  354. })
  355. },
  356. selectPositionLevel(e) {
  357. var key=Number(e.currentTarget.dataset.index)
  358. this.formData.resumes[key].positionLevel=this.positionLevels[e.detail.value]
  359. },
  360. addSkill(index) {
  361. this.operateKey=index
  362. //this.currentResumeIndex = index
  363. //this.showAddSkill = true
  364. //this.newSkillName = ''
  365. if(this.formData.resumes[index].positionId==''||this.formData.resumes[index].positionId==0)
  366. return this.$queue.showToast('请先选择岗位')
  367. uni.navigateTo({
  368. url:'/package/jobIntention/jobSkills?jobId='+this.formData.resumes[index].positionId+'&jobTitle='+this.formData.resumes[index].position+'&skill='+encodeURIComponent(JSON.stringify(this.formData.resumes[index].skills))
  369. })
  370. },
  371. removeSkill(resumeIndex, skillIndex) {
  372. this.formData.resumes[resumeIndex].skills.splice(skillIndex, 1)
  373. },
  374. cancelAddSkill() {
  375. this.showAddSkill = false
  376. this.newSkillName = ''
  377. },
  378. confirmAddSkill() {
  379. if (this.newSkillName.trim()) {
  380. this.formData.resumes[this.currentResumeIndex].skills.push(this.newSkillName.trim())
  381. this.showAddSkill = false
  382. this.newSkillName = ''
  383. } else {
  384. uni.showToast({
  385. title: '请输入技能名称',
  386. icon: 'none'
  387. })
  388. }
  389. },
  390. selectWorkContent(index) {
  391. // 选择工作内容
  392. uni.showToast({
  393. title: '选择工作内容',
  394. icon: 'none'
  395. })
  396. },
  397. selectWorkPerformance(index) {
  398. // 选择工作业绩
  399. uni.showToast({
  400. title: '选择工作业绩',
  401. icon: 'none'
  402. })
  403. },
  404. addResume() {
  405. this.formData.resumes.push({
  406. workExpDetailId:"",
  407. workExpId:"",
  408. employmentTime: [],
  409. department:this.departments[0],
  410. departmentId: this.departmentsIds[0],
  411. departmentIndex:0,
  412. position: '',
  413. positionId: 0,
  414. positionLevel: '初级',
  415. skills: [],
  416. workContent: '',
  417. workPerformance: ''
  418. })
  419. },
  420. saveWorkExperience() {
  421. console.log(this.formData.resumes)
  422. if (!this.formData.companyName) {
  423. uni.showToast({ title: "请输入公司名称", icon: "none" });
  424. return;
  425. }
  426. if (this.formData.businessTypes.length<=0) {
  427. uni.showToast({ title: "请选择公司业务类型", icon: "none" });
  428. return;
  429. }
  430. if (this.formData.resumes.length<=0) {
  431. uni.showToast({ title: "请至少填写一份履历", icon: "none" });
  432. return;
  433. }
  434. let postData = this.formData.resumes.map(({ employmentTime, departmentIndex, ...rest }) => {
  435. return {
  436. ...rest,
  437. skills: JSON.stringify(rest.skills),
  438. startTime: employmentTime?.[0] || '',
  439. endTime: employmentTime?.[1] || ''
  440. }
  441. })
  442. // this.formData.resumes.forEach(function(item){
  443. // console.log(item.skills)
  444. // item.skills=JSON.stringify(item.skills);
  445. // console.log(item.skills)
  446. // item.startTime=item.employmentTime[0]?item.employmentTime[0]:'';
  447. // item.endTime=item.employmentTime[1]?item.employmentTime[1]:'';
  448. // delete item.employmentTime;
  449. // delete item.departmentIndex;
  450. // })
  451. let data={
  452. workExp:{
  453. workExpId:id,
  454. companyName:this.formData.companyName,
  455. type:JSON.stringify(this.formData.businessTypes),
  456. },
  457. workExpDetails:postData
  458. }
  459. if(this.isWork)
  460. return
  461. this.isWork=true
  462. uni.showLoading({ title: "提交中..." });
  463. this.$Request.postJson("/app/userFirst/addWorkExp", data).then((res) => {
  464. uni.hideLoading();
  465. this.isWork=false
  466. this.formData.companyName==''
  467. if (res.code == 0) {
  468. uni.showToast({ title: "保存成功", icon: "none" });
  469. // 实际开发中可以在这里添加跳转逻辑
  470. uni.$emit('updateResume')
  471. setTimeout(() => {
  472. uni.navigateBack()
  473. }, 1000);
  474. } else {
  475. uni.showToast({
  476. title: res.msg,
  477. icon: "none",
  478. });
  479. }
  480. });
  481. },
  482. }
  483. }
  484. </script>
  485. <style lang="scss" scoped>
  486. .work-experience {
  487. min-height: 100vh;
  488. padding-bottom: 120rpx;
  489. }
  490. .custom-navbar {
  491. position: fixed;
  492. top: 0;
  493. left: 0;
  494. right: 0;
  495. background-color: #ffffff;
  496. z-index: 9999;
  497. .navbar-content {
  498. display: flex;
  499. align-items: center;
  500. justify-content: space-between;
  501. height: 100%;
  502. padding: 0 40rpx;
  503. .nav-left, .nav-right {
  504. width: 60rpx;
  505. height: 60rpx;
  506. display: flex;
  507. align-items: center;
  508. justify-content: center;
  509. }
  510. .nav-title {
  511. color: rgba(51, 51, 51, 1);
  512. font-family: DM Sans;
  513. font-size: 36rpx;
  514. font-weight: 700;
  515. line-height: 26px;
  516. letter-spacing: 0px;
  517. text-align: center;
  518. }
  519. }
  520. }
  521. .main-content {
  522. margin-top: 88rpx;
  523. padding: 80rpx 20rpx 40rpx 20rpx;
  524. }
  525. .form-section {
  526. background: #fff;
  527. border-radius: 16rpx;
  528. padding: 0rpx 10rpx;
  529. .section-title {
  530. color: rgba(23, 23, 37, 1);
  531. font-family: Inter;
  532. font-size: 32rpx;
  533. font-weight: 600;
  534. line-height: 48rpx;
  535. letter-spacing: 0%;
  536. text-align: left;
  537. padding: 16rpx 0 32rpx 0;
  538. }
  539. }
  540. .form-item {
  541. margin-bottom: 30rpx;
  542. .form-label {
  543. color: rgba(31, 44, 55, 1);
  544. font-family: DM Sans;
  545. font-size: 16px;
  546. font-weight: 500;
  547. line-height: 22px;
  548. letter-spacing: 0%;
  549. text-align: left;
  550. margin-bottom: 20rpx;
  551. .required-mark {
  552. color: #FF3B30;
  553. font-size: 18px;
  554. font-weight: 500;
  555. margin-right: 4rpx;
  556. }
  557. .label-text {
  558. color: rgba(31, 44, 55, 1);
  559. font-family: DM Sans;
  560. font-size: 16px;
  561. font-weight: 500;
  562. line-height: 22px;
  563. letter-spacing: 0%;
  564. text-align: left;
  565. }
  566. }
  567. .form-input {
  568. width: 100%;
  569. min-height: 80rpx;
  570. padding: 0 40rpx;
  571. border: 1px solid rgba(227, 231, 236, 1);
  572. border-radius: 24px;
  573. background: rgba(255, 255, 255, 1);
  574. display: flex;
  575. align-items: center;
  576. justify-content: space-between;
  577. .placeholder {
  578. color: #999999;
  579. }
  580. picker{
  581. width: 100%;
  582. }
  583. textarea{
  584. width: 100%;
  585. padding: 20rpx 0;
  586. height: fit-content;
  587. min-height: 40rpx;
  588. }
  589. }
  590. }
  591. .skills-input-container {
  592. width: 100%;
  593. min-height: 80rpx;
  594. padding: 0rpx 40rpx;
  595. border: 1px solid rgba(227, 231, 236, 1);
  596. border-radius: 32px;
  597. background: rgba(255, 255, 255, 1);
  598. display: flex;
  599. align-items: center;
  600. justify-content: space-between;
  601. .skills-tags {
  602. display: flex;
  603. flex-wrap: wrap;
  604. gap: 12rpx;
  605. flex: 1;
  606. .skill-tag {
  607. padding: 8rpx 16rpx;
  608. background: #F5F5F5;
  609. border-radius: 8rpx;
  610. display: flex;
  611. align-items: center;
  612. gap: 8rpx;
  613. text {
  614. font-size: 24rpx;
  615. color: #666666;
  616. }
  617. }
  618. }
  619. .add-skill-btn {
  620. width: 40rpx;
  621. height: 40rpx;
  622. border: 1rpx solid rgba(102, 102, 102, 1);
  623. border-radius: 8rpx;
  624. display: flex;
  625. align-items: center;
  626. justify-content: center;
  627. background: #fff;
  628. flex-shrink: 0;
  629. }
  630. }
  631. .add-resume-btn {
  632. width: 100%;
  633. height: 80rpx;
  634. border: 1rpx solid #007AFF;
  635. border-radius: 60rpx;
  636. display: flex;
  637. align-items: center;
  638. justify-content: center;
  639. margin-top: 20rpx;
  640. text {
  641. color: #007AFF;
  642. font-size: 28rpx;
  643. font-weight: 500;
  644. }
  645. }
  646. .bottom-btn-container {
  647. position: fixed;
  648. bottom: 0;
  649. left: 0;
  650. right: 0;
  651. padding: 30rpx 20rpx;
  652. background: #fff;
  653. border-top: 1px solid #f0f0f0;
  654. z-index: 98;
  655. }
  656. .save-btn {
  657. width: 100%;
  658. height: 88rpx;
  659. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  660. border-radius: 44rpx;
  661. display: flex;
  662. align-items: center;
  663. justify-content: center;
  664. text {
  665. font-size: 32rpx;
  666. font-weight: 600;
  667. color: #fff;
  668. }
  669. }
  670. .add-skill-popup {
  671. background: #fff;
  672. border-radius: 24rpx;
  673. padding: 40rpx;
  674. .popup-title {
  675. color: rgba(34, 37, 42, 1);
  676. font-size: 36rpx;
  677. font-weight: 500;
  678. text-align: center;
  679. margin-bottom: 30rpx;
  680. }
  681. .popup-content {
  682. margin-bottom: 30rpx;
  683. .skill-input {
  684. width: 100%;
  685. height: 80rpx;
  686. padding: 0 20rpx;
  687. border: 1rpx solid #E5E5EA;
  688. border-radius: 12rpx;
  689. font-size: 28rpx;
  690. color: rgba(34, 37, 42, 1);
  691. background: #F7F8FA;
  692. }
  693. }
  694. .popup-buttons {
  695. display: flex;
  696. gap: 20rpx;
  697. .popup-btn {
  698. flex: 1;
  699. height: 80rpx;
  700. border-radius: 12rpx;
  701. display: flex;
  702. align-items: center;
  703. justify-content: center;
  704. font-size: 28rpx;
  705. font-weight: 500;
  706. }
  707. .cancel-btn {
  708. background: #F7F8FA;
  709. color: rgba(102, 102, 102, 1);
  710. }
  711. .confirm-btn {
  712. background: #007AFF;
  713. color: #fff;
  714. }
  715. }
  716. }
  717. .checkbox-container {
  718. display: flex;
  719. flex-wrap: nowrap;
  720. gap: 10rpx;
  721. /deep/ .u-checkbox-group {
  722. display: flex;
  723. flex-wrap: nowrap;
  724. width: 100%;
  725. }
  726. /deep/ .u-checkbox {
  727. flex: 1;
  728. min-width: 0;
  729. margin-right: 0;
  730. }
  731. /deep/ .u-checkbox__label {
  732. color: var(--Grayscale/Grayscale 100, rgba(23, 23, 37, 1));
  733. font-family: DM Sans;
  734. font-size: 24rpx;
  735. font-weight: 400;
  736. line-height: 48rpx;
  737. letter-spacing: 0%;
  738. text-align: left;
  739. }
  740. }
  741. </style>