review.vue 23 KB

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