inquiryForm2_2.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807
  1. <template>
  2. <view class="content">
  3. <view>
  4. <u-navbar
  5. title="症状描述"
  6. @leftClick="leftClick"
  7. >
  8. </u-navbar>
  9. </view>
  10. <view class="main">
  11. <view class="status_bar" :style="{height: statusBarHeight}"></view>
  12. <u-alert fontSize="16" description = "尊敬的用户,您好! 为了您的健康,请认真填写以下内容,以便更好地为您提供咨询建议"></u-alert>
  13. <view class="chose-patient">
  14. <view class="title-box" @click="addPatient()" v-if="patient==null">
  15. <text class="title">选择就诊人</text>
  16. <view class="right" >
  17. <text class="value">请点击添加</text>
  18. <image src="https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/images/arrow_gray.png" mode=""></image>
  19. </view>
  20. </view>
  21. <view class="patient" @click="addPatient()" v-if="patient!=null">
  22. <view class="left">
  23. <view class="name">{{patient.patientName}}</view>
  24. <view class="info">
  25. <text class="text" v-if="patient.sex==1">男</text>
  26. <text class="text" v-if="patient.sex==2">女</text>
  27. <text class="text">{{$getAge(patient.birthday)}}岁</text>
  28. <text class="text">{{$parseIdCard(patient.idCard)}}</text>
  29. </view>
  30. </view>
  31. <view class="right" >
  32. <image src="https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/images/arrow_gray.png" mode=""></image>
  33. </view>
  34. </view>
  35. </view>
  36. <view class="cont">
  37. <u-form :rules="rules" :model="form" ref="uForm" labelPosition="left">
  38. <view class="title-box">
  39. <view class="line"></view>
  40. <view class="title">请描述您的病情</view>
  41. </view>
  42. <view class="form">
  43. <u-form-item :required="true" labelWidth="200rpx" borderBottom label="描述您的病情" prop="title">
  44. <u--textarea maxlength="500" v-model="form.title" placeholder="请输入内容" count ></u--textarea>
  45. </u-form-item>
  46. <u-form-item :required="true" labelWidth="200rpx" borderBottom label="正在服用药品" prop="drugs">
  47. <u--textarea maxlength="500" v-model="form.drugs" placeholder="请输入内容" count ></u--textarea>
  48. </u-form-item>
  49. <u-form-item :required="true" labelWidth="200rpx" borderBottom label="本次患病多久了" prop="duration">
  50. <u-radio-group
  51. v-model="form.duration"
  52. iconPlacement="left">
  53. <u-radio :customStyle="{marginRight: '5px'}"
  54. v-for="(item, index) in durations"
  55. :key="index"
  56. :label="item.name"
  57. :name="item.name" activeColor="#078C9D"
  58. ></u-radio>
  59. </u-radio-group>
  60. </u-form-item>
  61. <u-form-item :required="true" labelWidth="200rpx" borderBottom label="此次病情是否去医院就诊过" prop="isVisit">
  62. <u-radio-group
  63. v-model="form.isVisit"
  64. iconPlacement="left">
  65. <u-radio :customStyle="{marginRight: '5px'}"
  66. v-for="(item, index) in isVisits"
  67. :key="index"
  68. :label="item.name"
  69. :name="item.name" activeColor="#078C9D"
  70. ></u-radio>
  71. </u-radio-group>
  72. </u-form-item>
  73. <u-form-item :required="true" labelWidth="200rpx" borderBottom label="上传检测报告或患处照片" >
  74. <view class="form-item">
  75. <view class="icon"></view>
  76. <u-upload
  77. :fileList="fileList1"
  78. @afterRead="afterRead"
  79. @delete="deletePic"
  80. name="1"
  81. multiple
  82. :maxCount="4"
  83. >
  84. </u-upload>
  85. </view>
  86. </u-form-item>
  87. <u-form-item :required="true" labelWidth="200rpx" borderBottom label="上传舌苔照片" >
  88. <view class="form-item">
  89. <image @click="showImg(1)" class="icon" src="https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/images/question.png"></image>
  90. <u-upload
  91. :fileList="fileList2"
  92. @afterRead="afterRead"
  93. @delete="deletePic"
  94. name="2"
  95. multiple
  96. :maxCount="4"
  97. >
  98. </u-upload>
  99. </view>
  100. </u-form-item>
  101. <u-form-item :required="true" labelWidth="200rpx" label="上传面部照片" >
  102. <view class="form-item">
  103. <image @click="showImg(2)" class="icon" src="https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/images/question.png"></image>
  104. <u-upload
  105. :fileList="fileList3"
  106. @afterRead="afterRead"
  107. @delete="deletePic"
  108. name="3"
  109. multiple
  110. :maxCount="4"
  111. >
  112. </u-upload>
  113. </view>
  114. </u-form-item>
  115. </view>
  116. <view class="title-box">
  117. <view class="line"></view>
  118. <view class="title">您的头面部健康状况自我检查</view>
  119. </view>
  120. <view class="form">
  121. <view class="option-box">
  122. <view class="option-item" v-for="(item,index) in temps" >
  123. <view v-if="item.tempType==1" class="title">{{index+1}} {{item.title}}</view>
  124. <view class="options">
  125. <u-checkbox-group
  126. v-if="item.tempType==1"
  127. v-model="item.checks"
  128. placement="column"
  129. >
  130. <u-checkbox
  131. size="28"
  132. shape="circle"
  133. activeColor="#078C9D"
  134. v-for="(option, subIndex) in item.options"
  135. :key="option.name"
  136. :label="option.name"
  137. :name="option.name"
  138. >
  139. </u-checkbox>
  140. </u-checkbox-group>
  141. </view>
  142. </view>
  143. </view>
  144. </view>
  145. <view class="title-box">
  146. <view class="line"></view>
  147. <view class="title">您的四肢肩颈健康状况自我检查</view>
  148. </view>
  149. <view class="form">
  150. <view class="option-box">
  151. <view class="option-item" v-for="(item,index) in temps" >
  152. <view v-if="item.tempType==2" class="title">{{index+1}} {{item.title}}</view>
  153. <view class="options">
  154. <u-checkbox-group
  155. v-if="item.tempType==2"
  156. v-model="item.checks"
  157. placement="column"
  158. >
  159. <u-checkbox
  160. size="28"
  161. shape="circle"
  162. activeColor="#078C9D"
  163. v-for="(option, subIndex) in item.options"
  164. :key="option.name"
  165. :label="option.name"
  166. :name="option.name"
  167. >
  168. </u-checkbox>
  169. </u-checkbox-group>
  170. </view>
  171. </view>
  172. </view>
  173. </view>
  174. <view class="title-box">
  175. <view class="line"></view>
  176. <view class="title">您的胸腹部健康状况自我检查</view>
  177. </view>
  178. <view class="form">
  179. <view class="option-box">
  180. <view class="option-item" v-for="(item,index) in temps" >
  181. <view v-if="item.tempType==3" class="title">{{index+1}} {{item.title}}</view>
  182. <view class="options">
  183. <u-checkbox-group
  184. v-if="item.tempType==3"
  185. v-model="item.checks"
  186. placement="column"
  187. >
  188. <u-checkbox
  189. size="28"
  190. shape="circle"
  191. activeColor="#078C9D"
  192. v-for="(option, subIndex) in item.options"
  193. :key="option.name"
  194. :label="option.name"
  195. :name="option.name"
  196. >
  197. </u-checkbox>
  198. </u-checkbox-group>
  199. </view>
  200. </view>
  201. </view>
  202. </view>
  203. <view class="title-box">
  204. <view class="line"></view>
  205. <view class="title">其他身体状况自我检查</view>
  206. </view>
  207. <view class="form">
  208. <view class="option-box">
  209. <view class="option-item" v-for="(item,index) in temps" >
  210. <view v-if="item.tempType==4" class="title">{{index+1}} {{item.title}}</view>
  211. <view class="options">
  212. <u-checkbox-group
  213. v-if="item.tempType==4"
  214. v-model="item.checks"
  215. placement="column"
  216. >
  217. <u-checkbox
  218. size="28"
  219. shape="circle"
  220. activeColor="#078C9D"
  221. v-for="(option, subIndex) in item.options"
  222. :key="option.name"
  223. :label="option.name"
  224. :name="option.name"
  225. >
  226. </u-checkbox>
  227. </u-checkbox-group>
  228. </view>
  229. </view>
  230. </view>
  231. </view>
  232. </u-form>
  233. </view>
  234. </view>
  235. <view class="btn-box">
  236. <view class="btn" @click="submitOrder()">提交订单</view>
  237. </view>
  238. </view>
  239. </template>
  240. <script>
  241. import {bindCompanyUser} from '@/api/companyUser.js'
  242. import {create,confirm,getInquiryTemp} from '@/api/inquiryOrder.js'
  243. export default {
  244. data() {
  245. return {
  246. companyId:null,
  247. companyUserId:null,
  248. temps:[],
  249. statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
  250. orderKey:null,
  251. patient:null,
  252. durations: [
  253. {
  254. name: '一周内',
  255. disabled: false
  256. },
  257. {
  258. name: '一个月内',
  259. disabled: false
  260. },
  261. {
  262. name: '半年内',
  263. disabled: false
  264. }, {
  265. name: '半年以上',
  266. disabled: false
  267. }
  268. ],
  269. isVisits: [
  270. {
  271. name: '未就诊',
  272. disabled: false
  273. },
  274. {
  275. name: '就诊过',
  276. disabled: false
  277. }
  278. ],
  279. form:{
  280. title:"",
  281. drug:"",
  282. isVisit:"就诊过",
  283. duration:"一周内",
  284. },
  285. rules: {
  286. title: [
  287. {
  288. required: true,
  289. message: '请输入您的病情',
  290. // 可以单个或者同时写两个触发验证方式
  291. trigger: ['change','blur'],
  292. }
  293. ],
  294. drugs: [
  295. {
  296. required: true,
  297. message: '请输入正在服用药品',
  298. // 可以单个或者同时写两个触发验证方式
  299. trigger: ['change','blur'],
  300. }
  301. ],
  302. durations: [
  303. {
  304. required: true,
  305. message: '请选择本次患病多久',
  306. // 可以单个或者同时写两个触发验证方式
  307. trigger: ['change','blur'],
  308. }
  309. ],
  310. isVisit: [
  311. {
  312. required: true,
  313. message: '请选择是否去医院就诊过',
  314. // 可以单个或者同时写两个触发验证方式
  315. trigger: ['change','blur'],
  316. }
  317. ],
  318. },
  319. inquiryType:null,
  320. inquirySubType:null,
  321. orderType:null,
  322. doctorId:'',
  323. fileList1: [],
  324. fileList2: [],
  325. fileList3: [],
  326. isShare:null
  327. }
  328. },
  329. onLoad(options) {
  330. if(!this.$isEmpty(options.isShare)){
  331. this.isShare=options.isShare
  332. }
  333. else{
  334. uni.hideShareMenu()
  335. }
  336. console.log(options)
  337. if(!this.$isEmpty(options.companyId)){
  338. this.companyId=options.companyId
  339. }
  340. if(!this.$isEmpty(options.companyUserId)){
  341. this.companyUserId=options.companyUserId
  342. }
  343. console.log(this.companyId)
  344. console.log(this.companyUserId)
  345. this.inquiryType=options.inquiryType;
  346. this.inquirySubType=options.inquirySubType;
  347. this.orderType=options.orderType;
  348. this.doctorId=options.doctorId||'';
  349. console.log(this.inquiryType)
  350. console.log(this.orderType)
  351. console.log(this.doctorId)
  352. this.getInquiryTemp();
  353. },
  354. onShow() {
  355. if(this.$isLogin()){
  356. if(!this.$isEmpty(this.companyUserId)){
  357. let data = {companyUserId:this.companyUserId};
  358. bindCompanyUser(data).then(
  359. res => {
  360. if(res.code==200){
  361. }
  362. },
  363. rej => {}
  364. );
  365. }
  366. }
  367. var that=this;
  368. uni.$on('refreshOrderPatient', (res) => {
  369. that.patient=res
  370. })
  371. this.confirm();
  372. },
  373. onReady() {
  374. this.$refs.uForm.setRules(this.rules);
  375. },
  376. onShareAppMessage(res) {
  377. //禁止二次转发--
  378. uni.showShareMenu({
  379. withShareTicket: true
  380. });
  381. wx.updateShareMenu({
  382. isPrivateMessage: true,
  383. withShareTicket: false,
  384. success(res) {
  385. console.log('updateShareMenu: ', res);
  386. },
  387. fail() {}
  388. }); //禁止二次转发--end
  389. return {
  390. title: "泰安泰医堂中医医院--咨询",
  391. path: "/pages_order/inquiryForm2_2?inquiryType=2&orderType=2&inquirySubType="+this.inquirySubType+"&companyId="+this.companyId+"&companyUserId="+this.companyUserId+'&doctorId='+this.doctorId
  392. }
  393. },
  394. methods: {
  395. leftClick() {
  396. console.log('leftClick');
  397. uni.showModal({
  398. title: '提示',
  399. content: '确认关闭吗',
  400. success: function (res) {
  401. if (res.confirm) {
  402. uni.navigateBack()
  403. } else if (res.cancel) {
  404. }
  405. }
  406. });
  407. },
  408. showImg(type){
  409. if(type==1){
  410. var imgs=[
  411. "https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/imagesNew/0640bd4b80ba4491842b9d20d7238616.png"
  412. ];
  413. uni.previewImage({
  414. current: 0,
  415. urls: imgs
  416. });
  417. }
  418. else if(type==2){
  419. var imgs=[
  420. "https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/imagesNew/2c9f24e5c3fc458f8bcb30a4fb0619be.png"
  421. ];
  422. uni.previewImage({
  423. current: 0,
  424. urls: imgs
  425. });
  426. }
  427. },
  428. getInquiryTemp(){
  429. let data = {};
  430. getInquiryTemp(data).then(
  431. res => {
  432. if(res.code==200){
  433. this.temps=res.data;
  434. this.temps.forEach(function(element) {
  435. element.options=JSON.parse(element.itemJson)
  436. });
  437. // this.temps1=temps.filter((item) => {
  438. // return item.tempType==1;
  439. // });
  440. // this.temps2=temps.filter((item) => {
  441. // return item.tempType==2;
  442. // });
  443. // this.temps3=temps.filter((item) => {
  444. // return item.tempType==3;
  445. // });
  446. // this.temps4=temps.filter((item) => {
  447. // return item.tempType==4;
  448. // });
  449. console.log(this.temps1)
  450. }
  451. },
  452. rej => {}
  453. );
  454. },
  455. submitOrder(){
  456. if(this.patient==null){
  457. uni.showToast({
  458. icon:'none',
  459. title: '请选择就诊人',
  460. });
  461. return;
  462. }
  463. if(this.form.isVisit!='就诊过'){
  464. uni.showToast({
  465. icon:'none',
  466. title: '仅支持复诊',
  467. });
  468. return;
  469. }
  470. if(this.orderKey==null){
  471. this.confirm();
  472. }
  473. var reportImages=[];
  474. this.fileList1.forEach(function(element) {
  475. reportImages.push(element.url)
  476. });
  477. var tongueImages=[];
  478. this.fileList2.forEach(function(element) {
  479. tongueImages.push(element.url)
  480. });
  481. var faceImages=[];
  482. this.fileList3.forEach(function(element) {
  483. faceImages.push(element.url)
  484. });
  485. var forms=[];
  486. this.temps.forEach(function(element) {
  487. var item={
  488. title:element.title,
  489. option:element.checks,
  490. }
  491. forms.push(item)
  492. });
  493. var that=this;
  494. this.$refs.uForm.validate().then(res => {
  495. var data={
  496. companyId:that.companyId,
  497. companyUserId:that.companyUserId,
  498. orderKey:this.orderKey,
  499. patientId:this.patient.patientId,
  500. title:this.form.title,
  501. drugs:this.form.drugs,
  502. isVisit:this.form.isVisit,
  503. duration:this.form.duration,
  504. inquiryType:this.inquiryType,
  505. inquirySubType:this.inquirySubType,
  506. orderType:this.orderType,
  507. doctorId:this.doctorId,
  508. reportImages:reportImages.toString(),
  509. tongueImages:tongueImages.toString(),
  510. faceImages:faceImages.toString(),
  511. formJson:JSON.stringify(forms),
  512. source: getApp().globalData.source
  513. }
  514. uni.showLoading({
  515. title: '正在处理中...'
  516. });
  517. create(data).then(
  518. res => {
  519. uni.hideLoading()
  520. if(res.code==200){
  521. var temps=['YyaBF62vH1GPKY0tume8C2C5UETxcKrVsaTKdBW5eok']
  522. uni.requestSubscribeMessage({
  523. tmplIds: temps,
  524. success(e) {
  525. setTimeout(function(){
  526. uni.redirectTo({
  527. url: './inquiryPay?orderId='+res.order.orderId
  528. })
  529. },200);
  530. },
  531. fail(e) {
  532. setTimeout(function(){
  533. uni.redirectTo({
  534. url: './inquiryPay?orderId='+res.order.orderId
  535. })
  536. },200);
  537. }
  538. })
  539. return;
  540. }
  541. else{
  542. uni.showToast({
  543. icon:'none',
  544. title: res.msg,
  545. });
  546. }
  547. },
  548. rej => {}
  549. );
  550. }).catch(errors => {
  551. })
  552. },
  553. confirm(){
  554. let data = {};
  555. confirm(data).then(
  556. res => {
  557. if(res.code==200){
  558. this.orderKey=res.orderKey
  559. }
  560. },
  561. rej => {}
  562. );
  563. },
  564. addPatient(){
  565. uni.navigateTo({
  566. url: '/pages_user/patient'
  567. })
  568. },
  569. deletePic(event) {
  570. this[`fileList${event.name}`].splice(event.index, 1)
  571. },
  572. async afterRead(event) {
  573. // 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式
  574. let lists = [].concat(event.file)
  575. let fileListLen = this[`fileList${event.name}`].length
  576. lists.map((item) => {
  577. this[`fileList${event.name}`].push({
  578. ...item,
  579. status: 'uploading',
  580. message: '上传中'
  581. })
  582. })
  583. for (let i = 0; i < lists.length; i++) {
  584. const result = await this.uploadFilePromise(lists[i].url)
  585. let item = this[`fileList${event.name}`][fileListLen]
  586. this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
  587. status: 'success',
  588. message: '',
  589. url: result
  590. }))
  591. fileListLen++
  592. }
  593. },
  594. uploadFilePromise(url) {
  595. return new Promise((resolve, reject) => {
  596. let a = uni.uploadFile({
  597. url: uni.getStorageSync('requestPath')+'/app/common/uploadOSS', // 仅为示例,非真实的接口地址
  598. filePath: url,
  599. name: 'file',
  600. formData: {
  601. user: 'test'
  602. },
  603. success: (res) => {
  604. setTimeout(() => {
  605. console.log(JSON.parse(res.data).url)
  606. resolve(JSON.parse(res.data).url)
  607. }, 1000)
  608. }
  609. });
  610. })
  611. }
  612. }
  613. }
  614. </script>
  615. <style lang="scss">
  616. page{
  617. background: #f1f6fc;
  618. }
  619. </style>
  620. <style scoped lang="scss">
  621. .content{
  622. position: relative;
  623. .main{
  624. margin-top: 44px;
  625. .cont{
  626. padding: 0rpx 0rpx 160rpx;
  627. .title-box{
  628. margin: 15rpx;
  629. display: flex;
  630. flex-direction: row;
  631. align-items: center;
  632. justify-content: flex-start;
  633. .title{
  634. font-size: 32upx;
  635. font-family: PingFang SC;
  636. font-weight: bold;
  637. color: #111111;
  638. }
  639. .line{
  640. margin-right: 15rpx;
  641. height: 30rpx;
  642. width: 6rpx;
  643. background-color: #078C9D;
  644. }
  645. }
  646. .form{
  647. border-radius: 15rpx;
  648. margin: 0rpx 15rpx;
  649. padding: 0rpx 30rpx;
  650. background-color: #fff;
  651. .option-box{
  652. padding: 15rpx;
  653. .option-item{
  654. .title{
  655. font-size: 32upx;
  656. font-family: PingFang SC;
  657. font-weight: bold;
  658. color: #111111;
  659. }
  660. .options{
  661. }
  662. }
  663. }
  664. }
  665. }
  666. .chose-patient{
  667. margin: 15rpx;
  668. padding: 30rpx 40rpx;
  669. box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
  670. background-color: #fff;
  671. border-radius: 15rpx;
  672. .title-box{
  673. display: flex;
  674. align-items: center;
  675. justify-content: space-between;
  676. .title{
  677. font-size: 32upx;
  678. font-family: PingFang SC;
  679. font-weight: bold;
  680. color: #111111;
  681. }
  682. .right{
  683. height: 100%;
  684. display: flex;
  685. align-items: center;
  686. justify-content: center;
  687. .value{
  688. font-size: 28upx;
  689. font-family: PingFang SC;
  690. color: #999;
  691. margin-right: 10rpx;
  692. }
  693. image{
  694. width: 15upx;
  695. height: 30upx;
  696. }
  697. }
  698. }
  699. .patient{
  700. display: flex;
  701. align-items: center;
  702. justify-content: space-between;
  703. height: 110upx;
  704. .left{
  705. .name{
  706. font-size: 30upx;
  707. line-height: 1;
  708. font-family: PingFang SC;
  709. font-weight: bold;
  710. color: #111111;
  711. }
  712. .info{
  713. margin-top: 30rpx;
  714. display: flex;
  715. align-items: center;
  716. .text{
  717. font-size: 26upx;
  718. font-family: PingFang SC;
  719. line-height: 1;
  720. font-weight: 500;
  721. color: #999;
  722. margin-right: 19upx;
  723. }
  724. }
  725. }
  726. .right{
  727. display: flex;
  728. align-items: center;
  729. image{
  730. width: 15upx;
  731. height: 30upx;
  732. }
  733. }
  734. }
  735. }
  736. }
  737. .btn-box{
  738. height: 140upx;
  739. z-index: 9999;
  740. width: 100%;
  741. padding: 0rpx 30upx;
  742. position: fixed;
  743. bottom: 0;
  744. left: 0;
  745. box-sizing: border-box;
  746. background-color: #ffffff;
  747. display: flex;
  748. align-items: center;
  749. justify-content: center;
  750. .btn{
  751. width: 100%;
  752. height: 88upx;
  753. line-height: 88upx;
  754. text-align: center;
  755. font-size: 34upx;
  756. font-family: PingFang SC;
  757. font-weight: 400;
  758. color: #FFFFFF;
  759. background: #078C9D;
  760. border-radius: 10upx;
  761. }
  762. }
  763. }
  764. .form-item{
  765. display: flex;
  766. align-items: center;
  767. justify-content: flex-start;
  768. .icon{
  769. min-width: 30rpx;
  770. margin-right: 15rpx;
  771. width: 30rpx;
  772. height:30rpx;
  773. }
  774. }
  775. </style>