welcomePage.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774
  1. <template>
  2. <view class="welcome-page">
  3. <view class="welcome-content">
  4. <swiper
  5. class="custom-swiper"
  6. :autoplay="false"
  7. :current="currentIndex"
  8. @change="onSwiperChange"
  9. >
  10. <!-- circular -->
  11. <swiper-item>
  12. <view class="swiper-content">
  13. <view class="bg-img">
  14. <image src="@/static/images/jobApplicant/BG.svg" mode="aspectFill" />
  15. </view>
  16. <view class="swiper-img">
  17. <image
  18. src="@/static/images/jobApplicant/delivery_bro.svg"
  19. mode="scaleToFill"
  20. class="bro-img"
  21. />
  22. </view>
  23. <view class="swiper-txt">
  24. <view class="content-title"
  25. >了解多一点 <br />
  26. 推荐更准确</view
  27. >
  28. <view class="content-desc"
  29. >亿职赞,专为跨境行业提供人才服务 <br />
  30. 请您完成求职引导</view
  31. >
  32. <view class="next-page" @click="switchBanner(1)"
  33. >下一步
  34. <image src="@/static/images/jobApplicant/next.svg" mode="scaleToFill" />
  35. </view>
  36. </view>
  37. </view>
  38. </swiper-item>
  39. <swiper-item>
  40. <view class="swiper-content">
  41. <view class="bg-img">
  42. <image src="@/static/images/jobApplicant/BG.svg" mode="aspectFill" />
  43. </view>
  44. <view class="swiper-img">
  45. <image
  46. src="@/static/images/jobApplicant/delivery-address_bro.png"
  47. mode="aspectFix"
  48. class="address-img"
  49. />
  50. </view>
  51. <view class="swiper-txt" style="height: 1004rpx">
  52. <!-- 表单内容 -->
  53. <view class="form-container">
  54. <!-- 工作城市 -->
  55. <view class="form-item">
  56. <text class="form-label">期望工作的城市</text>
  57. <view class="form-input" @click="selectCity">
  58. <text class="input-text">{{ city || "请选择" }}</text>
  59. <u-icon name="arrow-right" color="#999" size="24"></u-icon>
  60. </view>
  61. </view>
  62. <!-- 工作职位 -->
  63. <view class="form-item">
  64. <text class="form-label">期望的职位</text>
  65. <view class="form-input" @click="selectJob">
  66. <text class="input-text">{{ jobTitle || "请选择" }}</text>
  67. <u-icon name="arrow-right" color="#999" size="24"></u-icon>
  68. </view>
  69. </view>
  70. <!-- 期望薪酬 -->
  71. <view class="form-item">
  72. <text class="form-label">期望的薪酬</text>
  73. <view class="salary-container">
  74. <view class="salary-inputs">
  75. <view class="salary-input">
  76. <text class="currency">¥</text>
  77. <input
  78. v-model="minSalary"
  79. type="number"
  80. placeholder="8000"
  81. class="salary-field"
  82. />
  83. </view>
  84. <view class="salary-input">
  85. <text class="currency">¥</text>
  86. <input
  87. v-model="maxSalary"
  88. type="number"
  89. placeholder="10000"
  90. class="salary-field"
  91. />
  92. </view>
  93. </view>
  94. <!-- 范围滑块 -->
  95. <view class="range-slider-container">
  96. <view class="range-slider-track" @click="onTrackClick">
  97. <view class="range-slider-progress" :style="progressStyle"></view>
  98. <view
  99. class="range-slider-thumb range-slider-thumb-left"
  100. :style="leftThumbStyle"
  101. @touchstart.stop="onLeftThumbStart"
  102. @touchmove.stop="onLeftThumbMove"
  103. @touchend.stop="onLeftThumbEnd"
  104. ></view>
  105. <view
  106. class="range-slider-thumb range-slider-thumb-right"
  107. :style="rightThumbStyle"
  108. @touchstart.stop="onRightThumbStart"
  109. @touchmove.stop="onRightThumbMove"
  110. @touchend.stop="onRightThumbEnd"
  111. ></view>
  112. </view>
  113. </view>
  114. </view>
  115. </view>
  116. </view>
  117. <view class="next-page" @click="switchBanner(2)"
  118. >下一步
  119. <image src="@/static/images/jobApplicant/next.svg" mode="scaleToFill" />
  120. </view>
  121. </view>
  122. </view>
  123. </swiper-item>
  124. <swiper-item>
  125. <view class="swiper-content">
  126. <view class="bg-img">
  127. <image src="@/static/images/jobApplicant/BG.svg" mode="aspectFill" />
  128. </view>
  129. <view class="swiper-img">
  130. <image
  131. src="@/static/images/jobApplicant/bangongyuansu.svg"
  132. mode="aspectFix"
  133. class="people-img"
  134. />
  135. </view>
  136. <view class="swiper-txt">
  137. <view class="content-title">跨境电商工作经验?</view>
  138. <view class="content-desc"
  139. >请根据过往经验进行选择 <br />
  140. 届时我们将为您提供更为准确的服务</view
  141. >
  142. <view class="check-box">
  143. <view class="check-item" @click="checkWork(1)">
  144. <image
  145. v-if="check == 1"
  146. src="@/static/images/jobApplicant/check.svg"
  147. mode="scaleToFill"
  148. />
  149. <image
  150. v-else
  151. src="@/static/images/jobApplicant/border.svg"
  152. mode="scaleToFill"
  153. />
  154. 有跨境电商工作经验
  155. </view>
  156. <view class="check-item" @click="checkWork(0)">
  157. <image
  158. v-if="check == 0"
  159. src="@/static/images/jobApplicant/check.svg"
  160. mode="scaleToFill"
  161. />
  162. <image
  163. v-else
  164. src="@/static/images/jobApplicant/border.svg"
  165. mode="scaleToFill"
  166. />
  167. 无跨境电商工作经验
  168. </view>
  169. </view>
  170. <view class="next-page" @click="goWord"
  171. >下一步
  172. <image src="@/static/images/jobApplicant/next.svg" mode="scaleToFill" />
  173. </view>
  174. </view>
  175. </view>
  176. </swiper-item>
  177. </swiper>
  178. <!-- 自定义指示器 -->
  179. <view class="custom-indicator">
  180. <view
  181. v-for="(item, index) in 3"
  182. :key="index"
  183. class="indicator-dot"
  184. :class="{ active: currentIndex === index }"
  185. @click="switchBanner(index)"
  186. ></view>
  187. </view>
  188. </view>
  189. </view>
  190. </template>
  191. <script>
  192. export default {
  193. data() {
  194. return {
  195. currentIndex: 0,
  196. check: 1,
  197. jobId:0,
  198. jobTitle: "",
  199. city: "",
  200. minSalary: "8000",
  201. maxSalary: "10000",
  202. jobType: "fulltime",
  203. industry: "",
  204. // 范围滑块相关数据
  205. minValue: 8000,
  206. maxValue: 10000,
  207. sliderMin: 5000,
  208. sliderMax: 50000,
  209. step: 1000,
  210. trackWidth: 0,
  211. draggingThumb: null, // 'left' 或 'right' 或 null
  212. startX: 0,
  213. startValue: 0,
  214. };
  215. },
  216. computed: {
  217. // 左侧滑块位置百分比
  218. leftPercent() {
  219. return ((this.minValue - this.sliderMin) / (this.sliderMax - this.sliderMin)) * 100;
  220. },
  221. // 右侧滑块位置百分比
  222. rightPercent() {
  223. return ((this.maxValue - this.sliderMin) / (this.sliderMax - this.sliderMin)) * 100;
  224. },
  225. // 进度条样式
  226. progressStyle() {
  227. return {
  228. left: this.leftPercent + "%",
  229. width: this.rightPercent - this.leftPercent + "%",
  230. };
  231. },
  232. // 左侧滑块样式
  233. leftThumbStyle() {
  234. return {
  235. left: this.leftPercent + "%",
  236. };
  237. },
  238. // 右侧滑块样式
  239. rightThumbStyle() {
  240. return {
  241. left: this.rightPercent + "%",
  242. };
  243. },
  244. },
  245. methods: {
  246. checkWork(value) {
  247. this.check = value;
  248. },
  249. // 轮播图切换事件
  250. onSwiperChange(e) {
  251. this.currentIndex = e.detail.current;
  252. },
  253. // 切换轮播图
  254. switchBanner(index) {
  255. if(index==2){
  256. if(this.city=='')
  257. return this.$queue.showToast('请选择城市')
  258. if(this.jobId==0)
  259. return this.$queue.showToast('请选择职位')
  260. }
  261. this.currentIndex = index;
  262. },
  263. // 点击轮播图
  264. handleBannerClick(item) {
  265. if (item.link) {
  266. uni.navigateTo({
  267. url: item.link,
  268. });
  269. }
  270. },
  271. // 暂停自动播放
  272. pauseAutoplay() {
  273. this.autoplay = false;
  274. },
  275. // 开始自动播放
  276. startAutoplay() {
  277. this.autoplay = true;
  278. },
  279. selectJob() {
  280. uni.navigateTo({
  281. url: "/package/jobIntention/jobList",
  282. });
  283. },
  284. selectCity() {
  285. uni.navigateTo({
  286. url: "/package/jobIntention/city",
  287. });
  288. },
  289. selectJobType(type) {
  290. this.jobType = type;
  291. },
  292. // 获取滑块轨道宽度
  293. getTrackWidth() {
  294. uni
  295. .createSelectorQuery()
  296. .in(this)
  297. .select(".range-slider-track")
  298. .boundingClientRect((data) => {
  299. this.trackWidth = data.width;
  300. })
  301. .exec();
  302. },
  303. // 将像素位置转换为数值
  304. pixelToValue(pixel) {
  305. const percent = (pixel / this.trackWidth) * 100;
  306. const value = this.sliderMin + (percent / 100) * (this.sliderMax - this.sliderMin);
  307. return Math.round(value / this.step) * this.step;
  308. },
  309. // 左侧滑块开始拖拽
  310. onLeftThumbStart(e) {
  311. this.draggingThumb = "left";
  312. this.startX = e.touches[0].clientX;
  313. this.startValue = this.minValue;
  314. e.preventDefault();
  315. },
  316. // 左侧滑块拖拽中
  317. onLeftThumbMove(e) {
  318. if (this.draggingThumb !== "left") return;
  319. const deltaX = e.touches[0].clientX - this.startX;
  320. const deltaPercent = (deltaX / this.trackWidth) * 100;
  321. const deltaValue = (deltaPercent / 100) * (this.sliderMax - this.sliderMin);
  322. let newValue = this.startValue + deltaValue;
  323. // 限制范围
  324. newValue = Math.max(this.sliderMin, Math.min(newValue, this.maxValue - this.step));
  325. newValue = Math.round(newValue / this.step) * this.step;
  326. this.minValue = newValue;
  327. this.minSalary = newValue.toString();
  328. e.preventDefault();
  329. },
  330. // 左侧滑块结束拖拽
  331. onLeftThumbEnd(e) {
  332. this.draggingThumb = null;
  333. e.preventDefault();
  334. },
  335. // 右侧滑块开始拖拽
  336. onRightThumbStart(e) {
  337. this.draggingThumb = "right";
  338. this.startX = e.touches[0].clientX;
  339. this.startValue = this.maxValue;
  340. e.preventDefault();
  341. },
  342. // 右侧滑块拖拽中
  343. onRightThumbMove(e) {
  344. if (this.draggingThumb !== "right") return;
  345. const deltaX = e.touches[0].clientX - this.startX;
  346. const deltaPercent = (deltaX / this.trackWidth) * 100;
  347. const deltaValue = (deltaPercent / 100) * (this.sliderMax - this.sliderMin);
  348. let newValue = this.startValue + deltaValue;
  349. // 限制范围
  350. newValue = Math.max(this.minValue + this.step, Math.min(newValue, this.sliderMax));
  351. newValue = Math.round(newValue / this.step) * this.step;
  352. this.maxValue = newValue;
  353. this.maxSalary = newValue.toString();
  354. e.preventDefault();
  355. },
  356. // 右侧滑块结束拖拽
  357. onRightThumbEnd(e) {
  358. this.draggingThumb = null;
  359. e.preventDefault();
  360. },
  361. // 点击轨道
  362. onTrackClick(e) {
  363. if (this.draggingThumb) return;
  364. const rect = e.currentTarget.getBoundingClientRect();
  365. const clickX = e.detail.x - rect.left;
  366. const clickPercent = (clickX / rect.width) * 100;
  367. const clickValue =
  368. this.sliderMin + (clickPercent / 100) * (this.sliderMax - this.sliderMin);
  369. // 判断点击位置更靠近哪个滑块
  370. const distanceToLeft = Math.abs(clickValue - this.minValue);
  371. const distanceToRight = Math.abs(clickValue - this.maxValue);
  372. if (distanceToLeft < distanceToRight) {
  373. // 更靠近左侧滑块
  374. let newValue = Math.round(clickValue / this.step) * this.step;
  375. newValue = Math.max(
  376. this.sliderMin,
  377. Math.min(newValue, this.maxValue - this.step)
  378. );
  379. this.minValue = newValue;
  380. this.minSalary = newValue.toString();
  381. } else {
  382. // 更靠近右侧滑块
  383. let newValue = Math.round(clickValue / this.step) * this.step;
  384. newValue = Math.max(
  385. this.minValue + this.step,
  386. Math.min(newValue, this.sliderMax)
  387. );
  388. this.maxValue = newValue;
  389. this.maxSalary = newValue.toString();
  390. }
  391. },
  392. goWord(){
  393. if(this.city=='')
  394. return this.$queue.showToast('请选择城市')
  395. if(this.jobId==0)
  396. return this.$queue.showToast('请选择职位')
  397. let data={
  398. resumesId:'',
  399. minWage:this.minValue,
  400. maxWage:this.maxValue,
  401. city:this.city,
  402. ifExp:this.check,
  403. industryName:this.jobTitle
  404. }
  405. var that=this
  406. this.$Request.postJson("/app/userFirst/regist", data).then((res) => {
  407. if (res.code == 0) {
  408. that.saveExpect()
  409. } else {
  410. uni.showToast({
  411. title: res.msg,
  412. icon: "none",
  413. });
  414. }
  415. });
  416. },
  417. saveExpect(){
  418. let data={
  419. intentionId:"",
  420. ruleClassifyId:this.jobId,
  421. ruleClassifyName:this.jobTitle,
  422. citys:this.city,
  423. salaryRange:this.minSalary+'-'+this.maxSalary,
  424. postType:'',
  425. industry:'',
  426. "createTime": "",
  427. "industryId": 201,
  428. "industryOneId": 200,
  429. "classifyOneId": 0,
  430. "classifyTwoId": 0,
  431. "isDefault": 1
  432. }
  433. this.$Request.postJson("/app/intention/saveUpdate", data).then((res) => {
  434. if (res.code == 0) {
  435. uni.showToast({ title: "保存成功", icon: "none" });
  436. // 实际开发中可以在这里添加跳转逻辑
  437. setTimeout(() => {
  438. uni.navigateTo({
  439. url:'/pages/my/jobApplicant/workProgress'
  440. })
  441. }, 1000);
  442. } else {
  443. uni.showToast({
  444. title: res.msg,
  445. icon: "none",
  446. });
  447. }
  448. });
  449. }
  450. },
  451. onHide() {
  452. // 页面隐藏时暂停自动播放
  453. this.pauseAutoplay();
  454. },
  455. mounted() {
  456. // 初始化滑块轨道宽度
  457. this.$nextTick(() => {
  458. this.getTrackWidth();
  459. });
  460. },
  461. onLoad() {
  462. // 页面显示时恢复自动播放
  463. this.startAutoplay();
  464. // 监听选择结果
  465. uni.$on("jobs", (data) => {
  466. this.jobTitle = data.ruleClassifyName;
  467. this.jobId = data.ruleClassifyId;
  468. });
  469. uni.$on("city", (data) => {
  470. this.city = data.city;
  471. });
  472. uni.$on("industrySelected", (data) => {
  473. this.industry = data.name;
  474. });
  475. },
  476. onUnload() {
  477. // 移除监听
  478. uni.$off("jobs");
  479. uni.$off("city");
  480. uni.$off("industrySelected");
  481. },
  482. };
  483. </script>
  484. <style scoped lang="scss">
  485. .welcome-page {
  486. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  487. position: absolute;
  488. left: 0;
  489. right: 0;
  490. top: 0;
  491. bottom: 0;
  492. display: flex;
  493. flex-direction: column;
  494. box-sizing: border-box;
  495. .bg-img {
  496. position: absolute;
  497. z-index: -1;
  498. top: 26rpx;
  499. left: -240rpx;
  500. width: 1680rpx;
  501. height: 1570rpx;
  502. image {
  503. width: 100%;
  504. height: 100%;
  505. }
  506. }
  507. .check-box {
  508. .check-item {
  509. color: rgba(51, 51, 51, 1);
  510. font-family: DM Sans;
  511. font-size: 36rpx;
  512. font-weight: 400;
  513. line-height: 46rpx;
  514. display: flex;
  515. justify-content: center;
  516. align-items: center;
  517. margin-top: 26rpx;
  518. image {
  519. width: 48rpx;
  520. height: 48rpx;
  521. margin-right: 24rpx;
  522. }
  523. }
  524. }
  525. .welcome-content {
  526. position: absolute;
  527. left: 0;
  528. bottom: 0;
  529. right: 0;
  530. top: 0;
  531. z-index: 2;
  532. }
  533. .custom-swiper {
  534. height: 100%;
  535. }
  536. .custom-indicator {
  537. display: flex;
  538. justify-content: center;
  539. align-items: center;
  540. margin-top: -186rpx;
  541. gap: 16rpx;
  542. position: relative;
  543. z-index: 3;
  544. .indicator-dot {
  545. width: 32rpx;
  546. height: 24rpx;
  547. border-radius: 100rpx;
  548. background: #1be5df;
  549. transition: all 0.3s ease;
  550. &.active {
  551. width: 48rpx;
  552. border-radius: 100rpx;
  553. background: #016bf6;
  554. }
  555. }
  556. }
  557. .swiper-content {
  558. display: flex;
  559. flex-direction: column;
  560. width: 100%;
  561. height: 100%;
  562. position: relative;
  563. .swiper-img {
  564. flex: 1;
  565. width: 100%;
  566. display: flex;
  567. justify-content: center;
  568. align-items: center;
  569. .bro-img {
  570. width: 640rpx;
  571. height: 436rpx;
  572. }
  573. .address-img {
  574. width: 714rpx;
  575. height: 298rpx;
  576. }
  577. .people-img {
  578. width: 586rpx;
  579. height: 586rpx;
  580. }
  581. }
  582. .swiper-txt {
  583. flex-shrink: 0;
  584. background: #fff;
  585. border-top-left-radius: 48rpx;
  586. border-top-right-radius: 48rpx;
  587. width: 100%;
  588. height: 782rpx;
  589. padding: 56rpx 40rpx;
  590. padding-bottom: 160rpx;
  591. box-sizing: border-box;
  592. .next-page {
  593. color: #016bf6;
  594. font-family: DM Sans;
  595. font-size: 30rpx;
  596. font-weight: 400;
  597. line-height: 36rpx;
  598. letter-spacing: 0%;
  599. position: absolute;
  600. right: 34rpx;
  601. bottom: 46rpx;
  602. display: flex;
  603. justify-content: center;
  604. align-items: center;
  605. image {
  606. width: 48rpx;
  607. height: 48rpx;
  608. }
  609. }
  610. .content-title {
  611. color: #016bf6;
  612. font-family: DM Sans;
  613. font-size: 68rpx;
  614. font-weight: 700;
  615. line-height: 88rpx;
  616. letter-spacing: 0%;
  617. text-align: center;
  618. }
  619. .content-desc {
  620. color: #016bf6;
  621. font-family: DM Sans;
  622. font-size: 34rpx;
  623. font-weight: 500;
  624. line-height: 48rpx;
  625. letter-spacing: 0px;
  626. text-align: center;
  627. margin-top: 24rpx;
  628. }
  629. .form-container {
  630. height: 100%;
  631. overflow: hidden;
  632. overflow-y: auto;
  633. }
  634. .form-item {
  635. margin-bottom: 40rpx;
  636. &:last-child {
  637. margin-bottom: 0;
  638. }
  639. .form-label {
  640. color: rgba(58, 57, 67, 1);
  641. font-family: DM Sans;
  642. font-size: 36rpx;
  643. font-weight: 500;
  644. line-height: 48rpx;
  645. letter-spacing: 0px;
  646. text-align: left;
  647. }
  648. .form-input {
  649. height: 108rpx;
  650. display: flex;
  651. justify-content: space-between;
  652. align-items: center;
  653. padding: 32rpx 48rpx;
  654. border-radius: 12rpx;
  655. box-shadow: 0px 8px 150px 0px rgba(0, 0, 0, 0.06);
  656. margin-top: 20rpx;
  657. .input-text {
  658. color: rgba(97, 110, 124, 1);
  659. font-family: DM Sans;
  660. font-weight: 400;
  661. line-height: 20px;
  662. letter-spacing: 0px;
  663. text-align: left;
  664. font-size: 28rpx;
  665. }
  666. }
  667. }
  668. .salary-container {
  669. .salary-inputs {
  670. display: flex;
  671. align-items: center;
  672. margin: 20rpx 0 30rpx 0;
  673. gap: 50rpx;
  674. .salary-input {
  675. display: flex;
  676. align-items: center;
  677. flex: 1;
  678. padding: 20rpx;
  679. border-radius: 12rpx;
  680. box-shadow: 0px 8px 150px 0px rgba(0, 0, 0, 0.06);
  681. background: rgba(255, 255, 255, 1);
  682. .currency,
  683. .salary-field {
  684. color: rgba(97, 110, 124, 1);
  685. font-family: DM Sans;
  686. font-weight: 400;
  687. line-height: 20px;
  688. letter-spacing: 0px;
  689. text-align: left;
  690. font-size: 28rpx;
  691. }
  692. }
  693. .salary-separator {
  694. margin: 0 20rpx;
  695. color: rgba(153, 153, 153, 1);
  696. font-size: 28rpx;
  697. }
  698. }
  699. .range-slider-container {
  700. padding: 20rpx 10rpx;
  701. }
  702. .range-slider-track {
  703. position: relative;
  704. height: 6rpx;
  705. background-color: #e5e5ea;
  706. border-radius: 3rpx;
  707. cursor: pointer;
  708. }
  709. .range-slider-progress {
  710. position: absolute;
  711. top: 0;
  712. height: 100%;
  713. background-color: #007aff;
  714. border-radius: 3rpx;
  715. transition: all 0.1s ease;
  716. }
  717. .range-slider-thumb {
  718. position: absolute;
  719. top: 50%;
  720. width: 40rpx;
  721. height: 40rpx;
  722. background-color: #007aff;
  723. border-radius: 50%;
  724. border: 4rpx solid #ffffff;
  725. box-shadow: 0 2rpx 8rpx rgba(0, 122, 255, 0.3);
  726. transform: translate(-50%, -50%);
  727. cursor: pointer;
  728. transition: all 0.1s ease;
  729. }
  730. .range-slider-thumb:active {
  731. transform: translate(-50%, -50%) scale(1.1);
  732. box-shadow: 0 4rpx 12rpx rgba(0, 122, 255, 0.4);
  733. }
  734. }
  735. .job-type-container {
  736. display: flex;
  737. gap: 50rpx;
  738. margin-top: 20rpx;
  739. }
  740. }
  741. }
  742. }
  743. </style>