inquiryForm2_1.vue 22 KB

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