tovolApplyDemo.vue 22 KB

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