applicationForm.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845
  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. let date = new Date()
  324. let year = date.getFullYear()
  325. let month = date.getMonth() >= 9 ? date.getMonth() + 1 : '0'+(date.getMonth() +1 )
  326. let day = date.getDate() >= 10 ? date.getDate() : '0' + date.getDate()
  327. if(item == 1){
  328. uni.navigateTo({
  329. url: '../joinSuc/certificate?name' + obj.name + '&time=' + year + '年' + month + '月' + day +'日'
  330. });
  331. }
  332. }
  333. })
  334. .catch(function(e) {
  335. console.log('出错了');
  336. console.log(e);
  337. });
  338. },
  339. //造血干细胞捐献
  340. bloud() {
  341. const obj = this;
  342. getList({
  343. name: obj.name,
  344. sex: obj.sex,
  345. education: obj.education, //文化程度
  346. birthday: obj.birthday,
  347. card: obj.card, //身份证号
  348. cardimg: obj.cardimg, //照片
  349. occupation: obj.occupation, //职业或职务
  350. phone: obj.phone,
  351. address: obj.address, //地址
  352. mail: obj.mail, // 邮箱
  353. weixin: obj.weixin, //微信
  354. major: obj.major, //专业或专长
  355. work: obj.work, // 工作单位
  356. friendOnename: obj.friendOnename, //亲友一的姓名
  357. friendOnerelation: obj.friendOnerelation, //亲友一与全赠者的关系
  358. friendOnephone: obj.friendOnephone, //亲友一的手机号
  359. friendOneweixin: obj.friendOneweixin, //亲友一的微信号
  360. friendOneaddress: obj.friendOneaddress, //亲友一的地址
  361. friendTwoname: obj.friendTwoname, //亲友二的姓名
  362. friendTworelation: obj.friendTworelation, //亲友二与全赠者的关系
  363. friendTwophone: obj.friendTwophone, //亲友二的手机号
  364. friendTwoweixin: obj.friendTwoweixin, //亲友二的微信号
  365. friendTwoaddress: obj.friendTwoaddress //亲友二的地址
  366. })
  367. .then(e => {
  368. console.log(e,"22222222222222222222222")
  369. if(e.status == 400){
  370. console.log(e.msg);
  371. this.$api.msg("你已报名成功,不可重复报名")
  372. }else {
  373. // obj.name = '';
  374. obj.sex = '请选择你的性别';
  375. obj.education = '请选择你的文化程度';
  376. obj.birth = '请选择你的出生年月';
  377. (obj.mz = ''), (obj.phone = '');
  378. obj.address = '';
  379. obj.work = '';
  380. obj.specialty = '';
  381. (obj.cardimg = ''), (obj.card = '');
  382. obj.mail = '';
  383. (obj.weixin = ''), (obj.major = '');
  384. let date = new Date()
  385. let year = date.getFullYear()
  386. let month = date.getMonth() >= 9 ? date.getMonth() + 1 : '0'+(date.getMonth() +1 )
  387. let day = date.getDate() >= 10 ? date.getDate() : '0' + date.getDate()
  388. uni.navigateTo({
  389. url: '../joinSuc/certificate?name' + obj.name + '&time=' + year + '年' + month + '月' + day +'日'
  390. });
  391. }
  392. })
  393. .catch(function(e) {
  394. console.log('出错了');
  395. console.log(e);
  396. });
  397. },
  398. imgsub() {
  399. console.log('imgsub');
  400. upload({
  401. filename: ''
  402. }).then(data => {
  403. this.cardimg = data[0].url;
  404. });
  405. },
  406. // 选择性别
  407. bindPickerSex: function(e) {
  408. this.sex = this.array[e.target.value];
  409. this.index = e.target.value + 1;
  410. },
  411. // 选择教育程度
  412. bindPickerEdu: function(e) {
  413. this.education = this.chooseEdu[e.target.value];
  414. // console.log('选择选择教育程度',this.education)
  415. this.index = e.target.value + 1;
  416. },
  417. // 选择日期
  418. bindDateChange: function(e) {
  419. console.log(e);
  420. this.birthday = e.target.value;
  421. console.log(this.birthday);
  422. },
  423. //选择填写日期
  424. fillingDateChange: function(e) {
  425. this.add_time = e.target.value;
  426. },
  427. // 是否参加志愿活动
  428. bindPickerVol: function(e) {
  429. this.is_vol = this.chooseVol[e.target.value];
  430. this.index = e.target.value + 1;
  431. },
  432. // 有无服务经验
  433. bindPickerExp: function(e) {
  434. console.log('有无服务经验', e.target.value);
  435. this.is_experience = this.chooseExp[e.target.value];
  436. this.index = e.target.value + 1;
  437. },
  438. // 选择捐献
  439. radioChange: function(evt) {
  440. console.log('选择捐献', evt);
  441. for (let i = 0; i < this.items.length; i++) {
  442. if (this.items[i].name === evt.detail.value) {
  443. this.type = evt.detail.value;
  444. console.log('this.type', this.type);
  445. this.current = i;
  446. console.log('this.current', this.current);
  447. break;
  448. }
  449. }
  450. if(this.type == '遗体捐献'){
  451. this.remark = '遗体捐献';
  452. this.all = true;
  453. }
  454. },
  455. checkboxChangeAll(e) {
  456. const obj = this;
  457. for (let i = 0; i < obj.apparatus.length; i++) {
  458. obj.apparatus[i].type = false;
  459. }
  460. if (obj.remark != ' ') {
  461. obj.remark = '';
  462. }
  463. console.log(e,"`11111")
  464. obj.remark = e.detail.value.join(',');
  465. console.log(obj.remark);
  466. obj.all = true;
  467. },
  468. //器官捐献时选择要捐献的器官
  469. checkboxChange(e) {
  470. const obj = this;
  471. obj.all = false;
  472. this.checkAll.type = false
  473. this.reload()
  474. if(obj.remark != ''){
  475. if (obj.remark.indexOf('all') != -1) {
  476. obj.remark = '';
  477. }
  478. }
  479. obj.remark = e.detail.value.join(',');
  480. for (let i = 0; i < obj.apparatus.length; i++) {
  481. if (obj.remark.indexOf(obj.apparatus[i].name) != -1) {
  482. obj.apparatus[i].type = true;
  483. }
  484. }
  485. console.log(obj.remark);
  486. },
  487. Getcheckbox() {
  488. let obj = this;
  489. obj.Getchecked = !obj.Getchecked;
  490. },
  491. Getcheckboxs() {
  492. let obj = this;
  493. obj.Getcheckeds = !obj.Getcheckeds;
  494. },
  495. getDate(type) {
  496. const date = new Date();
  497. let year = date.getFullYear();
  498. let month = date.getMonth() + 1;
  499. let day = date.getDate();
  500. if (type === 'start') {
  501. year = year - 60;
  502. } else if (type === 'end') {
  503. year = year + 2;
  504. }
  505. month = month > 9 ? month : '0' + month;
  506. day = day > 9 ? day : '0' + day;
  507. return `${year}-${month}-${day}`;
  508. },
  509. // 选择可提供时间
  510. // this.quantum = item.detail.value.join(',');
  511. checktime1(e) {
  512. // var items = this.timeList,
  513. // let quantum = [];
  514. this.quantum = e.detail.value.join(',');
  515. console.log(this.quantum);
  516. },
  517. checktime2(e) {
  518. // var items = this.timeList,
  519. let values = e.detail.value;
  520. // let quantum = [];
  521. console.log(values);
  522. },
  523. checktime3(e) {
  524. // var items = this.timeList,
  525. let values = e.detail.value;
  526. // let quantum = [];
  527. console.log(values);
  528. },
  529. //选择有兴趣参与的工作
  530. checkjob(item) {
  531. this.taste = item.detail.value.join(',');
  532. },
  533. // 选择专长checkspeciality
  534. checkspeciality(item) {
  535. this.speciali = item.detail.value.join(',');
  536. },
  537. reload() {
  538. this.ready = false
  539. this.$nextTick(function(){
  540. this.ready = true
  541. })
  542. },
  543. checkAllClick(e) {
  544. let obj = this
  545. console.log(e.detail.value[0])
  546. if(e.detail.value[0]) {
  547. this.remark = e.detail.value[0]
  548. for (let i = 0; i < obj.apparatus.length; i++) {
  549. obj.apparatus[i].type = false;
  550. }
  551. }else {
  552. this.remark = ''
  553. }
  554. console.log(this.remark)
  555. }
  556. }
  557. };
  558. </script>
  559. <style lang="scss">
  560. page {
  561. background: #f2f2f2;
  562. }
  563. .content {
  564. background: #f2f2f2;
  565. .top {
  566. margin-top: 16rpx;
  567. background: #ffffff;
  568. position: relative;
  569. .title {
  570. height: 106rpx;
  571. text-align: center;
  572. line-height: 106rpx;
  573. border-bottom: 2rpx #acacac dashed;
  574. font-size: 34rpx;
  575. font-family: PingFang SC;
  576. font-weight: 500;
  577. color: #101010;
  578. }
  579. .info-box {
  580. font-size: 24rpx;
  581. font-family: PingFang SC;
  582. font-weight: 500;
  583. color: #666666;
  584. text-indent: 1em;
  585. padding: 37rpx 60rpx 0rpx 36rpx;
  586. text {
  587. color: #101010;
  588. font-family: PingFang-SC-Medium;
  589. font-weight: bold;
  590. }
  591. // border: 3rpx solid #009100;
  592. }
  593. .uni-list {
  594. padding: 26rpx 34rpx 50rpx 35rpx;
  595. // .radio:first-child {
  596. // margin: -6rpx;
  597. // }
  598. .radio {
  599. margin-left: 50rpx;
  600. flex: 1;
  601. align-items: center;
  602. font-size: 24rpx;
  603. font-family: PingFang SC;
  604. font-weight: 500;
  605. color: #191919;
  606. }
  607. .checkbox {
  608. display: inline-block;
  609. font-size: 24rpx;
  610. font-family: PingFang SC;
  611. font-weight: 500;
  612. color: #191919;
  613. }
  614. .box-2 {
  615. display: flex;
  616. justify-content: space-between;
  617. align-items: center;
  618. width: 100%;
  619. margin-top: 8rpx;
  620. // height: 133rpx;
  621. .box-left {
  622. padding-left: 2rpx;
  623. text-align: left;
  624. width: 62rpx;
  625. font-size: 24rpx;
  626. font-family: PingFang SC;
  627. font-weight: 500;
  628. color: #191919;
  629. }
  630. input {
  631. height: 66rpx;
  632. line-height: 66rpx;
  633. // height: 88rpx;
  634. }
  635. .list-input {
  636. padding-left: 22rpx;
  637. // margin: 12rpx 0 ;
  638. font-size: 28rpx;
  639. display: flex;
  640. justify-content: center;
  641. // line-height: 66rpx;
  642. display: flex;
  643. align-items: center;
  644. flex: 1;
  645. color: #000000;
  646. border: 1px solid #d2d2d2;
  647. text-align: left;
  648. .input-placeholder {
  649. height: 70rpx;
  650. color: #959595;
  651. }
  652. }
  653. .box-right {
  654. display: flex;
  655. padding-left: 22rpx;
  656. height: 66rpx;
  657. line-height: 66rpx;
  658. border: 1px solid #d2d2d2;
  659. // margin: 32rpx 36rpx 0 36rpx;
  660. width: 500rpx;
  661. font-size: 28rpx;
  662. color: #959595;
  663. text-align: left !important;
  664. // line-height: 1;
  665. }
  666. }
  667. .font {
  668. margin-top: 22rpx;
  669. font-size: 24rpx;
  670. font-family: PingFang SC;
  671. font-weight: 500;
  672. color: #666666;
  673. }
  674. }
  675. .agree {
  676. display: flex;
  677. align-items: center;
  678. padding: 37rpx 60rpx 40rpx 36rpx;
  679. font-size: 24rpx;
  680. font-family: PingFang SC;
  681. font-weight: 500;
  682. color: #191919;
  683. }
  684. }
  685. .buttomBox {
  686. height: 100rpx;
  687. // padding-bottom: 40rpx;
  688. }
  689. .buttom {
  690. width: 100%;
  691. height: 100rpx;
  692. background: #f3392c;
  693. font-size: 36rpx;
  694. font-weight: 400;
  695. color: #ffffff;
  696. line-height: 100rpx;
  697. text-align: center;
  698. &.action {
  699. background: #999999;
  700. }
  701. }
  702. .box {
  703. margin-top: 16rpx;
  704. width: 100%;
  705. background-color: #ffffff;
  706. border-radius: 10rpx;
  707. padding: 28rpx 20rpx 32rpx 20rpx;
  708. position: relative;
  709. .red-box {
  710. width: 405rpx;
  711. line-height: 66rpx;
  712. text-align: center;
  713. background: linear-gradient(0deg, #c90f1b, #f14d33);
  714. border-radius: 10rpx;
  715. font-size: 30rpx;
  716. font-weight: 500;
  717. color: #ffffff;
  718. // position: relative;
  719. position: absolute;
  720. top: -36rpx;
  721. left: 50%;
  722. transform: translateX(-50%);
  723. z-index: 1;
  724. }
  725. .box-check {
  726. font-size: 28rpx;
  727. font-weight: 500;
  728. color: #666666;
  729. line-height: 100rpx;
  730. }
  731. .upload-box {
  732. width: 100%;
  733. height: 247rpx;
  734. background: #ffffff;
  735. // border: 1px solid #E63931;
  736. border-radius: 27rpx;
  737. display: flex;
  738. flex-direction: column;
  739. padding: 30rpx 40rpx 30rpx 0;
  740. margin: 42rpx auto 30rpx;
  741. .upload-left {
  742. font-weight: 400;
  743. color: #000000;
  744. }
  745. .upload-right {
  746. flex: 1;
  747. display: flex;
  748. align-items: center;
  749. justify-content: center;
  750. .upload-img {
  751. width: 150rpx;
  752. height: 150rpx;
  753. margin-top: 24rpx;
  754. }
  755. }
  756. }
  757. }
  758. .box-1 {
  759. display: flex;
  760. justify-content: space-between;
  761. align-items: center;
  762. width: 100%;
  763. margin-top: 42rpx;
  764. // height: 133rpx;
  765. .box-left {
  766. padding-left: 2rpx;
  767. width: 184rpx;
  768. text-align: left;
  769. font-size: 28rpx;
  770. font-family: PingFang SC;
  771. font-weight: 500;
  772. color: #191919;
  773. }
  774. input {
  775. height: 66rpx;
  776. line-height: 66rpx;
  777. // height: 88rpx;
  778. }
  779. .list-input {
  780. padding-left: 22rpx;
  781. // margin: 12rpx 0 ;
  782. font-size: 28rpx;
  783. // line-height: 66rpx;
  784. display: flex;
  785. align-items: center;
  786. flex: 1;
  787. color: #000000;
  788. width: 500rpx;
  789. border: 1px solid #d2d2d2;
  790. text-align: left;
  791. .input-placeholder {
  792. height: 70rpx;
  793. color: #959595;
  794. }
  795. }
  796. .box-right {
  797. display: flex;
  798. padding-left: 22rpx;
  799. height: 66rpx;
  800. line-height: 66rpx;
  801. border: 1px solid #d2d2d2;
  802. // margin: 32rpx 36rpx 0 36rpx;
  803. width: 500rpx;
  804. font-size: 28rpx;
  805. color: #959595;
  806. text-align: left !important;
  807. // line-height: 1;
  808. }
  809. }
  810. }
  811. .placeholder {
  812. line-height: 66rpx;
  813. }
  814. </style>