inquiryForm2_1.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848
  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="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="#078C9D"
  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="#078C9D"
  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="#078C9D"
  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="#078C9D"
  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://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/images/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://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/images/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. doctorId:'',
  289. companyId:null,
  290. companyUserId:null,
  291. statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
  292. temps:[],
  293. usageShow:false,
  294. usages: [
  295. {
  296. name: '图文问诊',
  297. },
  298. {
  299. name: '语音问诊',
  300. },
  301. ],
  302. isVisits: [
  303. {
  304. name: '未就诊',
  305. disabled: false
  306. },
  307. {
  308. name: '就诊过',
  309. disabled: false
  310. }
  311. ],
  312. orderKey:null,
  313. patient:null,
  314. inquiryType:null,
  315. inquirySubType:null,
  316. orderType:null,
  317. fileList1: [],
  318. fileList2: [],
  319. fileList3: [],
  320. form:{
  321. title:"",
  322. isVisit:"就诊过",
  323. },
  324. rules: {
  325. height: [
  326. {
  327. required: true,
  328. message: '请输入身高',
  329. // 可以单个或者同时写两个触发验证方式
  330. trigger: ['change','blur'],
  331. }
  332. ],
  333. weight: [
  334. {
  335. required: true,
  336. message: '请输入体重',
  337. // 可以单个或者同时写两个触发验证方式
  338. trigger: ['change','blur'],
  339. }
  340. ],
  341. mobile: [
  342. {
  343. required: true,
  344. message: '请输入联系电话',
  345. // 可以单个或者同时写两个触发验证方式
  346. trigger: ['change','blur'],
  347. }
  348. ],
  349. isVisit: [
  350. {
  351. required: true,
  352. message: '请选择是否去医院就诊过',
  353. // 可以单个或者同时写两个触发验证方式
  354. trigger: ['change','blur'],
  355. }
  356. ],
  357. }
  358. }
  359. },
  360. onLoad(options) {
  361. if(!this.$isEmpty(options.isShare)){
  362. this.isShare=options.isShare
  363. }
  364. else{
  365. //uni.hideShareMenu()
  366. }
  367. if(!this.$isEmpty(options.companyId)){
  368. this.companyId=options.companyId == 'undefined' || options.companyId == 'null' ? null: options.companyId
  369. }
  370. if(!this.$isEmpty(options.companyUserId)){
  371. this.companyUserId=options.companyUserId == 'undefined' || options.companyUserId == 'null'? null: options.companyUserId
  372. }
  373. console.log(this.companyId)
  374. console.log(this.companyUserId)
  375. this.inquiryType=options.inquiryType;
  376. this.inquirySubType=options.inquirySubType;
  377. this.orderType=options.orderType;
  378. this.doctorId=options.doctorId || '';
  379. //this.getInquiryTemp();
  380. },
  381. onReady() {
  382. this.$refs.uForm.setRules(this.rules);
  383. },
  384. onShow() {
  385. if(this.$isLogin()){
  386. if(!this.$isEmpty(this.companyUserId)){
  387. let data = {companyUserId:this.companyUserId};
  388. bindCompanyUser(data).then(
  389. res => {
  390. if(res.code==200){
  391. }
  392. },
  393. rej => {}
  394. );
  395. }
  396. }
  397. var that=this;
  398. uni.$on('refreshOrderPatient', (res) => {
  399. that.patient=res
  400. })
  401. this.confirm();
  402. },
  403. onShareAppMessage(res) {
  404. //禁止二次转发--
  405. uni.showShareMenu({
  406. withShareTicket: true
  407. });
  408. wx.updateShareMenu({
  409. isPrivateMessage: true,
  410. withShareTicket: true,
  411. success(res) {
  412. console.log('updateShareMenu: ', res);
  413. },
  414. fail() {}
  415. });
  416. //禁止二次转发--end
  417. return {
  418. title: "泰安泰医堂中医医院--咨询",
  419. path: "/pages_order/inquiryForm2_1?inquiryType=2&orderType=2&inquirySubType="+this.inquirySubType+"&companyId="+this.companyId+"&companyUserId="+this.companyUserId+'&doctorId='+this.doctorId
  420. }
  421. },
  422. methods: {
  423. showImg(type){
  424. if(type==1){
  425. var imgs=[
  426. "https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/imagesNew/0640bd4b80ba4491842b9d20d7238616.png"
  427. ];
  428. uni.previewImage({
  429. current: 0,
  430. urls: imgs
  431. });
  432. }
  433. else if(type==2){
  434. var imgs=[
  435. "https://cqtyt-2025.oss-cn-beijing.aliyuncs.com/huyi/imagesNew/2c9f24e5c3fc458f8bcb30a4fb0619be.png"
  436. ];
  437. uni.previewImage({
  438. current: 0,
  439. urls: imgs
  440. });
  441. }
  442. },
  443. leftClick() {
  444. console.log('leftClick');
  445. uni.showModal({
  446. title: '提示',
  447. content: '确认关闭吗',
  448. success: function (res) {
  449. if (res.confirm) {
  450. uni.navigateBack()
  451. } else if (res.cancel) {
  452. }
  453. }
  454. });
  455. },
  456. confirm(){
  457. let data = {};
  458. confirm(data).then(
  459. res => {
  460. if(res.code==200){
  461. this.orderKey=res.orderKey
  462. console.log("this.orderKey==111",this.orderKey)
  463. }
  464. },
  465. rej => {}
  466. );
  467. },
  468. usageSelect(e){
  469. this.form.usage = e.name
  470. this.$refs.uForm.validateField('usage')
  471. },
  472. submitOrder(){
  473. if(this.patient==null){
  474. uni.showToast({
  475. icon:'none',
  476. title: '请选择就诊人',
  477. });
  478. return;
  479. }
  480. console.log(this.form.isVisit)
  481. if(this.form.isVisit!='就诊过'){
  482. uni.showToast({
  483. icon:'none',
  484. title: '仅支持复诊',
  485. });
  486. return;
  487. }
  488. console.log("this.orderKey==",this.orderKey)
  489. if(this.orderKey==null){
  490. this.confirm();
  491. }
  492. var reportImages=[];
  493. this.fileList3.forEach(function(element) {
  494. reportImages.push(element.url)
  495. });
  496. var tongueImages=[];
  497. this.fileList1.forEach(function(element) {
  498. tongueImages.push(element.url)
  499. });
  500. var faceImages=[];
  501. this.fileList2.forEach(function(element) {
  502. faceImages.push(element.url)
  503. });
  504. // var forms=[];
  505. // this.temps.forEach(function(element) {
  506. // var item={
  507. // title:element.title,
  508. // option:element.checks,
  509. // }
  510. // forms.push(item)
  511. // });
  512. console.log("2222",this.orderKey)
  513. var that=this;
  514. this.$refs.uForm.validate().then(res => {
  515. var data={
  516. companyId:that.companyId,
  517. companyUserId:that.companyUserId,
  518. orderKey:that.orderKey,
  519. patientId:that.patient.patientId,
  520. title:that.form.title,
  521. inquiryType:that.inquiryType,
  522. inquirySubType:that.inquirySubType,
  523. orderType: 2, // 1图文 2语音
  524. doctorId:that.doctorId,
  525. height:that.form.height,
  526. weight:that.form.weight,
  527. mobile:that.form.mobile,
  528. // study:that.form.study,
  529. medication:that.form.medication,
  530. usage:that.form.usage,
  531. reportImages:reportImages.toString(),
  532. tongueImages:tongueImages.toString(),
  533. faceImages:faceImages.toString(),
  534. isVisit:that.form.isVisit,
  535. source: getApp().globalData.source,
  536. // formJson:JSON.stringify(forms)
  537. }
  538. console.log("2222",this.orderKey)
  539. //#ifdef APP-PLUS
  540. data.source=2;
  541. //#endif
  542. //#ifdef H5
  543. data.source=3;
  544. //#endif
  545. uni.showLoading({
  546. title: '正在处理中...'
  547. });
  548. create(data).then(
  549. res => {
  550. uni.hideLoading()
  551. if(res.code==200){
  552. setTimeout(function(){
  553. uni.redirectTo({
  554. url: './inquiryPay?orderId='+res.order.orderId
  555. })
  556. },200);
  557. return;
  558. }
  559. else{
  560. uni.showToast({
  561. icon:'none',
  562. title: res.msg,
  563. });
  564. }
  565. },
  566. rej => {}
  567. );
  568. }).catch(errors => {
  569. })
  570. },
  571. // getInquiryTemp(){
  572. // let data = {};
  573. // getInquiryTemp(data).then(
  574. // res => {
  575. // if(res.code==200){
  576. // this.temps=res.data;
  577. // this.temps.forEach(function(element) {
  578. // element.options=JSON.parse(element.itemJson)
  579. // });
  580. // // this.temps1=temps.filter((item) => {
  581. // // return item.tempType==1;
  582. // // });
  583. // // this.temps2=temps.filter((item) => {
  584. // // return item.tempType==2;
  585. // // });
  586. // // this.temps3=temps.filter((item) => {
  587. // // return item.tempType==3;
  588. // // });
  589. // // this.temps4=temps.filter((item) => {
  590. // // return item.tempType==4;
  591. // // });
  592. // console.log(this.temps1)
  593. // }
  594. // },
  595. // rej => {}
  596. // );
  597. // },
  598. addPatient(){
  599. uni.navigateTo({
  600. url: '/pages_user/patient'
  601. })
  602. },
  603. deletePic(event) {
  604. this[`fileList${event.name}`].splice(event.index, 1)
  605. },
  606. async afterRead(event) {
  607. // 当设置 multiple 为 true 时, file 为数组格式,否则为对象格式
  608. let lists = [].concat(event.file)
  609. let fileListLen = this[`fileList${event.name}`].length
  610. lists.map((item) => {
  611. this[`fileList${event.name}`].push({
  612. ...item,
  613. status: 'uploading',
  614. message: '上传中'
  615. })
  616. })
  617. for (let i = 0; i < lists.length; i++) {
  618. const result = await this.uploadFilePromise(lists[i].url)
  619. let item = this[`fileList${event.name}`][fileListLen]
  620. this[`fileList${event.name}`].splice(fileListLen, 1, Object.assign(item, {
  621. status: 'success',
  622. message: '',
  623. url: result
  624. }))
  625. fileListLen++
  626. }
  627. },
  628. uploadFilePromise(url) {
  629. return new Promise((resolve, reject) => {
  630. let a = uni.uploadFile({
  631. url: uni.getStorageSync('requestPath')+'/app/common/uploadOSS', // 仅为示例,非真实的接口地址
  632. filePath: url,
  633. name: 'file',
  634. formData: {
  635. user: 'test'
  636. },
  637. success: (res) => {
  638. setTimeout(() => {
  639. console.log(JSON.parse(res.data).url)
  640. resolve(JSON.parse(res.data).url)
  641. }, 1000)
  642. }
  643. });
  644. })
  645. },
  646. }
  647. }
  648. </script>
  649. <style lang="scss">
  650. page{
  651. background: #f1f6fc;
  652. }
  653. </style>
  654. <style scoped lang="scss">
  655. .content{
  656. position: relative;
  657. .main{
  658. margin-top: 44px;
  659. .cont{
  660. padding-bottom: 160upx;
  661. .title-box{
  662. margin: 15rpx;
  663. display: flex;
  664. flex-direction: row;
  665. align-items: center;
  666. justify-content: flex-start;
  667. .title{
  668. font-size: 32upx;
  669. font-family: PingFang SC;
  670. font-weight: bold;
  671. color: #111111;
  672. }
  673. .line{
  674. margin-right: 15rpx;
  675. height: 30rpx;
  676. width: 6rpx;
  677. background-color: #078C9D;
  678. }
  679. }
  680. .form{
  681. border-radius: 15rpx;
  682. margin: 0rpx 15rpx;
  683. padding: 0rpx 30rpx;
  684. background-color: #fff;
  685. .option-box{
  686. padding: 15rpx;
  687. .option-item{
  688. .title{
  689. font-size: 32upx;
  690. font-family: PingFang SC;
  691. font-weight: bold;
  692. color: #111111;
  693. }
  694. .options{
  695. }
  696. }
  697. }
  698. }
  699. }
  700. .chose-patient{
  701. margin: 15rpx;
  702. padding: 30rpx;
  703. box-shadow: 0px 0px 5px 2px rgba(0,0,0,0.05);
  704. background-color: #fff;
  705. border-radius: 15rpx;
  706. .title-box{
  707. display: flex;
  708. align-items: center;
  709. justify-content: space-between;
  710. .title{
  711. font-size: 32upx;
  712. font-family: PingFang SC;
  713. font-weight: bold;
  714. color: #111111;
  715. }
  716. .right{
  717. height: 100%;
  718. display: flex;
  719. align-items: center;
  720. justify-content: center;
  721. .value{
  722. font-size: 28upx;
  723. font-family: PingFang SC;
  724. color: #999;
  725. margin-right: 10rpx;
  726. }
  727. image{
  728. width: 15upx;
  729. height: 30upx;
  730. }
  731. }
  732. }
  733. .patient{
  734. display: flex;
  735. align-items: center;
  736. justify-content: space-between;
  737. height: 110upx;
  738. .left{
  739. .name{
  740. font-size: 30upx;
  741. line-height: 1;
  742. font-family: PingFang SC;
  743. font-weight: bold;
  744. color: #111111;
  745. }
  746. .info{
  747. margin-top: 30rpx;
  748. display: flex;
  749. align-items: center;
  750. .text{
  751. font-size: 26upx;
  752. font-family: PingFang SC;
  753. line-height: 1;
  754. font-weight: 500;
  755. color: #999;
  756. margin-right: 19upx;
  757. }
  758. }
  759. }
  760. .right{
  761. display: flex;
  762. align-items: center;
  763. image{
  764. width: 15upx;
  765. height: 30upx;
  766. }
  767. }
  768. }
  769. }
  770. }
  771. .btn-box{
  772. height: 140upx;
  773. z-index: 9999;
  774. width: 100%;
  775. padding: 0rpx 30upx;
  776. position: fixed;
  777. bottom: 0;
  778. left: 0;
  779. box-sizing: border-box;
  780. background-color: #ffffff;
  781. display: flex;
  782. align-items: center;
  783. justify-content: center;
  784. .btn{
  785. width: 100%;
  786. height: 88upx;
  787. line-height: 88upx;
  788. text-align: center;
  789. font-size: 34upx;
  790. font-family: PingFang SC;
  791. font-weight: 400;
  792. color: #FFFFFF;
  793. background: #078C9D;
  794. border-radius: 10upx;
  795. }
  796. }
  797. }
  798. .form-item{
  799. display: flex;
  800. align-items: center;
  801. justify-content: flex-start;
  802. .icon{
  803. min-width: 30rpx;
  804. margin-right: 15rpx;
  805. width: 30rpx;
  806. height:30rpx;
  807. }
  808. }
  809. </style>