review.vue 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973
  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: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:v.value.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. console.log('handleSubmit>>>',editForm.value)
  390. const {data:res} = await saveReview({
  391. token: uni.getStorageSync('token'),
  392. data: JSON.stringify(editForm.value)
  393. })
  394. if(res.code===200){
  395. console.log('depoly success>>>')
  396. proxy.$refs.alertDialog.open()
  397. }
  398. },500)
  399. const selectUpload = debounce((e)=>{
  400. uni.showLoading({
  401. title: "上传中"
  402. });
  403. const tempFilePaths = e.tempFilePaths;
  404. for (var i = 0; i < tempFilePaths.length; i++) {
  405. const tempFile = e.tempFiles[i];
  406. uni.uploadFile({
  407. url: urlConfig.value + '/common/upload',
  408. header: {
  409. 'Authorization': 'Bearer '+uni.getStorageSync('token')
  410. },
  411. formData: {
  412. secretFlag: 'N',
  413. fileLocation: 5
  414. },
  415. filePath: tempFilePaths[i],
  416. name: 'file',
  417. success: (uploadFileRes) => {
  418. uni.hideLoading();
  419. console.log('upload success>>',uploadFileRes)
  420. const back = JSON.parse(uploadFileRes.data);
  421. console.log('upload success back >>',back)
  422. if (back.code == 200) {
  423. editForm.value.urls.push(back.url)
  424. }
  425. },
  426. fail: () => {
  427. uni.hideLoading();
  428. uni.showToast("上传失败,请联系开发!")
  429. },
  430. complete: function() {
  431. uni.hideLoading();
  432. }
  433. });
  434. }
  435. },500)
  436. const handleOnblur = (e)=>{
  437. console.log('eeeeee',e.detail.value)
  438. editForm.value.weight = e.detail.value
  439. console.log('eeeeee editForm.value.weight',editForm.value.weight)
  440. }
  441. const dialogConfirm = ()=>{
  442. uni.scanCode({
  443. scanType: ['barCode'],
  444. success: async(res) => {
  445. console.log('条码类型:' + res.scanType);
  446. console.log('条码内容:' + res.result);
  447. const data = JSON.stringify({
  448. userId:uni.getStorageSync('userId'),
  449. preNo: parseInt(res.result)
  450. })
  451. // neo
  452. // 调用接口查询这个preNo是否已经被复核,如果已经复核了就不跳
  453. const {data:res1} = await saveReview({
  454. token: uni.getStorageSync('token'),
  455. data: data
  456. })
  457. if(res1.code===500){
  458. console.log('depoly success>>>')
  459. // proxy.$refs.alertDialog.open()
  460. console.log('res1',res1)
  461. if(res1.msg=='处方已复核,无需重复操作!'){
  462. uni.$showMsg(res1.msg, 2000)
  463. uni.navigateTo({
  464. url:`/pages/index/index`
  465. })
  466. } else {
  467. uni.navigateTo({
  468. url:`/pages/review/review?preNo=${res.result}&depolyStatus=2`
  469. })
  470. }
  471. }
  472. }
  473. });
  474. }
  475. const dialogClose = ()=>{
  476. uni.redirectTo({
  477. url:"/pages/index/index"
  478. })
  479. }
  480. </script>
  481. <style lang="scss">
  482. .main {
  483. display: flex;
  484. flex-direction:column;
  485. justify-content:flex-start;
  486. width: 750rpx;
  487. :deep(.uni-nav-bar-text){
  488. font-size: 20px;
  489. }
  490. :deep(.uni-navbar-btn-text){
  491. font-size: 16px;
  492. }
  493. .content{
  494. margin: 5rpx;
  495. background-color: #fff;
  496. flex-direction:column;
  497. align-items: center;
  498. .header{
  499. display: flex;
  500. flex-direction:column;
  501. margin:16rpx 16rpx 0;
  502. .ti{
  503. display: flex;
  504. flex-direction:row;
  505. justify-content: space-between;
  506. margin-top: 15.22rpx;
  507. .left{
  508. align-items: flex-start;
  509. .baracode{
  510. display: flex;
  511. flex-direction:column;
  512. .barnum{
  513. font-size: 15rpx;
  514. display: flex;
  515. justify-content:center;
  516. align-items: center;
  517. letter-spacing: 0.3em;
  518. }
  519. }
  520. }
  521. .mid{
  522. display: flex;
  523. margin-right: 160rpx;
  524. .title{
  525. font-size: 23.75rpx;
  526. font-weight: 800;
  527. }
  528. }
  529. .rig{
  530. display: flex;
  531. .title{
  532. font-size: 16rpx;
  533. width: 40rpx;
  534. font-weight: 300;
  535. }
  536. }
  537. }
  538. .patiinfo{
  539. display: flex;
  540. flex-direction:column;
  541. margin-top: 25.2rpx;
  542. padding-bottom: 21.45rpx;
  543. border-bottom: 1px solid #979797;
  544. .r1{
  545. display: flex;
  546. flex-direction:row;
  547. margin-bottom:15rpx;
  548. .row{
  549. font-size: 15rpx;
  550. font-weight: 400;
  551. margin-right: 30rpx;
  552. }
  553. .we{
  554. color:#999999;
  555. }
  556. }
  557. .r2{
  558. display: flex;
  559. flex-direction:row;
  560. margin-bottom:15rpx;
  561. .row{
  562. font-size: 15rpx;
  563. font-weight: 400;
  564. margin-right: 30rpx;
  565. }
  566. .we{
  567. color:#999999;
  568. }
  569. }
  570. .r3{
  571. display: flex;
  572. flex-direction:row;
  573. font-size: 15rpx;
  574. .we{
  575. color:#999999;
  576. }
  577. }
  578. }
  579. }
  580. .rp{
  581. display: flex;
  582. flex-direction:column;
  583. margin:22.39rpx 17.36rpx 0;
  584. border-bottom: 1px solid #979797;
  585. .title{
  586. font-size: 22rpx;
  587. margin-bottom: 10rpx;
  588. }
  589. .lists{
  590. display: flex;
  591. flex-wrap: wrap;
  592. flex-direction: row;
  593. justify-content:flex-start;
  594. align-content:flex-start;
  595. margin-left:20rpx;
  596. height: 545rpx;
  597. .item{
  598. display: flex;
  599. justify-content:center;
  600. align-items: center;
  601. width: 161rpx;
  602. margin: 0 10rpx 20rpx 0;
  603. // position: relative;
  604. .le{
  605. display: flex;
  606. font-size: 12rpx;
  607. width: 100rpx;
  608. word-wrap: break-word;
  609. // z-index: 100;
  610. // position: absolute;
  611. }
  612. .tag-view:deep(.uni-tag){
  613. display: flex;
  614. justify-content:center;
  615. align-items: center;
  616. font-size: 15rpx;
  617. padding: 6rpx 6rpx;
  618. font-weight: 500;
  619. }
  620. .rig{
  621. display: flex;
  622. flex-direction:column;
  623. margin-left: 5.31rpx;
  624. .up{
  625. width: 60rpx;
  626. font-size: 12rpx;
  627. height: 12.5rpx;
  628. }
  629. .do{
  630. width: 60rpx;
  631. font-size: 12rpx;
  632. height: 12.5rpx;
  633. }
  634. }
  635. }
  636. }
  637. .footer{
  638. margin: 0 10rpx 8rpx;
  639. display: flex;
  640. font-size: 15rpx;
  641. .js{
  642. display: flex;
  643. margin-right: 54.4rpx;
  644. .pies_tips{}
  645. }
  646. .freque{}
  647. }
  648. .rp-tips{
  649. display: flex;
  650. justify-content:flex-end;
  651. font-size: 15rpx;
  652. margin-right: 10rpx;
  653. }
  654. }
  655. .amountarea{
  656. display: flex;
  657. margin: 21.3rpx 19.38px 0;
  658. padding-bottom: 20.94rpx;
  659. border-bottom: 1px solid #979797;
  660. .amount{
  661. display: flex;
  662. flex-direction:column;
  663. .r1{
  664. border: 1px solid #979797;
  665. font-size: 15rpx;
  666. width: 287.5rpx;
  667. display: flex;
  668. justify-content:center;
  669. align-items: center;
  670. height: 33.75rpx;
  671. }
  672. .r2{
  673. display: flex;
  674. justify-content:center;
  675. align-items: center;
  676. font-size: 15rpx;
  677. height: 33.75rpx;
  678. width: 287.5rpx;
  679. border-left: 1px solid #979797;
  680. border-right: 1px solid #979797;
  681. .jyf{
  682. width: 143.93rpx;
  683. display: flex;
  684. justify-content:center;
  685. align-items: center;
  686. }
  687. .psf{
  688. border-left: 1px solid #979797;
  689. width: 143.93rpx;
  690. display: flex;
  691. justify-content:center;
  692. align-items: center;
  693. }
  694. }
  695. .r3{
  696. display: flex;
  697. justify-content:center;
  698. align-items: center;
  699. height: 33.75rpx;
  700. font-size: 15rpx;
  701. border: 1px solid #979797;
  702. }
  703. }
  704. .service{
  705. display: flex;
  706. flex-wrap: wrap;
  707. margin-left: 60rpx;
  708. .kf{
  709. font-size: 15rpx;
  710. margin-right: 60rpx;
  711. width:90rpx;
  712. .we{
  713. font-size: 15rpx;
  714. color:#999999;
  715. }
  716. }
  717. }
  718. }
  719. .comment{
  720. margin: 10rpx 16rpx 10rpx;
  721. font-size: 15rpx;
  722. display: flex;
  723. }
  724. }
  725. .upload{
  726. margin: 0 10rpx 10rpx;
  727. background-color: #fff;
  728. padding: 20rpx;
  729. .title{
  730. font-size: 15rpx;
  731. margin-bottom:20px;
  732. color: #333333;
  733. }
  734. }
  735. .weight{
  736. margin: 0 10rpx 10rpx;
  737. background-color: #fff;
  738. display: flex;
  739. align-items: center;
  740. padding: 10rpx;
  741. .title{
  742. font-size: 15rpx;
  743. // margin-bottom:20px;
  744. color: #333333;
  745. margin-right: 20rpx;
  746. }
  747. .tex{
  748. display: flex;
  749. align-items:center;
  750. font-size: 15rpx;
  751. .uni-input{
  752. display: flex;
  753. justify-content:center;
  754. align-items:center;
  755. border: 1px solid #979797;
  756. margin-left: 50rpx;
  757. width: 100rpx;
  758. margin-right: 4rpx;
  759. }
  760. }
  761. }
  762. .cooment{
  763. margin: 0 10rpx 10rpx;
  764. background-color: #fff;
  765. flex-direction:column;
  766. align-items: center;
  767. padding: 5rpx 10rpx;
  768. .title{
  769. font-size: 15rpx;
  770. margin-bottom:20rpx;
  771. }
  772. .tex{
  773. display: flex;
  774. justify-content:flex-start;
  775. align-items: center;
  776. margin-bottom:12.7rpx;
  777. border: 1px solid #979797;
  778. // height: 74.38rpx;
  779. border-radius: 5rpx;
  780. .input{
  781. // height: 74.38rpx;
  782. // font-size: 15rpx;
  783. padding: 10rpx;
  784. // border-radius: 5rpx;
  785. :deep(.uni-textarea-placeholder){
  786. font-size: 15rpx;
  787. }
  788. }
  789. }
  790. }
  791. .radio{
  792. display: flex;
  793. margin: 0 10rpx;
  794. background-color: #fff;
  795. // padding: 0 20px 100px;
  796. flex-direction:column;
  797. // align-items: center;
  798. font-size: 15rpx!important;
  799. :deep(.uni-switch-input.uni-switch-input-checked){
  800. border-color: #18C7B0;
  801. background-color: #18C7B0;
  802. }
  803. }
  804. .submit{
  805. display: flex;
  806. margin-top: 33.23rpx;
  807. background-color: #fff;
  808. align-items: center;
  809. width: 750rpx;
  810. height: 62.5rpx;
  811. .bu{
  812. display: flex;
  813. justify-content:center;
  814. align-items: center;
  815. height: 40rpx;
  816. width: 671.25rpx;
  817. font-size: 17.5rpx;
  818. border-radius: 3.75rpx;
  819. background-color: #18c7b0;
  820. color:#fff;
  821. }
  822. }
  823. :deep(.uni-popup-dialog){
  824. width: 500rpx;
  825. // height: 268.75rpx;
  826. display: flex;
  827. flex-direction: column;
  828. background-color: #ffffff;
  829. // justify-content:center;
  830. // align-items: center;
  831. .uni-dialog-title-text{
  832. display: flex;
  833. font-size: 20rpx;
  834. // padding-top: 20px;
  835. }
  836. .uni-dialog-content{
  837. display: flex;
  838. margin: 10rpx 20rpx;
  839. background-color: #fff;
  840. // box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.15);
  841. .cotent{
  842. display: flex;
  843. flex-direction: column;
  844. width:400rpx;
  845. height: 112.5rpx;
  846. .title{
  847. font-size: 17.5rpx;
  848. font-weight: 500;
  849. margin-bottom: 10rpx;
  850. display: flex;
  851. align-items: center;
  852. justify-content:center;
  853. }
  854. .body{
  855. display: flex;
  856. // flex-direction: column;
  857. justify-content:center;
  858. .lef{
  859. display: flex;
  860. flex-direction: column;
  861. width: 200rpx;
  862. justify-content:center;
  863. .baracode{
  864. display: flex;
  865. flex-direction:column;
  866. width: 200rpx;
  867. height: 54.38rpx;
  868. .cav{
  869. width:200rpx;
  870. }
  871. .barnum{
  872. width:200rpx;
  873. font-size: 10rpx;
  874. display: flex;
  875. color: #333333;
  876. justify-content:center;
  877. align-items: center;
  878. letter-spacing: 0.7em;
  879. }
  880. }
  881. }
  882. .rig{
  883. display: flex;
  884. flex-direction: column;
  885. width: 340px;
  886. margin-left: 13.75rpx;
  887. .hz{
  888. display: flex;
  889. margin-bottom: 10rpx;
  890. font-size: 15rpx;
  891. }
  892. .bold{
  893. font-weight: 500;
  894. }
  895. }
  896. }
  897. }
  898. }
  899. .uni-dialog-button-group{
  900. display: flex;
  901. font-size: 17.5rpx;
  902. .uni-dialog-button{
  903. display: flex;
  904. .uni-dialog-button-text{
  905. }
  906. }
  907. .uni-border-left{
  908. .uni-dialog-button-text{
  909. color: #18c7b0;
  910. }
  911. }
  912. }
  913. }
  914. }
  915. </style>