index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707
  1. <template>
  2. <view class="main">
  3. <NavBar :user-info="userInfo" @update-user="updateUser" />
  4. <view class="body">
  5. <view class="tab-box">
  6. <view class="tab-bar">
  7. <view class="tab_item" v-for="(tab, index) in tabList" :key="index"
  8. :class="{'active':tabActive==index}" @click="checkIndex(index)">
  9. <text class="text">{{tab.title}}{{index===0 && tabList[0].leng>0?"("+tabList[0].leng+")":""}}</text>
  10. </view>
  11. </view>
  12. <view class="search-bar">
  13. <view v-if="tabActive === 0" class="today">
  14. <view class="search">
  15. <uni-easyinput prefixIcon="search" v-model="searchVal" placeholder="请输入姓名" />
  16. </view>
  17. <button type="primary" @click="handleSearch" class="search-button">搜索</button>
  18. <button type="primary" :disabled="userInfo.workStatus==='1'?false:true" @click="handleRefresh" :class="userInfo.workStatus==='1'?'refresh':'refresh active'">一键释放</button>
  19. </view>
  20. <view v-else class="history">
  21. <view class="searchchoice">
  22. <view class="row1">
  23. <view class="timequan">
  24. <text class="time_t">时间区间:</text>
  25. <uni-datetime-picker v-model="searchTime" type="datetimerange" :hide-second="true" class="datepick" rangeSeparator=" - " />
  26. <!-- <timeSlot
  27. ref="timeslot"
  28. :title="'选择时间段'"
  29. @confirm="confirmTime">
  30. </timeSlot> -->
  31. <!-- <el-date-picker
  32. v-model="searchTime"
  33. type="datetimerange"
  34. range-separator="-"
  35. start-placeholder="开始时间"
  36. end-placeholder="结束时间"
  37. /> -->
  38. </view>
  39. </view>
  40. <view class="row2">
  41. <view class="office">
  42. <view class="time_t">
  43. 科室:
  44. </view>
  45. <picker @change="handleGetOffice" :value="officeIndex" :range="officeArr">
  46. <view class="uni-input">{{officeArr[officeIndex]}}</view>
  47. </picker>
  48. </view>
  49. <view class="presid">
  50. <picker @change="handleGetType" :value="typeIndex" :range="typeArr">
  51. <view class="uni-input">{{typeArr[typeIndex]}}</view>
  52. </picker>
  53. </view>
  54. <view v-if="typeIndex === 0" class="search">
  55. <uni-easyinput prefixIcon="search" v-model="searchName" placeholder="请输入姓名" />
  56. </view>
  57. <view v-else class="search">
  58. <uni-easyinput prefixIcon="search" v-model="searchPreNo" placeholder="请输入处方号" />
  59. </view>
  60. <button type="primary" @click="handleSearch" class="search-button">搜索</button>
  61. </view>
  62. <view class="row3">
  63. <view class="tag-view" v-for="(v, i) in tags" :key="i">
  64. <uni-tag :circle="true" :inverted="!searchTags.includes(v)" :text=v @click="handleGetTags(v)" />
  65. </view>
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. <view class="tab-content">
  72. <view class="order-list">
  73. <scroll-view
  74. v-if="orderList.length > 0"
  75. class="order-list-wrap"
  76. scroll-y="true"
  77. :scroll-top="50"
  78. @scrolltoupper="loadPreList"
  79. @scrolltolower="loadMoreList"
  80. >
  81. <template v-for="(v,i) in orderList" :key="i">
  82. <orderCard v-if="v" :v="v" :index="i" :c=tabActive class="order-card"
  83. @update-list="updateList"
  84. />
  85. </template>
  86. </scroll-view>
  87. <view v-else class="text">
  88. <image class="zwsj" aspectFill :src="'/static/zwsj.png'" />
  89. </view>
  90. </view>
  91. <view v-if="isBottom" class="order-bottom">
  92. <view class="text">-- 没有更多数据 --</view>
  93. </view>
  94. </view>
  95. </view>
  96. </view>
  97. </template>
  98. <script setup>
  99. import NavBar from "@/components/nav-bar/nav-bar.vue"
  100. import OrderCard from "@/components/order-card/order-card.vue"
  101. import { onMounted,ref, getCurrentInstance } from 'vue'
  102. import { onLoad } from "@dcloudio/uni-app"
  103. import {receiveOrderList } from "@/static/js/api.js"
  104. import {releaseOrder} from "@/static/js/request.js"
  105. // import { ID_INJECTION_KEY } from 'element-plus'
  106. const userInfo = ref({})
  107. const searchVal = ref('')
  108. const tabList = ref([
  109. {title:"今日待完成", status: '0', leng:0},
  110. {title:"历史处方", status: '1'},
  111. ])
  112. const currentStatus = ref(0)
  113. const tabActive = ref(0) // 当前tab Index
  114. const tabName = ref('今日待完成') // 当前tab Name
  115. // const tags = ref([])
  116. const orderList = ref([
  117. {id:1,prescriptionTime:'2023-07-06 14:54', faceurl:'/static/hz.png',name:'张三三',sex: '女',age: 23,disName:'胃脘痛病',symName:'脾胃虚寒证',deployState:'调配',preNo:10230516091026,department:'中医内科',dosageForm:'汤剂',number:3,prescriptionSum:135.62,preMzZy:'1'},
  118. {id:2,prescriptionTime:'2023-07-06 14:54', faceurl:'/static/hz.png',name:'张三三',sex: '女',age: 23,disName:'胃脘痛病',symName:'脾胃虚寒证',deployState:'调配',preNo:10230516091026,department:'中医内科',dosageForm:'汤剂',number:3,prescriptionSum:135.62,preMzZy:'1'},
  119. {id:3,prescriptionTime:'2023-07-06 14:54', faceurl:'/static/hz.png',name:'张三三',sex: '女',age: 23,disName:'胃脘痛病',symName:'脾胃虚寒证',deployState:'调配',preNo:10230516091026,department:'中医内科',dosageForm:'汤剂',number:3,prescriptionSum:135.62,preMzZy:'2'},
  120. {id:4,prescriptionTime:'2023-07-06 14:54', faceurl:'/static/hz.png',name:'张三三',sex: '女',age: 23,disName:'胃脘痛病',symName:'脾胃虚寒证',deployState:'调配',preNo:10230516091026,department:'中医内科',dosageForm:'汤剂',number:3,prescriptionSum:135.62,preMzZy:'1'},
  121. {id:5,prescriptionTime:'2023-07-06 14:54', faceurl:'/static/hz.png',name:'张三三',sex: '女',age: 23,disName:'胃脘痛病',symName:'脾胃虚寒证',deployState:'调配',preNo:10230516091026,department:'中医内科',dosageForm:'汤剂',number:3,prescriptionSum:135.62,preMzZy:'2'}
  122. ])
  123. const isBottom = ref(false) // 是否触底
  124. const officeArr = ref(['全部','中医骨伤科门诊一','中医内科门诊一','中医儿科门诊'])
  125. const officeIndex = ref(0)
  126. const typeArr = ref(['姓名:','处方号:'])
  127. const typeIndex = ref(0)
  128. const searchTime =ref([])
  129. const searchDepartment = ref('')
  130. const searchName = ref('')
  131. const searchPreNo = ref('')
  132. const searchSex = ref('')
  133. const searchPreMzZy = ref('')
  134. const searchStatus = ref('')
  135. const searchTags = ref([])
  136. const tags = ref(['全部','门诊','住院','男','女','煎煮','发药'])
  137. const deployArr = ref([
  138. {name:'抓药', id: '1' },
  139. {name:'复核', id: '2' },
  140. {name:'浸泡', id: '3' },
  141. {name:'煎煮', id: '4' },
  142. {name:'打包', id: '5' },
  143. ])
  144. const page = ref(1)
  145. const total = ref(0)
  146. const pageSize = ref(10)
  147. const status = ref('')
  148. const today =ref({
  149. leng: 0,
  150. })
  151. // app.provide(ID_INJECTION_KEY, {
  152. // prefix: Math.floor(Math.random() * 10000),
  153. // current: 0,
  154. // })
  155. const {proxy} = getCurrentInstance()
  156. onMounted(() => {
  157. })
  158. onLoad(async () => {
  159. const token = uni.getStorageSync('token')
  160. userInfo.value.name = uni.getStorageSync('username')
  161. userInfo.value.workStatus = uni.getStorageSync('workStatus') || '0'
  162. const params = {
  163. token: token,
  164. data:JSON.stringify({
  165. currentUserId: parseInt(uni.getStorageSync('userId')) || 0,
  166. page: page.value,
  167. pageSize: pageSize.value,
  168. status: '0'
  169. })
  170. }
  171. const {data:res} = await receiveOrderList(params)
  172. if (res.code === 200) {
  173. total.value = res.total
  174. orderList.value = res.rows
  175. if(tabActive.value ==0){
  176. tabList.value[0].leng = orderList.value.length
  177. }
  178. }
  179. })
  180. // 子传父,更新userInfo
  181. const updateUser = (v)=>{
  182. console.log('updateUserStatus', v)
  183. userInfo.value.workStatus = v
  184. }
  185. const updateList = (v)=>{
  186. console.log('updateList', v)
  187. }
  188. const handleSearch = async()=>{
  189. // const token = uni.getStorageSync('token')
  190. // console.log('handleSearch token',token)
  191. console.log('handleSearch searchVal', searchVal.value)
  192. console.log('currentStatus.value', currentStatus.value)
  193. searchVal.value = searchVal.value.trim()
  194. if(tabActive.value ===0 && searchVal.value) {
  195. const params = {
  196. token: uni.getStorageSync('token'),
  197. data: JSON.stringify({
  198. currentUserId: parseInt(uni.getStorageSync('userId')) || 0,
  199. name: searchVal.value,
  200. page: page.value,
  201. pageSize: pageSize.value,
  202. status: tabList.value[tabActive.value].status
  203. })
  204. }
  205. const {data:res} = await receiveOrderList(params)
  206. if (res.code === 200) {
  207. total.value = res.total
  208. orderList.value = res.rows
  209. }
  210. }
  211. if(tabActive.value===1){
  212. const params = {
  213. token: uni.getStorageSync('token'),
  214. data: JSON.stringify({
  215. currentUserId: parseInt(uni.getStorageSync('userId')) || 0,
  216. startTime: searchTime.value[0] || '',
  217. endTime: searchTime.value[1] || '',
  218. name: searchVal.value || '',
  219. preNo: searchPreNo.value || '',
  220. prescriptionStatus: searchStatus.value || '',
  221. sex: searchSex.value || '',
  222. preMzZy: searchPreMzZy.value || '',
  223. page: page.value,
  224. pageSize: pageSize.value,
  225. status: tabList.value[tabActive.value].status
  226. })
  227. }
  228. console.log('params',params)
  229. const {data:res} = await receiveOrderList(params)
  230. if (res.code === 200) {
  231. total.value = res.total
  232. orderList.value = res.rows
  233. if(tabActive.value ==0){
  234. tabList.value[0].leng = orderList.value.length
  235. }
  236. }
  237. }
  238. }
  239. const handleRefresh = async()=>{
  240. console.log('yijianshifang >orderList>>', orderList.value)
  241. let ids = ''
  242. orderList.value.forEach((v)=>{if(v.id){
  243. ids= ids+v.id+','
  244. console.log('yijianshifang >orderList>>',ids)
  245. }})
  246. console.log('yijianshifang >orderList>>666',ids)
  247. const params = {
  248. token: uni.getStorageSync('token'),
  249. data:{ids:ids}
  250. }
  251. const {data:res} = await releaseOrder(params)
  252. if (res.code === 200) {
  253. const paramss = {
  254. token: uni.getStorageSync('token'),
  255. data:JSON.stringify({
  256. currentUserId: parseInt(uni.getStorageSync('userId')),
  257. page: page.value,
  258. pageSize: pageSize.value,
  259. status: tabList.value[tabActive.value].status
  260. })
  261. }
  262. const {data:res} = await receiveOrderList(paramss)
  263. if (res.code === 200) {
  264. total.value = res.total
  265. orderList.value = res.rows
  266. if(tabActive.value ==0){
  267. tabList.value[0].leng = orderList.value.length
  268. }
  269. }
  270. }
  271. }
  272. const handleGetOffice = (e)=>{
  273. console.log('handleGetOffice', e.detail.value)
  274. console.log('officeIndex', officeIndex)
  275. console.log('officeIndex', officeIndex)
  276. officeIndex.value = e.detail.value
  277. }
  278. const handleGetType = (e)=>{
  279. console.log('handleGetType', e.detail.value)
  280. console.log('typeIndex', typeIndex)
  281. console.log('typeArr', typeIndex)
  282. typeIndex.value = e.detail.value
  283. if(typeIndex.value ===1 ){
  284. searchName.value = ''
  285. } else {
  286. searchPreNo.value = ''
  287. }
  288. }
  289. const handleGetTags = (v)=>{
  290. console.log('handleGetTags', v)
  291. if(!searchTags.value.includes(v)) {
  292. searchTags.value.push(v)
  293. } else {
  294. searchTags.value.splice(searchTags.value.indexOf(v), 1)
  295. }
  296. switch (v) {
  297. case '全部':
  298. if(searchTags.value.includes(v)){
  299. searchTags.value = ['全部']
  300. searchTime.value = []
  301. searchDepartment.value = ''
  302. searchName.value = ''
  303. searchPreNo.value = ''
  304. searchSex.value = ''
  305. searchPreMzZy.value = ''
  306. searchStatus.value = ''
  307. }
  308. break
  309. case '门诊':
  310. if(searchTags.value.includes(v) && searchTags.value.includes('住院')){
  311. searchTags.value.splice(searchTags.value.indexOf('住院'), 1)
  312. }
  313. if(searchTags.value.includes('全部')){
  314. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  315. }
  316. searchPreMzZy.value = '1'
  317. break
  318. case '住院':
  319. if(searchTags.value.includes(v) && searchTags.value.includes('门诊')){
  320. searchTags.value.splice(searchTags.value.indexOf('门诊'), 1)
  321. }
  322. if(searchTags.value.includes('全部')){
  323. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  324. }
  325. searchPreMzZy.value = '2'
  326. break
  327. case '男':
  328. if(searchTags.value.includes(v) && searchTags.value.includes('女')){
  329. searchTags.value.splice(searchTags.value.indexOf('女'), 1)
  330. }
  331. if(searchTags.value.includes('全部')){
  332. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  333. }
  334. searchSex.value = '男'
  335. break
  336. case '女':
  337. if(searchTags.value.includes(v) && searchTags.value.includes('男')){
  338. searchTags.value.splice(searchTags.value.indexOf('男'), 1)
  339. }
  340. if(searchTags.value.includes('全部')){
  341. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  342. }
  343. searchSex.value = '女'
  344. break
  345. case '煎煮':
  346. if(searchTags.value.includes(v) && searchTags.value.includes('发药')){
  347. searchTags.value.splice(searchTags.value.indexOf('发药'), 1)
  348. }
  349. if(searchTags.value.includes('全部')){
  350. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  351. }
  352. searchStatus.value = '煎煮'
  353. break
  354. case '发药':
  355. if(searchTags.value.includes(v) && searchTags.value.includes('煎煮')){
  356. searchTags.value.splice(searchTags.value.indexOf('煎煮'), 1)
  357. }
  358. if(searchTags.value.includes('全部')){
  359. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  360. }
  361. searchStatus.value = '发药'
  362. break
  363. default:
  364. searchTags.value = ['全部']
  365. }
  366. }
  367. // 更新处方列表
  368. const checkIndex = async(index) => {
  369. tabActive.value = index
  370. page.value= 1
  371. console.log('index',index)
  372. tabName.value = tabList.value[index].title
  373. currentStatus.value = parseInt(tabList.value[index].status)
  374. const token = uni.getStorageSync('token')
  375. const paramss = {
  376. token: uni.getStorageSync('token'),
  377. data:JSON.stringify({
  378. currentUserId: parseInt(uni.getStorageSync('userId')),
  379. page: page.value,
  380. pageSize: pageSize.value,
  381. status: tabList.value[tabActive.value].status
  382. })
  383. }
  384. console.log('checkIndex params',paramss)
  385. const {data:res} = await receiveOrderList(paramss)
  386. if (res.code === 200) {
  387. total.value = res.total
  388. orderList.value = res.rows
  389. if(tabActive.value ==0){
  390. tabList.value[0].leng = orderList.value.length
  391. }
  392. }
  393. }
  394. const openTime = ()=>{
  395. proxy.$refs.timeslot.open()
  396. }
  397. const loadMoreList =async()=>{
  398. console.log('loadMoreList>>>')
  399. page.value = page.value +1
  400. const params = {
  401. token: uni.getStorageSync('token'),
  402. data: JSON.stringify({
  403. currentUserId: parseInt(uni.getStorageSync('userId')) || 0,
  404. name: searchVal.value,
  405. page: page.value,
  406. pageSize: pageSize.value,
  407. status: tabActive.value + ''
  408. })
  409. }
  410. const {data:res} = await receiveOrderList(params)
  411. console.log('orderList.value before',orderList.value)
  412. if (res.code === 200) {
  413. total.value = res.total
  414. console.log('res.rows after',res.rows)
  415. res.rows.forEach(item=>{
  416. orderList.value.push(item)
  417. })
  418. console.log('orderList.value after',orderList.value)
  419. if(tabActive.value ==0){
  420. console.log('tabActive===',)
  421. tabList.value[0].leng = orderList.value.length
  422. }
  423. }
  424. }
  425. const loadPreList = async()=>{
  426. console.log('loadPreList>>>')
  427. page.value = 1
  428. const params = {
  429. token: uni.getStorageSync('token'),
  430. data: JSON.stringify({
  431. currentUserId: parseInt(uni.getStorageSync('userId')) || 0,
  432. name: searchVal.value,
  433. page: page.value,
  434. pageSize: pageSize.value,
  435. status: tabList.value[tabActive.value].status
  436. })
  437. }
  438. const {data:res} = await receiveOrderList(params)
  439. if (res.code === 200) {
  440. total.value = res.total
  441. orderList.value = res.rows
  442. if(tabActive ==0){
  443. tabList.value[0].leng = orderList.value.length
  444. }
  445. }
  446. }
  447. </script>
  448. <style lang="scss">
  449. .main {
  450. display: flex;
  451. flex-direction:column;
  452. justify-content:flex-start;
  453. // height: 2000px;
  454. width: 750rpx;
  455. .nav{
  456. display: flex;
  457. height:74.34rpx;
  458. width: 750rpx;
  459. // position: sticky;
  460. // top: 0;
  461. }
  462. .body{
  463. display: flex;
  464. height:calc(100% - 74.34rpx);
  465. flex-direction:column;
  466. justify-content:flex-start;
  467. .tab-box {
  468. display: flex;
  469. position: sticky;
  470. flex-direction:column;
  471. z-index: 100;
  472. .tab-bar{
  473. height: 62.5rpx;
  474. display: flex;
  475. justify-content:center;
  476. width: 100%;
  477. // border: 1px solid #000;
  478. .tab_item{
  479. display: flex;
  480. flex:1;
  481. justify-content:center;
  482. align-items: center;
  483. font-size: 17.5rpx;
  484. background-color: #fff;
  485. color: #000;
  486. }
  487. .active{
  488. border-bottom: 5rpx solid #18C7B0;
  489. }
  490. }
  491. .search-bar{
  492. display: flex;
  493. background-color: #fff;
  494. border-radius: 4rpx;
  495. .today{
  496. display: flex;
  497. flex-direction:row;
  498. justify-content: flex-start;
  499. .search{
  500. width: 453.75rpx;
  501. margin: 13.75rpx 10.1rpx;
  502. :deep(.uni-easyinput__placeholder-class){
  503. font-size: 15rpx;
  504. }
  505. }
  506. .search-button{
  507. display: flex;
  508. justify-content:center;
  509. align-items: center;
  510. width:112.5rpx;
  511. margin: 13.75rpx 10.1rpx;
  512. font-size: 15rpx;
  513. background-color: #18C7B0;
  514. }
  515. .refresh {
  516. display: flex;
  517. justify-content:center;
  518. align-items: center;
  519. width:120rpx;
  520. margin: 13.75px 22.19rpx;
  521. font-size: 15rpx;
  522. background-color: #18C7B0;
  523. }
  524. .active{
  525. background-color:#DEDEDE;
  526. }
  527. }
  528. .history{
  529. display: flex;
  530. width: 100%;
  531. .searchchoice{
  532. padding: 0 10rpx;
  533. display: flex;
  534. width: 100%;
  535. flex-direction:column;
  536. font-size: 24rpx;
  537. .row1{
  538. display: flex;
  539. width: 100%;
  540. justify-content:flex-start;
  541. align-items: center;
  542. margin: 10rpx 0 10rpx;
  543. font-size: 15rpx;
  544. .timequan{
  545. display: flex;
  546. justify-content:center;
  547. align-items: center;
  548. :deep(.uni-date__x-input){
  549. font-size: 15rpx;
  550. }
  551. .datepick {
  552. z-index: 999;
  553. width: 627.5rpx;
  554. }
  555. }
  556. }
  557. .row2{
  558. display: flex;
  559. width: 100%;
  560. justify-content:flex-start;
  561. align-items: center;
  562. margin: 0 0 10rpx;
  563. .office{
  564. display: flex;
  565. justify-content:center;
  566. align-items: center;
  567. font-size: 15rpx;
  568. .uni-input{
  569. display: flex;
  570. justify-content:center;
  571. align-items: center;
  572. border:1px solid #e1e5f1;
  573. font-size: 15rpx;
  574. width:190rpx;
  575. // height: 40rpx;
  576. border-radius: 5rpx;
  577. background-color: #e1e5f1;
  578. margin-right: 10rpx;
  579. }
  580. }
  581. .uni-input{
  582. display: flex;
  583. justify-content:center;
  584. align-items: center;
  585. border:1px solid #e1e5f1;
  586. font-size: 15rpx;
  587. width:100rpx;
  588. height: 40rpx;
  589. border-radius: 5rpx;
  590. background-color: #e1e5f1;
  591. margin-right: 10rpx;
  592. }
  593. .search{
  594. width: 187.5rpx;
  595. :deep(.uni-easyinput__placeholder-class){
  596. font-size: 15rpx;
  597. }
  598. }
  599. .search-button{
  600. width:120rpx;
  601. margin: 8rpx 12rpx;
  602. font-size: 15rpx;
  603. color: #fff;
  604. background-color: #18C7B0;
  605. }
  606. }
  607. .row3{
  608. display: flex;
  609. width: 100%;
  610. justify-content:flex-start;
  611. align-items: center;
  612. margin: 0 0 18rpx;
  613. .tag-view:deep(.uni-tag){
  614. display: inline;
  615. font-size: 15rpx;
  616. font-weight:500;
  617. margin-right: 16.67rpx;
  618. // height: 40px;
  619. width: 120rpx;
  620. padding: 6rpx 20rpx;
  621. }
  622. }
  623. }
  624. }
  625. }
  626. }
  627. .tab-content{
  628. display: flex;
  629. margin: 8rpx 10rpx;
  630. border-radius: 4rpx;
  631. background-color: #fff;
  632. width: calc(100% - 20rpx);
  633. height: 980rpx;
  634. z-index:10;
  635. .order-list{
  636. padding: 8rpx;
  637. display: flex;
  638. width: 100%;
  639. // height: 100%;
  640. .text{
  641. display: flex;
  642. width: 750rpx;
  643. justify-content:center;
  644. align-items: flex-start;
  645. .zwsj {
  646. margin-top: 103.13rpx;
  647. width: 640.63rpx;
  648. height: 310rpx;
  649. }
  650. }
  651. .order-list-wrap{
  652. display: flex;
  653. .order-card{
  654. display: flex;
  655. width: 100%;
  656. // border-bottom: 1px solid #e6e8ee;;
  657. }
  658. }
  659. }
  660. }
  661. }
  662. }
  663. </style>