tovolApply.vue 23 KB

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