review.vue 25 KB

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