index.vue 20 KB

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