index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720
  1. <template>
  2. <view class="main">
  3. <NavBar :user-info="userInfo" :work-Status="workStatus" @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="workStatus==='1'?false:true" @click="handleRefresh" :class="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" :work-Status="workStatus" :index="i" :c=tabActive class="order-card"
  83. @emit-select="emitSelect"
  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 workStatus = ref('0')
  108. const searchVal = ref('')
  109. const tabList = ref([
  110. {title:"今日待完成", status: '0', leng:0},
  111. {title:"历史处方", status: '1'},
  112. ])
  113. const currentStatus = ref(0)
  114. const tabActive = ref(0) // 当前tab Index
  115. const tabName = ref('今日待完成') // 当前tab Name
  116. // const tags = ref([])
  117. const orderList = ref([
  118. {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'},
  119. {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'},
  120. {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'},
  121. {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'},
  122. {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'}
  123. ])
  124. const isBottom = ref(false) // 是否触底
  125. const officeArr = ref(['全部','中医骨伤科门诊一','中医内科门诊一','中医儿科门诊'])
  126. const officeIndex = ref(0)
  127. const typeArr = ref(['姓名:','处方号:'])
  128. const typeIndex = ref(0)
  129. const searchTime =ref([])
  130. const searchDepartment = ref('')
  131. const searchName = ref('')
  132. const searchPreNo = ref('')
  133. const searchSex = ref('')
  134. const searchPreMzZy = ref('')
  135. const searchStatus = ref('')
  136. const searchTags = ref([])
  137. const tags = ref(['全部','门诊','住院','男','女','煎煮','发药'])
  138. const deployArr = ref([
  139. {name:'抓药', id: '1' },
  140. {name:'复核', id: '2' },
  141. {name:'浸泡', id: '3' },
  142. {name:'煎煮', id: '4' },
  143. {name:'打包', id: '5' },
  144. ])
  145. const page = ref(1)
  146. const total = ref(0)
  147. const pageSize = ref(10)
  148. const status = ref('')
  149. const ids = ref([])
  150. const today =ref({
  151. leng: 0,
  152. })
  153. // app.provide(ID_INJECTION_KEY, {
  154. // prefix: Math.floor(Math.random() * 10000),
  155. // current: 0,
  156. // })
  157. const {proxy} = getCurrentInstance()
  158. onMounted(() => {
  159. })
  160. onLoad(async () => {
  161. const token = uni.getStorageSync('token')
  162. userInfo.value.name = uni.getStorageSync('username')
  163. workStatus.value = uni.getStorageSync('workStatus') || '0'
  164. const params = {
  165. token: token,
  166. data:JSON.stringify({
  167. currentUserId: parseInt(uni.getStorageSync('userId')) || 0,
  168. page: page.value,
  169. pageSize: pageSize.value,
  170. status: '0'
  171. })
  172. }
  173. const {data:res} = await receiveOrderList(params)
  174. if (res.code === 200) {
  175. total.value = res.total
  176. orderList.value = res.rows
  177. if(tabActive.value ==0){
  178. tabList.value[0].leng = orderList.value.length
  179. }
  180. }
  181. })
  182. // 子传父,更新userInfo
  183. const updateUser = (v)=>{
  184. console.log('updateUserStatus', v)
  185. workStatus.value = v+''
  186. console.log('workStatus.value', workStatus.value)
  187. }
  188. const emitSelect = (v)=>{
  189. console.log('emitSelect', v)
  190. // 查在ids中查找v,如果存在就删除,如果不存在就添加
  191. const index = ids.value.findIndex(x=>x==v)
  192. if (index>-1){
  193. ids.splice(index, 1)
  194. } else {
  195. ids.value.push(v)
  196. }
  197. }
  198. const handleSearch = async()=>{
  199. // const token = uni.getStorageSync('token')
  200. // console.log('handleSearch token',token)
  201. console.log('handleSearch searchVal', searchVal.value)
  202. console.log('currentStatus.value', currentStatus.value)
  203. searchVal.value = searchVal.value.trim()
  204. if(tabActive.value ===0 && searchVal.value) {
  205. const params = {
  206. token: uni.getStorageSync('token'),
  207. data: JSON.stringify({
  208. currentUserId: parseInt(uni.getStorageSync('userId')) || 0,
  209. name: searchVal.value,
  210. page: page.value,
  211. pageSize: pageSize.value,
  212. status: tabList.value[tabActive.value].status
  213. })
  214. }
  215. const {data:res} = await receiveOrderList(params)
  216. if (res.code === 200) {
  217. total.value = res.total
  218. orderList.value = res.rows
  219. }
  220. }
  221. if(tabActive.value===1){
  222. const params = {
  223. token: uni.getStorageSync('token'),
  224. data: JSON.stringify({
  225. currentUserId: parseInt(uni.getStorageSync('userId')) || 0,
  226. startTime: searchTime.value[0] || '',
  227. endTime: searchTime.value[1] || '',
  228. name: searchVal.value || '',
  229. preNo: searchPreNo.value || '',
  230. prescriptionStatus: searchStatus.value || '',
  231. sex: searchSex.value || '',
  232. preMzZy: searchPreMzZy.value || '',
  233. page: page.value,
  234. pageSize: pageSize.value,
  235. status: tabList.value[tabActive.value].status
  236. })
  237. }
  238. console.log('params',params)
  239. const {data:res} = await receiveOrderList(params)
  240. if (res.code === 200) {
  241. total.value = res.total
  242. orderList.value = res.rows
  243. if(tabActive.value ==0){
  244. tabList.value[0].leng = orderList.value.length
  245. }
  246. }
  247. }
  248. }
  249. const handleRefresh = async()=>{
  250. console.log('yijianshifang >orderList>>', orderList.value)
  251. // let ids = ''
  252. // orderList.value.forEach((v)=>{if(v.id){
  253. // ids= ids+v.id+','
  254. // console.log('yijianshifang >orderList>>',ids)
  255. // }})
  256. // console.log('yijianshifang >orderList>>666',ids)
  257. const params = {
  258. token: uni.getStorageSync('token'),
  259. data:{ids:ids.value.toString()}
  260. }
  261. console.log('handleRefresh >params>>666',params)
  262. const {data:res} = await releaseOrder(params)
  263. if (res.code === 200) {
  264. const paramss = {
  265. token: uni.getStorageSync('token'),
  266. data:JSON.stringify({
  267. currentUserId: parseInt(uni.getStorageSync('userId')),
  268. page: page.value,
  269. pageSize: pageSize.value,
  270. status: tabList.value[tabActive.value].status
  271. })
  272. }
  273. const {data:res} = await receiveOrderList(paramss)
  274. if (res.code === 200) {
  275. total.value = res.total
  276. orderList.value = res.rows
  277. if(tabActive.value ==0){
  278. tabList.value[0].leng = orderList.value.length
  279. }
  280. }
  281. }
  282. }
  283. const handleGetOffice = (e)=>{
  284. console.log('handleGetOffice', e.detail.value)
  285. console.log('officeIndex', officeIndex)
  286. console.log('officeIndex', officeIndex)
  287. officeIndex.value = e.detail.value
  288. }
  289. const handleGetType = (e)=>{
  290. console.log('handleGetType', e.detail.value)
  291. console.log('typeIndex', typeIndex)
  292. console.log('typeArr', typeIndex)
  293. typeIndex.value = e.detail.value
  294. if(typeIndex.value ===1 ){
  295. searchName.value = ''
  296. } else {
  297. searchPreNo.value = ''
  298. }
  299. }
  300. const handleGetTags = (v)=>{
  301. console.log('handleGetTags', v)
  302. if(!searchTags.value.includes(v)) {
  303. searchTags.value.push(v)
  304. } else {
  305. searchTags.value.splice(searchTags.value.indexOf(v), 1)
  306. }
  307. switch (v) {
  308. case '全部':
  309. if(searchTags.value.includes(v)){
  310. searchTags.value = ['全部']
  311. searchTime.value = []
  312. searchDepartment.value = ''
  313. searchName.value = ''
  314. searchPreNo.value = ''
  315. searchSex.value = ''
  316. searchPreMzZy.value = ''
  317. searchStatus.value = ''
  318. }
  319. break
  320. case '门诊':
  321. if(searchTags.value.includes(v) && searchTags.value.includes('住院')){
  322. searchTags.value.splice(searchTags.value.indexOf('住院'), 1)
  323. }
  324. if(searchTags.value.includes('全部')){
  325. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  326. }
  327. searchPreMzZy.value = '1'
  328. break
  329. case '住院':
  330. if(searchTags.value.includes(v) && searchTags.value.includes('门诊')){
  331. searchTags.value.splice(searchTags.value.indexOf('门诊'), 1)
  332. }
  333. if(searchTags.value.includes('全部')){
  334. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  335. }
  336. searchPreMzZy.value = '2'
  337. break
  338. case '男':
  339. if(searchTags.value.includes(v) && searchTags.value.includes('女')){
  340. searchTags.value.splice(searchTags.value.indexOf('女'), 1)
  341. }
  342. if(searchTags.value.includes('全部')){
  343. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  344. }
  345. searchSex.value = '男'
  346. break
  347. case '女':
  348. if(searchTags.value.includes(v) && searchTags.value.includes('男')){
  349. searchTags.value.splice(searchTags.value.indexOf('男'), 1)
  350. }
  351. if(searchTags.value.includes('全部')){
  352. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  353. }
  354. searchSex.value = '女'
  355. break
  356. case '煎煮':
  357. if(searchTags.value.includes(v) && searchTags.value.includes('发药')){
  358. searchTags.value.splice(searchTags.value.indexOf('发药'), 1)
  359. }
  360. if(searchTags.value.includes('全部')){
  361. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  362. }
  363. searchStatus.value = '煎煮'
  364. break
  365. case '发药':
  366. if(searchTags.value.includes(v) && searchTags.value.includes('煎煮')){
  367. searchTags.value.splice(searchTags.value.indexOf('煎煮'), 1)
  368. }
  369. if(searchTags.value.includes('全部')){
  370. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  371. }
  372. searchStatus.value = '发药'
  373. break
  374. default:
  375. searchTags.value = ['全部']
  376. }
  377. }
  378. // 更新处方列表
  379. const checkIndex = async(index) => {
  380. tabActive.value = index
  381. page.value= 1
  382. console.log('index',index)
  383. ids.value = []
  384. tabName.value = tabList.value[index].title
  385. currentStatus.value = parseInt(tabList.value[index].status)
  386. const token = uni.getStorageSync('token')
  387. const paramss = {
  388. token: uni.getStorageSync('token'),
  389. data:JSON.stringify({
  390. currentUserId: parseInt(uni.getStorageSync('userId')),
  391. page: page.value,
  392. pageSize: pageSize.value,
  393. status: tabList.value[tabActive.value].status
  394. })
  395. }
  396. console.log('checkIndex params',paramss)
  397. const {data:res} = await receiveOrderList(paramss)
  398. if (res.code === 200) {
  399. total.value = res.total
  400. orderList.value = res.rows
  401. if(tabActive.value ==0){
  402. tabList.value[0].leng = orderList.value.length
  403. }
  404. }
  405. }
  406. const openTime = ()=>{
  407. proxy.$refs.timeslot.open()
  408. }
  409. const loadMoreList =async()=>{
  410. console.log('loadMoreList>>>')
  411. page.value = page.value +1
  412. const params = {
  413. token: uni.getStorageSync('token'),
  414. data: JSON.stringify({
  415. currentUserId: parseInt(uni.getStorageSync('userId')) || 0,
  416. name: searchVal.value,
  417. page: page.value,
  418. pageSize: pageSize.value,
  419. status: tabActive.value + ''
  420. })
  421. }
  422. const {data:res} = await receiveOrderList(params)
  423. console.log('orderList.value before',orderList.value)
  424. if (res.code === 200) {
  425. total.value = res.total
  426. console.log('res.rows after',res.rows)
  427. res.rows.forEach(item=>{
  428. orderList.value.push(item)
  429. })
  430. console.log('orderList.value after',orderList.value)
  431. if(tabActive.value ==0){
  432. console.log('tabActive===',)
  433. tabList.value[0].leng = orderList.value.length
  434. }
  435. }
  436. }
  437. const loadPreList = async()=>{
  438. console.log('loadPreList>>>')
  439. page.value = 1
  440. const params = {
  441. token: uni.getStorageSync('token'),
  442. data: JSON.stringify({
  443. currentUserId: parseInt(uni.getStorageSync('userId')) || 0,
  444. name: searchVal.value,
  445. page: page.value,
  446. pageSize: pageSize.value,
  447. status: tabList.value[tabActive.value].status
  448. })
  449. }
  450. const {data:res} = await receiveOrderList(params)
  451. if (res.code === 200) {
  452. total.value = res.total
  453. orderList.value = res.rows
  454. if(tabActive ==0){
  455. tabList.value[0].leng = orderList.value.length
  456. }
  457. }
  458. }
  459. </script>
  460. <style lang="scss">
  461. .main {
  462. display: flex;
  463. flex-direction:column;
  464. justify-content:flex-start;
  465. // height: 2000px;
  466. width: 750rpx;
  467. .nav{
  468. display: flex;
  469. height:74.34rpx;
  470. width: 750rpx;
  471. // position: sticky;
  472. // top: 0;
  473. }
  474. .body{
  475. display: flex;
  476. height:calc(100% - 74.34rpx);
  477. flex-direction:column;
  478. justify-content:flex-start;
  479. .tab-box {
  480. display: flex;
  481. position: sticky;
  482. flex-direction:column;
  483. z-index: 100;
  484. .tab-bar{
  485. height: 62.5rpx;
  486. display: flex;
  487. justify-content:center;
  488. width: 100%;
  489. // border: 1px solid #000;
  490. .tab_item{
  491. display: flex;
  492. flex:1;
  493. justify-content:center;
  494. align-items: center;
  495. font-size: 17.5rpx;
  496. background-color: #fff;
  497. color: #000;
  498. }
  499. .active{
  500. border-bottom: 5rpx solid #18C7B0;
  501. }
  502. }
  503. .search-bar{
  504. display: flex;
  505. background-color: #fff;
  506. border-radius: 4rpx;
  507. .today{
  508. display: flex;
  509. flex-direction:row;
  510. justify-content: flex-start;
  511. .search{
  512. width: 453.75rpx;
  513. margin: 13.75rpx 10.1rpx;
  514. :deep(.uni-easyinput__placeholder-class){
  515. font-size: 15rpx;
  516. }
  517. }
  518. .search-button{
  519. display: flex;
  520. justify-content:center;
  521. align-items: center;
  522. width:112.5rpx;
  523. margin: 13.75rpx 10.1rpx;
  524. font-size: 15rpx;
  525. background-color: #18C7B0;
  526. }
  527. .refresh {
  528. display: flex;
  529. justify-content:center;
  530. align-items: center;
  531. width:120rpx;
  532. margin: 13.75px 8rpx;
  533. font-size: 15rpx;
  534. background-color: #18C7B0;
  535. }
  536. .active{
  537. background-color:#DEDEDE;
  538. }
  539. }
  540. .history{
  541. display: flex;
  542. width: 100%;
  543. .searchchoice{
  544. padding: 0 10rpx;
  545. display: flex;
  546. width: 100%;
  547. flex-direction:column;
  548. font-size: 24rpx;
  549. .row1{
  550. display: flex;
  551. width: 100%;
  552. justify-content:flex-start;
  553. align-items: center;
  554. margin: 10rpx 0 10rpx;
  555. font-size: 15rpx;
  556. .timequan{
  557. display: flex;
  558. justify-content:center;
  559. align-items: center;
  560. :deep(.uni-date__x-input){
  561. font-size: 15rpx;
  562. }
  563. .datepick {
  564. z-index: 999;
  565. width: 627.5rpx;
  566. }
  567. }
  568. }
  569. .row2{
  570. display: flex;
  571. width: 100%;
  572. justify-content:flex-start;
  573. align-items: center;
  574. margin: 0 0 10rpx;
  575. .office{
  576. display: flex;
  577. justify-content:center;
  578. align-items: center;
  579. font-size: 15rpx;
  580. .uni-input{
  581. display: flex;
  582. justify-content:center;
  583. align-items: center;
  584. border:1px solid #e1e5f1;
  585. font-size: 15rpx;
  586. width:190rpx;
  587. // height: 40rpx;
  588. border-radius: 5rpx;
  589. background-color: #e1e5f1;
  590. margin-right: 10rpx;
  591. }
  592. }
  593. .uni-input{
  594. display: flex;
  595. justify-content:center;
  596. align-items: center;
  597. border:1px solid #e1e5f1;
  598. font-size: 15rpx;
  599. width:100rpx;
  600. height: 40rpx;
  601. border-radius: 5rpx;
  602. background-color: #e1e5f1;
  603. margin-right: 10rpx;
  604. }
  605. .search{
  606. width: 187.5rpx;
  607. :deep(.uni-easyinput__placeholder-class){
  608. font-size: 15rpx;
  609. }
  610. }
  611. .search-button{
  612. width:120rpx;
  613. margin: 8rpx 12rpx;
  614. font-size: 15rpx;
  615. color: #fff;
  616. background-color: #18C7B0;
  617. }
  618. }
  619. .row3{
  620. display: flex;
  621. width: 100%;
  622. justify-content:flex-start;
  623. align-items: center;
  624. margin: 0 0 18rpx;
  625. .tag-view:deep(.uni-tag){
  626. display: inline;
  627. font-size: 15rpx;
  628. font-weight:500;
  629. margin-right: 16.67rpx;
  630. // height: 40px;
  631. width: 120rpx;
  632. padding: 6rpx 20rpx;
  633. }
  634. }
  635. }
  636. }
  637. }
  638. }
  639. .tab-content{
  640. display: flex;
  641. margin: 8rpx 10rpx;
  642. border-radius: 4rpx;
  643. background-color: #fff;
  644. width: calc(100% - 20rpx);
  645. height: 980rpx;
  646. z-index:10;
  647. .order-list{
  648. padding: 8rpx;
  649. display: flex;
  650. width: 100%;
  651. // height: 100%;
  652. .text{
  653. display: flex;
  654. width: 750rpx;
  655. justify-content:center;
  656. align-items: flex-start;
  657. .zwsj {
  658. margin-top: 103.13rpx;
  659. width: 640.63rpx;
  660. height: 310rpx;
  661. }
  662. }
  663. .order-list-wrap{
  664. display: flex;
  665. .order-card{
  666. display: flex;
  667. width: 100%;
  668. // border-bottom: 1px solid #e6e8ee;;
  669. }
  670. }
  671. }
  672. }
  673. }
  674. }
  675. </style>