tovolApplyDemo.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <image src="../../static/img/activity.png" 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. 姓名<text class="imp">*</text>:
  13. </view>
  14. <input type="text" value="" class="list-input" v-model="name" />
  15. </view>
  16. <view class="box-1">
  17. <view class="box-left">
  18. 性别<text class="imp">*</text>:
  19. </view>
  20. <picker @change="bindPickerSex" :value="index" :range="array" class="box-right">
  21. <text>{{ sex }}</text>
  22. </picker>
  23. </view>
  24. <view class="box-1">
  25. <view class="box-left">
  26. 出生年月<text class="imp">*</text>:
  27. </view>
  28. <picker mode="date" :value="birth" fields="month" :start="startDate" :end="endDate" @change="bindDateChange" class="box-right">
  29. <view>{{ birth }}</view>
  30. </picker>
  31. </view>
  32. <view class="box-1">
  33. <view class="box-left">
  34. 联系电话<text class="imp">*</text>:
  35. </view>
  36. <input type="text" value="" class="list-input" v-model="phone" />
  37. </view>
  38. <view class="box-1">
  39. <view class="box-left">
  40. 住宅电话(选填):
  41. </view>
  42. <input type="text" value="" class="list-input" v-model="mobile" />
  43. </view>
  44. <!-- <view class="box-1">
  45. <view class="box-left">
  46. 办公电话(选填):
  47. </view>
  48. <input type="text" value="" class="list-input" v-model="phone" />
  49. </view> -->
  50. <view class="box-1">
  51. <view class="box-left">
  52. 电子邮件(选填):
  53. </view>
  54. <input type="text" value="" class="list-input" v-model="email" />
  55. </view>
  56. <!-- <view class="box-1">
  57. <view class="box-left">
  58. QQ(选填):
  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">
  64. 联系地址(选填):
  65. </view>
  66. <input type="text" value="" class="list-input" v-model="address" />
  67. </view>
  68. <view class="box-1">
  69. <view class="box-left">
  70. 邮编(选填):
  71. </view>
  72. <input type="text" value="" class="list-input" v-model="zip" />
  73. </view>
  74. <view class="box-1">
  75. <view class="box-left">
  76. 工作单位(选填):
  77. </view>
  78. <input type="text" value="" class="list-input" v-model="work" />
  79. </view>
  80. <view class="box-1">
  81. <view class="box-left">
  82. 职业/职务/专业(选填):
  83. </view>
  84. <input type="text" value="" class="list-input" v-model="specialty" />
  85. </view>
  86. <view class="box-1">
  87. <view class="box-left">
  88. 教育程度(选填):
  89. </view>
  90. <picker @change="bindPickerEdu" :value="index" :range="chooseEdu" class="box-right">
  91. <text>{{ education }}</text>
  92. </picker>
  93. </view>
  94. <view class="box-1">
  95. <view class="box-left">
  96. 是否受过志愿服务<text class="imp">*</text>:
  97. </view>
  98. <picker @change="bindPickerExp" :value="index" :range="chooseExp" class="box-right">
  99. <text>{{ is_experience }}</text>
  100. </picker>
  101. </view>
  102. <view class="box-1">
  103. <view class="box-left">
  104. 有无服务经验<text class="imp">*</text>:
  105. </view>
  106. <picker @change="bindPickerVol" :value="index" :range="chooseVol" class="box-right">
  107. <text>{{ is_vol }}</text>
  108. </picker>
  109. </view>
  110. <view class="check-box">
  111. <view class="chooseTim">
  112. 可提供服务时间
  113. </view>
  114. <view class="info">
  115. ( 请在适合的□内打√,可多选)
  116. </view>
  117. <view class="box-cent">
  118. <view class="cent-left">
  119. <view class="left-top">时间</view>
  120. <view class="left-txt">早上</view>
  121. <view class="left-txt">下午</view>
  122. <view class="left-txt">晚上</view>
  123. </view>
  124. <checkbox-group @change="timeOnChange" class="cent-right">
  125. <view class="cent-item" v-for="item1 in timeList" :key="item1.id">
  126. <view class="right-top">
  127. {{ item1.num }}
  128. </view>
  129. <view class="right-check">
  130. <checkbox :value="item1.list.morning" color="#C90F1B" style="transform:scale(0.7)" />
  131. </view>
  132. <view class="right-check">
  133. <checkbox :value="item1.list.after" color="#C90F1B" style="transform:scale(0.7)" />
  134. </view>
  135. <view class="right-check">
  136. <checkbox :value="item1.list.night" color="#C90F1B" style="transform:scale(0.7)" />
  137. </view>
  138. </view>
  139. </checkbox-group>
  140. </view>
  141. </view>
  142. <view class="check-box">
  143. <view class="chooseTim">
  144. 有兴趣参与的工作
  145. </view>
  146. <view class="info">
  147. ( 请在适合的□内打√,可多选)
  148. </view>
  149. <view class="choose-job">
  150. <checkbox-group class="goods_check" @change='checkjob'>
  151. <label v-for="(item, index) in jobList" :key="index">
  152. <checkbox :value="item.class_name" style="transform:scale(0.7)" color="#C90F1B"/>
  153. {{item.class_name}}
  154. </label>
  155. </checkbox-group>
  156. <view class="other" v-if="otherjob == '其他(请注明)'">
  157. <input type="text" value="" />
  158. </view>
  159. </view>
  160. </view>
  161. <view class="check-box">
  162. <view class="chooseTim">
  163. 专长
  164. </view>
  165. <view class="info">
  166. ( 请在适合的□内打√,可多选)
  167. </view>
  168. <view class="choose-job">
  169. <checkbox-group class="goods_check" @change='checkspeciality'>
  170. <label v-for="(item, index) in specialityList" :key="index">
  171. <checkbox :value="item.class_name" color="#C90F1B" style="transform:scale(0.7)" />
  172. {{item.class_name}}
  173. </label>
  174. </checkbox-group>
  175. <view class="other" v-if="otherspe == '其他(请注明)'">
  176. <input type="text" value="" />
  177. </view>
  178. </view>
  179. </view>
  180. <view class="upload-box">
  181. <view class="upload-left">
  182. 证件:
  183. </view>
  184. <view class="upload-right">
  185. <image :src="cardimg" mode="" class="upload-img" @click.stop="imgsub" v-if="cardimg"></image>
  186. <image src="../../static/images/upload.png" class="upload-img" mode="" v-if="!cardimg" @click.stop="imgsub"></image>
  187. </view>
  188. </view>
  189. <view class="box-1">
  190. <view class="box-left">
  191. 申请日期:
  192. </view>
  193. <picker mode="date" :value="fillingDate" fields="day" :start="startDate" :end="endDate" @change="fillingDateChange"
  194. class="box-right">
  195. <view>{{ fillingDate }}</view>
  196. </picker>
  197. </view>
  198. </view>
  199. <view class="statement">
  200. <view class="title">
  201. 个人申明
  202. </view>
  203. <view class="main">
  204. 本人同意将个人资料送交红十字志愿者工作委员会,申请注册登记,成为光荣的红十字志愿工作者,并乐于接受志愿工作安排,提供服务。
  205. </view>
  206. </view>
  207. <view class="buttom" :class="{ action: loding }" @click="!loding?join():''">
  208. 提交申请
  209. </view>
  210. </view>
  211. </template>
  212. <script>
  213. import {
  214. joinSec
  215. } from '@/api/index.js';
  216. import {
  217. upload
  218. } from '@/api/ask.js';
  219. export default {
  220. data() {
  221. const currentDate = this.getDate({
  222. format: true
  223. })
  224. return {
  225. otherjob:'',
  226. otherspe:'',
  227. loding: false, //是否提交中
  228. array: ['男', '女'],
  229. chooseEdu: ['博士后', '博士', '硕士', '本科', '专科', '其他'],
  230. chooseVol: ['有', '无'],
  231. is_vol: '',
  232. is_experience: '',
  233. chooseExp: ['是', '否'],
  234. items: [{
  235. value: '我自愿捐献全部遗体(含器官组织)'
  236. }, {
  237. value: '或只捐献眼角膜'
  238. }],
  239. timeList: [{
  240. id: 0,
  241. num: "周一",
  242. list: {
  243. morning: '周一上午',
  244. after: '周一下午',
  245. night: '周一晚上'
  246. }
  247. },
  248. {
  249. id: 1,
  250. num: "周二",
  251. list: {
  252. morning: '周二上午',
  253. after: '周二下午',
  254. night: '周二晚上'
  255. }
  256. },
  257. {
  258. id: 2,
  259. num: "周三",
  260. list: {
  261. morning: '周三上午',
  262. after: '周三下午',
  263. night: '周三晚上'
  264. }
  265. },
  266. {
  267. id: 3,
  268. num: "周四",
  269. list: {
  270. morning: '周四上午',
  271. after: '周四下午',
  272. night: '周四晚上'
  273. }
  274. },
  275. {
  276. id: 4,
  277. num: "周五",
  278. list: {
  279. morning: '周五上午',
  280. after: '周五下午',
  281. night: '周五晚上'
  282. }
  283. },
  284. {
  285. id: 5,
  286. num: "周六",
  287. list: {
  288. morning: '周六上午',
  289. after: '周六下午',
  290. night: '周六晚上'
  291. }
  292. },
  293. {
  294. id: 6,
  295. num: "周日",
  296. list: {
  297. morning: '周日上午',
  298. after: '周日下午',
  299. night: '周日晚上'
  300. }
  301. },
  302. ],
  303. jobList: [
  304. { id: 0, class_name: "赈灾工作" },
  305. { id: 1, class_name: "救护培训" },
  306. { id: 2, class_name: "活动策划" },
  307. { id: 3, class_name: "护送服务" },
  308. { id: 4, class_name: "医疗护理服务" },
  309. { id: 5, class_name: "探访服务" },
  310. { id: 6, class_name: "外语翻译" },
  311. { id: 7, class_name: "调查服务" },
  312. { id: 8, class_name: "宣传推广" },
  313. { id: 9, class_name: "文书档案工作" },
  314. { id: 10, class_name: "其他(请注明)" },
  315. ],
  316. specialityList: [
  317. { id: 0, class_name: "医疗护理" },
  318. { id: 1, class_name: "紧急救护" },
  319. { id: 2, class_name: "家电维修" },
  320. { id: 3, class_name: "影音制作" },
  321. { id: 4, class_name: "文艺演出" },
  322. { id: 5, class_name: "理发" },
  323. { id: 6, class_name: "摄影摄像"},
  324. { id: 7, class_name: "电脑中文打字" },
  325. { id: 8, class_name: "汽车驾驶" },
  326. { id: 9, class_name: "外语翻译" },
  327. { id: 10, class_name: "法律咨询" },
  328. { id: 11, class_name: "文案策划"},
  329. { id: 12, class_name: "其他(请注明)" },
  330. ],
  331. current: "",
  332. index: 0,
  333. mz: '',
  334. cardimg: '', //证件照
  335. card: '',
  336. checklist: [],
  337. name: '',
  338. sex: '',
  339. birth: '',
  340. fillingDate: '',
  341. phone: '',
  342. address: '',
  343. work: '',
  344. specialty: '',
  345. education: '',
  346. }
  347. },
  348. computed: {
  349. startDate() {
  350. return this.getDate('start');
  351. },
  352. endDate() {
  353. return this.getDate('end');
  354. }
  355. },
  356. methods: {
  357. async join() {
  358. let obj = this;
  359. if (obj.name == '') {
  360. obj.$api.msg('请输入您的姓名');
  361. return;
  362. }
  363. if (obj.sex == '') {
  364. obj.$api.msg('请输入您的性别');
  365. return;
  366. }
  367. // if (obj.birth == '') {
  368. // obj.$api.msg('请填写您的生日');
  369. // return;
  370. // }
  371. const reg = /^(\+?0?86-?)?1[\d]\d{9}$/;
  372. if (!reg.test(obj.phone)) {
  373. obj.$api.msg('请填写正确的手机号码');
  374. return;
  375. }
  376. if (obj.address == '') {
  377. obj.$api.msg('请填写您的地址');
  378. return;
  379. }
  380. // /^(^[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])$)$/
  381. if (obj.work == '') {
  382. obj.$api.msg('请填写您的工作单位');
  383. return;
  384. }
  385. if (obj.cardimg == '') {
  386. obj.$api.msg('请上传您的证件');
  387. return
  388. }
  389. let reg1 =
  390. /^(^[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])$)$/
  391. if (!reg1.test(obj.card)) {
  392. obj.$api.msg('请填写正确的身份证信息');
  393. return;
  394. }
  395. if (obj.mz == '') {
  396. obj.$api.msg('请填写您所属的名族');
  397. return;
  398. }
  399. if (obj.specialty == '') {
  400. obj.$api.msg('请填写您的职位');
  401. return;
  402. }
  403. // if (obj.education == '') {
  404. // obj.$api.msg('请填写您的教育程度');
  405. // return;
  406. // }
  407. // if (obj.is_vol == '') {
  408. // obj.$api.msg('请填写您的是否受过志愿服务');
  409. // return;
  410. // }
  411. // if (obj.is_experience == '') {
  412. // obj.$api.msg('请填写您的有无服务经验');
  413. // return;
  414. // }
  415. obj.loding = true;
  416. joinSec({
  417. name: obj.name,
  418. sex: obj.sex,
  419. education: obj.education,
  420. birth: obj.birth,
  421. mz: obj.mz,
  422. phone: obj.phone,
  423. address: obj.address,
  424. work: obj.work,
  425. specialty: obj.specialty,
  426. img: obj.cardimg,
  427. card: obj.card,
  428. }).then(e => {
  429. obj.name = '';
  430. obj.sex = '';
  431. obj.education = '';
  432. obj.birth = '';
  433. obj.mz = '',
  434. obj.phone = '';
  435. obj.address = '';
  436. obj.work = '';
  437. obj.specialty = '';
  438. obj.cardimg = '',
  439. obj.card = ''
  440. uni.navigateTo({
  441. url: '../joinSuc/joinNow'
  442. });
  443. }).catch(function(e) {
  444. console.log('出错了')
  445. console.log(e);
  446. });
  447. },
  448. imgsub() {
  449. console.log('imgsub')
  450. upload({
  451. filename: ''
  452. }).then(data => {
  453. this.cardimg = data[0].url;
  454. })
  455. },
  456. // 选择性别
  457. bindPickerSex: function(e) {
  458. this.sex = this.array[e.target.value];
  459. this.index = e.target.value + 1;
  460. },
  461. // 选择教育程度
  462. bindPickerEdu: function(e) {
  463. this.education = this.chooseEdu[e.target.value];
  464. this.index = e.target.value + 1;
  465. },
  466. // 选择日期
  467. bindDateChange: function(e) {
  468. this.birth = e.target.value
  469. },
  470. //选择填写日期
  471. fillingDateChange: function(e) {
  472. this.fillingDate = e.target.value
  473. },
  474. // 是否参加志愿活动
  475. bindPickerVol: function(e) {
  476. this.is_vol = this.chooseVol[e.target.value];
  477. this.index = e.target.value + 1;
  478. },
  479. // 有无服务经验
  480. bindPickerExp: function(e) {
  481. this.is_experience = this.chooseExp[e.target.value];
  482. this.index = e.target.value + 1;
  483. },
  484. // 选择捐献
  485. radioChange: function(evt) {
  486. for (let i = 0; i < this.items.length; i++) {
  487. if (this.items[i].value === evt.target.value) {
  488. this.current = i;
  489. break;
  490. }
  491. }
  492. },
  493. getDate(type) {
  494. const date = new Date();
  495. let year = date.getFullYear();
  496. let month = date.getMonth() + 1;
  497. let day = date.getDate();
  498. if (type === 'start') {
  499. year = year - 60;
  500. } else if (type === 'end') {
  501. year = year + 2;
  502. }
  503. month = month > 9 ? month : '0' + month;;
  504. day = day > 9 ? day : '0' + day;
  505. return `${year}-${month}-${day}`;
  506. },
  507. // 选择可提供时间
  508. // this.quantum = item.detail.value.join(',');
  509. checktime1(e) {
  510. // var items = this.timeList,
  511. // let quantum = [];
  512. this.quantum = e.detail.value.join(',');
  513. console.log(this.quantum);
  514. },
  515. checktime2(e) {
  516. // var items = this.timeList,
  517. let values = e.detail.value;
  518. // let quantum = [];
  519. console.log(values);
  520. },
  521. checktime3(e) {
  522. // var items = this.timeList,
  523. let values = e.detail.value;
  524. // let quantum = [];
  525. console.log(values);
  526. },
  527. // 选择可提供时间
  528. timeOnChange: function(item1) {
  529. this.quantum = item1.detail.value.join(',');
  530. console.log('可选择时间',this.quantum)
  531. },
  532. //选择有兴趣参与的工作
  533. checkjob(item) {
  534. this.taste = item.detail.value.join(',');
  535. console.log('选择工作:',this.taste)
  536. this.otherjob = item.detail.value
  537. },
  538. // 选择专长checkspeciality
  539. checkspeciality(item) {
  540. this.speciali = item.detail.value.join(',');
  541. console.log('选择专长',this.speciali)
  542. this.otherspe = item.detail.value
  543. },
  544. }
  545. }
  546. </script>
  547. <style lang="scss">
  548. page {
  549. background-color: #FFFFFF
  550. }
  551. .content {
  552. // padding-top: 64rpx;
  553. // background-color: #f3afad;
  554. .top {
  555. width: 100%;
  556. height: 368rpx;
  557. image {
  558. width: 100%;
  559. height: 368rpx;
  560. }
  561. }
  562. .info-box {
  563. text-indent: 64rpx;
  564. margin: 12rpx 0 54rpx;
  565. padding: 0 32rpx 20rpx;
  566. // border: 3rpx solid #009100;
  567. width: 100%;
  568. display: flex;
  569. flex-direction: column;
  570. border-radius: 25rpx;
  571. color: #E63931;
  572. }
  573. .statement{
  574. // margin: 32rpx;
  575. background-color: #FFFFFF;
  576. // padding: 32rpx 23rpx;
  577. border-radius: 12rpx;
  578. .title{
  579. height: 84rpx;
  580. display: flex;
  581. justify-content: center;
  582. align-items: center;
  583. font-size: 32rpx;
  584. border-bottom: 2rpx dotted #f3f3f3;
  585. }
  586. .main{
  587. padding: 24rpx;
  588. text-indent: 48rpx;
  589. color:#666 ;
  590. font-weight: 400;
  591. }
  592. }
  593. .buttom {
  594. width: 660rpx;
  595. height: 100rpx;
  596. background: linear-gradient(0deg, #C90F1B, #F14D33);
  597. border-radius: 50rpx;
  598. margin: 50rpx auto;
  599. font-size: 36rpx;
  600. font-weight: 400;
  601. color: #FFFFFF;
  602. line-height: 100rpx;
  603. text-align: center;
  604. &.action {
  605. background: #999999;
  606. }
  607. }
  608. .box {
  609. // margin-top: 44rpx;
  610. // width: 690rpx;
  611. // margin: 32rpx auto 0;
  612. background-color: #FFFFFF;
  613. border-radius: 10rpx;
  614. padding: 28rpx 32rpx 84rpx 32rpx;
  615. position: relative;
  616. // .red-box {
  617. // width: 405rpx;
  618. // line-height: 66rpx;
  619. // text-align: center;
  620. // background: linear-gradient(0deg, #C90F1B, #F14D33);
  621. // border-radius: 10rpx;
  622. // font-size: 30rpx;
  623. // font-weight: 500;
  624. // color: #FFFFFF;
  625. // // position: relative;
  626. // position: absolute;
  627. // top: -36rpx;
  628. // left: 50%;
  629. // transform: translateX(-50%);
  630. // z-index: 1;
  631. // }
  632. .box-check {
  633. font-size: 28rpx;
  634. font-weight: 500;
  635. color: #666666;
  636. line-height: 100rpx;
  637. }
  638. .imp {
  639. color: red;
  640. margin-left: 5rpx;
  641. }
  642. .check-box {
  643. margin: 44rpx 0rpx;
  644. padding: 25rpx 25rpx;
  645. border: 3rpx solid #e9b2af;
  646. width: 100%;
  647. display: flex;
  648. flex-direction: column;
  649. border-radius: 25rpx;
  650. color: #E63931;
  651. .info {
  652. margin-bottom: 32rpx;
  653. text-align: center;
  654. }
  655. .chooseTim {
  656. text-align: center;
  657. font-size: 42rpx;
  658. }
  659. .choose-job{
  660. color: #666666;
  661. // height: 45rpx; 爱心捐赠
  662. .goods_check{
  663. display: flex;
  664. flex-direction: column;
  665. .uni-label-pointer{
  666. // width: 50%;
  667. // display: flex;
  668. }
  669. }
  670. .other{
  671. width: 100%;
  672. border-bottom: 2rpx solid #f3f3f3;
  673. }
  674. }
  675. .box-cent {
  676. font-size: 28rpx;
  677. font-weight: 500;
  678. color: #666666;
  679. display: flex;
  680. .cent-left {
  681. margin-right: 28rpx;
  682. .left-txt {
  683. line-height: 100rpx;
  684. }
  685. }
  686. .cent-right {
  687. flex: 1;
  688. display: flex;
  689. justify-content: space-around;
  690. .right-check {
  691. line-height: 100rpx;
  692. }
  693. }
  694. }
  695. }
  696. .box-1 {
  697. display: flex;
  698. flex-direction: column;
  699. align-items: center;
  700. width: 100%;
  701. margin-top: 32rpx;
  702. // height: 133rpx;
  703. .box-left {
  704. padding-left: 2rpx;
  705. width: 100%;
  706. text-align: left;
  707. color: #E63931;
  708. }
  709. input {
  710. height: 66rpx;
  711. line-height: 66rpx;
  712. margin-top: 32rpx;
  713. // height: 88rpx;
  714. }
  715. .list-input {
  716. padding-left: 24rpx;
  717. // margin: 12rpx 0 ;
  718. // line-height: 66rpx;
  719. display: flex;
  720. align-items: center;
  721. width: 100%;
  722. font-size: 36rpx;
  723. flex: 1;
  724. color: #FF9797;
  725. border: 1rpx solid #f3afad;
  726. border-radius: 22rpx;
  727. text-align: left;
  728. padding-right: 24rpx;
  729. .input-placeholder {
  730. height: 70rpx;
  731. color: #FF9797;
  732. }
  733. }
  734. .box-right {
  735. display: flex;
  736. align-items: center;
  737. padding-left: 24rpx;
  738. height: 66rpx;
  739. line-height: 66rpx;
  740. border: 1rpx solid #f3afad;
  741. border-radius: 22rpx;
  742. margin: 32rpx 36rpx 0 36rpx;
  743. width: 96%;
  744. font-size: 36rpx;
  745. color: #FF9797;
  746. text-align: left;
  747. // line-height: 1;
  748. }
  749. }
  750. .upload-box {
  751. width: 100%;
  752. height: 247rpx;
  753. background: #FFFFFF;
  754. // border: 1px solid #E63931;
  755. border-radius: 27rpx;
  756. display: flex;
  757. flex-direction: column;
  758. padding: 30rpx 40rpx 30rpx 0;
  759. margin: 0 auto 30rpx;
  760. .upload-left {
  761. font-weight: 400;
  762. color: #E63931;
  763. }
  764. .upload-right {
  765. flex: 1;
  766. display: flex;
  767. align-items: center;
  768. justify-content: center;
  769. .upload-img {
  770. width: 103rpx;
  771. height: 103rpx;
  772. margin-top: 24rpx;
  773. }
  774. }
  775. }
  776. }
  777. }
  778. </style>