edit.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967
  1. <template>
  2. <view class="main">
  3. <uni-nav-bar dark :fixed="true" background-color="#18C7B0" status-bar left-icon="left" height="62.5rpx" width="750rpx"
  4. title="调配详情" @clickLeft="handleBack"
  5. />
  6. <view class="content">
  7. <view class="header">
  8. <view class="ti">
  9. <view class="left">
  10. <view class="baracode">
  11. <w-barcode :options="preseObj"></w-barcode>
  12. <view class="barnum">{{v.preNo}}</view>
  13. </view>
  14. </view>
  15. <view class="mid">
  16. <text class="title">中药处方笺</text>
  17. </view>
  18. <view class="rig"><text class="title">{{v.type=='1'?"中药处方":v.type=='1'?"中药制剂":""}}</text></view>
  19. </view>
  20. <view class="patiinfo">
  21. <view class="r1">
  22. <view class="row"><span class="we">姓名:</span>{{v.name}}</view>
  23. <view class="row"><span class="we">性别:</span>{{v.sex}}</view>
  24. <view class="row"><span class="we">年龄:</span>{{v.age}}岁</view>
  25. <view class="row"><span class="we">电话:</span>{{v.contactNumber}}</view>
  26. <view class="row"><span class="we">当前处方状态:</span>{{v.state=="1"?"配药":v.state=="2"?"煎药":v.state=="3"?"发药":v.state=="4"?"配送":""}}</view>
  27. </view>
  28. <view class="r2">
  29. <view class="row"><span class="we">就诊科室:</span>{{v.department}}</view>
  30. <view class="row"><span class="we">临床诊断:</span>{{v.disName}}—{{v.symName}}</view>
  31. <view class="row"><span class="we">开方时间:</span>{{v.prescriptionTime}}</view>
  32. </view>
  33. <view class="r3"><span class="we">联系地址:</span>{{v.address}}</view>
  34. </view>
  35. </view>
  36. <view class="rp">
  37. <view class="title">
  38. <text class="text">Rp:</text>
  39. </view>
  40. <view class="lists">
  41. <view class="item" v-for="(x, i) in v.rp" :key="i">
  42. <view class="le tag-view">
  43. <uni-tag :inverted="!selectRps.includes(x)" :text="x.matName+x.matDose+x.matUnitName" @click="handleGetRps(x)" />
  44. </view>
  45. <view class="rig">
  46. <view class="up"> {{x.matUsageName}}</view>
  47. <view class="do"> {{x.sign}}</view>
  48. </view>
  49. </view>
  50. </view>
  51. <view class="footer">
  52. <view class="js">
  53. 剂数:{{v.number}}
  54. <view v-if="v.daijianCost!==''" class="pies_tips">
  55. (代煎)
  56. </view>
  57. </view>
  58. <view class="js">{{v.dosageForm}}</view>
  59. <view class="js">{{v.prescriptionUsage}}</view>
  60. <view class="js">每次{{v.concentration}}</view>
  61. <view class="js">{{v.frequency}}</view>
  62. <view class="freque">{{v.medicationTime}}</view>
  63. </view>
  64. <view class="rp-tips">{{v.entrust}}</view>
  65. </view>
  66. <view class="amountarea">
  67. <view class="amount">
  68. <view class="r1">
  69. <view class="pijw">药品金额:{{v.prescriptionSum}}</view>
  70. </view>
  71. <view class="r2">
  72. <view class="jyf">煎药费:{{v.daijianCost}}</view>
  73. <view class="psf">配送费:{{v.distributionCost}}</view>
  74. </view>
  75. <view class="r3">
  76. 总金额:{{v.prescriptionTotalSum}}
  77. <!-- <view class="zjw"></view> -->
  78. </view>
  79. </view>
  80. <view class="service">
  81. <view class="kf"><span class="we">开方:</span>{{v.operateList[0].operater || ''}}</view>
  82. <view class="kf"><span class="we">审核:</span>{{v.operateList[1].operater || ''}}</view>
  83. <view class="kf"><span class="we">调配:</span>{{v.operateList[2].operater || ''}}</view>
  84. <view class="kf"><span class="we">复核:</span>{{v.operateList[3].operater || ''}}</view>
  85. <view class="kf"><span class="we">浸泡:</span>{{v.operateList[4].operater || ''}}</view>
  86. <view class="kf"><span class="we">煎煮:</span>{{v.operateList[5].operater || ''}}</view>
  87. <view class="kf"><span class="we">打包:</span>{{v.operateList[6].operater || ''}}</view>
  88. <view class="kf"><span class="we">发药:</span>{{v.operateList[7].operater || ''}}</view>
  89. </view>
  90. </view>
  91. <view class="comment">
  92. <view class="z">注:</view>
  93. <text>{{v.entrust1111}}</text>
  94. </view>
  95. </view>
  96. <view class="upload">
  97. <view class="title">上传照片</view>
  98. <uni-file-picker
  99. :image-styles = "imageStyles"
  100. fileMediatype="image"
  101. mode="grid"
  102. :limit="3"
  103. :del-icon="false"
  104. :auto-upload="false"
  105. @select="selectUpload"
  106. />
  107. </view>
  108. <view class="cooment">
  109. <view class="title">备注内容</view>
  110. <view class="tex">
  111. <textarea placeholder="请输入备注内容" v-model="editForm.comments" placeholder-style="font-size: 15rpx;" height="60rpx" @input="bindTextInput" class="input" ></textarea>
  112. </view>
  113. </view>
  114. <view class="radio">
  115. <label for="">
  116. <switch :checked="isPrint" style="transform:scale(0.7)" @change="handleChange" /> 上传时直接打印标签
  117. </label>
  118. </view>
  119. <view class="submit">
  120. <button type="primary" class="bu" @click="handleSubmit">上传</button>
  121. </view>
  122. <view class="popup">
  123. <uni-popup ref="alertDialog" type="dialog">
  124. <uni-popup-dialog type="center" cancelText="不打印" confirmText="打印" title="打印标签" @confirm="dialogConfirm" @close="dialogClose">
  125. <view class="cotent" id="printMe">
  126. <view class="title">{{v.yljgName || '默默事中医院取药标签打印(门诊)'}}</view>
  127. <view class="body">
  128. <view class="lef">
  129. <view class="baracode">
  130. <w-barcode class="cav" :options="preseObj"></w-barcode>
  131. <view class="barnum">{{v.preNo}}</view>
  132. </view>
  133. </view>
  134. <view class="rig">
  135. <view class="hz">患者:<view class="bold">{{v.name}},{{v.sex}},{{v.age}}岁</view></view>
  136. <view class="hz">出生日期:<view class="bold">{{v.birth}}</view></view>
  137. </view>
  138. </view>
  139. </view>
  140. </uni-popup-dialog>
  141. </uni-popup>
  142. </view>
  143. </view>
  144. </template>
  145. <script>
  146. export default {
  147. name: ''
  148. }
  149. </script>
  150. <script setup>
  151. import { onMounted, ref, getCurrentInstance } from 'vue'
  152. import { selectOrderDetail, upload, sendToUser } from "@/static/js/request.js"
  153. import { saveDepoly } from '@/static/js/api.js'
  154. import { onLoad } from '@dcloudio/uni-app'
  155. const urlConfig = ref('http://zhongyao.fscuc.cn')
  156. // const preseId = ref(11220822134401)
  157. const preseObj = ref({
  158. code: '',
  159. color:['#000'], // 条形码的颜色
  160. bgColor: '#FFFFFF', // 背景色
  161. width: 200, // 宽度
  162. height: 50 // 高度
  163. })
  164. const statusArr = ref([
  165. {name:'配药',id:'1'},
  166. {name:'煎药',id:'2'},
  167. {name:'发药',id:'3'},
  168. {name:'配送',id:'4'}
  169. ])
  170. const typeArr = ref([
  171. {name:'中药处方',id:'1'},
  172. {name:'中药制剂',id:'2'}
  173. ])
  174. const {proxy} = getCurrentInstance()
  175. const imageStyles =ref({
  176. width:112.5,
  177. height:112.5,
  178. border:{
  179. color:"#DDDDDD",
  180. width:1,
  181. style:'solid',
  182. radius:'4px'
  183. }
  184. })
  185. const depolyImage = ref([])
  186. const barOpations = ref({
  187. height: 80,
  188. displayValue: false
  189. })
  190. const selectRps = ref([])
  191. const isPrint = ref(true)
  192. const photos = ref([])
  193. const v=ref({
  194. preNo:'11220822134401',
  195. presType:'普通处方',
  196. name:'李某',
  197. sex:'男',
  198. age:35,
  199. contactNumber:'13888888888',
  200. status: '发药',
  201. department:'中医内科',
  202. disName:'胃脘痛病',
  203. symName:'脾胃虚寒证',
  204. prescriptionTime:'2023-06-01 15:58',
  205. address:'浙江省某某事某某去某某事中医院门诊楼三楼302是',
  206. rp:[
  207. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  208. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
  209. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  210. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  211. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
  212. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  213. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
  214. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
  215. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
  216. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:''},
  217. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  218. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
  219. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  220. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  221. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
  222. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  223. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
  224. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
  225. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
  226. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:''},
  227. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  228. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
  229. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  230. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  231. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
  232. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  233. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
  234. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
  235. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
  236. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:''},
  237. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  238. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
  239. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  240. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  241. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:'医生签名'},
  242. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'包煎',sign:'医生签名'},
  243. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
  244. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
  245. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'',sign:''},
  246. {matName:'车前子',matDose:'6',matUnitName:'g',tips:'先煎',sign:''}
  247. ],
  248. number:3,
  249. pies_tips:'待见',
  250. dosageForm:'汤剂',
  251. prescriptionUsage:'煎服',
  252. concentration:'200ml',
  253. frequency:'一日三次',
  254. medicationTime:'饭后服',
  255. entrust:'注意多休息,饮食清单。',
  256. prescriptionSum: '187.00',
  257. daijianCost:'30.00',
  258. distributionCost:'10.00',
  259. prescriptionTotleSum: '227.00',
  260. yljgName:'杭州某某高级中医院',
  261. operateList:[
  262. {py:'kf',title:'开方',operater:''},
  263. {py:'sh',title:'审核',operater:''},
  264. {py:'tp',title:'调配',operater:''},
  265. {py:'fh',title:'复核',operater:''},
  266. {py:'jp',title:'浸泡',operater:''},
  267. {py:'jz',title:'煎煮',operater:''},
  268. {py:'db',title:'打包',operater:''},
  269. {py:'fy',title:'发药',operater:''},
  270. ],
  271. // extra_doc:'A医生',
  272. // check_doc:'B医生',
  273. // depoly:'调陪人',
  274. // review:'复核人',
  275. // steep:'浸泡',
  276. // cook:'煎煮人',
  277. // pack:'大宝人',
  278. // dispen:'发药人',
  279. // },
  280. entrust1111:'1、本处方当日有效\n 2、取药时请您当面核对。。。。 \n 3、延长处方用量时间原油:慢性病 其他老年病 外地 其他'
  281. })
  282. const editForm =ref({
  283. urls:[],
  284. userId:uni.getStorageSync('userId'),
  285. comments:'',
  286. weight:v.value.weight,
  287. coreId: v.value.preNo
  288. })
  289. onMounted(() => {
  290. })
  291. const handleRemove = (file, uploadFiles) => {
  292. console.log(file, uploadFiles)
  293. }
  294. const handlePreview = (uploadFile) => {
  295. console.log(uploadFile)
  296. }
  297. const bindTextInput = (e)=>{
  298. console.log(e.detail.value)
  299. }
  300. onLoad(async(options) => {
  301. console.log('options', options)
  302. const userId = uni.getStorageSync('userId')
  303. const params = {
  304. token: uni.getStorageSync('token'),
  305. data: {
  306. id: options.id || '',
  307. preNo: options.preId || '',
  308. depolyStatus: options.depolyStatus || ''
  309. }
  310. }
  311. console.log("params",params)
  312. const {data:res} = await selectOrderDetail(params)
  313. if (res.code === 200) {
  314. v.prescriptionTime = res.data.prescriptionTime,
  315. v.value.name = res.data.name,
  316. v.value.sex = res.data.sex,
  317. v.value.age = res.data.age,
  318. v.value.contactNumber = res.data.contactNumber
  319. v.value.address = res.data.address
  320. v.value.concentration = res.data.concentration
  321. v.value.frequency = res.data.frequency
  322. v.value.medicationTime = res.data.medicationTime
  323. v.value.disName = res.data.disName,
  324. v.value.symName = res.data.symName,
  325. v.value.preNo = res.data.preNo,
  326. console.log('onLoad v.value.preNo', v.value.preNo)
  327. preseObj.value.code = v.value.preNo
  328. v.value.department = res.data.department,
  329. v.value.dosageForm = res.data.dosageForm,
  330. v.value.prescriptionUsage = res.data.prescriptionUsage,
  331. v.value.number = res.data.number,
  332. v.value.prescriptionSum = res.data.prescriptionSum,
  333. v.value.prescriptionTotalSum = res.data.prescriptionTotalSum,
  334. v.value.daijianCost = res.data.daijianCost,
  335. v.value.distributionCost = res.data.distributionCost,
  336. v.value.prescriptionTotleSum = res.data.prescriptionTotleSum,
  337. v.value.entrust = res.data.entrust,
  338. v.value.rp = res.data.detailList
  339. v.value.yljgName = res.data.yljgName || ''
  340. v.value.status = res.data.status,
  341. console.log('res.data.status',res.data.status)
  342. switch (res.data.status) {
  343. case '1':
  344. v.value.status = '配药'
  345. break
  346. case '2':
  347. v.value.status = '煎药'
  348. break
  349. case '3':
  350. v.value.status = '发药'
  351. break
  352. case '4':
  353. v.value.status = '配送'
  354. break
  355. case '5':
  356. v.value.status = '已分配'
  357. break
  358. case '6':
  359. v.value.status = '已传送'
  360. break
  361. default:
  362. v.value.status = '配药'
  363. }
  364. v.value.operateList[0].operater = res.data.doctor || ''
  365. v.value.operateList[1].operater = res.data.checkBy || ''
  366. v.value.operateList[2].operater = res.data.tiaopeiName || ''
  367. // 循环operateList
  368. const length = res.data.operateList
  369. if(length > 0){
  370. res.data.operateList.forEach((item)=>{
  371. switch(item.type){
  372. case '2':
  373. v.value.operateList[3].operater = item.createBy
  374. break
  375. case '3':
  376. v.value.operateList[4].operater = item.createBy
  377. break
  378. case '4':
  379. v.value.operateList[5].operater = item.createBy
  380. break
  381. case '5':
  382. v.value.operateList[6].operater = item.createBy
  383. break
  384. case '6':
  385. v.value.operateList[7].operater = item.createBy
  386. break
  387. defalut:console.log('处方签res.data.operateList数据异常',item.type)
  388. }
  389. })
  390. }
  391. }
  392. })
  393. const handleGetRps = (v)=>{
  394. console.log('handleGetRps', v)
  395. if(!selectRps.value.includes(v)) {
  396. selectRps.value.push(v)
  397. } else {
  398. selectRps.value.splice(selectRps.value.indexOf(v), 1)
  399. }
  400. }
  401. const handleChange = ()=>{
  402. isPrint.value = !isPrint.value
  403. console.log('handleChange', isPrint.value)
  404. }
  405. const handleBack =()=>{
  406. uni.navigateBack({
  407. delta: 1
  408. })
  409. }
  410. const handleSubmit = async()=>{
  411. console.log('handleSubmit>>>',editForm.value)
  412. console.log('直接调用接口,然后打印')
  413. const {data:res} = await saveDepoly({
  414. token: uni.getStorageSync('token'),
  415. data: JSON.stringify(editForm.value)
  416. })
  417. if(res.code===200){
  418. console.log('depoly success>>>')
  419. }
  420. if(isPrint.value){
  421. // 直接调用接口,然后打印
  422. print("#printMe")
  423. // 打印成功后调用/userPrescription/sendToUser
  424. const res = await sendToUser({
  425. token: uni.getStorageSync('token'),
  426. data: JSON.stringify({id:uni.getStorageSync('userId')})
  427. })
  428. uni.redirectTo({
  429. url:"/pages/index/index"
  430. })
  431. } else {
  432. // 弹窗提醒
  433. // console.log("handleSubmit proxy.$refs.alertDialog",proxy.$refs.alertDialog)
  434. proxy.$refs.alertDialog.open('center')
  435. }
  436. }
  437. const dialogConfirm = async()=>{
  438. console.log('dialogConfirm直接调用接口,然后打印')
  439. print("#printMe")
  440. // 打印成功后调用/userPrescription/sendToUser
  441. const res = await sendToUser({
  442. token: uni.getStorageSync('token'),
  443. data: JSON.stringify({id:uni.getStorageSync('userId')})
  444. })
  445. uni.redirectTo({
  446. url:"/pages/index/index"
  447. })
  448. }
  449. const dialogClose = ()=>{
  450. console.log('dialogClose直接调用接口,不打印')
  451. uni.redirectTo({
  452. url:"/pages/index/index"
  453. })
  454. }
  455. const selectUpload = (e)=>{
  456. uni.showLoading({
  457. title: "上传中"
  458. });
  459. const tempFilePaths = e.tempFilePaths;
  460. for (var i = 0; i < tempFilePaths.length; i++) {
  461. const tempFile = e.tempFiles[i];
  462. uni.uploadFile({
  463. url: urlConfig.value + '/common/upload',
  464. header: {
  465. 'Authorization': 'Bearer '+uni.getStorageSync('token')
  466. },
  467. formData: {
  468. secretFlag: 'N',
  469. fileLocation: 5
  470. },
  471. filePath: tempFilePaths[i],
  472. name: 'file',
  473. success: (uploadFileRes) => {
  474. uni.hideLoading();
  475. console.log('upload success>>',uploadFileRes)
  476. const back = JSON.parse(uploadFileRes.data);
  477. console.log('upload success back >>',back)
  478. if (back.code == 200) {
  479. editForm.value.urls.push(back.url)
  480. }
  481. },
  482. fail: () => {
  483. uni.hideLoading();
  484. uni.showToast("上传失败,请联系开发!")
  485. },
  486. complete: function() {
  487. uni.hideLoading();
  488. }
  489. });
  490. }
  491. }
  492. </script>
  493. <style lang="scss">
  494. .main {
  495. display: flex;
  496. flex-direction:column;
  497. justify-content:flex-start;
  498. width: 750rpx;
  499. :deep(.uni-nav-bar-text){
  500. font-size: 20px;
  501. }
  502. :deep(.uni-navbar-btn-text){
  503. font-size: 16px;
  504. }
  505. .content{
  506. margin: 5rpx;
  507. background-color: #fff;
  508. flex-direction:column;
  509. align-items: center;
  510. .header{
  511. display: flex;
  512. flex-direction:column;
  513. margin:16rpx 16rpx 0;
  514. .ti{
  515. display: flex;
  516. flex-direction:row;
  517. justify-content: space-between;
  518. margin-top: 15.22rpx;
  519. .left{
  520. align-items: flex-start;
  521. .baracode{
  522. display: flex;
  523. flex-direction:column;
  524. .barnum{
  525. font-size: 15rpx;
  526. display: flex;
  527. justify-content:center;
  528. align-items: center;
  529. letter-spacing: 0.3em;
  530. }
  531. }
  532. }
  533. .mid{
  534. display: flex;
  535. margin-right: 160rpx;
  536. .title{
  537. font-size: 23.75rpx;
  538. font-weight: 800;
  539. }
  540. }
  541. .rig{
  542. display: flex;
  543. .title{
  544. font-size: 16rpx;
  545. width: 40rpx;
  546. font-weight: 300;
  547. }
  548. }
  549. }
  550. .patiinfo{
  551. display: flex;
  552. flex-direction:column;
  553. margin-top: 25.2rpx;
  554. padding-bottom: 21.45rpx;
  555. border-bottom: 1px solid #979797;
  556. .r1{
  557. display: flex;
  558. flex-direction:row;
  559. margin-bottom:15rpx;
  560. .row{
  561. font-size: 15rpx;
  562. font-weight: 400;
  563. margin-right: 30rpx;
  564. }
  565. .we{
  566. color:#999999;
  567. }
  568. }
  569. .r2{
  570. display: flex;
  571. flex-direction:row;
  572. margin-bottom:15rpx;
  573. .row{
  574. font-size: 15rpx;
  575. font-weight: 400;
  576. margin-right: 30rpx;
  577. }
  578. .we{
  579. color:#999999;
  580. }
  581. }
  582. .r3{
  583. display: flex;
  584. flex-direction:row;
  585. font-size: 15rpx;
  586. .we{
  587. color:#999999;
  588. }
  589. }
  590. }
  591. }
  592. .rp{
  593. display: flex;
  594. flex-direction:column;
  595. margin:22.39rpx 17.36rpx 0;
  596. border-bottom: 1px solid #979797;
  597. .title{
  598. font-size: 22rpx;
  599. margin-bottom: 10rpx;
  600. }
  601. .lists{
  602. display: flex;
  603. flex-wrap: wrap;
  604. flex-direction: row;
  605. justify-content:flex-start;
  606. align-content:flex-start;
  607. margin-left:20rpx;
  608. height: 545rpx;
  609. .item{
  610. display: flex;
  611. justify-content:center;
  612. align-items: center;
  613. width: 161rpx;
  614. margin: 0 10rpx 20rpx 0;
  615. position: relative;
  616. .le{
  617. display: flex;
  618. font-size: 12rpx;
  619. width: 100rpx;
  620. word-wrap: break-word;
  621. z-index: 100;
  622. position: absolute;
  623. }
  624. .tag-view:deep(.uni-tag){
  625. display: flex;
  626. justify-content:center;
  627. align-items: center;
  628. font-size: 15rpx;
  629. width: 80rpx;
  630. padding: 6rpx 6rpx;
  631. }
  632. .rig{
  633. display: flex;
  634. flex-direction:column;
  635. margin-left: 5.31rpx;
  636. width: 200rpx;
  637. z-index: 200;
  638. position: absolute;
  639. left:120rpx;
  640. .up{
  641. margin-bottom:8rpx;
  642. font-size: 10rpx;
  643. height: 12.5rpx;
  644. }
  645. .do{
  646. font-size: 12rpx;
  647. height: 12.5rpx;
  648. }
  649. }
  650. }
  651. }
  652. .footer{
  653. margin: 0 10rpx 8rpx;
  654. display: flex;
  655. font-size: 15rpx;
  656. .js{
  657. display: flex;
  658. margin-right: 54.4rpx;
  659. .pies_tips{}
  660. }
  661. .freque{}
  662. }
  663. .rp-tips{
  664. display: flex;
  665. justify-content:flex-end;
  666. font-size: 15rpx;
  667. margin-right: 10rpx;
  668. }
  669. }
  670. .amountarea{
  671. display: flex;
  672. margin: 21.3rpx 19.38px 0;
  673. padding-bottom: 20.94rpx;
  674. border-bottom: 1px solid #979797;
  675. .amount{
  676. display: flex;
  677. flex-direction:column;
  678. .r1{
  679. border: 1px solid #979797;
  680. font-size: 15rpx;
  681. width: 287.5rpx;
  682. display: flex;
  683. justify-content:center;
  684. align-items: center;
  685. height: 33.75rpx;
  686. }
  687. .r2{
  688. display: flex;
  689. justify-content:center;
  690. align-items: center;
  691. font-size: 15rpx;
  692. height: 33.75rpx;
  693. width: 287.5rpx;
  694. border-left: 1px solid #979797;
  695. border-right: 1px solid #979797;
  696. .jyf{
  697. width: 143.93rpx;
  698. display: flex;
  699. justify-content:center;
  700. align-items: center;
  701. }
  702. .psf{
  703. border-left: 1px solid #979797;
  704. width: 143.93rpx;
  705. display: flex;
  706. justify-content:center;
  707. align-items: center;
  708. }
  709. }
  710. .r3{
  711. display: flex;
  712. justify-content:center;
  713. align-items: center;
  714. height: 33.75rpx;
  715. font-size: 15rpx;
  716. border: 1px solid #979797;
  717. }
  718. }
  719. .service{
  720. display: flex;
  721. flex-wrap: wrap;
  722. margin-left: 60rpx;
  723. .kf{
  724. font-size: 15rpx;
  725. margin-right: 60rpx;
  726. width:90rpx;
  727. .we{
  728. font-size: 15rpx;
  729. color:#999999;
  730. }
  731. }
  732. }
  733. }
  734. .comment{
  735. margin: 10rpx 16rpx 10rpx;
  736. font-size: 15rpx;
  737. display: flex;
  738. }
  739. }
  740. .upload{
  741. margin: 0 10rpx 10rpx;
  742. background-color: #fff;
  743. flex-direction:column;
  744. align-items: center;
  745. padding: 20rpx;
  746. .title{
  747. font-size: 15rpx;
  748. margin-bottom:20px;
  749. color: #333333;
  750. }
  751. // :deep(.file-picker__box){
  752. // width: 112.5rpx;
  753. // height: 112.5rpx;
  754. // .file-picker__box-content{
  755. // width: 112.5rpx;
  756. // height: 112.5rpx;
  757. // }
  758. // }
  759. }
  760. .cooment{
  761. margin: 0 10rpx;
  762. background-color: #fff;
  763. flex-direction:column;
  764. align-items: center;
  765. padding: 5rpx 10rpx;
  766. .title{
  767. font-size: 15rpx;
  768. margin-bottom:20rpx;
  769. }
  770. .tex{
  771. display: flex;
  772. justify-content:flex-start;
  773. align-items: center;
  774. margin-bottom:12.7rpx;
  775. border: 1px solid #979797;
  776. // height: 74.38rpx;
  777. border-radius: 5rpx;
  778. .input{
  779. // height: 74.38rpx;
  780. // font-size: 15rpx;
  781. padding: 10rpx;
  782. // border-radius: 5rpx;
  783. :deep(.uni-textarea-placeholder){
  784. font-size: 15rpx;
  785. }
  786. }
  787. }
  788. }
  789. .radio{
  790. display: flex;
  791. margin: 0 10rpx;
  792. background-color: #fff;
  793. // padding: 0 20px 100px;
  794. flex-direction:column;
  795. // align-items: center;
  796. font-size: 15rpx!important;
  797. :deep(.uni-switch-input.uni-switch-input-checked){
  798. border-color: #18C7B0;
  799. background-color: #18C7B0;
  800. }
  801. }
  802. .submit{
  803. display: flex;
  804. margin-top: 33.23rpx;
  805. background-color: #fff;
  806. align-items: center;
  807. width: 750rpx;
  808. height: 62.5rpx;
  809. .bu{
  810. display: flex;
  811. justify-content:center;
  812. align-items: center;
  813. height: 40rpx;
  814. width: 671.25rpx;
  815. font-size: 17.5rpx;
  816. border-radius: 3.75rpx;
  817. background-color: #18c7b0;
  818. color:#fff;
  819. }
  820. }
  821. :deep(.uni-popup-dialog){
  822. width: 500rpx;
  823. // height: 268.75rpx;
  824. display: flex;
  825. flex-direction: column;
  826. background-color: #ffffff;
  827. // justify-content:center;
  828. // align-items: center;
  829. .uni-dialog-title-text{
  830. display: flex;
  831. font-size: 20rpx;
  832. // padding-top: 20px;
  833. }
  834. .uni-dialog-content{
  835. display: flex;
  836. margin: 10rpx 20rpx;
  837. background-color: #fff;
  838. box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.15);
  839. .cotent{
  840. display: flex;
  841. flex-direction: column;
  842. width:400rpx;
  843. height: 112.5rpx;
  844. .title{
  845. font-size: 17.5rpx;
  846. font-weight: 500;
  847. margin-bottom: 10rpx;
  848. display: flex;
  849. align-items: center;
  850. justify-content:center;
  851. }
  852. .body{
  853. display: flex;
  854. // flex-direction: column;
  855. justify-content:center;
  856. .lef{
  857. display: flex;
  858. flex-direction: column;
  859. width: 200rpx;
  860. justify-content:center;
  861. .baracode{
  862. display: flex;
  863. flex-direction:column;
  864. width: 200rpx;
  865. height: 54.38rpx;
  866. .cav{
  867. width:200rpx;
  868. }
  869. .barnum{
  870. width:200rpx;
  871. font-size: 10rpx;
  872. display: flex;
  873. color: #333333;
  874. justify-content:center;
  875. align-items: center;
  876. letter-spacing: 0.7em;
  877. }
  878. }
  879. }
  880. .rig{
  881. display: flex;
  882. flex-direction: column;
  883. width: 340px;
  884. margin-left: 13.75rpx;
  885. .hz{
  886. display: flex;
  887. margin-bottom: 10rpx;
  888. font-size: 15rpx;
  889. }
  890. .bold{
  891. font-weight: 500;
  892. }
  893. }
  894. }
  895. }
  896. }
  897. .uni-dialog-button-group{
  898. display: flex;
  899. font-size: 17.5rpx;
  900. .uni-dialog-button{
  901. display: flex;
  902. .uni-dialog-button-text{
  903. }
  904. }
  905. .uni-border-left{
  906. .uni-dialog-button-text{
  907. color: #18c7b0;
  908. }
  909. }
  910. }
  911. }
  912. }
  913. </style>