jobPostingSecond.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788
  1. <template>
  2. <view class="switch-roles">
  3. <nav-bar title="岗位要求" color="#000"></nav-bar>
  4. <view class="roles-content">
  5. <view class="content">
  6. <view class="title">继续填写</view>
  7. <view class="step-progress flex align-center">
  8. <view class="circle-wrapper">
  9. <view class="check-icon check-active">
  10. <u-icon name="checkbox-mark" color="#fff" size="20"></u-icon>
  11. </view>
  12. <view class="step-progress-text">填写基本信息</view>
  13. </view>
  14. <view class="line blue"></view>
  15. <view class="line blue"></view>
  16. <view class="circle-wrapper">
  17. <view class="check-icon check-active">
  18. <u-icon name="checkbox-mark" color="#fff" size="20"></u-icon>
  19. </view>
  20. <view class="step-progress-text">填写岗位要求</view>
  21. </view>
  22. </view>
  23. <!-- 经验要求 -->
  24. <view class="check-title-big">经验要求</view>
  25. <view class="check-select" @click="showExper = true">
  26. <view class="select-txt">{{ selectedExper || "请选择经验要求" }}</view>
  27. <u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
  28. </view>
  29. <!-- 最低学历 -->
  30. <view class="check-title-big">最低学历</view>
  31. <view class="check-select" @click="showLevel = true">
  32. <view class="select-txt">{{ selectedLevel || "请选择学历" }}</view>
  33. <u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
  34. </view>
  35. <!-- 薪资范围 -->
  36. <view class="check-title-big">薪资范围</view>
  37. <view class="check-select" @click="showMoney = true">
  38. <view class="select-txt">
  39. <template v-if="selectedSalary">{{ selectedSalary + ' · ' + salaryTimes }}</template>
  40. <template v-else>请选择合理的薪资范围</template>
  41. </view>
  42. <u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
  43. </view>
  44. <!-- 跨境标签 -->
  45. <view class="check-title-big">跨境标签</view>
  46. <view class="check-select" @click="goJobSkill">
  47. <view class="select-txt">{{ positionTag && positionTag.length > 0 ? positionTag.join(',') :
  48. "被选中的关键词将突出展示给牛人" }}</view>
  49. <u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
  50. </view>
  51. <!-- 福利待遇 -->
  52. <view class="check-title-big">福利待遇(选填)</view>
  53. <view class="check-select" @click="goFund">
  54. <view class="select-txt">{{ welfareValue || "请填写奖金绩效" }}</view>
  55. <u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
  56. </view>
  57. <!-- 工作地址 -->
  58. <view class="check-title-big">工作地址</view>
  59. <view class="check-select" @click="goAddAddress">
  60. <view class="select-txt">{{ address || stationName.fullText || "请填写精确的工作地点" }}</view>
  61. <u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
  62. </view>
  63. <view class="txt-desc">
  64. 温馨提示:职位类型、职位名称和工作城市发布后不可修改,请您确保信息正确 <br /><br />
  65. 发布职位即表示同意遵守《招聘行为管理规范》,如违反规则将导致账号被锁定
  66. </view>
  67. </view>
  68. </view>
  69. <view class="button-section">
  70. <view class="link-btn" @click="handleToIndex">稍后发布</view>
  71. <view class="submit-btn" @click="submitPost">发布</view>
  72. </view>
  73. <!-- 经验选择器 -->
  74. <u-select v-model="showExper" :list="listExper" title="请选择经验" @confirm="onExperConfirm"
  75. @cancel="showExper = false"></u-select>
  76. <!-- 学历选择器 -->
  77. <u-select v-model="showLevel" :list="listLevel" title="请选择学历" @confirm="onLevelConfirm"
  78. @cancel="showLevel = false"></u-select>
  79. <!-- 薪资选择器 -->
  80. <u-select v-model="showMoney" mode="mutil-column" :list="listMoney" title="请选择月薪范围" @confirm="onMoneyConfirm"
  81. @cancel="showMoney = false"></u-select>
  82. </view>
  83. </template>
  84. <script>
  85. import navBar from "@/components/nav-bar/index.vue";
  86. export default {
  87. data() {
  88. return {
  89. // 选中值(用于页面渲染)
  90. selectedExper: "", // 经验
  91. selectedLevel: "", // 学历
  92. selectedSalary: "", // 薪资范围
  93. welfareTag: "", // 福利待遇
  94. welfareText: '', // 福利待遇描述
  95. positionTag: "", // 职位关键词
  96. stationName: [],
  97. companyName: "",
  98. companyId: "",
  99. status: 1,
  100. pid: "",
  101. address: "",
  102. salaryTimes: "",
  103. jobTitle: '',
  104. // 选择器显示控制
  105. showExper: false,
  106. showLevel: false,
  107. showMoney: false,
  108. // isBack: false,
  109. // 经验选择数据源
  110. listExper: [{
  111. label: "不限",
  112. value: "不限"
  113. },
  114. {
  115. label: "1年以内",
  116. value: "1年以内"
  117. },
  118. {
  119. label: "1-3年",
  120. value: "1-3年"
  121. },
  122. {
  123. label: "3-5年",
  124. value: "3-5年"
  125. },
  126. {
  127. label: "5-8年",
  128. value: "5-8年"
  129. },
  130. {
  131. label: "8年以上",
  132. value: "8年以上"
  133. },
  134. ],
  135. // 学历选择数据源
  136. listLevel: [{
  137. label: "不限",
  138. value: "不限"
  139. },
  140. {
  141. label: "专科",
  142. value: "专科"
  143. },
  144. {
  145. label: "本科",
  146. value: "本科"
  147. },
  148. {
  149. label: "硕士",
  150. value: "硕士"
  151. },
  152. {
  153. label: "博士",
  154. value: "博士"
  155. },
  156. ],
  157. // 薪资选择数据源(修正格式)
  158. listMoney: [
  159. [
  160. { value: "3k", label: "3k" },
  161. { value: "4k", label: "4k" },
  162. { value: "5k", label: "5k" },
  163. { value: "6k", label: "6k" },
  164. { value: "7k", label: "7k" },
  165. { value: "8k", label: "8k" },
  166. { value: "10k", label: "10k" },
  167. { value: "12k", label: "12k" },
  168. { value: "15k", label: "15k" },
  169. { value: "18k", label: "18k" },
  170. { value: "20k", label: "20k" },
  171. { value: "25k", label: "25k" },
  172. { value: "30k", label: "30k" },
  173. { value: "35k", label: "35k" },
  174. { value: "40k", label: "40k" },
  175. { value: "45k", label: "45k" },
  176. { value: "50k", label: "50k" },
  177. { value: "55k", label: "55k" },
  178. { value: "60k", label: "60k" },
  179. { value: "65k", label: "65k" },
  180. { value: "70k", label: "70k" },
  181. { value: "75k", label: "75k" },
  182. { value: "80k", label: "80k" },
  183. { value: "85k", label: "85k" },
  184. { value: "90k", label: "90k" },
  185. { value: "95k", label: "95k" },
  186. { value: "100k", label: "100k" }
  187. ],
  188. [
  189. { value: "3k", label: "3k" },
  190. { value: "4k", label: "4k" },
  191. { value: "5k", label: "5k" },
  192. { value: "6k", label: "6k" },
  193. { value: "7k", label: "7k" },
  194. { value: "8k", label: "8k" },
  195. { value: "10k", label: "10k" },
  196. { value: "12k", label: "12k" },
  197. { value: "15k", label: "15k" },
  198. { value: "18k", label: "18k" },
  199. { value: "20k", label: "20k" },
  200. { value: "25k", label: "25k" },
  201. { value: "30k", label: "30k" },
  202. { value: "35k", label: "35k" },
  203. { value: "40k", label: "40k" },
  204. { value: "45k", label: "45k" },
  205. { value: "50k", label: "50k" },
  206. { value: "55k", label: "55k" },
  207. { value: "60k", label: "60k" },
  208. { value: "65k", label: "65k" },
  209. { value: "70k", label: "70k" },
  210. { value: "75k", label: "75k" },
  211. { value: "80k", label: "80k" },
  212. { value: "85k", label: "85k" },
  213. { value: "90k", label: "90k" },
  214. { value: "95k", label: "95k" },
  215. { value: "100k", label: "100k" }
  216. ],
  217. [
  218. { value: "12薪", label: "12薪" },
  219. { value: "13薪", label: "13薪" },
  220. { value: "14薪", label: "14薪" },
  221. { value: "15薪", label: "15薪" },
  222. { value: "16薪", label: "16薪" },
  223. { value: "17薪", label: "17薪" },
  224. { value: "18薪", label: "18薪" },
  225. { value: "19薪", label: "19薪" },
  226. { value: "20薪", label: "20薪" },
  227. { value: "21薪", label: "21薪" },
  228. { value: "22薪", label: "22薪" },
  229. { value: "23薪", label: "23薪" }
  230. ]
  231. ],
  232. numList: [{
  233. name: "填写基本信息"
  234. },
  235. {
  236. name: "选择职位要求"
  237. },
  238. ],
  239. type: '',
  240. ruleClassifyId:'',//岗位id
  241. dataInfo:{},
  242. companyAddressInfo:{}
  243. };
  244. },
  245. components: {
  246. navBar,
  247. },
  248. computed: {
  249. welfareValue() {
  250. return this.welfareTag + this.welfareText
  251. }
  252. },
  253. onLoad(options) {
  254. console.log(options)
  255. if(options.dataInfo){
  256. this.dataInfo = JSON.parse(options.dataInfo)
  257. }
  258. if(options.ruleClassifyId){
  259. this.ruleClassifyId = options.ruleClassifyId;
  260. }
  261. // if (options.isBack == 'true') {
  262. // this.isBack = true;
  263. // }
  264. // 接收上个页面传递的公司名称参数
  265. if (options.companyName) {
  266. this.companyName = decodeURIComponent(options.companyName);
  267. console.log('接收的公司名称:', this.companyName);
  268. }
  269. if (options.status) {
  270. this.status = decodeURIComponent(options.status);
  271. console.log('接收的公司状态:', this.status);
  272. } else {
  273. //this.status = uni.getStorageSync('companyStatus')
  274. this.getcompanystatus()
  275. }
  276. if(options.companyAddressInfo){
  277. this.companyAddressInfo = JSON.parse(decodeURIComponent(options.companyAddressInfo));
  278. }
  279. if (options.workData) {
  280. let workData = JSON.parse(decodeURIComponent(options.workData));
  281. this.selectedExper = workData.experience;
  282. this.selectedLevel = workData.education;
  283. this.selectedSalary = workData.salaryRange || '';
  284. this.salaryTimes = workData.salaryTimes || '';
  285. this.welfareTag = workData.welfareTag || '';
  286. this.welfareText = workData.welfareText || '';
  287. this.positionTag = workData.positionTag ? workData.positionTag.split (',') : [];
  288. this.address = workData.address || this.companyAddressInfo.address;
  289. this.stationName.fullText = workData.address || this.companyAddressInfo.fullText, //地址
  290. this.stationName.latitude = workData.lat || this.companyAddressInfo.latitude
  291. this.stationName.longitude = workData.lng || this.companyAddressInfo.longitude
  292. this.stationName.province = workData.province || this.companyAddressInfo.province
  293. this.stationName.city = workData.city || this.companyAddressInfo.city
  294. this.stationName.district = workData.county || this.companyAddressInfo.district
  295. this.jobTitle = workData.ruleClassifyName
  296. console.log(11111,this.$queue.getData('companyAddress'))
  297. console.log(this.address)
  298. }
  299. this.fundListener = uni.$on("fundData", (data) => {
  300. console.log("接收到的福利数据:", data);
  301. this.welfareText = data.text
  302. this.welfareTag = data.tagText; // 赋值给当前页面变量
  303. });
  304. this.fundListener = uni.$on("skillsUpdated", (data) => {
  305. console.log("接收到的职位技能数据:", data);
  306. this.positionTag = data.selectedTags; // 赋值给当前页面变量
  307. });
  308. this.fundListener = uni.$on("addressData", (data) => {
  309. this.address = data.fullText;
  310. this.stationName = data;
  311. this.stationName.fullText = data.fullText;
  312. });
  313. if (options.companyId) {
  314. this.companyId = options.companyId;
  315. console.log('接收的公司ID:', this.companyId);
  316. } else {
  317. this.companyId = uni.getStorageSync('companyId') || ""
  318. }
  319. if (options.pid) {
  320. this.pid = options.pid;
  321. this.type = options.type;
  322. if (options.type && options.type == 'updata') {
  323. this.getInfo()
  324. }
  325. console.log('接收PID:', this.pid);
  326. }
  327. },
  328. onUnload() {
  329. // 页面关闭时移除监听,避免内存泄漏
  330. if (this.fundListener) {
  331. uni.$off("fundData");
  332. }
  333. },
  334. methods: {
  335. // 处理经验选择(核心修复:直接接收选中的label)
  336. onExperConfirm(selectedItem) {
  337. // 不同版本u-select返回格式可能是对象或数组,这里兼容处理
  338. if (Array.isArray(selectedItem)) {
  339. this.selectedExper = selectedItem[0]?.label || "";
  340. } else {
  341. this.selectedExper = selectedItem?.label || "";
  342. }
  343. this.showExper = false; // 关闭选择器
  344. },
  345. // 处理学历选择(核心修复)
  346. onLevelConfirm(selectedItem) {
  347. if (Array.isArray(selectedItem)) {
  348. this.selectedLevel = selectedItem[0]?.label || "";
  349. } else {
  350. this.selectedLevel = selectedItem?.label || "";
  351. }
  352. this.showLevel = false;
  353. },
  354. /**
  355. * 获取岗位详情
  356. */
  357. getInfo() {
  358. this.$Request.getT("/app/postPush/selectPostPushDetails", {
  359. // userId:uni.getStorageSync('userId'),
  360. postPushId: this.pid
  361. }).then(res => {
  362. if (res.code == 0) {
  363. this.selectedExper = res.data.experience
  364. this.selectedLevel = res.data.education
  365. this.selectedSalary = res.data.salaryRange
  366. this.welfareTag = res.data.welfareTag
  367. this.welfareText = res.data.welfareText
  368. this.positionTag = res.data.positionTag
  369. this.address = res.data.address
  370. this.stationName.fullText = res.data.address
  371. this.stationName.latitude = res.data.lat
  372. this.stationName.longitude = res.data.lng
  373. this.stationName.province = res.data.province
  374. this.stationName.city = res.data.city
  375. this.stationName.district = res.data.county
  376. this.salaryTimes = res.data.salaryTimes
  377. } else {
  378. uni.showToast({
  379. title: '数据有误',
  380. icon: 'none', // 注意这里需要加引号
  381. duration: 2000, // 可选:设置提示框显示时长
  382. complete() { // 正确的回调函数写法
  383. uni.navigateBack();
  384. }
  385. });
  386. }
  387. })
  388. },
  389. // 查询用户企业状态
  390. getcompanystatus() {
  391. this.$Request.get("/app/company/selectCompanyByUserId", "")
  392. .then((res) => {
  393. if (res.code != 0) {
  394. uni.showToast({
  395. title: res.msg || "查询状态失败",
  396. icon: "none"
  397. });
  398. return;
  399. }
  400. this.status = res.data.companyinfo || "";
  401. this.$queue.setData('companyId', res.data.companyId);
  402. this.$queue.setData('companyStatus', res.data.companyStatus);
  403. console.log("查询用户企业状态", this.companyinfo)
  404. })
  405. .catch((err) => {
  406. console.error("查询失败:", err);
  407. uni.showToast({
  408. title: "网络异常",
  409. icon: "none"
  410. });
  411. });
  412. },
  413. // 处理薪资范围选择(核心修复)
  414. onMoneyConfirm(selectedItems) {
  415. let minSalary = selectedItems[0].value.replace('k', '')
  416. let maxSalary = selectedItems[1].value.replace('k', '')
  417. if (Number(minSalary) > Number(maxSalary)) {
  418. return this.$queue.showToast('最低薪资不能大于最高薪资')
  419. }
  420. // 多列选择器返回数组,取每列选中的label拼接
  421. console.log(selectedItems)
  422. if (Array.isArray(selectedItems) && selectedItems.length >= 2) {
  423. const min = selectedItems[0]?.label || "";
  424. const max = selectedItems[1]?.label || "";
  425. const xin = selectedItems[2]?.label || "";
  426. this.selectedSalary = `${min}-${max}`;
  427. this.salaryTimes = `${xin}`
  428. }
  429. this.showMoney = false;
  430. },
  431. // 跳转页面并接收参数(福利待遇)
  432. goFund() {
  433. let tag = ''
  434. let text = ''
  435. if (this.welfareTag) {
  436. tag = this.welfareTag;
  437. }
  438. if (this.welfareText) {
  439. text = this.welfareText
  440. }
  441. uni.navigateTo({
  442. url: `/package/jobIntention/fund?tag=${encodeURIComponent(tag)}&text=${encodeURIComponent(text)}`,
  443. events: {
  444. // 监听子页面发送的福利数据
  445. fundData: (data) => {
  446. this.welfareTag = data;
  447. },
  448. },
  449. });
  450. },
  451. // 跳转页面并接收参数(职位关键词)
  452. goJobSkill() {
  453. uni.navigateTo({
  454. url: "/package/jobIntention/jobSkills?tag=" + encodeURIComponent(this.positionTag) + '&jobTitle=' + this.jobTitle + '&ruleClassifyId=' + this.ruleClassifyId,
  455. events: {
  456. skillsUpdated: (data) => {
  457. this.positionTag = data.selectedTags;
  458. },
  459. },
  460. });
  461. },
  462. // 跳转页面并接收参数(工作地址)
  463. goAddAddress() {
  464. let address = {
  465. ...this.stationName
  466. }
  467. uni.navigateTo({
  468. url: "/package/jobIntention/addAddress?address=" + JSON.stringify(address),
  469. events: {
  470. addressData: (data) => {
  471. let value = {
  472. ...data
  473. }
  474. this.stationName = value;
  475. this.stationName.fullText = value.fullText;
  476. this.address = value.fullText;
  477. },
  478. },
  479. });
  480. },
  481. // 提交表单
  482. submitPost() {
  483. // 验证必填项
  484. if (!this.selectedExper) {
  485. return uni.showToast({
  486. title: "请选择经验要求",
  487. icon: "none"
  488. });
  489. }
  490. if (!this.selectedLevel) {
  491. return uni.showToast({
  492. title: "请选择最低学历",
  493. icon: "none"
  494. });
  495. }
  496. if (!this.selectedSalary) {
  497. return uni.showToast({
  498. title: "请选择薪资范围",
  499. icon: "none"
  500. });
  501. }
  502. if (!this.stationName.fullText && !this.address) {
  503. return uni.showToast({
  504. title: "请填写工作地址",
  505. icon: "none"
  506. });
  507. }
  508. if (this.type && this.type == 'updata' && !this.stationName.longitude) {
  509. return uni.showToast({
  510. title: "请选择位置",
  511. icon: "none"
  512. });
  513. }
  514. if (!this.positionTag) {
  515. return uni.showToast({
  516. title: "请选择职位标签",
  517. icon: "none"
  518. });
  519. }
  520. var positionTag = this.positionTag
  521. const str = positionTag.join(',');
  522. // 构造提交数据
  523. const data = {
  524. type: this.dataInfo.type,
  525. isDue: this.dataInfo.isDue,
  526. positionDetails: this.dataInfo.positionDetails,
  527. ruleClassifyId:this.dataInfo.ruleClassifyId,
  528. ruleClassifyName: this.dataInfo.ruleClassifyName,
  529. orderid: 1,
  530. postPushId: this.pid,
  531. experience: this.selectedExper, //工作经验
  532. education: this.selectedLevel, //学历
  533. salaryRange: this.selectedSalary, //薪资范围
  534. welfareTag: this.welfareTag, //福利相关标签
  535. welfareText: this.welfareText,
  536. positionTag: str, //职位技能
  537. address: this.stationName.fullText || this.address, //地址
  538. lat: this.stationName.latitude,
  539. lng: this.stationName.longitude,
  540. province: this.stationName.province,
  541. city: this.stationName.city,
  542. county: this.stationName.district,
  543. // companyId: (this.companyId === undefined || this.companyId === 'undefined') ? '' : this.companyId,
  544. salaryTimes: this.salaryTimes
  545. };
  546. // 调用接口提交
  547. uni.showLoading({
  548. title: "提交中..."
  549. });
  550. this.$Request.postJson("/app/postPush/savePostPush", data)
  551. .then((res) => {
  552. uni.hideLoading();
  553. if (res.code === 0) {
  554. uni.showToast({
  555. title: "提交成功",
  556. icon: "success"
  557. });
  558. //这里要选择跳转,第一次是要跳公司页,如果是二次就到职位管理页
  559. if (this.status == 1) { //审核中
  560. uni.navigateTo({
  561. url: "/package/jobIntention/companyImg?companyName=" + this.companyName +
  562. '&companyId=' + this.companyId
  563. });
  564. } else if (this.status == 2) {//审核通过
  565. uni.navigateTo({
  566. url: '/pages/jobManagement/jobManagement'
  567. })
  568. } else {
  569. // uni.navigateTo({
  570. // url: '/my/renzheng/editCompany'
  571. // })
  572. uni.navigateTo({
  573. url: '/pages/jobManagement/jobManagement'
  574. })
  575. }
  576. } else {
  577. uni.showToast({
  578. title: res.msg || "提交失败",
  579. icon: "none"
  580. });
  581. }
  582. })
  583. .catch((err) => {
  584. uni.hideLoading();
  585. console.error("提交失败:", err);
  586. uni.showToast({
  587. title: "网络异常",
  588. icon: "none"
  589. });
  590. });
  591. },
  592. // 跳转至公司认证页面
  593. handleToIndex() {
  594. uni.navigateTo({
  595. url: `/package/jobIntention/companyImg?companyName=${this.companyName}&companyId=${this.companyId}`
  596. })
  597. }
  598. },
  599. };
  600. </script>
  601. <style lang="scss" scoped>
  602. /* 原有样式保持不变 */
  603. .switch-roles {
  604. background-color: #fff;
  605. position: absolute;
  606. left: 0;
  607. right: 0;
  608. top: 0;
  609. bottom: 0;
  610. display: flex;
  611. flex-direction: column;
  612. .roles-content {
  613. width: 100%;
  614. flex: 1;
  615. overflow: auto;
  616. .content {
  617. padding: 32rpx 40rpx;
  618. .title {
  619. color: #333;
  620. font-size: 48rpx;
  621. font-weight: 700;
  622. margin-bottom: 40rpx;
  623. line-height: 60rpx;
  624. }
  625. .desc {
  626. color: #666;
  627. font-size: 28rpx;
  628. margin-bottom: 20rpx;
  629. }
  630. // 步骤条
  631. .step-progress {
  632. display: flex;
  633. justify-content: center;
  634. padding: 20rpx 0 60rpx;
  635. .circle-wrapper {
  636. position: relative;
  637. .check-icon {
  638. display: flex;
  639. align-items: center;
  640. justify-content: center;
  641. width: 40rpx;
  642. height: 40rpx;
  643. border: 1px solid rgba(198, 198, 198, 1);
  644. border-radius: 40rpx;
  645. }
  646. .check-active {
  647. background: #016bf6;
  648. border-color: #016bf6;
  649. }
  650. .step-progress-text {
  651. position: absolute;
  652. left: 50%;
  653. bottom: -36rpx;
  654. width: 150rpx;
  655. font-size: 20rpx;
  656. font-weight: 500;
  657. line-height: 32rpx;
  658. color: rgba(111, 111, 111, 1);
  659. transform: translateX(-50%);
  660. text-align: center;
  661. }
  662. }
  663. .line {
  664. width: 220rpx;
  665. height: 1px;
  666. background: rgba(198, 198, 198, 1);
  667. }
  668. .blue {
  669. background: rgba(1, 107, 246, 1);
  670. }
  671. }
  672. .check-title-big {
  673. color: #3a3943;
  674. font-size: 36rpx;
  675. font-weight: 500;
  676. padding: 20rpx 0;
  677. }
  678. .check-select {
  679. width: 100%;
  680. display: flex;
  681. justify-content: space-between;
  682. align-items: center;
  683. padding: 32rpx 47rpx;
  684. border-radius: 12rpx;
  685. box-shadow: 0 16rpx 300rpx rgba(0, 0, 0, 0.06);
  686. background: #fff;
  687. margin-bottom: 20rpx;
  688. .select-txt {
  689. color: #999;
  690. font-size: 28rpx;
  691. }
  692. }
  693. .txt-desc {
  694. color: #666;
  695. font-size: 26rpx;
  696. margin-top: 20rpx;
  697. line-height: 1.5;
  698. }
  699. }
  700. }
  701. .step {
  702. padding: 32rpx 0;
  703. }
  704. .button-section {
  705. padding: 28rpx 40rpx;
  706. box-shadow: 0px -4px 16px 0px rgba(0, 0, 0, 0.04);
  707. }
  708. .submit-btn {
  709. flex-shrink: 0;
  710. border-radius: 999px;
  711. box-shadow: 0px -4px 16px 0px rgba(0, 0, 0, 0.04);
  712. background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
  713. color: rgba(255, 255, 255, 1);
  714. font-family: DM Sans;
  715. font-size: 32rpx;
  716. font-weight: 400;
  717. line-height: 48rpx;
  718. display: flex;
  719. justify-content: center;
  720. align-items: center;
  721. padding: 16rpx 32rpx;
  722. box-sizing: border-box;
  723. }
  724. .link-btn {
  725. text-align: center;
  726. color: rgba(1, 107, 246, 1);
  727. font-size: 16px;
  728. font-weight: 400;
  729. line-height: 16px;
  730. margin-bottom: 32rpx;
  731. }
  732. }
  733. </style>