prescribe.vue 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028
  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 @click="handleAgreement()">
  154. <checkbox :checked="isAgreement" color="#2583EB" style="transform:scale(0.7)" />我确认已确诊此疾病并使用过该药,且无过敏史、无相关禁忌症和不良反应
  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/myStoreOrder.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. console.log('this.isAgreement==',this.isAgreement)
  405. if (!this.isAgreement) {
  406. uni.showToast({
  407. icon: 'none',
  408. title: '请先勾选确认'
  409. });
  410. return false;
  411. }
  412. var that=this;
  413. if(this.patientId==null){
  414. uni.showToast({
  415. icon:'none',
  416. title: "请选择患者"
  417. });
  418. return;
  419. }
  420. uni.showLoading({
  421. title:"正在处理中"
  422. })
  423. // var data={
  424. // patientId:this.patientId,
  425. // orderId:this.orderId,
  426. // isAllergic:this.isAllergic,
  427. // isLiver:this.isLiver,
  428. // isRenal:this.isRenal,
  429. // isLactation:this.isLactation,
  430. // chiefComplaint:this.chiefComplaint,
  431. // historyIllness:this.historyIllness,
  432. // recordPic:this.imgList.toString()
  433. // }
  434. if(this.activeDise.length==0) {
  435. uni.showToast({
  436. icon:'none',
  437. title: "请选择本次用药的确诊疾病"
  438. });
  439. return
  440. }
  441. const beforeAiDataList = [
  442. { answer: this.activeDise.join(','), subjectId: 1, title: '症状' },
  443. {
  444. answerMedicine: JSON.stringify([{ medicineId: '92', number: 1 }]),
  445. subjectId: 2,
  446. title: '居民用药信息选择'
  447. },
  448. {
  449. answer: "是",
  450. subjectId: 3,
  451. title: "是否使用过此类药物"
  452. },
  453. ...this.quesList.map(({ answer, subjectId, title }) => ({ answer, subjectId, title }))
  454. ];
  455. const relationMap = { '本人': 1, '父母': 2,'配偶': 3, '子女': 4 };
  456. const relationship = relationMap[this.patientInfo.relation] ?? 5;
  457. const data={
  458. souceFrom: 0,//0-微信小程序,1-APP,2-H5,3-支付宝小程序
  459. storeOrderId: this.orderId,
  460. imgList:this.imgList.toString(),
  461. isLactation: this.isLactation,
  462. isPregnantWoman: this.isPregnantWoman,
  463. patientId:this.patientId,
  464. userId: uni.getStorageSync('userId'),
  465. relationship, // 1-本人,2-父母,3-配偶,4-子女,5-其他
  466. beforeAiDataList
  467. }
  468. doPrescribe(data).then(
  469. res => {
  470. uni.hideLoading()
  471. if(res.code==200){
  472. uni.redirectTo({
  473. url: '/pages/index/webview?url='+encodeURIComponent(res.data)
  474. })
  475. // uni.showToast({
  476. // icon:'success',
  477. // title:res.msg,
  478. // });
  479. // var order =res.order;
  480. // uni.requestSubscribeMessage({
  481. // tmplIds: this.temps,
  482. // success(res) {
  483. // setTimeout(function(){
  484. // if(order.paid!=1){
  485. // uni.redirectTo({
  486. // url: './paymentOrder?orderId='+that.order.id
  487. // })
  488. // }
  489. // else{
  490. // uni.navigateBack({
  491. // delta: 1
  492. // });
  493. // }
  494. // },500);
  495. // },
  496. // fail(res) {
  497. // setTimeout(function(){
  498. // if(order.paid!=1){
  499. // uni.redirectTo({
  500. // url: './paymentOrder?orderId='+that.order.id
  501. // })
  502. // }
  503. // else{
  504. // uni.navigateBack({
  505. // delta: 1
  506. // });
  507. // }
  508. // },500);
  509. // }
  510. // })
  511. }else{
  512. uni.showToast({
  513. icon:'none',
  514. title: res.msg,
  515. });
  516. }
  517. },
  518. rej => {}
  519. );
  520. },
  521. getPatientList(){
  522. uni.showLoading({
  523. title:"正在加载中"
  524. })
  525. getPatientList().then(
  526. res => {
  527. uni.hideLoading()
  528. if(res.code==200){
  529. this.patient=res.data;
  530. }else{
  531. uni.showToast({
  532. icon:'none',
  533. title: "请求失败",
  534. });
  535. }
  536. },
  537. rej => {}
  538. );
  539. },
  540. // 选中问诊人
  541. chosePatient(item) {
  542. this.patientInfo = item
  543. this.patientId = item.patientId
  544. },
  545. // 添加问诊人
  546. addPeople() {
  547. uni.navigateTo({
  548. url:"/pages_user/patient"
  549. })
  550. },
  551. // 疾病选择
  552. choseDise(item) {
  553. this.activeDise.includes(item) ? this.activeDise.splice(this.activeDise.indexOf(item), 1) : this.activeDise.push(item); // 不在就加上
  554. }
  555. }
  556. }
  557. </script>
  558. <style lang="scss" scoped>
  559. .label {
  560. margin-right: 50upx;
  561. &:last-child {
  562. margin-right: 0;
  563. }
  564. }
  565. .popbox-item {
  566. padding: 24rpx;
  567. border-bottom: 1rpx solid #eee;
  568. }
  569. .agreement {
  570. padding: 40rpx 30rpx 0 30rpx;
  571. font-size: 28rpx;
  572. font-family: PingFang SC;
  573. font-weight: 500;
  574. color: #666666;
  575. }
  576. .popbox {
  577. background-color: #fff;
  578. &-title {
  579. width: 100%;
  580. display: flex;
  581. align-items: center;
  582. justify-content: center;
  583. padding: 24rpx;
  584. background-color: #fff;
  585. border-bottom: 1rpx solid #EDEEEF;
  586. box-sizing: border-box;
  587. }
  588. }
  589. .search-cont{
  590. padding: 16upx 30upx;
  591. background-color: #FFFFFF;
  592. .inner{
  593. box-sizing: border-box;
  594. width: 100%;
  595. height: 72upx;
  596. background: #F7F7F7;
  597. border-radius: 36upx;
  598. display: flex;
  599. align-items: center;
  600. padding: 0 30upx;
  601. .icon-search{
  602. width: 28upx;
  603. height: 28upx;
  604. margin-right: 20upx;
  605. }
  606. input{
  607. height: 60upx;
  608. line-height: 60upx;
  609. flex: 1;
  610. }
  611. }
  612. }
  613. .content{
  614. height: 100%;
  615. display: flex;
  616. flex-direction: column;
  617. justify-content: space-between;
  618. .fixed-top-box{
  619. width: 100%;
  620. background: linear-gradient(135deg, #2583EB 0%, #60CDC3 100%);
  621. position: fixed;
  622. top: 0;
  623. left: 0;
  624. z-index: 1000;
  625. .back-box{
  626. height: 88upx;
  627. padding-left: 22upx;
  628. display: flex;
  629. align-items: center;
  630. justify-content: space-between;
  631. padding: 0 20upx;
  632. image{
  633. width: 40upx;
  634. height: 40upx;
  635. }
  636. .title{
  637. font-size: 36upx;
  638. font-family: PingFang SC;
  639. font-weight: 500;
  640. color: #FFFFFF;
  641. }
  642. }
  643. }
  644. .inner{
  645. margin-top: 88rpx;
  646. .steps-box{
  647. height: 88upx;
  648. background: #FFFFFF;
  649. padding: 0 48upx;
  650. display: flex;
  651. align-items: center;
  652. justify-content: space-between;
  653. .item{
  654. font-size: 28upx;
  655. font-family: PingFang SC;
  656. font-weight: 500;
  657. color: #666666;
  658. &.active{
  659. font-weight: bold;
  660. color: #2583EB;
  661. }
  662. }
  663. .arrow{
  664. width: 12upx;
  665. height: 22upx;
  666. }
  667. }
  668. .tip-box{
  669. box-sizing: border-box;
  670. height: 130upx;
  671. background: #FFF4E6;
  672. padding: 26upx 0 30upx 50upx;
  673. display: flex;
  674. flex-direction: column;
  675. justify-content: space-between;
  676. .top{
  677. display: flex;
  678. align-items: center;
  679. image{
  680. width: 26upx;
  681. height: 31upx;
  682. margin-right: 10upx;
  683. }
  684. .text{
  685. font-size: 28upx;
  686. font-family: PingFang SC;
  687. font-weight: 500;
  688. color: #EF8A07;
  689. line-height: 1;
  690. }
  691. }
  692. .time-tip{
  693. padding-left: 40upx;
  694. font-size: 24upx;
  695. font-family: PingFang SC;
  696. font-weight: 500;
  697. color: #999999;
  698. line-height: 1;
  699. }
  700. }
  701. .info-box{
  702. padding: 20upx;
  703. .chose-people{
  704. box-sizing: border-box;
  705. background: #FFFFFF;
  706. border-radius: 16upx;
  707. padding: 40upx 30upx 30upx;
  708. .title-box{
  709. display: flex;
  710. align-items: center;
  711. justify-content: space-between;
  712. .title{
  713. font-size: 32upx;
  714. font-family: PingFang SC;
  715. font-weight: bold;
  716. color: #111111;
  717. }
  718. .add-box{
  719. display: flex;
  720. align-items: center;
  721. image{
  722. width: 26upx;
  723. height: 26upx;
  724. margin-right: 11upx;
  725. }
  726. text{
  727. font-size: 28upx;
  728. font-family: PingFang SC;
  729. font-weight: 500;
  730. color: #111111;
  731. }
  732. }
  733. }
  734. .peop-list{
  735. display: flex;
  736. flex-wrap: wrap;
  737. margin-top: 30upx;
  738. .item{
  739. box-sizing: border-box;
  740. padding: 18upx 30upx;
  741. width: 31.28%;
  742. height: 110upx;
  743. background: #F7F7F7;
  744. border-radius: 16upx;
  745. margin: 0 20upx 10upx 0;
  746. border: 2upx solid #F7F7F7;
  747. display: flex;
  748. flex-direction: column;
  749. justify-content: space-between;
  750. &:nth-child(3n){
  751. margin-right: 0;
  752. }
  753. &.active{
  754. background: rgba(230, 250, 247, 0);
  755. border: 2upx solid #2583EB;
  756. position: relative;
  757. }
  758. .active-img{
  759. width: 50upx;
  760. height: 50upx;
  761. position: absolute;
  762. right: -2upx;
  763. bottom: -2upx;
  764. }
  765. .name{
  766. font-size: 30upx;
  767. line-height: 1;
  768. font-family: PingFang SC;
  769. font-weight: bold;
  770. color: #111111;
  771. }
  772. .info{
  773. display: flex;
  774. align-items: center;
  775. .sex,
  776. .ege{
  777. font-size: 26upx;
  778. font-family: PingFang SC;
  779. line-height: 1;
  780. font-weight: 500;
  781. color: #666666;
  782. }
  783. .ege{
  784. margin-left: 19upx;
  785. }
  786. }
  787. }
  788. }
  789. }
  790. .disease-select{
  791. box-sizing: border-box;
  792. min-height: 286upx;
  793. background: #FFFFFF;
  794. border-radius: 16upx;
  795. padding: 40upx 30upx 22upx;
  796. margin-top: 20upx;
  797. margin-bottom: 20upx;
  798. .title{
  799. display: flex;
  800. align-items: center;
  801. align-items: flex-end;
  802. .black{
  803. font-size: 32upx;
  804. font-family: PingFang SC;
  805. font-weight: bold;
  806. color: #111111;
  807. line-height: 1;
  808. margin-left: 10upx;
  809. }
  810. .gray{
  811. font-size: 28upx;
  812. font-family: PingFang SC;
  813. color: #999999;
  814. line-height: 1;
  815. margin-left: 10upx;
  816. }
  817. }
  818. .dise-list{
  819. display: flex;
  820. flex-wrap: wrap;
  821. margin-top: 26upx;
  822. .item{
  823. box-sizing: border-box;
  824. height: 64upx;
  825. line-height: 64upx;
  826. font-size: 28upx;
  827. font-family: PingFang SC;
  828. font-weight: 500;
  829. color: #2583EB;
  830. background: #eef5fd;
  831. border: 1px solid #2583EB;
  832. padding: 0 20upx;
  833. border-radius: 32upx;
  834. margin: 0 20upx 20upx 0;
  835. &.active{
  836. background: #2583EB;
  837. border: 1px solid #2583EB;
  838. color: #FFFFFF;
  839. }
  840. }
  841. }
  842. }
  843. .text-content{
  844. box-sizing: border-box;
  845. min-height: 286upx;
  846. background: #FFFFFF;
  847. border-radius: 16upx;
  848. padding: 40upx 30upx 22upx;
  849. margin-top: 20upx;
  850. .title{
  851. display: flex;
  852. align-items: center;
  853. align-items: flex-end;
  854. .black{
  855. font-size: 32upx;
  856. font-family: PingFang SC;
  857. font-weight: bold;
  858. color: #111111;
  859. line-height: 1;
  860. margin-left: 10upx;
  861. }
  862. .gray{
  863. font-size: 28upx;
  864. font-family: PingFang SC;
  865. color: #999999;
  866. line-height: 1;
  867. margin-left: 10upx;
  868. }
  869. }
  870. .textArea{
  871. margin: 30rpx 0rpx 0rpx 0rpx;
  872. width: 100%;
  873. }
  874. }
  875. .img-content{
  876. box-sizing: border-box;
  877. min-height: 286upx;
  878. background: #FFFFFF;
  879. border-radius: 16upx;
  880. padding: 40upx 30upx 22upx;
  881. margin-top: 20upx;
  882. margin-bottom: 20upx;
  883. .title{
  884. display: flex;
  885. align-items: center;
  886. align-items: flex-end;
  887. .black{
  888. font-size: 32upx;
  889. font-family: PingFang SC;
  890. font-weight: bold;
  891. color: #111111;
  892. line-height: 1;
  893. margin-left: 10upx;
  894. }
  895. .gray{
  896. font-size: 28upx;
  897. font-family: PingFang SC;
  898. color: #999999;
  899. line-height: 1;
  900. margin-left: 10upx;
  901. }
  902. }
  903. .textArea{
  904. margin: 30rpx 0rpx 0rpx 0rpx;
  905. width: 100%;
  906. }
  907. .upload-img{
  908. margin: 30rpx 0rpx 0rpx 0rpx;
  909. width: 100%;
  910. display: flex;
  911. align-items: flex-start;
  912. .img{
  913. margin-right: 10rpx;
  914. width: 100rpx;
  915. height: 100rpx;
  916. position: relative;
  917. image{
  918. width: 100%;
  919. height: 100%;
  920. }
  921. .del{
  922. right:0rpx;
  923. top:0rpx;
  924. position: absolute;
  925. image{
  926. width: 30rpx;
  927. height:30rpx;
  928. }
  929. }
  930. }
  931. .chose-img{
  932. border-radius: 5rpx;
  933. border: 1px solid #eee;
  934. padding: 5rpx;
  935. display: flex;
  936. align-items: center;
  937. justify-content: center;
  938. width: 100rpx;
  939. height: 100rpx;
  940. image{
  941. width: 50rpx;
  942. height: 50rpx;
  943. }
  944. }
  945. }
  946. }
  947. .check-box{
  948. height: 88upx;
  949. background: #FFFFFF;
  950. border-radius: 16upx;
  951. padding: 0 30upx;
  952. display: flex;
  953. align-items: center;
  954. justify-content: space-between;
  955. .left{
  956. display: flex;
  957. align-items: center;
  958. image{
  959. width: 21upx;
  960. height: 27upx;
  961. margin-right: 20upx;
  962. }
  963. .text{
  964. font-size: 32upx;
  965. font-family: PingFang SC;
  966. font-weight: 500;
  967. color: #666666;
  968. }
  969. }
  970. .my-radio-text{
  971. font-size: 30upx;
  972. font-family: PingFang SC;
  973. font-weight: 500;
  974. color: #111111;
  975. line-height: 30upx;
  976. }
  977. }
  978. }
  979. }
  980. .btn-box{
  981. height: 120upx;
  982. padding: 30upx;
  983. // background: #FFFFFF;
  984. display: flex;
  985. align-items: center;
  986. justify-content: center;
  987. .btn{
  988. width: 100%;
  989. height: 88upx;
  990. line-height: 88upx;
  991. font-size: 30upx;
  992. font-family: PingFang SC;
  993. font-weight: bold;
  994. color: #FFFFFF;
  995. text-align: center;
  996. background: #2583EB;
  997. border-radius: 44upx;
  998. }
  999. }
  1000. }
  1001. </style>