tovolApply.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967
  1. <template>
  2. <view class="content">
  3. <view class="box">
  4. <view class="box-1">
  5. <view class="box-left">
  6. 姓名
  7. <text class="imp">*</text>
  8. </view>
  9. <input type="text" placeholder="请填写你的名字" value="" class="list-input" v-model="name" />
  10. </view>
  11. <view class="box-1">
  12. <view class="box-left">
  13. 性别
  14. <text class="imp">*</text>
  15. </view>
  16. <picker @change="bindPickerSex" :value="index" :range="array">
  17. <view class="box-right">{{ sex }}</view>
  18. </picker>
  19. </view>
  20. <view class="box-1">
  21. <view class="box-left">
  22. 出生年月
  23. <text class="imp">*</text>
  24. </view>
  25. <picker mode="date" :value="birth" fields="month" :start="startDate" :end="endDate" @change="bindDateChange">
  26. <view class="box-right">{{ birth }}</view>
  27. </picker>
  28. </view>
  29. <view class="upload-box">
  30. <view class="upload-left">
  31. 照片
  32. <text class="imp">*</text>
  33. </view>
  34. <view class="upload-right">
  35. <image :src="cardimg" mode="" class="upload-img" @click.stop="imgsub" v-if="cardimg"></image>
  36. <image src="../../static/images/upload.png" class="upload-img" mode="" v-if="!cardimg" @click.stop="imgsub"></image>
  37. </view>
  38. </view>
  39. <view class="box-1">
  40. <view class="box-left">
  41. 移动电话
  42. <text class="imp">*</text>
  43. </view>
  44. <input type="text" placeholder="请填写移动电话" value="" class="list-input" v-model="phone" />
  45. </view>
  46. <view class="box-1">
  47. <view class="box-left">固定电话(选填):</view>
  48. <input type="text" placeholder="请填写固定电话" value="" class="list-input" v-model="mobile" />
  49. </view>
  50. <view class="box-1">
  51. <view class="box-left">电子邮件(选填):</view>
  52. <input type="text" placeholder="请填写电子邮件" value="" class="list-input" v-model="email" />
  53. </view>
  54. <view class="box-1">
  55. <view class="box-left">联系地址(选填):</view>
  56. <input type="text" value="" placeholder="请填写联系地址" class="list-input" v-model="address" />
  57. </view>
  58. <view class="box-1">
  59. <view class="box-left">邮编(选填):</view>
  60. <input type="text" value="" placeholder="请填写邮编" class="list-input" v-model="zip" />
  61. </view>
  62. <view class="box-1">
  63. <view class="box-left">工作单位(选填):</view>
  64. <input type="text" value="" placeholder="请填写工作单位" class="list-input" v-model="work" />
  65. </view>
  66. <view class="box-1">
  67. <view class="box-left">职业/职务/专业(选填):</view>
  68. <input type="text" placeholder="请填写职业/职务/专业" value="" class="list-input" v-model="specialty" />
  69. </view>
  70. <view class="box-1">
  71. <view class="box-left">教育程度(选填):</view>
  72. <picker @change="bindPickerEdu" :value="index" :range="chooseEdu">
  73. <view class="box-right">{{ education }}</view>
  74. </picker>
  75. </view>
  76. <view class="box-1">
  77. <view class="box-left">
  78. 是否受过志愿服务
  79. <text class="imp">*</text>
  80. </view>
  81. </view>
  82. <view class="uni-list">
  83. <radio-group @change="radioChange">
  84. <view class="radio-list flex_item">
  85. <label class="uni-list-cell uni-list-cell-pd flex_item" v-for="(item, index) in is_vol" :key="item.name">
  86. <view><radio style="transform:scale(0.7)" color="#E71F2C" :value="item.name" :checked="index === current" /></view>
  87. <view>{{ item.name }}</view>
  88. </label>
  89. </view>
  90. </radio-group>
  91. </view>
  92. <view class="box-1">
  93. <view class="box-left">
  94. 有无服务经验
  95. <text class="imp">*</text>
  96. </view>
  97. </view>
  98. <view class="uni-list">
  99. <radio-group @change="radioChange1">
  100. <view class="radio-list flex_item">
  101. <label class="uni-list-cell uni-list-cell-pd flex_item" v-for="(item, index) in is_experience" :key="item.name">
  102. <view><radio style="transform:scale(0.7)" color="#E71F2C" :value="item.name" :checked="index === current" /></view>
  103. <view>{{ item.name }}</view>
  104. </label>
  105. </view>
  106. </radio-group>
  107. </view>
  108. <view class="list-box">
  109. <view class="list-title">可提供服务的时间</view>
  110. <view class="tip">请选择适当方格,可选多项</view>
  111. <view class="content_box">
  112. <view class="list-name">
  113. 时间段
  114. <text class="icon">*</text>
  115. </view>
  116. <view class="uni-list">
  117. <checkbox-group @change="checkboxChange">
  118. <view class="radio-list flex_item">
  119. <label class="uni-list-cell uni-list-cell-pd flex_item" v-for="item in days" :key="item.name">
  120. <view><checkbox :value="item.name" style="transform:scale(0.7)" color="#E71F2C" :checked="item.checked" /></view>
  121. <view>{{ item.name }}</view>
  122. </label>
  123. </view>
  124. </checkbox-group>
  125. </view>
  126. </view>
  127. <view class="content_box">
  128. <view class="list-name">
  129. 日期
  130. <text class="icon">*</text>
  131. </view>
  132. <view class="uni-list">
  133. <checkbox-group @change="checkboxChange1">
  134. <view class="radio-list flex_item">
  135. <label class="uni-list-cell uni-list-cell-pd flex_item" v-for="item in items" :key="item.name">
  136. <view><checkbox :value="item.name" style="transform:scale(0.7)" color="#E71F2C" :checked="item.checked" /></view>
  137. <view>{{ item.name }}</view>
  138. </label>
  139. </view>
  140. </checkbox-group>
  141. </view>
  142. </view>
  143. </view>
  144. <view class="list-box tpl-box">
  145. <view class="list-title">有兴趣参与的工作</view>
  146. <view class="tip">请选择适当方格,可选多项</view>
  147. <view class="content_box">
  148. <view class="uni-list">
  149. <checkbox-group @change="checkboxChange2">
  150. <view class="radio-list flex_item">
  151. <label class="uni-list-cell uni-list-cell-pd flex_item" v-for="item in works" :key="item.name">
  152. <view><checkbox :value="item.name" style="transform:scale(0.7)" color="#E71F2C" :checked="item.checked" /></view>
  153. <view>{{ item.name }}</view>
  154. </label>
  155. </view>
  156. </checkbox-group>
  157. </view>
  158. <input class="worksInput" type="text" v-model="worksText" />
  159. </view>
  160. </view>
  161. <view class="list-box tpl-box">
  162. <view class="list-title">专长</view>
  163. <view class="tip">请选择适当方格,可选多项</view>
  164. <view class="content_box">
  165. <view class="uni-list">
  166. <checkbox-group @change="checkboxChange3">
  167. <view class="radio-list flex_item">
  168. <label class="uni-list-cell uni-list-cell-pd flex_item" v-for="item in expertise" :key="item.name">
  169. <view><checkbox :value="item.name" style="transform:scale(0.7)" color="#E71F2C" :checked="item.checked" /></view>
  170. <view>{{ item.name }}</view>
  171. </label>
  172. </view>
  173. </checkbox-group>
  174. </view>
  175. <input class="worksInput" type="text" v-model="expertiseText" />
  176. </view>
  177. </view>
  178. <view class="list-box">
  179. <view class="list-title">个人声明</view>
  180. <view class="check_box">
  181. <view>
  182. <radio style="transform: scale(0.75)" @click="Getcheckbox" color="#E62129" :checked="Getchecked" />
  183. 本人同意将个人资料送交红十字志愿者工作委员会,申请注册登记,成为光荣的红十字志愿工作者,并乐于接受志愿工作安排,提供服务。
  184. </view>
  185. </view>
  186. </view>
  187. </view>
  188. <view class="buttom" :class="{ action: loding }" @click="!loding ? join() : ''">立即提交</view>
  189. </view>
  190. </template>
  191. <script>
  192. import { add_volunteers } from '@/api/index.js';
  193. import { upload } from '@/api/ask.js';
  194. export default {
  195. data() {
  196. const currentDate = this.getDate({
  197. format: true
  198. });
  199. return {
  200. otherjob: '',
  201. otherspe: '',
  202. loding: false, //是否提交中
  203. array: ['男', '女'],
  204. chooseEdu: ['博士后', '博士', '硕士', '本科', '专科', '其他'],
  205. chooseVol: ['有', '无'],
  206. is_experience: [
  207. {
  208. id: 1,
  209. name: '有'
  210. },
  211. {
  212. id: 2,
  213. name: '无'
  214. }
  215. ],
  216. // is_experience: '',
  217. chooseExp: ['是', '否'],
  218. //时间段
  219. days: [
  220. {
  221. value: '1',
  222. name: '早上'
  223. },
  224. {
  225. value: '2',
  226. name: '中午'
  227. },
  228. {
  229. value: '3',
  230. name: '晚上'
  231. }
  232. ],
  233. quantum: '',
  234. //日期
  235. items: [
  236. {
  237. value: '1',
  238. name: '星期一'
  239. },
  240. {
  241. value: '2',
  242. name: '星期二'
  243. },
  244. {
  245. value: '3',
  246. name: '星期三'
  247. },
  248. {
  249. value: '4',
  250. name: '星期四'
  251. },
  252. {
  253. value: '5',
  254. name: '星期五'
  255. },
  256. {
  257. value: '6',
  258. name: '星期六'
  259. },
  260. {
  261. value: '7',
  262. name: '星期日'
  263. }
  264. ],
  265. dates: '',
  266. //有兴趣参与的工作
  267. works: [
  268. {
  269. value: '1',
  270. name: '赈灾工作'
  271. },
  272. {
  273. value: '2',
  274. name: '救护培训'
  275. },
  276. {
  277. value: '3',
  278. name: '护送服务'
  279. },
  280. {
  281. value: '4',
  282. name: '编辑及出版'
  283. },
  284. {
  285. value: '5',
  286. name: '医疗护理服务'
  287. },
  288. {
  289. value: '6',
  290. name: '探访服务'
  291. },
  292. {
  293. value: '7',
  294. name: '外语翻译'
  295. },
  296. {
  297. value: '8',
  298. name: '调查服务'
  299. },
  300. {
  301. value: '9',
  302. name: '联络服务'
  303. },
  304. {
  305. value: '10',
  306. name: '宣传及推广'
  307. },
  308. {
  309. value: '11',
  310. name: '文书档案工作'
  311. },
  312. {
  313. value: '12',
  314. name: '其它(请注明)'
  315. }
  316. ],
  317. taste: '',
  318. worksText: '', //工作其他
  319. //专长
  320. expertise: [
  321. {
  322. value: '1',
  323. name: '医疗护理'
  324. },
  325. {
  326. value: '2',
  327. name: '紧急救护'
  328. },
  329. {
  330. value: '3',
  331. name: '出版/美术设计'
  332. },
  333. {
  334. value: '4',
  335. name: '影音制作'
  336. },
  337. {
  338. value: '5',
  339. name: '文艺演出'
  340. },
  341. {
  342. value: '6',
  343. name: '网络软件'
  344. },
  345. {
  346. value: '7',
  347. name: '摄影摄像'
  348. },
  349. {
  350. value: '8',
  351. name: '电脑中文打字'
  352. },
  353. {
  354. value: '9',
  355. name: '汽车驾驶'
  356. },
  357. {
  358. value: '10',
  359. name: '外语翻译'
  360. },
  361. {
  362. value: '11',
  363. name: '法律咨询'
  364. },
  365. {
  366. value: '12',
  367. name: '文案策划'
  368. },
  369. {
  370. value: '13',
  371. name: '其它(请注明)'
  372. }
  373. ],
  374. speciali: '',
  375. current: '',
  376. is_vol: [
  377. {
  378. id: 1,
  379. name: '有'
  380. },
  381. {
  382. id: 2,
  383. name: '无'
  384. }
  385. ],
  386. index: 0,
  387. // mz: '',
  388. email: '',
  389. cardimg: '', //证件照
  390. // card: '',
  391. // checklist: [],
  392. zip: '',
  393. name: '',
  394. sex: '请选择你的性别',
  395. birth: '请选择你的生日',
  396. fillingDate: '',
  397. phone: '',
  398. mobile: '', //固定电话
  399. address: '',
  400. work: '',
  401. specialty: '',
  402. education: '请选择教育程度',
  403. checked1: '',
  404. checked: '',
  405. expertiseText: '', //专长其他
  406. Getchecked: false //个人声明
  407. };
  408. },
  409. computed: {
  410. startDate() {
  411. return this.getDate('start');
  412. },
  413. endDate() {
  414. return this.getDate('end');
  415. }
  416. },
  417. methods: {
  418. async join() {
  419. let obj = this;
  420. if (obj.name == '') {
  421. obj.$api.msg('请输入您的姓名');
  422. return;
  423. }
  424. if (obj.sex == '' || obj.sex == '请选择你的性别') {
  425. obj.$api.msg('请输入您的性别');
  426. return;
  427. }
  428. if (obj.birth == '' || obj.birth == '请选择你的生日') {
  429. obj.$api.msg('请填写您的生日');
  430. return;
  431. }
  432. const reg = /^(\+?0?86-?)?1[\d]\d{9}$/;
  433. if (obj.phone == '') {
  434. obj.$api.msg('请填写您的移动电话');
  435. return;
  436. }
  437. if (!reg.test(obj.phone)) {
  438. obj.$api.msg('请填写正确的移动电话');
  439. return;
  440. }
  441. // if (obj.address == '') {
  442. // obj.$api.msg('请填写您的地址');
  443. // return;
  444. // }
  445. // /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/
  446. if (obj.checked1 == '') {
  447. obj.$api.msg('请选择有无服务经验');
  448. return;
  449. }
  450. if (obj.checked == '') {
  451. obj.$api.msg('请选择是否接受过志愿者服务');
  452. return;
  453. }
  454. if (obj.cardimg == '') {
  455. obj.$api.msg('请上传您的证件');
  456. return;
  457. }
  458. if (!obj.quantum) {
  459. this.$api.msg('请选择时间段!');
  460. return;
  461. }
  462. if (!obj.dates) {
  463. this.$api.msg('请选择日期!');
  464. return;
  465. }
  466. if (obj.Getchecked == false) {
  467. this.$api.msg('请阅读并同意个人声明!');
  468. return;
  469. }
  470. // let reg1 = /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/;
  471. // if (!reg1.test(obj.card)) {
  472. // obj.$api.msg('请填写正确的身份证信息');
  473. // return;
  474. // }
  475. // if (obj.mz == '') {
  476. // obj.$api.msg('请填写您所属的名族');
  477. // return;
  478. // }
  479. // if (obj.specialty == '') {
  480. // obj.$api.msg('请填写您的职位');
  481. // return;
  482. // }
  483. obj.loding = true;
  484. add_volunteers({
  485. name: obj.name,
  486. sex: obj.sex,
  487. birth: obj.birth,
  488. picture: obj.cardimg,
  489. phone: obj.phone,
  490. mobile: obj.mobile,
  491. email: obj.email,
  492. address: obj.address,
  493. zip: obj.zip, //邮编
  494. work: obj.work, //工作单位
  495. specialty: obj.specialty, //职业/职务/专业
  496. zy: obj.zy,
  497. education: obj.education, //教育程度
  498. is_vol: obj.checked,
  499. is_experience: obj.checked1,
  500. quantum: obj.quantum,
  501. date: obj.dates,
  502. taste: obj.taste,
  503. make_taste: obj.worksText,
  504. speciali: obj.speciali,
  505. make_speciali: obj.expertiseText
  506. })
  507. .then(e => {
  508. console.log(e);
  509. obj.sex = '请选择你的性别';
  510. obj.education = '请选择你的教育程度';
  511. obj.birth = '请选择你的生日';
  512. uni.navigateTo({
  513. url: '../joinSuc/joinNow'
  514. });
  515. })
  516. .catch(function(e) {
  517. console.log('出错了');
  518. console.log(e);
  519. });
  520. },
  521. imgsub() {
  522. upload({
  523. filename: ''
  524. }).then(data => {
  525. console.log(data, '12324');
  526. this.cardimg = data[0].url;
  527. });
  528. },
  529. // 选择性别
  530. bindPickerSex: function(e) {
  531. this.sex = this.array[e.target.value];
  532. this.index = e.target.value + 1;
  533. },
  534. // 选择教育程度
  535. bindPickerEdu: function(e) {
  536. this.education = this.chooseEdu[e.target.value];
  537. this.index = e.target.value + 1;
  538. },
  539. // 选择日期
  540. bindDateChange: function(e) {
  541. this.birth = e.target.value;
  542. },
  543. //选择填写日期
  544. fillingDateChange: function(e) {
  545. this.fillingDate = e.target.value;
  546. },
  547. // 是否参加志愿活动
  548. bindPickerVol: function(e) {
  549. this.is_vol = this.chooseVol[e.target.value];
  550. this.index = e.target.value + 1;
  551. },
  552. // 有无服务经验
  553. radioChange1(evt) {
  554. this.checked1 = evt.detail.value;
  555. console.log(this.checked1, '有无服务经验');
  556. },
  557. //是否受过志愿服务
  558. radioChange(evt) {
  559. this.checked = evt.detail.value;
  560. console.log(this.checked, '是否受过志愿服务');
  561. },
  562. Getcheckbox() {
  563. let obj = this;
  564. obj.Getchecked = !obj.Getchecked;
  565. },
  566. getDate(type) {
  567. const date = new Date();
  568. let year = date.getFullYear();
  569. let month = date.getMonth() + 1;
  570. let day = date.getDate();
  571. if (type === 'start') {
  572. year = year - 60;
  573. } else if (type === 'end') {
  574. year = year + 2;
  575. }
  576. month = month > 9 ? month : '0' + month;
  577. day = day > 9 ? day : '0' + day;
  578. return `${year}-${month}-${day}`;
  579. },
  580. //时间段
  581. checkboxChange: function(e) {
  582. var items = this.days,
  583. values = e.detail.value;
  584. for (var i = 0, lenI = items.length; i < lenI; ++i) {
  585. const item = items[i];
  586. if (values.includes(item.value)) {
  587. this.$set(item, 'checked', true);
  588. } else {
  589. this.$set(item, 'checked', false);
  590. }
  591. }
  592. this.quantum = values.join(',');
  593. console.log(this.quantum, '时间段');
  594. },
  595. //日期
  596. checkboxChange1: function(e) {
  597. var items = this.items,
  598. values = e.detail.value;
  599. for (var i = 0, lenI = items.length; i < lenI; ++i) {
  600. const item = items[i];
  601. if (values.includes(item.value)) {
  602. this.$set(item, 'checked', true);
  603. } else {
  604. this.$set(item, 'checked', false);
  605. }
  606. }
  607. this.dates = values.join(',');
  608. console.log(this.dates, '日期');
  609. },
  610. //有兴趣参与的工作
  611. checkboxChange2: function(e) {
  612. var items = this.works,
  613. values = e.detail.value;
  614. for (var i = 0, lenI = items.length; i < lenI; ++i) {
  615. const item = items[i];
  616. if (values.includes(item.value)) {
  617. this.$set(item, 'checked', true);
  618. } else {
  619. this.$set(item, 'checked', false);
  620. }
  621. }
  622. this.taste = values.join(',');
  623. console.log(this.taste, '有兴趣参与的工作');
  624. },
  625. //专长
  626. checkboxChange3: function(e) {
  627. var items = this.expertise,
  628. values = e.detail.value;
  629. for (var i = 0, lenI = items.length; i < lenI; ++i) {
  630. const item = items[i];
  631. if (values.includes(item.value)) {
  632. this.$set(item, 'checked', true);
  633. } else {
  634. this.$set(item, 'checked', false);
  635. }
  636. }
  637. this.speciali = values.join(',');
  638. console.log(this.speciali, '专长');
  639. }
  640. }
  641. };
  642. </script>
  643. <style lang="scss">
  644. page {
  645. background-color: #ffffff;
  646. }
  647. .content {
  648. // padding-top: 64rpx;
  649. // background-color: #f3afad;
  650. .top {
  651. width: 100%;
  652. height: 368rpx;
  653. image {
  654. width: 100%;
  655. height: 368rpx;
  656. }
  657. }
  658. .info-box {
  659. text-indent: 64rpx;
  660. margin: 12rpx 0 54rpx;
  661. padding: 0 32rpx 20rpx;
  662. // border: 3rpx solid #009100;
  663. width: 100%;
  664. display: flex;
  665. flex-direction: column;
  666. border-radius: 25rpx;
  667. color: #e63931;
  668. }
  669. .statement {
  670. // margin: 32rpx;
  671. background-color: #ffffff;
  672. // padding: 32rpx 23rpx;
  673. border-radius: 12rpx;
  674. .title {
  675. height: 84rpx;
  676. display: flex;
  677. justify-content: center;
  678. align-items: center;
  679. font-size: 32rpx;
  680. border-bottom: 2rpx dotted #f3f3f3;
  681. }
  682. .main {
  683. padding: 24rpx;
  684. text-indent: 48rpx;
  685. color: #666;
  686. font-weight: 400;
  687. }
  688. }
  689. .buttom {
  690. width: 100%;
  691. height: 100rpx;
  692. background: #df2412;
  693. margin: 50rpx auto 0;
  694. font-size: 36rpx;
  695. font-weight: 400;
  696. color: #ffffff;
  697. line-height: 100rpx;
  698. text-align: center;
  699. &.action {
  700. background: #999999;
  701. }
  702. }
  703. .box {
  704. // margin-top: 44rpx;
  705. // width: 690rpx;
  706. // margin: 32rpx auto 0;
  707. background-color: #ffffff;
  708. border-radius: 10rpx;
  709. padding: 28rpx 32rpx 84rpx 32rpx;
  710. position: relative;
  711. // .red-box {
  712. // width: 405rpx;
  713. // line-height: 66rpx;
  714. // text-align: center;
  715. // background: linear-gradient(0deg, #C90F1B, #F14D33);
  716. // border-radius: 10rpx;
  717. // font-size: 30rpx;
  718. // font-weight: 500;
  719. // color: #FFFFFF;
  720. // // position: relative;
  721. // position: absolute;
  722. // top: -36rpx;
  723. // left: 50%;
  724. // transform: translateX(-50%);
  725. // z-index: 1;
  726. // }
  727. .box-check {
  728. font-size: 28rpx;
  729. font-weight: 500;
  730. color: #666666;
  731. line-height: 100rpx;
  732. }
  733. .imp {
  734. color: red;
  735. margin-left: 5rpx;
  736. }
  737. .check-box {
  738. margin: 44rpx 0rpx;
  739. padding: 25rpx 25rpx;
  740. border: 3rpx solid #e9b2af;
  741. width: 100%;
  742. display: flex;
  743. flex-direction: column;
  744. border-radius: 25rpx;
  745. color: #e63931;
  746. .info {
  747. margin-bottom: 32rpx;
  748. text-align: center;
  749. }
  750. .chooseTim {
  751. text-align: center;
  752. font-size: 42rpx;
  753. }
  754. .choose-job {
  755. color: #666666;
  756. // height: 45rpx; 爱心捐赠
  757. .goods_check {
  758. display: flex;
  759. flex-direction: column;
  760. .uni-label-pointer {
  761. // width: 50%;
  762. // display: flex;
  763. }
  764. }
  765. .other {
  766. width: 100%;
  767. border-bottom: 2rpx solid #f3f3f3;
  768. }
  769. }
  770. .box-cent {
  771. font-size: 28rpx;
  772. font-weight: 500;
  773. color: #666666;
  774. display: flex;
  775. .cent-left {
  776. margin-right: 28rpx;
  777. .left-txt {
  778. line-height: 100rpx;
  779. }
  780. }
  781. .cent-right {
  782. flex: 1;
  783. display: flex;
  784. justify-content: space-around;
  785. .right-check {
  786. line-height: 100rpx;
  787. }
  788. }
  789. }
  790. }
  791. .box-1 {
  792. display: flex;
  793. justify-content: space-between;
  794. align-items: center;
  795. width: 100%;
  796. margin-top: 42rpx;
  797. // height: 133rpx;
  798. .box-left {
  799. padding-left: 2rpx;
  800. width: 50%;
  801. text-align: left;
  802. color: #000000;
  803. }
  804. input {
  805. height: 66rpx;
  806. line-height: 66rpx;
  807. // height: 88rpx;
  808. }
  809. .list-input {
  810. padding-left: 24rpx;
  811. // margin: 12rpx 0 ;
  812. font-size: 28rpx;
  813. // line-height: 66rpx;
  814. display: flex;
  815. align-items: center;
  816. width: 50%;
  817. flex: 1;
  818. color: #000000;
  819. text-align: right;
  820. padding-right: 24rpx;
  821. .input-placeholder {
  822. height: 70rpx;
  823. color: #959595;
  824. }
  825. }
  826. .box-right {
  827. display: flex;
  828. padding-left: 24rpx;
  829. height: 66rpx;
  830. line-height: 66rpx;
  831. border-radius: 22rpx;
  832. // margin: 32rpx 36rpx 0 36rpx;
  833. width: 100%;
  834. padding-right: 24rpx;
  835. font-size: 28rpx;
  836. color: #959595;
  837. text-align: right !important;
  838. // line-height: 1;
  839. }
  840. }
  841. .upload-box {
  842. width: 100%;
  843. height: 247rpx;
  844. background: #ffffff;
  845. // border: 1px solid #E63931;
  846. border-radius: 27rpx;
  847. display: flex;
  848. flex-direction: column;
  849. padding: 30rpx 40rpx 30rpx 0;
  850. margin: 42rpx auto 30rpx;
  851. .upload-left {
  852. font-weight: 400;
  853. color: #000000;
  854. }
  855. .upload-right {
  856. flex: 1;
  857. display: flex;
  858. align-items: center;
  859. justify-content: center;
  860. .upload-img {
  861. width: 150rpx;
  862. height: 150rpx;
  863. margin-top: 24rpx;
  864. }
  865. }
  866. }
  867. }
  868. .flex_item {
  869. display: flex;
  870. align-items: center;
  871. }
  872. .radio-list {
  873. display: flex;
  874. flex-wrap: wrap;
  875. font-size: 28rpx;
  876. padding-top: 30rpx;
  877. color: #000000;
  878. .uni-label-pointer {
  879. padding-right: 25rpx;
  880. padding-bottom: 30rpx;
  881. }
  882. }
  883. .check_box {
  884. padding: 25rpx 25rpx;
  885. font-size: 28rpx;
  886. }
  887. .list-box {
  888. background-color: #ffffff;
  889. font-size: 28rpx;
  890. width: 100%;
  891. height: 100%;
  892. border-top: 15rpx solid #f2f2f2;
  893. color: #222222;
  894. .worksInput {
  895. margin-bottom: 35rpx;
  896. border: 2rpx solid #979797;
  897. width: 100%;
  898. height: 70rpx;
  899. line-height: 70rpx;
  900. padding: 0rpx 25rpx;
  901. border-radius: 15rpx;
  902. }
  903. .list-title {
  904. color: #000000;
  905. text-align: center;
  906. padding: 30rpx 0rpx;
  907. font-size: 34rpx;
  908. font-weight: 500;
  909. border-bottom: 2rpx dashed #b5b5b5;
  910. }
  911. .tip {
  912. color: #000000;
  913. padding-top: 25rpx;
  914. width: 100%;
  915. text-align: center;
  916. }
  917. .icon {
  918. color: red;
  919. margin-left: 5rpx;
  920. }
  921. }
  922. }
  923. </style>