tovolApply.vue 23 KB

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