review.vue 25 KB

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