index.vue 20 KB

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