applicationForm.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <view class="title">登记选择</view>
  5. <view class="info-box">我自愿登记成为遗体器官捐献志愿者,自愿无偿捐献:</view>
  6. <view class="uni-list">
  7. <radio-group class="radio-box" @change="radioChange">
  8. <label v-for="(item, index) in items" :key="item.name">
  9. <label class="radio">
  10. {{ item.name }}
  11. <radio :checked="index === current" color="#E62129" style="transform:scale(0.5)" :value="item.name" />
  12. <text></text>
  13. </label>
  14. </label>
  15. </radio-group>
  16. </view>
  17. </view>
  18. <view class="box">
  19. <view class="box-1">
  20. <view class="box-left">姓名</view>
  21. <input type="text" placeholder="请填写你的名字" placeholder-class="placeholder" value="" class="list-input" v-model="name" />
  22. </view>
  23. <view class="box-1">
  24. <view class="box-left">出生年月</view>
  25. <picker mode="date" :value="birthday" fields="month" :start="startDate" :end="endDate" @change="bindDateChange" class="box-right">
  26. <view>{{ birthday }}</view>
  27. </picker>
  28. </view>
  29. <view class="box-1">
  30. <view class="box-left">性别</view>
  31. <picker @change="bindPickerSex" :value="index" :range="array" class="box-right">
  32. <text>{{ sex }}</text>
  33. </picker>
  34. </view>
  35. <view class="box-1">
  36. <view class="box-left">学历</view>
  37. <picker @change="bindPickerEdu" :value="index" :range="chooseEdu" class="box-right">
  38. <text>{{ education }}</text>
  39. </picker>
  40. </view>
  41. <view class="box-1">
  42. <view class="box-left">身份证号</view>
  43. <input type="text" placeholder="请填写你的身份证号" placeholder-class="placeholder" value="" class="list-input" v-model="card" />
  44. </view>
  45. <view class="box-1">
  46. <view class="box-left">移动电话</view>
  47. <input type="text" placeholder="请填写你的联系电话" placeholder-class="placeholder" value="" class="list-input" v-model="phone" />
  48. </view>
  49. <view class="box-1">
  50. <view class="box-left">职业/职务</view>
  51. <input type="text" value="" placeholder="请填写你的职业/职务" placeholder-class="placeholder" class="list-input" v-model="occupation" />
  52. </view>
  53. </view>
  54. <view class="top" >
  55. <view class="title">个人声明</view>
  56. <view class="info-box">
  57. 遗体器官捐献是服务医疗事业,造福人类的高尚行为,是“人道、博爱、奉献”精神的崇高体现,我已了解遗体器官捐献的基本常识和有关政策法规。</view>
  58. <view class="info-box" style="padding-top: 0;">我自愿登记成为遗体器官捐献志愿者,自愿无偿捐献:</view>
  59. <view class="uni-list" style="display: block;">
  60. <checkbox-group v-if="type == '人体器官' && ready" @change="checkAllClick" style="padding-left: 50rpx;">
  61. <label class="checkbox">
  62. <checkbox :checked="checkAll.type" color="#E62129" style="transform:scale(0.6);margin: 0;padding: 0;" :value="checkAll.name" />{{checkAll.name}}
  63. </label>
  64. </checkbox-group>
  65. <view style="display: flex;">
  66. <view class="" v-if="type == '人体器官'" style="width: 50rpx;">
  67. 或:
  68. </view>
  69. <checkbox-group v-if="type == '人体器官'" style="display: inline-block;width: 600rpx;" @change="checkboxChange">
  70. <label class="checkbox" v-for="item in apparatus" :key="item.name">
  71. <checkbox :checked="item.type" color="#E62129" style="transform:scale(0.6);margin: 0;padding: 0;" :value="item.name" />{{ item.name }}
  72. </label>
  73. </checkbox-group>
  74. </view>
  75. <view class="font">请执行人和所有亲属尊重我的决定。</view>
  76. </view>
  77. </view>
  78. <view class="top">
  79. <view class="title">人体器官捐献执行人信息</view>
  80. <view class="info-box">我指定该亲属为我的器官捐献执行人,全权负责本人的器官捐献事宜,我保证填写的内容信息真实,如发生变更及时告知登记机构。</view>
  81. <view class="uni-list" style="display: block;">
  82. <view class="box-1" style="margin-top: 0rpx;">
  83. <view class="box-left">捐献执行人</view>
  84. <input type="text" value="" placeholder-class="placeholder" placeholder="请填写执行人姓名" class="list-input" v-model="executor" />
  85. </view>
  86. <view class="box-1" style="margin-top: 20rpx;">
  87. <view class="box-left">亲属关系</view>
  88. <input type="text" value="" placeholder-class="placeholder" placeholder="请填写与本人的关系" class="list-input" v-model="relation" />
  89. </view>
  90. <view class="box-1" style="margin-top: 20rpx;">
  91. <view class="box-left">身份证号</view>
  92. <input type="text" value="" placeholder-class="placeholder" placeholder="请填写亲属身份证号" class="list-input" v-model="sfz" />
  93. </view>
  94. <view class="box-1" style="margin-top: 20rpx;">
  95. <view class="box-left">联系电话</view>
  96. <input type="text" value="" placeholder-class="placeholder" placeholder="请填写亲属联系电话" class="list-input" v-model="n_phone" />
  97. </view>
  98. </view>
  99. </view>
  100. <view class="buttomBox"><view class="buttom" :class="{ action: loding }" @click="!loding ? join() : ''">提交申请</view></view>
  101. </view>
  102. </template>
  103. <script>
  104. import { joinSecc } from '@/api/index.js';
  105. import { getList } from '@/api/index.js';
  106. import { upload } from '@/api/ask.js';
  107. export default {
  108. data() {
  109. const currentDate = this.getDate({
  110. format: true
  111. });
  112. return {
  113. ready: true,
  114. all: false,
  115. isall: false,
  116. type: '',
  117. loding: false, //是否提交中
  118. array: ['男', '女'],
  119. chooseEdu: ['博士后', '博士', '硕士', '本科', '专科', '其他'],
  120. chooseVol: ['是', '否'],
  121. chooseExp: ['是', '否'],
  122. items: [
  123. {
  124. name: '人体器官'
  125. },
  126. {
  127. name: '眼角膜'
  128. },
  129. {
  130. name: '遗体捐献'
  131. }
  132. ],
  133. checkAll: {
  134. name: '全部器官',
  135. type: false
  136. },
  137. apparatus: [
  138. {
  139. name: '肾脏',
  140. type: false
  141. },
  142. {
  143. name: '肝脏',
  144. type: false
  145. },
  146. {
  147. name: '心脏',
  148. type: false
  149. },
  150. {
  151. name: '肺脏',
  152. type: false
  153. },
  154. {
  155. name: '胰腺',
  156. type: false
  157. },
  158. {
  159. name: '小肠',
  160. type: false
  161. },
  162. {
  163. name: '其他',
  164. type: false
  165. }
  166. ],
  167. remark: '',
  168. current: '',
  169. index: 0,
  170. mz: '',
  171. cardimg: '', //证件照
  172. checklist: [],
  173. name: '',
  174. sex: '请选择你的性别',
  175. birthday: '请选择你的出生年月',
  176. card: '',
  177. occupation: '',
  178. education: '请选择你的文化程度',
  179. phone: '',
  180. executor: '',//执行人名字
  181. relation: '', //执行人关系
  182. n_phone: '', //执行人电话
  183. sfz: '', //执行人身份证号
  184. Getchecked: false,
  185. Getcheckeds: false,
  186. address: '',
  187. mail: '',
  188. weixin: '',
  189. major: '',
  190. work: '',
  191. other: '',
  192. friendOnename: '',
  193. friendOnerelation: '',
  194. friendOnephone: '',
  195. friendOneaddress: '',
  196. friendOneweixin: '',
  197. friendTwoname: '',
  198. friendTworelation: '',
  199. friendTwophone: '',
  200. friendTwoaddress: '',
  201. friendTwoweixin: ''
  202. };
  203. },
  204. computed: {
  205. startDate() {
  206. return this.getDate('start');
  207. },
  208. endDate() {
  209. return this.getDate('end');
  210. }
  211. },
  212. methods: {
  213. async join() {
  214. let obj = this;
  215. if (obj.type == '') {
  216. obj.$api.msg('请选择你要捐献的器官');
  217. return;
  218. }
  219. if (obj.name == '') {
  220. obj.$api.msg('请输入您的姓名');
  221. return;
  222. }
  223. if (obj.birth == '请选择你的出生年月') {
  224. obj.$api.msg('请选择出生年月');
  225. return;
  226. }
  227. if (obj.sex == '请选择你的性别') {
  228. obj.$api.msg('请输入您的性别');
  229. return;
  230. }
  231. if (obj.education == '请选择你的文化程度') {
  232. obj.$api.msg('请选择您的文化程度');
  233. return;
  234. }
  235. if (obj.card == '') {
  236. obj.$api.msg('请填写您的身份证号');
  237. return;
  238. }
  239. 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])$)$/;
  240. if (!reg1.test(obj.card)) {
  241. obj.$api.msg('请填写正确的身份证号');
  242. return;
  243. }
  244. if (obj.phone == '') {
  245. obj.$api.msg('请填写您的移动电话');
  246. return;
  247. }
  248. const reg = /^(\+?0?86-?)?1[\d]\d{9}$/;
  249. if (!reg.test(obj.phone)) {
  250. obj.$api.msg('请填写正确的移动电话');
  251. return;
  252. }
  253. if (obj.specialty == '') {
  254. obj.$api.msg('请填写您的职业/职务');
  255. return;
  256. }
  257. console.log(obj.remark,'1111');
  258. if(obj.type == '眼角膜') {
  259. obj.remark = '眼角膜'
  260. }
  261. if (obj.remark == '') {
  262. obj.$api.msg('请选择要捐献的器官');
  263. return;
  264. }
  265. if(obj.executor == '') {
  266. obj.$api.msg('请填写执行人姓名');
  267. return;
  268. }
  269. if (obj.relation == '') {
  270. obj.$api.msg('请填写亲属身份');
  271. return;
  272. }
  273. if (obj.sfz == '') {
  274. obj.$api.msg('请填写亲属身份证号');
  275. return;
  276. }
  277. // if (obj.Getcheckeds != true) {
  278. // this.$api.msg('请阅读并同意入库!');
  279. // return;
  280. // }
  281. if (obj.n_phone == '') {
  282. obj.$api.msg('请填写亲属联系电话');
  283. return;
  284. }
  285. obj.loding = true;
  286. obj.body(1)
  287. },
  288. //器官捐献
  289. body(item){
  290. const obj = this;
  291. joinSecc({
  292. name: obj.name,
  293. sex: obj.sex,
  294. education: obj.education,
  295. birthday: obj.birthday,
  296. card: obj.card,
  297. occupation: obj.occupation,
  298. remark: obj.remark,
  299. phone: obj.phone,
  300. executor: obj.executor,
  301. relation: obj.relation,
  302. sfz: obj.sfz,
  303. n_phone: obj.n_phone,
  304. // other: obj.other //其他器官
  305. })
  306. .then(e => {
  307. console.log(e,"2322222222222222222222222222222222222222")
  308. if(e.status == 400){
  309. console.log(e.msg);
  310. this.$api.msg("你已报名成功,不可重复报名")
  311. }else {
  312. // obj.name = '';
  313. obj.sex = '请选择你的性别';
  314. obj.education = '请选择你的文化程度';
  315. obj.birth = '请选择你的出生年月';
  316. (obj.mz = ''), (obj.phone = '');
  317. obj.address = '';
  318. obj.work = '';
  319. obj.specialty = '';
  320. (obj.cardimg = ''), (obj.card = '');
  321. obj.mail = '';
  322. (obj.weixin = ''), (obj.major = '');
  323. uni.navigateTo({
  324. url: '../joinSuc/joinNow'
  325. });
  326. }
  327. })
  328. .catch(function(e) {
  329. console.log('出错了');
  330. console.log(e);
  331. });
  332. },
  333. //造血干细胞捐献
  334. bloud() {
  335. const obj = this;
  336. getList({
  337. name: obj.name,
  338. sex: obj.sex,
  339. education: obj.education, //文化程度
  340. birthday: obj.birthday,
  341. card: obj.card, //身份证号
  342. cardimg: obj.cardimg, //照片
  343. occupation: obj.occupation, //职业或职务
  344. phone: obj.phone,
  345. address: obj.address, //地址
  346. mail: obj.mail, // 邮箱
  347. weixin: obj.weixin, //微信
  348. major: obj.major, //专业或专长
  349. work: obj.work, // 工作单位
  350. friendOnename: obj.friendOnename, //亲友一的姓名
  351. friendOnerelation: obj.friendOnerelation, //亲友一与全赠者的关系
  352. friendOnephone: obj.friendOnephone, //亲友一的手机号
  353. friendOneweixin: obj.friendOneweixin, //亲友一的微信号
  354. friendOneaddress: obj.friendOneaddress, //亲友一的地址
  355. friendTwoname: obj.friendTwoname, //亲友二的姓名
  356. friendTworelation: obj.friendTworelation, //亲友二与全赠者的关系
  357. friendTwophone: obj.friendTwophone, //亲友二的手机号
  358. friendTwoweixin: obj.friendTwoweixin, //亲友二的微信号
  359. friendTwoaddress: obj.friendTwoaddress //亲友二的地址
  360. })
  361. .then(e => {
  362. console.log(e,"22222222222222222222222")
  363. if(e.status == 400){
  364. console.log(e.msg);
  365. this.$api.msg("你已报名成功,不可重复报名")
  366. }else {
  367. // obj.name = '';
  368. console.log(e,'ddddddddddddddddddddddddddd')
  369. obj.name = '';
  370. obj.sex = '';
  371. obj.education = '';
  372. obj.birthday = '';
  373. obj.card = '';
  374. obj.occupation = '';
  375. obj.add_time = '';
  376. obj.phone = '';
  377. obj.tel = '';
  378. obj.zd_name = '';
  379. obj.address = '';
  380. obj.exexutor = '';
  381. obj.sfz = '';
  382. obj.relation = '';
  383. obj.n_phone = '';
  384. obj.n_tel = '';
  385. uni.navigateTo({
  386. url: '../joinSuc/joinNow'
  387. });
  388. }
  389. })
  390. .catch(function(e) {
  391. console.log('出错了');
  392. console.log(e);
  393. });
  394. },
  395. imgsub() {
  396. console.log('imgsub');
  397. upload({
  398. filename: ''
  399. }).then(data => {
  400. this.cardimg = data[0].url;
  401. });
  402. },
  403. // 选择性别
  404. bindPickerSex: function(e) {
  405. this.sex = this.array[e.target.value];
  406. this.index = e.target.value + 1;
  407. },
  408. // 选择教育程度
  409. bindPickerEdu: function(e) {
  410. this.education = this.chooseEdu[e.target.value];
  411. // console.log('选择选择教育程度',this.education)
  412. this.index = e.target.value + 1;
  413. },
  414. // 选择日期
  415. bindDateChange: function(e) {
  416. console.log(e);
  417. this.birthday = e.target.value;
  418. console.log(this.birthday);
  419. },
  420. //选择填写日期
  421. fillingDateChange: function(e) {
  422. this.add_time = e.target.value;
  423. },
  424. // 是否参加志愿活动
  425. bindPickerVol: function(e) {
  426. this.is_vol = this.chooseVol[e.target.value];
  427. this.index = e.target.value + 1;
  428. },
  429. // 有无服务经验
  430. bindPickerExp: function(e) {
  431. console.log('有无服务经验', e.target.value);
  432. this.is_experience = this.chooseExp[e.target.value];
  433. this.index = e.target.value + 1;
  434. },
  435. // 选择捐献
  436. radioChange: function(evt) {
  437. console.log('选择捐献', evt);
  438. for (let i = 0; i < this.items.length; i++) {
  439. if (this.items[i].name === evt.detail.value) {
  440. this.type = evt.detail.value;
  441. console.log('this.type', this.type);
  442. this.current = i;
  443. console.log('this.current', this.current);
  444. break;
  445. }
  446. }
  447. if(this.type == '遗体捐献'){
  448. this.remark = '遗体捐献';
  449. this.all = true;
  450. }
  451. },
  452. checkboxChangeAll(e) {
  453. const obj = this;
  454. for (let i = 0; i < obj.apparatus.length; i++) {
  455. obj.apparatus[i].type = false;
  456. }
  457. if (obj.remark != ' ') {
  458. obj.remark = '';
  459. }
  460. console.log(e,"`11111")
  461. obj.remark = e.detail.value.join(',');
  462. console.log(obj.remark);
  463. obj.all = true;
  464. },
  465. //器官捐献时选择要捐献的器官
  466. checkboxChange(e) {
  467. const obj = this;
  468. obj.all = false;
  469. this.checkAll.type = false
  470. this.reload()
  471. if(obj.remark != ''){
  472. if (obj.remark.indexOf('all') != -1) {
  473. obj.remark = '';
  474. }
  475. }
  476. obj.remark = e.detail.value.join(',');
  477. for (let i = 0; i < obj.apparatus.length; i++) {
  478. if (obj.remark.indexOf(obj.apparatus[i].name) != -1) {
  479. obj.apparatus[i].type = true;
  480. }
  481. }
  482. console.log(obj.remark);
  483. },
  484. Getcheckbox() {
  485. let obj = this;
  486. obj.Getchecked = !obj.Getchecked;
  487. },
  488. Getcheckboxs() {
  489. let obj = this;
  490. obj.Getcheckeds = !obj.Getcheckeds;
  491. },
  492. getDate(type) {
  493. const date = new Date();
  494. let year = date.getFullYear();
  495. let month = date.getMonth() + 1;
  496. let day = date.getDate();
  497. if (type === 'start') {
  498. year = year - 60;
  499. } else if (type === 'end') {
  500. year = year + 2;
  501. }
  502. month = month > 9 ? month : '0' + month;
  503. day = day > 9 ? day : '0' + day;
  504. return `${year}-${month}-${day}`;
  505. },
  506. // 选择可提供时间
  507. // this.quantum = item.detail.value.join(',');
  508. checktime1(e) {
  509. // var items = this.timeList,
  510. // let quantum = [];
  511. this.quantum = e.detail.value.join(',');
  512. console.log(this.quantum);
  513. },
  514. checktime2(e) {
  515. // var items = this.timeList,
  516. let values = e.detail.value;
  517. // let quantum = [];
  518. console.log(values);
  519. },
  520. checktime3(e) {
  521. // var items = this.timeList,
  522. let values = e.detail.value;
  523. // let quantum = [];
  524. console.log(values);
  525. },
  526. //选择有兴趣参与的工作
  527. checkjob(item) {
  528. this.taste = item.detail.value.join(',');
  529. },
  530. // 选择专长checkspeciality
  531. checkspeciality(item) {
  532. this.speciali = item.detail.value.join(',');
  533. },
  534. reload() {
  535. this.ready = false
  536. this.$nextTick(function(){
  537. this.ready = true
  538. })
  539. },
  540. checkAllClick(e) {
  541. let obj = this
  542. console.log(e.detail.value[0])
  543. if(e.detail.value[0]) {
  544. this.remark = e.detail.value[0]
  545. for (let i = 0; i < obj.apparatus.length; i++) {
  546. obj.apparatus[i].type = false;
  547. }
  548. }else {
  549. this.remark = ''
  550. }
  551. console.log(this.remark)
  552. }
  553. }
  554. };
  555. </script>
  556. <style lang="scss">
  557. page {
  558. background: #f2f2f2;
  559. }
  560. .content {
  561. background: #f2f2f2;
  562. .top {
  563. margin-top: 16rpx;
  564. background: #ffffff;
  565. position: relative;
  566. .title {
  567. height: 106rpx;
  568. text-align: center;
  569. line-height: 106rpx;
  570. border-bottom: 2rpx #acacac dashed;
  571. font-size: 34rpx;
  572. font-family: PingFang SC;
  573. font-weight: 500;
  574. color: #101010;
  575. }
  576. .info-box {
  577. font-size: 24rpx;
  578. font-family: PingFang SC;
  579. font-weight: 500;
  580. color: #666666;
  581. text-indent: 1em;
  582. padding: 37rpx 60rpx 0rpx 36rpx;
  583. text {
  584. color: #101010;
  585. font-family: PingFang-SC-Medium;
  586. font-weight: bold;
  587. }
  588. // border: 3rpx solid #009100;
  589. }
  590. .uni-list {
  591. padding: 26rpx 34rpx 50rpx 35rpx;
  592. // .radio:first-child {
  593. // margin: -6rpx;
  594. // }
  595. .radio {
  596. margin-left: 50rpx;
  597. flex: 1;
  598. align-items: center;
  599. font-size: 24rpx;
  600. font-family: PingFang SC;
  601. font-weight: 500;
  602. color: #191919;
  603. }
  604. .checkbox {
  605. display: inline-block;
  606. font-size: 24rpx;
  607. font-family: PingFang SC;
  608. font-weight: 500;
  609. color: #191919;
  610. }
  611. .box-2 {
  612. display: flex;
  613. justify-content: space-between;
  614. align-items: center;
  615. width: 100%;
  616. margin-top: 8rpx;
  617. // height: 133rpx;
  618. .box-left {
  619. padding-left: 2rpx;
  620. text-align: left;
  621. width: 62rpx;
  622. font-size: 24rpx;
  623. font-family: PingFang SC;
  624. font-weight: 500;
  625. color: #191919;
  626. }
  627. input {
  628. height: 66rpx;
  629. line-height: 66rpx;
  630. // height: 88rpx;
  631. }
  632. .list-input {
  633. padding-left: 22rpx;
  634. // margin: 12rpx 0 ;
  635. font-size: 28rpx;
  636. display: flex;
  637. justify-content: center;
  638. // line-height: 66rpx;
  639. display: flex;
  640. align-items: center;
  641. flex: 1;
  642. color: #000000;
  643. border: 1px solid #d2d2d2;
  644. text-align: left;
  645. .input-placeholder {
  646. height: 70rpx;
  647. color: #959595;
  648. }
  649. }
  650. .box-right {
  651. display: flex;
  652. padding-left: 22rpx;
  653. height: 66rpx;
  654. line-height: 66rpx;
  655. border: 1px solid #d2d2d2;
  656. // margin: 32rpx 36rpx 0 36rpx;
  657. width: 500rpx;
  658. font-size: 28rpx;
  659. color: #959595;
  660. text-align: left !important;
  661. // line-height: 1;
  662. }
  663. }
  664. .font {
  665. margin-top: 22rpx;
  666. font-size: 24rpx;
  667. font-family: PingFang SC;
  668. font-weight: 500;
  669. color: #666666;
  670. }
  671. }
  672. .agree {
  673. display: flex;
  674. align-items: center;
  675. padding: 37rpx 60rpx 40rpx 36rpx;
  676. font-size: 24rpx;
  677. font-family: PingFang SC;
  678. font-weight: 500;
  679. color: #191919;
  680. }
  681. }
  682. .buttomBox {
  683. height: 100rpx;
  684. // padding-bottom: 40rpx;
  685. }
  686. .buttom {
  687. width: 100%;
  688. height: 100rpx;
  689. background: #f3392c;
  690. font-size: 36rpx;
  691. font-weight: 400;
  692. color: #ffffff;
  693. line-height: 100rpx;
  694. text-align: center;
  695. &.action {
  696. background: #999999;
  697. }
  698. }
  699. .box {
  700. margin-top: 16rpx;
  701. width: 100%;
  702. background-color: #ffffff;
  703. border-radius: 10rpx;
  704. padding: 28rpx 20rpx 32rpx 20rpx;
  705. position: relative;
  706. .red-box {
  707. width: 405rpx;
  708. line-height: 66rpx;
  709. text-align: center;
  710. background: linear-gradient(0deg, #c90f1b, #f14d33);
  711. border-radius: 10rpx;
  712. font-size: 30rpx;
  713. font-weight: 500;
  714. color: #ffffff;
  715. // position: relative;
  716. position: absolute;
  717. top: -36rpx;
  718. left: 50%;
  719. transform: translateX(-50%);
  720. z-index: 1;
  721. }
  722. .box-check {
  723. font-size: 28rpx;
  724. font-weight: 500;
  725. color: #666666;
  726. line-height: 100rpx;
  727. }
  728. .upload-box {
  729. width: 100%;
  730. height: 247rpx;
  731. background: #ffffff;
  732. // border: 1px solid #E63931;
  733. border-radius: 27rpx;
  734. display: flex;
  735. flex-direction: column;
  736. padding: 30rpx 40rpx 30rpx 0;
  737. margin: 42rpx auto 30rpx;
  738. .upload-left {
  739. font-weight: 400;
  740. color: #000000;
  741. }
  742. .upload-right {
  743. flex: 1;
  744. display: flex;
  745. align-items: center;
  746. justify-content: center;
  747. .upload-img {
  748. width: 150rpx;
  749. height: 150rpx;
  750. margin-top: 24rpx;
  751. }
  752. }
  753. }
  754. }
  755. .box-1 {
  756. display: flex;
  757. justify-content: space-between;
  758. align-items: center;
  759. width: 100%;
  760. margin-top: 42rpx;
  761. // height: 133rpx;
  762. .box-left {
  763. padding-left: 2rpx;
  764. width: 184rpx;
  765. text-align: left;
  766. font-size: 28rpx;
  767. font-family: PingFang SC;
  768. font-weight: 500;
  769. color: #191919;
  770. }
  771. input {
  772. height: 66rpx;
  773. line-height: 66rpx;
  774. // height: 88rpx;
  775. }
  776. .list-input {
  777. padding-left: 22rpx;
  778. // margin: 12rpx 0 ;
  779. font-size: 28rpx;
  780. // line-height: 66rpx;
  781. display: flex;
  782. align-items: center;
  783. flex: 1;
  784. color: #000000;
  785. width: 500rpx;
  786. border: 1px solid #d2d2d2;
  787. text-align: left;
  788. .input-placeholder {
  789. height: 70rpx;
  790. color: #959595;
  791. }
  792. }
  793. .box-right {
  794. display: flex;
  795. padding-left: 22rpx;
  796. height: 66rpx;
  797. line-height: 66rpx;
  798. border: 1px solid #d2d2d2;
  799. // margin: 32rpx 36rpx 0 36rpx;
  800. width: 500rpx;
  801. font-size: 28rpx;
  802. color: #959595;
  803. text-align: left !important;
  804. // line-height: 1;
  805. }
  806. }
  807. }
  808. .placeholder {
  809. line-height: 66rpx;
  810. }
  811. </style>