workExperience.vue 20 KB

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