tovolApply.vue 22 KB

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