cart.vue 24 KB

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