edit.vue 24 KB

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