category1.vue 20 KB

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