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}}{{tabActive===0 && index==0 && orderList.length>0?"("+orderList.length+")":""}}</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.value.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. if(ids.value.length>0){
  265. console.log('ids.value',ids.value)
  266. ids.value.forEach(x=>{
  267. console.log('orderList',orderList.value)
  268. const index = orderList.value.findIndex(y=>y.id == x)
  269. console.log('orderList index',index)
  270. if(index>-1){
  271. console.log('orderList',orderList.value)
  272. orderList.value.splice(index,1)
  273. console.log('orderList',orderList.value)
  274. }
  275. })
  276. }
  277. }
  278. }
  279. const handleGetOffice = (e)=>{
  280. console.log('handleGetOffice', e.detail.value)
  281. console.log('officeIndex', officeIndex)
  282. console.log('officeIndex', officeIndex)
  283. officeIndex.value = e.detail.value
  284. }
  285. const handleGetType = (e)=>{
  286. console.log('handleGetType', e.detail.value)
  287. console.log('typeIndex', typeIndex)
  288. console.log('typeArr', typeIndex)
  289. typeIndex.value = e.detail.value
  290. if(typeIndex.value ===1 ){
  291. searchName.value = ''
  292. } else {
  293. searchPreNo.value = ''
  294. }
  295. }
  296. const handleGetTags = (v)=>{
  297. console.log('handleGetTags', v)
  298. if(!searchTags.value.includes(v)) {
  299. searchTags.value.push(v)
  300. } else {
  301. searchTags.value.splice(searchTags.value.indexOf(v), 1)
  302. }
  303. switch (v) {
  304. case '全部':
  305. if(searchTags.value.includes(v)){
  306. searchTags.value = ['全部']
  307. searchTime.value = []
  308. searchDepartment.value = ''
  309. searchName.value = ''
  310. searchPreNo.value = ''
  311. searchSex.value = ''
  312. searchPreMzZy.value = ''
  313. searchStatus.value = ''
  314. }
  315. break
  316. case '门诊':
  317. if(searchTags.value.includes(v) && searchTags.value.includes('住院')){
  318. searchTags.value.splice(searchTags.value.indexOf('住院'), 1)
  319. }
  320. if(searchTags.value.includes('全部')){
  321. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  322. }
  323. searchPreMzZy.value = '1'
  324. break
  325. case '住院':
  326. if(searchTags.value.includes(v) && searchTags.value.includes('门诊')){
  327. searchTags.value.splice(searchTags.value.indexOf('门诊'), 1)
  328. }
  329. if(searchTags.value.includes('全部')){
  330. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  331. }
  332. searchPreMzZy.value = '2'
  333. break
  334. case '男':
  335. if(searchTags.value.includes(v) && searchTags.value.includes('女')){
  336. searchTags.value.splice(searchTags.value.indexOf('女'), 1)
  337. }
  338. if(searchTags.value.includes('全部')){
  339. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  340. }
  341. searchSex.value = '男'
  342. break
  343. case '女':
  344. if(searchTags.value.includes(v) && searchTags.value.includes('男')){
  345. searchTags.value.splice(searchTags.value.indexOf('男'), 1)
  346. }
  347. if(searchTags.value.includes('全部')){
  348. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  349. }
  350. searchSex.value = '女'
  351. break
  352. case '煎煮':
  353. if(searchTags.value.includes(v) && searchTags.value.includes('发药')){
  354. searchTags.value.splice(searchTags.value.indexOf('发药'), 1)
  355. }
  356. if(searchTags.value.includes('全部')){
  357. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  358. }
  359. searchStatus.value = '煎煮'
  360. break
  361. case '发药':
  362. if(searchTags.value.includes(v) && searchTags.value.includes('煎煮')){
  363. searchTags.value.splice(searchTags.value.indexOf('煎煮'), 1)
  364. }
  365. if(searchTags.value.includes('全部')){
  366. searchTags.value.splice(searchTags.value.indexOf('全部'), 1)
  367. }
  368. searchStatus.value = '发药'
  369. break
  370. default:
  371. searchTags.value = ['全部']
  372. }
  373. }
  374. // 更新处方列表
  375. const checkIndex = async(index) => {
  376. tabActive.value = index
  377. page.value= 1
  378. console.log('index',index)
  379. ids.value = []
  380. tabName.value = tabList.value[index].title
  381. currentStatus.value = parseInt(tabList.value[index].status)
  382. const token = uni.getStorageSync('token')
  383. const paramss = {
  384. token: uni.getStorageSync('token'),
  385. data:JSON.stringify({
  386. currentUserId: parseInt(uni.getStorageSync('userId')),
  387. page: page.value,
  388. pageSize: pageSize.value,
  389. status: tabList.value[tabActive.value].status
  390. })
  391. }
  392. console.log('checkIndex params',paramss)
  393. const {data:res} = await receiveOrderList(paramss)
  394. if (res.code === 200) {
  395. total.value = res.total
  396. orderList.value = res.rows
  397. if(tabActive.value ==0){
  398. tabList.value[0].leng = orderList.value.length
  399. }
  400. }
  401. }
  402. const openTime = ()=>{
  403. proxy.$refs.timeslot.open()
  404. }
  405. const loadMoreList =async()=>{
  406. console.log('loadMoreList>>>')
  407. page.value = page.value +1
  408. const params = {
  409. token: uni.getStorageSync('token'),
  410. data: JSON.stringify({
  411. currentUserId: parseInt(uni.getStorageSync('userId')) || 0,
  412. name: searchVal.value,
  413. page: page.value,
  414. pageSize: pageSize.value,
  415. status: tabActive.value + ''
  416. })
  417. }
  418. const {data:res} = await receiveOrderList(params)
  419. console.log('orderList.value before',orderList.value)
  420. if (res.code === 200) {
  421. total.value = res.total
  422. console.log('res.rows after',res.rows)
  423. res.rows.forEach(item=>{
  424. orderList.value.push(item)
  425. })
  426. console.log('orderList.value after',orderList.value)
  427. if(tabActive.value ==0){
  428. console.log('tabActive===',)
  429. tabList.value[0].leng = orderList.value.length
  430. }
  431. }
  432. }
  433. const loadPreList = async()=>{
  434. console.log('loadPreList>>>')
  435. page.value = 1
  436. const params = {
  437. token: uni.getStorageSync('token'),
  438. data: JSON.stringify({
  439. currentUserId: parseInt(uni.getStorageSync('userId')) || 0,
  440. name: searchVal.value,
  441. page: page.value,
  442. pageSize: pageSize.value,
  443. status: tabList.value[tabActive.value].status
  444. })
  445. }
  446. const {data:res} = await receiveOrderList(params)
  447. if (res.code === 200) {
  448. total.value = res.total
  449. orderList.value = res.rows
  450. if(tabActive ==0){
  451. tabList.value[0].leng = orderList.value.length
  452. }
  453. }
  454. }
  455. </script>
  456. <style lang="scss">
  457. .main {
  458. display: flex;
  459. flex-direction:column;
  460. justify-content:flex-start;
  461. // height: 2000px;
  462. width: 750rpx;
  463. .nav{
  464. display: flex;
  465. height:74.34rpx;
  466. width: 750rpx;
  467. // position: sticky;
  468. // top: 0;
  469. }
  470. .body{
  471. display: flex;
  472. height:calc(100% - 74.34rpx);
  473. flex-direction:column;
  474. justify-content:flex-start;
  475. .tab-box {
  476. display: flex;
  477. position: sticky;
  478. flex-direction:column;
  479. z-index: 100;
  480. .tab-bar{
  481. height: 62.5rpx;
  482. display: flex;
  483. justify-content:center;
  484. width: 100%;
  485. // border: 1px solid #000;
  486. .tab_item{
  487. display: flex;
  488. flex:1;
  489. justify-content:center;
  490. align-items: center;
  491. font-size: 17.5rpx;
  492. background-color: #fff;
  493. color: #000;
  494. }
  495. .active{
  496. border-bottom: 5rpx solid #18C7B0;
  497. }
  498. }
  499. .search-bar{
  500. display: flex;
  501. background-color: #fff;
  502. border-radius: 4rpx;
  503. .today{
  504. display: flex;
  505. flex-direction:row;
  506. justify-content: flex-start;
  507. .search{
  508. width: 453.75rpx;
  509. margin: 13.75rpx 10.1rpx;
  510. :deep(.uni-easyinput__placeholder-class){
  511. font-size: 15rpx;
  512. }
  513. }
  514. .search-button{
  515. display: flex;
  516. justify-content:center;
  517. align-items: center;
  518. width:112.5rpx;
  519. margin: 13.75rpx 10.1rpx;
  520. font-size: 15rpx;
  521. background-color: #18C7B0;
  522. }
  523. .refresh {
  524. display: flex;
  525. justify-content:center;
  526. align-items: center;
  527. width:120rpx;
  528. margin: 13.75px 8rpx;
  529. font-size: 15rpx;
  530. background-color: #18C7B0;
  531. }
  532. .active{
  533. background-color:#DEDEDE;
  534. }
  535. }
  536. .history{
  537. display: flex;
  538. width: 100%;
  539. .searchchoice{
  540. padding: 0 10rpx;
  541. display: flex;
  542. width: 100%;
  543. flex-direction:column;
  544. font-size: 24rpx;
  545. .row1{
  546. display: flex;
  547. width: 100%;
  548. justify-content:flex-start;
  549. align-items: center;
  550. margin: 10rpx 0 10rpx;
  551. font-size: 15rpx;
  552. .timequan{
  553. display: flex;
  554. justify-content:center;
  555. align-items: center;
  556. :deep(.uni-date__x-input){
  557. font-size: 15rpx;
  558. }
  559. .datepick {
  560. z-index: 999;
  561. width: 627.5rpx;
  562. }
  563. }
  564. }
  565. .row2{
  566. display: flex;
  567. width: 100%;
  568. justify-content:flex-start;
  569. align-items: center;
  570. margin: 0 0 10rpx;
  571. .office{
  572. display: flex;
  573. justify-content:center;
  574. align-items: center;
  575. font-size: 15rpx;
  576. .uni-input{
  577. display: flex;
  578. justify-content:center;
  579. align-items: center;
  580. border:1px solid #e1e5f1;
  581. font-size: 15rpx;
  582. width:190rpx;
  583. // height: 40rpx;
  584. border-radius: 5rpx;
  585. background-color: #e1e5f1;
  586. margin-right: 10rpx;
  587. }
  588. }
  589. .uni-input{
  590. display: flex;
  591. justify-content:center;
  592. align-items: center;
  593. border:1px solid #e1e5f1;
  594. font-size: 15rpx;
  595. width:100rpx;
  596. height: 40rpx;
  597. border-radius: 5rpx;
  598. background-color: #e1e5f1;
  599. margin-right: 10rpx;
  600. }
  601. .search{
  602. width: 187.5rpx;
  603. height: 40rpx;
  604. :deep(.easyinput__content-input){
  605. height: 40rpx!important;
  606. }
  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>