prescribe.vue 26 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027
  1. <template>
  2. <view class="content">
  3. <view class="fixed-top-box">
  4. <view class="status_bar" :style="{height: statusBarHeight}"></view>
  5. <view class="back-box" @click="back">
  6. <image src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/back_white.png" mode=""></image>
  7. <text class="title">填写处方信息</text>
  8. <text></text>
  9. </view>
  10. </view>
  11. <view class="inner">
  12. <view :style="{height: statusBarHeight}"></view>
  13. <!-- 步骤 -->
  14. <view class="steps-box">
  15. <view class="item active">填写信息</view>
  16. <image class="arrow" src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/arrow4.png" mode=""></image>
  17. <view class="item">医生开方</view>
  18. <image class="arrow" src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/arrow4.png" mode=""></image>
  19. <view class="item">支付订单</view>
  20. <image class="arrow" src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/arrow4.png" mode=""></image>
  21. <view class="item">厂家发货</view>
  22. </view>
  23. <!-- 提示 -->
  24. <view class="tip-box">
  25. <view class="top">
  26. <image src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/safe2.png" mode=""></image>
  27. <text class="text">依据国家规定、处方药需凭处方购买</text>
  28. </view>
  29. <view class="time-tip">填写问诊人信息、处方信息</view>
  30. </view>
  31. <view class="info-box">
  32. <!-- 选择问诊人 -->
  33. <view class="chose-people">
  34. <view class="title-box">
  35. <text class="title">选择问诊人</text>
  36. <view class="add-box" @click="addPeople()">
  37. <image src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/add26.png" mode=""></image>
  38. <text >添加</text>
  39. </view>
  40. </view>
  41. <view class="peop-list" v-if="patient.length>0">
  42. <view v-for="(item,index) in patient" :key="index" :class="patientId == item.patientId?'item active':'item'" @click="chosePatient(item)">
  43. <view class="name">{{ item.patientName }}</view>
  44. <view class="info">
  45. <text class="sex" v-if="item.gender==1">男</text>
  46. <text class="sex" v-if="item.gender==2">女</text>
  47. <text class="ege">{{$getAge(item.birthday)}}岁</text>
  48. </view>
  49. <!-- 选中的对号角标 -->
  50. <image v-if="patientId == item.patientId" class="active-img" src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/sel_right50.png" mode=""></image>
  51. </view>
  52. </view>
  53. </view>
  54. <!-- <view class="text-content">
  55. <view class="title">
  56. <text class="black">主诉</text>
  57. <text class="gray">(选填)</text>
  58. </view>
  59. <textarea class="textArea" maxlength="200" @input="chiefComplaintInput" placeholder="请填写主诉内容"></textarea>
  60. </view>
  61. <view class="text-content">
  62. <view class="title">
  63. <text class="black">既往病史</text>
  64. <text class="gray">(选填)</text>
  65. </view>
  66. <textarea class="textArea" maxlength="200" @input="historyIllnessInput" placeholder="请填写既往病史内容"></textarea>
  67. </view> -->
  68. <view class="img-content">
  69. <view class="title">
  70. <text class="black">复诊凭证</text>
  71. <text class="gray">(选填) {{imgList.length}}/4</text>
  72. </view>
  73. <view class="upload-img">
  74. <view class="img" v-for="(item,index) in imgList" :key="index" >
  75. <image :src="item" mode="aspectFill" @click="previewImage(index)"></image>
  76. <view class="del" @click="delImg(index)" >
  77. <image src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/del2.png"></image>
  78. </view>
  79. </view>
  80. <view class="chose-img" @tap="chooseImage(1)" v-if="imgList.length<4">
  81. <image src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/adds.png"></image>
  82. </view>
  83. </view>
  84. </view>
  85. <!-- 疾病选择 -->
  86. <view class="disease-select">
  87. <view class="x-bc" @click="show=true">
  88. <view class="title">
  89. <text class="black">本次用药的确诊疾病</text>
  90. <text class="gray">(可多选)</text>
  91. </view>
  92. <u-icon name="arrow-right" color="#222" size="18" ></u-icon>
  93. </view>
  94. <view class="dise-list">
  95. <view
  96. v-for="(item,index) in activeDise"
  97. :key="index"
  98. class="item active x-bc"
  99. >
  100. {{ item }}
  101. <u-icon name="close" color="#fff" size="16" @click="choseDise(item,1)" style="margin-left: 10rpx;"></u-icon>
  102. </view>
  103. </view>
  104. </view>
  105. <!-- 是否使用过此药 -->
  106. <view class="check-box" v-for="(que,index) in quesList" :key="index">
  107. <view class="left">
  108. <image src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/yao.png" mode=""></image>
  109. <text class="text">{{que.title}}</text>
  110. </view>
  111. <radio-group style="display: flex;align-items: center;" @change="changeRadio($event,index,1)">
  112. <label class="label" v-for="(option,index) in que.options" :key="index">
  113. <radio :value="option" :checked="option==que.answer" style="margin-right: 16upx;" />
  114. <text class="my-radio-text">{{option}}</text>
  115. </label>
  116. </radio-group>
  117. </view>
  118. <view class="check-box">
  119. <view class="left">
  120. <image src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/yao.png" mode=""></image>
  121. <text class="text">是否是备孕/怀孕</text>
  122. </view>
  123. <radio-group style="display: flex;align-items: center;" @change="changeRadio($event,'isLactation',0)">
  124. <label style="margin-right: 50upx;">
  125. <radio value="1" :checked="isLactation==1" style="margin-right: 16upx;" />
  126. <text class="my-radio-text">是</text>
  127. </label>
  128. <label>
  129. <radio value="0" :checked="isLactation==0" style="margin-right: 16upx;" />
  130. <text class="my-radio-text">否</text>
  131. </label>
  132. </radio-group>
  133. </view>
  134. <view class="check-box">
  135. <view class="left">
  136. <image src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/app/newImages/shopping/yao.png" mode=""></image>
  137. <text class="text">是否是哺乳期</text>
  138. </view>
  139. <radio-group style="display: flex;align-items: center;" @change="changeRadio($event,'isPregnantWoman',0)">
  140. <label style="margin-right: 50upx;">
  141. <radio value="1" :checked="isPregnantWoman==1" style="margin-right: 16upx;" />
  142. <text class="my-radio-text">是</text>
  143. </label>
  144. <label>
  145. <radio value="0" :checked="isPregnantWoman==0" style="margin-right: 16upx;" />
  146. <text class="my-radio-text">否</text>
  147. </label>
  148. </radio-group>
  149. </view>
  150. </view>
  151. </view>
  152. <view class="agreement">
  153. <label>
  154. <checkbox :checked="isAgreement" color="#2583EB" style="transform:scale(0.7)" @click="handleAgreement()" />我确认已确诊此疾病并使用过该药,且无过敏史、无相关禁忌症和不良反应
  155. </label>
  156. </view>
  157. <view class="btn-box">
  158. <view class="btn" @click="submit()">去开处方</view>
  159. </view>
  160. <u-popup :show="show" :round="10" mode="bottom" closeable :closeOnClickOverlay="false" @close="close">
  161. <view class="popbox-title">
  162. <view>选择本次用药的确诊疾病</view>
  163. </view>
  164. <view class="search-cont">
  165. <view class="inner" style="margin-top:0">
  166. <image class="icon-search" src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/shop/image/icon_search.png" mode=""></image>
  167. <input type="text" v-model="diagnosisName" placeholder="输入疾病搜索" confirm-type="search" @confirm="doSearchUser" placeholder-style="font-size:28rpx;color:#BBBBBB;font-family: PingFang SC;" />
  168. </view>
  169. </view>
  170. <scroll-view :scroll-y="true" class="popbox" style="height: 60vh;" @scrolltolower="scrolltolower">
  171. <view v-for="(item, i) in diseaseList" :key="i" @click="choseDise(item.diagnosisName)">
  172. <view class="popbox-item x-bc">
  173. <view class="name">{{item.diagnosisName}}</view>
  174. <view v-show="activeDise.includes(item.diagnosisName)">
  175. <u-icon name="checkmark" color="#2979ff" size="22"></u-icon>
  176. </view>
  177. </view>
  178. </view>
  179. <view class="empty" v-if="diseaseList&&diseaseList.length==0">
  180. <image src="https://bjyjb-1362704775.cos.ap-chongqing.myqcloud.com/shop/image/global_search_empty.png" mode="widthFix"></image>
  181. <view>{{msg}}</view>
  182. </view>
  183. </scroll-view>
  184. </u-popup>
  185. </view>
  186. </template>
  187. <script>
  188. import {getStoreOrderById} from './api/storeOrder.js'
  189. import {getWeixinPrescribeTemps} from '@/api/common'
  190. import {doPrescribe,diseaseQueryList} from './api/prescribe'
  191. import {getPatientList,delPatient} from '@/api/patient'
  192. export default {
  193. data() {
  194. return {
  195. statusBarHeight: uni.getStorageSync('menuInfo').statusBarHeight,
  196. order:null,
  197. temps:[],
  198. imgList: [],
  199. orderId:null,
  200. patient:[],
  201. patientId:null,
  202. patientInfo: {},
  203. // 疾病列表
  204. diseaseList: [],
  205. // 选中的疾病
  206. activeDise: [],
  207. isLactation: 0,
  208. isPregnantWoman: 0,
  209. chiefComplaint:null,
  210. historyIllness:null,
  211. diagnosisName: '',
  212. pageNum: 1,
  213. pageSize: 10,
  214. quesList:[
  215. // {
  216. // answer: "是",
  217. // subjectId: 3,
  218. // title: "是否使用过此类药物",
  219. // options: ['是','否']
  220. // },
  221. {
  222. answer: "否",
  223. subjectId: 4,
  224. title: "是否有药物过敏史",
  225. options: ['是','否']
  226. },
  227. {
  228. answer: "否",
  229. subjectId: 5,
  230. title: "肝肾功能是否有异常",
  231. options: ['是','否']
  232. }
  233. ],
  234. show: false,
  235. msg: '暂无数据',
  236. isAgreement: false,
  237. hasMore: true
  238. }
  239. },
  240. onLoad(option) {
  241. this.orderId=option.orderId
  242. this.getPatientList();
  243. uni.$on('refreshPatient', () => {
  244. this.getPatientList()
  245. })
  246. this.getWeixinPrescribeTemps();
  247. this.getStoreOrderById();
  248. this.diseaseQueryList()
  249. },
  250. onShow() {
  251. this.getPatientList();
  252. },
  253. methods: {
  254. handleAgreement() {
  255. this.isAgreement = !this.isAgreement;
  256. },
  257. back(){
  258. // uni.showToast({
  259. // icon:'none',
  260. // title: "请填写资料提交处方,否则将无法发货"
  261. // });
  262. uni.showModal({
  263. title: '提示',
  264. content: '请填写资料提交处方,否则将无法发货,确定要返回吗?',
  265. cancelColor: '#2583EB',
  266. confirmColor: '#000000',
  267. success: function (res) {
  268. if (res.confirm) {
  269. uni.navigateBack()
  270. } else if (res.cancel) {
  271. console.log('用户点击取消');
  272. }
  273. }
  274. });
  275. },
  276. close() {
  277. this.show = false
  278. },
  279. diseaseQueryList(){
  280. var that = this;
  281. const param = {
  282. orderId: this.orderId,
  283. diagnosisName: this.diagnosisName,
  284. pageNum: this.pageNum,
  285. pageSize: this.pageSize,
  286. }
  287. diseaseQueryList(param).then(
  288. res => {
  289. if(res.code==200){
  290. if (that.pageNum == 1) {
  291. that.diseaseList = res.datas;
  292. } else {
  293. that.diseaseList = that.diseaseList.concat(res.datas);
  294. }
  295. if(that.diseaseList.length>=res.total) {
  296. that.hasMore = false
  297. } else {
  298. that.hasMore = true
  299. }
  300. }else{
  301. uni.showToast({
  302. icon:'none',
  303. title: "请求失败",
  304. });
  305. that.diseaseList = [];
  306. }
  307. },
  308. rej => {}
  309. );
  310. },
  311. scrolltolower() {
  312. if(!this.hasMore) return
  313. this.pageNum++;
  314. this.diseaseQueryList()
  315. },
  316. doSearchUser() {
  317. this.hasMore = true
  318. this.pageNum = 1;
  319. this.diseaseQueryList()
  320. },
  321. changeRadio(e,name,type) {
  322. if(type==1) {
  323. this.quesList[name].answer = e.detail.value
  324. } else {
  325. this[name] = e.detail.value
  326. }
  327. },
  328. getStoreOrderById(){
  329. var data={orderId:this.orderId}
  330. getStoreOrderById(data).then(
  331. res => {
  332. if(res.code==200){
  333. this.order=res.order
  334. }else{
  335. }
  336. },
  337. rej => {}
  338. );
  339. },
  340. getWeixinPrescribeTemps(){
  341. getWeixinPrescribeTemps().then(
  342. res => {
  343. if(res.code==200){
  344. this.temps=res.temp
  345. console.log(this.temps)
  346. }else{
  347. }
  348. },
  349. rej => {}
  350. );
  351. },
  352. chiefComplaintInput(e) {
  353. this.chiefComplaint = e.detail.value
  354. },
  355. historyIllnessInput(e) {
  356. this.historyIllness = e.detail.value
  357. },
  358. // 选择图片
  359. chooseImage(type) {
  360. var that=this;
  361. uni.chooseImage({
  362. count: 4, //默认9
  363. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  364. sourceType: ['album', 'camera'], //从相册选择
  365. success: (res) => {
  366. uni.uploadFile({
  367. url: uni.getStorageSync('requestPath')+'/app/common/uploadOSS', //仅为示例,非真实的接口地址
  368. filePath: res.tempFilePaths[0],
  369. name: 'file',
  370. success: (res) => {
  371. that.imgList.push(JSON.parse( res.data).url)
  372. }
  373. });
  374. }
  375. });
  376. },
  377. //图片预览
  378. previewImage(index){
  379. //预览图片
  380. uni.previewImage({
  381. urls: this.imgList,
  382. current: this.imgList[index]
  383. });
  384. },
  385. delImg(index) {
  386. uni.showModal({
  387. title: '提示',
  388. content: '确定要删除这张图片吗?',
  389. cancelText: '取消',
  390. confirmText: '确定',
  391. success: res => {
  392. if (res.confirm) {
  393. this.imgList.splice(index, 1);
  394. }
  395. }
  396. })
  397. },
  398. submit(){
  399. // let url = 'https://ehospital-m-test.sq580.com/#/preDemand?id=5459&thirdPlatform=0'
  400. // uni.navigateTo({
  401. // url: '/pages/index/webview?url='+encodeURIComponent(url)
  402. // })
  403. // return
  404. if (!this.isAgreement) {
  405. uni.showToast({
  406. icon: 'none',
  407. title: '请先勾选确认'
  408. });
  409. return false;
  410. }
  411. var that=this;
  412. if(this.patientId==null){
  413. uni.showToast({
  414. icon:'none',
  415. title: "请选择患者"
  416. });
  417. return;
  418. }
  419. uni.showLoading({
  420. title:"正在处理中"
  421. })
  422. // var data={
  423. // patientId:this.patientId,
  424. // orderId:this.orderId,
  425. // isAllergic:this.isAllergic,
  426. // isLiver:this.isLiver,
  427. // isRenal:this.isRenal,
  428. // isLactation:this.isLactation,
  429. // chiefComplaint:this.chiefComplaint,
  430. // historyIllness:this.historyIllness,
  431. // recordPic:this.imgList.toString()
  432. // }
  433. if(this.activeDise.length==0) {
  434. uni.showToast({
  435. icon:'none',
  436. title: "请选择本次用药的确诊疾病"
  437. });
  438. return
  439. }
  440. const beforeAiDataList = [
  441. { answer: this.activeDise.join(','), subjectId: 1, title: '症状' },
  442. {
  443. answerMedicine: JSON.stringify([{ medicineId: '92', number: 1 }]),
  444. subjectId: 2,
  445. title: '居民用药信息选择'
  446. },
  447. {
  448. answer: "是",
  449. subjectId: 3,
  450. title: "是否使用过此类药物"
  451. },
  452. ...this.quesList.map(({ answer, subjectId, title }) => ({ answer, subjectId, title }))
  453. ];
  454. const relationMap = { '本人': 1, '父母': 2,'配偶': 3, '子女': 4 };
  455. const relationship = relationMap[this.patientInfo.relation] ?? 5;
  456. const data={
  457. souceFrom: 0,//0-微信小程序,1-APP,2-H5,3-支付宝小程序
  458. storeOrderId: this.orderId,
  459. imgList:this.imgList.toString(),
  460. isLactation: this.isLactation,
  461. isPregnantWoman: this.isPregnantWoman,
  462. patientId:this.patientId,
  463. userId: uni.getStorageSync('userId'),
  464. relationship, // 1-本人,2-父母,3-配偶,4-子女,5-其他
  465. beforeAiDataList
  466. }
  467. doPrescribe(data).then(
  468. res => {
  469. uni.hideLoading()
  470. if(res.code==200){
  471. uni.redirectTo({
  472. url: '/pages/index/webview?url='+encodeURIComponent(res.data)
  473. })
  474. // uni.showToast({
  475. // icon:'success',
  476. // title:res.msg,
  477. // });
  478. // var order =res.order;
  479. // uni.requestSubscribeMessage({
  480. // tmplIds: this.temps,
  481. // success(res) {
  482. // setTimeout(function(){
  483. // if(order.paid!=1){
  484. // uni.redirectTo({
  485. // url: './paymentOrder?orderId='+that.order.id
  486. // })
  487. // }
  488. // else{
  489. // uni.navigateBack({
  490. // delta: 1
  491. // });
  492. // }
  493. // },500);
  494. // },
  495. // fail(res) {
  496. // setTimeout(function(){
  497. // if(order.paid!=1){
  498. // uni.redirectTo({
  499. // url: './paymentOrder?orderId='+that.order.id
  500. // })
  501. // }
  502. // else{
  503. // uni.navigateBack({
  504. // delta: 1
  505. // });
  506. // }
  507. // },500);
  508. // }
  509. // })
  510. }else{
  511. uni.showToast({
  512. icon:'none',
  513. title: res.msg,
  514. });
  515. }
  516. },
  517. rej => {}
  518. );
  519. },
  520. getPatientList(){
  521. uni.showLoading({
  522. title:"正在加载中"
  523. })
  524. getPatientList().then(
  525. res => {
  526. uni.hideLoading()
  527. if(res.code==200){
  528. this.patient=res.data;
  529. }else{
  530. uni.showToast({
  531. icon:'none',
  532. title: "请求失败",
  533. });
  534. }
  535. },
  536. rej => {}
  537. );
  538. },
  539. // 选中问诊人
  540. chosePatient(item) {
  541. this.patientInfo = item
  542. this.patientId = item.patientId
  543. },
  544. // 添加问诊人
  545. addPeople() {
  546. uni.navigateTo({
  547. url:"/pages_user/patient"
  548. })
  549. },
  550. // 疾病选择
  551. choseDise(item) {
  552. this.activeDise.includes(item) ? this.activeDise.splice(this.activeDise.indexOf(item), 1) : this.activeDise.push(item); // 不在就加上
  553. }
  554. }
  555. }
  556. </script>
  557. <style lang="scss" scoped>
  558. .label {
  559. margin-right: 50upx;
  560. &:last-child {
  561. margin-right: 0;
  562. }
  563. }
  564. .popbox-item {
  565. padding: 24rpx;
  566. border-bottom: 1rpx solid #eee;
  567. }
  568. .agreement {
  569. padding: 40rpx 30rpx 0 30rpx;
  570. font-size: 28rpx;
  571. font-family: PingFang SC;
  572. font-weight: 500;
  573. color: #666666;
  574. }
  575. .popbox {
  576. background-color: #fff;
  577. &-title {
  578. width: 100%;
  579. display: flex;
  580. align-items: center;
  581. justify-content: center;
  582. padding: 24rpx;
  583. background-color: #fff;
  584. border-bottom: 1rpx solid #EDEEEF;
  585. box-sizing: border-box;
  586. }
  587. }
  588. .search-cont{
  589. padding: 16upx 30upx;
  590. background-color: #FFFFFF;
  591. .inner{
  592. box-sizing: border-box;
  593. width: 100%;
  594. height: 72upx;
  595. background: #F7F7F7;
  596. border-radius: 36upx;
  597. display: flex;
  598. align-items: center;
  599. padding: 0 30upx;
  600. .icon-search{
  601. width: 28upx;
  602. height: 28upx;
  603. margin-right: 20upx;
  604. }
  605. input{
  606. height: 60upx;
  607. line-height: 60upx;
  608. flex: 1;
  609. }
  610. }
  611. }
  612. .content{
  613. height: 100%;
  614. display: flex;
  615. flex-direction: column;
  616. justify-content: space-between;
  617. .fixed-top-box{
  618. width: 100%;
  619. background: linear-gradient(135deg, #2583EB 0%, #60CDC3 100%);
  620. position: fixed;
  621. top: 0;
  622. left: 0;
  623. z-index: 1000;
  624. .back-box{
  625. height: 88upx;
  626. padding-left: 22upx;
  627. display: flex;
  628. align-items: center;
  629. justify-content: space-between;
  630. padding: 0 20upx;
  631. image{
  632. width: 40upx;
  633. height: 40upx;
  634. }
  635. .title{
  636. font-size: 36upx;
  637. font-family: PingFang SC;
  638. font-weight: 500;
  639. color: #FFFFFF;
  640. }
  641. }
  642. }
  643. .inner{
  644. margin-top: 88rpx;
  645. .steps-box{
  646. height: 88upx;
  647. background: #FFFFFF;
  648. padding: 0 48upx;
  649. display: flex;
  650. align-items: center;
  651. justify-content: space-between;
  652. .item{
  653. font-size: 28upx;
  654. font-family: PingFang SC;
  655. font-weight: 500;
  656. color: #666666;
  657. &.active{
  658. font-weight: bold;
  659. color: #2583EB;
  660. }
  661. }
  662. .arrow{
  663. width: 12upx;
  664. height: 22upx;
  665. }
  666. }
  667. .tip-box{
  668. box-sizing: border-box;
  669. height: 130upx;
  670. background: #FFF4E6;
  671. padding: 26upx 0 30upx 50upx;
  672. display: flex;
  673. flex-direction: column;
  674. justify-content: space-between;
  675. .top{
  676. display: flex;
  677. align-items: center;
  678. image{
  679. width: 26upx;
  680. height: 31upx;
  681. margin-right: 10upx;
  682. }
  683. .text{
  684. font-size: 28upx;
  685. font-family: PingFang SC;
  686. font-weight: 500;
  687. color: #EF8A07;
  688. line-height: 1;
  689. }
  690. }
  691. .time-tip{
  692. padding-left: 40upx;
  693. font-size: 24upx;
  694. font-family: PingFang SC;
  695. font-weight: 500;
  696. color: #999999;
  697. line-height: 1;
  698. }
  699. }
  700. .info-box{
  701. padding: 20upx;
  702. .chose-people{
  703. box-sizing: border-box;
  704. background: #FFFFFF;
  705. border-radius: 16upx;
  706. padding: 40upx 30upx 30upx;
  707. .title-box{
  708. display: flex;
  709. align-items: center;
  710. justify-content: space-between;
  711. .title{
  712. font-size: 32upx;
  713. font-family: PingFang SC;
  714. font-weight: bold;
  715. color: #111111;
  716. }
  717. .add-box{
  718. display: flex;
  719. align-items: center;
  720. image{
  721. width: 26upx;
  722. height: 26upx;
  723. margin-right: 11upx;
  724. }
  725. text{
  726. font-size: 28upx;
  727. font-family: PingFang SC;
  728. font-weight: 500;
  729. color: #111111;
  730. }
  731. }
  732. }
  733. .peop-list{
  734. display: flex;
  735. flex-wrap: wrap;
  736. margin-top: 30upx;
  737. .item{
  738. box-sizing: border-box;
  739. padding: 18upx 30upx;
  740. width: 31.28%;
  741. height: 110upx;
  742. background: #F7F7F7;
  743. border-radius: 16upx;
  744. margin: 0 20upx 10upx 0;
  745. border: 2upx solid #F7F7F7;
  746. display: flex;
  747. flex-direction: column;
  748. justify-content: space-between;
  749. &:nth-child(3n){
  750. margin-right: 0;
  751. }
  752. &.active{
  753. background: rgba(230, 250, 247, 0);
  754. border: 2upx solid #2583EB;
  755. position: relative;
  756. }
  757. .active-img{
  758. width: 50upx;
  759. height: 50upx;
  760. position: absolute;
  761. right: -2upx;
  762. bottom: -2upx;
  763. }
  764. .name{
  765. font-size: 30upx;
  766. line-height: 1;
  767. font-family: PingFang SC;
  768. font-weight: bold;
  769. color: #111111;
  770. }
  771. .info{
  772. display: flex;
  773. align-items: center;
  774. .sex,
  775. .ege{
  776. font-size: 26upx;
  777. font-family: PingFang SC;
  778. line-height: 1;
  779. font-weight: 500;
  780. color: #666666;
  781. }
  782. .ege{
  783. margin-left: 19upx;
  784. }
  785. }
  786. }
  787. }
  788. }
  789. .disease-select{
  790. box-sizing: border-box;
  791. min-height: 286upx;
  792. background: #FFFFFF;
  793. border-radius: 16upx;
  794. padding: 40upx 30upx 22upx;
  795. margin-top: 20upx;
  796. margin-bottom: 20upx;
  797. .title{
  798. display: flex;
  799. align-items: center;
  800. align-items: flex-end;
  801. .black{
  802. font-size: 32upx;
  803. font-family: PingFang SC;
  804. font-weight: bold;
  805. color: #111111;
  806. line-height: 1;
  807. margin-left: 10upx;
  808. }
  809. .gray{
  810. font-size: 28upx;
  811. font-family: PingFang SC;
  812. color: #999999;
  813. line-height: 1;
  814. margin-left: 10upx;
  815. }
  816. }
  817. .dise-list{
  818. display: flex;
  819. flex-wrap: wrap;
  820. margin-top: 26upx;
  821. .item{
  822. box-sizing: border-box;
  823. height: 64upx;
  824. line-height: 64upx;
  825. font-size: 28upx;
  826. font-family: PingFang SC;
  827. font-weight: 500;
  828. color: #2583EB;
  829. background: #eef5fd;
  830. border: 1px solid #2583EB;
  831. padding: 0 20upx;
  832. border-radius: 32upx;
  833. margin: 0 20upx 20upx 0;
  834. &.active{
  835. background: #2583EB;
  836. border: 1px solid #2583EB;
  837. color: #FFFFFF;
  838. }
  839. }
  840. }
  841. }
  842. .text-content{
  843. box-sizing: border-box;
  844. min-height: 286upx;
  845. background: #FFFFFF;
  846. border-radius: 16upx;
  847. padding: 40upx 30upx 22upx;
  848. margin-top: 20upx;
  849. .title{
  850. display: flex;
  851. align-items: center;
  852. align-items: flex-end;
  853. .black{
  854. font-size: 32upx;
  855. font-family: PingFang SC;
  856. font-weight: bold;
  857. color: #111111;
  858. line-height: 1;
  859. margin-left: 10upx;
  860. }
  861. .gray{
  862. font-size: 28upx;
  863. font-family: PingFang SC;
  864. color: #999999;
  865. line-height: 1;
  866. margin-left: 10upx;
  867. }
  868. }
  869. .textArea{
  870. margin: 30rpx 0rpx 0rpx 0rpx;
  871. width: 100%;
  872. }
  873. }
  874. .img-content{
  875. box-sizing: border-box;
  876. min-height: 286upx;
  877. background: #FFFFFF;
  878. border-radius: 16upx;
  879. padding: 40upx 30upx 22upx;
  880. margin-top: 20upx;
  881. margin-bottom: 20upx;
  882. .title{
  883. display: flex;
  884. align-items: center;
  885. align-items: flex-end;
  886. .black{
  887. font-size: 32upx;
  888. font-family: PingFang SC;
  889. font-weight: bold;
  890. color: #111111;
  891. line-height: 1;
  892. margin-left: 10upx;
  893. }
  894. .gray{
  895. font-size: 28upx;
  896. font-family: PingFang SC;
  897. color: #999999;
  898. line-height: 1;
  899. margin-left: 10upx;
  900. }
  901. }
  902. .textArea{
  903. margin: 30rpx 0rpx 0rpx 0rpx;
  904. width: 100%;
  905. }
  906. .upload-img{
  907. margin: 30rpx 0rpx 0rpx 0rpx;
  908. width: 100%;
  909. display: flex;
  910. align-items: flex-start;
  911. .img{
  912. margin-right: 10rpx;
  913. width: 100rpx;
  914. height: 100rpx;
  915. position: relative;
  916. image{
  917. width: 100%;
  918. height: 100%;
  919. }
  920. .del{
  921. right:0rpx;
  922. top:0rpx;
  923. position: absolute;
  924. image{
  925. width: 30rpx;
  926. height:30rpx;
  927. }
  928. }
  929. }
  930. .chose-img{
  931. border-radius: 5rpx;
  932. border: 1px solid #eee;
  933. padding: 5rpx;
  934. display: flex;
  935. align-items: center;
  936. justify-content: center;
  937. width: 100rpx;
  938. height: 100rpx;
  939. image{
  940. width: 50rpx;
  941. height: 50rpx;
  942. }
  943. }
  944. }
  945. }
  946. .check-box{
  947. height: 88upx;
  948. background: #FFFFFF;
  949. border-radius: 16upx;
  950. padding: 0 30upx;
  951. display: flex;
  952. align-items: center;
  953. justify-content: space-between;
  954. .left{
  955. display: flex;
  956. align-items: center;
  957. image{
  958. width: 21upx;
  959. height: 27upx;
  960. margin-right: 20upx;
  961. }
  962. .text{
  963. font-size: 32upx;
  964. font-family: PingFang SC;
  965. font-weight: 500;
  966. color: #666666;
  967. }
  968. }
  969. .my-radio-text{
  970. font-size: 30upx;
  971. font-family: PingFang SC;
  972. font-weight: 500;
  973. color: #111111;
  974. line-height: 30upx;
  975. }
  976. }
  977. }
  978. }
  979. .btn-box{
  980. height: 120upx;
  981. padding: 30upx;
  982. // background: #FFFFFF;
  983. display: flex;
  984. align-items: center;
  985. justify-content: center;
  986. .btn{
  987. width: 100%;
  988. height: 88upx;
  989. line-height: 88upx;
  990. font-size: 30upx;
  991. font-family: PingFang SC;
  992. font-weight: bold;
  993. color: #FFFFFF;
  994. text-align: center;
  995. background: #2583EB;
  996. border-radius: 44upx;
  997. }
  998. }
  999. }
  1000. </style>