applicationForm.vue 24 KB

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