workExperience.vue 19 KB

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