index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718
  1. <template>
  2. <view class='container uni-column'>
  3. <view class='nav uni-row'>
  4. <view v-for="(item,index) in statusList" :key="index" :class="{'selecter':singleSelectd(item)}">
  5. <!-- <text :class='pendingClass' @click='selectPending'>带周转</text>
  6. <text :class='turnoverClass' @click='selectTurnover'>周转中</text> -->
  7. <!-- <image class='img' src="../../static/screen.png"></image> -->
  8. <text @click='selectedStatus(item)'> {{item['name']}}</text>
  9. </view>
  10. </view>
  11. <!-- 待周转页面 -->
  12. <view class="padding-container" v-if='selectedInfo.id == 4'>
  13. <view class="scroll-container" >
  14. <view v-if="listData.length == 0" style="color: #999;margin: 50% auto;">
  15. <text>暂无待周转批次</text>
  16. </view>
  17. <view v-else v-for="(item, index) in listData" :key="index"
  18. :class="{'list-item':true,'selected':isSelected(item)}">
  19. <!-- @click="handleSelection(item)" -->
  20. <view class="title-container uni-row">
  21. <view class="title uni-row">
  22. <text class="label">{{ item['turnoverArea'] }}</text>
  23. <text class="label code">{{ item['preDeptName'] }}</text>
  24. <text class="label code" style="margin-left: 16rpx;">→</text>
  25. <text class="label code" style="margin-left: 16rpx;">{{ item['deptName'] }}</text>
  26. </view>
  27. <view class="right-info uni-row">
  28. <view class="uni-row"><text class="label right">待周转</text></view>
  29. </view>
  30. </view>
  31. <view class="item-info uni-row"> <text class="label ">批次</text>
  32. <text class="label right">{{ item['lotCode'] }}</text>
  33. </view>
  34. <view class="item-info uni-row"> <text class="label">箱数</text>
  35. <text class="label right ">{{ item['carriers'] }}</text>
  36. </view>
  37. <view class="item-info uni-row">
  38. <text class="label">数量</text>
  39. <text class="label right">{{ item['daywork'].processQualifiedNum }}</text>
  40. </view>
  41. <view class="item-info uni-row">
  42. <text class="label">箱号</text>
  43. <text class="label right">{{ item['carrierName']}}</text>
  44. </view>
  45. <view class="item-info uni-row">
  46. <text class="label">申请时间</text>
  47. <text class="label right">{{ item['startTime']}}</text>
  48. </view>
  49. <view class="item-info uni-row">
  50. <text class="label">申请人</text>
  51. <text class="label right">{{ item['nickName']}}</text>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="bottom-btn-container uni-row">
  56. <button class="bottom-btn" @click="handleStartTurn">开始周转</button>
  57. </view>
  58. </view>
  59. <!-- 周转中页面 -->
  60. <view class='turnover-container' v-if='selectedInfo.id == 5'>
  61. <view class="scroll-container" >
  62. <view v-if="lotList.length == 0" style="color: #999;margin: 50% auto;">
  63. <text>暂无周转中批次</text>
  64. </view>
  65. <!-- 循环周转中的数据 -->
  66. <view v-else class='item-container'>
  67. <!-- <view v-if="products.length > 0" class="turnover-title uni-row">
  68. <view class="uni-row" style="align-items: center;">
  69. <view><text class='title-color'>{{turnoverContentTitle}}箱</text></view>
  70. <view><text class="second-info">{{turnoverSecondTitle}}</text></view>
  71. </view>
  72. <view><text class="label">周转中</text></view>
  73. </view> -->
  74. <view :class="{'list-container':true,'selected':isSelected(item)}" v-for="(item,index) in lotList"
  75. @click="handleSelection(item)" :key='index'>
  76. <view class="turnover-title uni-row">
  77. <view class="uni-row" style="align-items: center;">
  78. <view><text class='title-color'>{{ item[0]['totalCarrier'] }}箱</text></view>
  79. <view><text class="second-info">{{item[0].preDeptName + '→' + item[0].deptName }}</text>
  80. </view>
  81. </view>
  82. </view>
  83. <view v-for="(lot,index) in item" :key="index" style="margin-bottom: 10rpx;">
  84. <view class="list-container-item product-description uni-row">
  85. <text class="label left-value">产品描述</text>
  86. <text class="label right-value">{{lot['productDescription']}}</text>
  87. </view>
  88. <view class="list-container-item uni-row">
  89. <text class="label left-value">批次</text>
  90. <text class="label right-value">{{lot['lotCode']}}</text>
  91. </view>
  92. <view class="list-container-item uni-row">
  93. <text class="label left-value">箱数</text>
  94. <text class="label right-value">{{lot['carrierName'].split('、').length}}</text>
  95. </view>
  96. <view class="list-container-item uni-row">
  97. <text class="label left-value">箱号</text>
  98. <text class="label right-value">{{lot['carrierName']}}</text>
  99. </view>
  100. </view>
  101. </view>
  102. </view>
  103. </view>
  104. <view class='bottom-btn-container uni-row' >
  105. <button type='primary' class='bottom-btn' @click="handleConfirmDelivery" >确认送达</button>
  106. <button type='primary' class='bottom-btn' @click="handleBackturnover" style="margin-left: 24rpx;" >退回上一级</button>
  107. </view>
  108. </view>
  109. <!-- 已送达页面 -->
  110. <view class='turnover-container' v-if='selectedInfo.id == 6'>
  111. <view class="scroll-container" >
  112. <view v-if="deliveredList.length == 0" style="color: #999;margin: 50% auto;">
  113. <text>暂无已送达批次</text>
  114. </view>
  115. <!-- 循环已送达的数据 -->
  116. <view v-else class='item-container'>
  117. <view :class="{'list-container':true,'selected':isSelected(item)}" v-for="(item,index) in deliveredList"
  118. @click="handleSelection(item)" :key='index'>
  119. <view class="turnover-title uni-row">
  120. <view class="uni-row" style="align-items: center;">
  121. <view><text class='title-color'>{{ item[0]['totalCarrier'] }}箱</text></view>
  122. <view><text class="second-info">{{item[0].preDeptName + '→' + item[0].deptName }}</text>
  123. </view>
  124. </view>
  125. </view>
  126. <view v-for="(lot,index) in item" :key="index" style="margin-bottom: 10rpx;">
  127. <view class="list-container-item product-description uni-row">
  128. <text class="label left-value">产品描述</text>
  129. <text class="label right-value">{{lot['productDescription']}}</text>
  130. </view>
  131. <view class="list-container-item uni-row">
  132. <text class="label left-value">批次</text>
  133. <text class="label right-value">{{lot['lotCode']}}</text>
  134. </view>
  135. <view class="list-container-item uni-row">
  136. <text class="label left-value">箱数</text>
  137. <text class="label right-value">{{lot['carrierName'].split('、').length}}</text>
  138. </view>
  139. <view class="list-container-item uni-row">
  140. <text class="label left-value">箱号</text>
  141. <text class="label right-value">{{lot['carrierName']}}</text>
  142. </view>
  143. </view>
  144. </view>
  145. </view>
  146. </view>
  147. <view class='bottom-btn-container uni-row'>
  148. <button type='primary' class='bottom-btn' @click="handleConfirmDelivery">确认送达</button>
  149. </view>
  150. </view>
  151. <!-- 已接收页面 -->
  152. <view class='turnover-container' v-if='selectedInfo.id == 7'>
  153. <view class="scroll-container" >
  154. <view v-if="receivedList.length == 0" style="color: #999;margin: 50% auto;">
  155. <text>暂无已接收批次</text>
  156. </view>
  157. <!-- 循环已接收的数据 -->
  158. <view v-else class='item-container'>
  159. <view :class="{'list-container':true,'selected':isSelected(item)}" v-for="(item,index) in receivedList"
  160. @click="handleSelection(item)" :key='index'>
  161. <view class="turnover-title uni-row">
  162. <view class="uni-row" style="align-items: center;">
  163. <view><text class='title-color'>{{ item[0]['totalCarrier'] }}箱</text></view>
  164. <view><text class="second-info">{{item[0].preDeptName + '→' + item[0].deptName }}</text>
  165. </view>
  166. </view>
  167. </view>
  168. <view v-for="(lot,index) in item" :key="index" style="margin-bottom: 10rpx;">
  169. <view class="list-container-item product-description uni-row">
  170. <text class="label left-value">产品描述</text>
  171. <text class="label right-value">{{lot['productDescription']}}</text>
  172. </view>
  173. <view class="list-container-item uni-row">
  174. <text class="label left-value">批次</text>
  175. <text class="label right-value">{{lot['lotCode']}}</text>
  176. </view>
  177. <view class="list-container-item uni-row">
  178. <text class="label left-value">箱数</text>
  179. <text class="label right-value">{{ lot['carrierName'] ? lot['carrierName'].split('、').length : 0 }}</text>
  180. </view>
  181. <view class="list-container-item uni-row">
  182. <text class="label left-value">箱号</text>
  183. <text class="label right-value">{{lot['carrierName']}}</text>
  184. </view>
  185. </view>
  186. </view>
  187. </view>
  188. </view>
  189. <view class='bottom-btn-container uni-row'>
  190. <button type='primary' class='bottom-btn' @click="handleConfirmDelivery">确认送达</button>
  191. </view>
  192. </view>
  193. </view>
  194. <dialog-confirm ref="confirm" @submit="handleConfirmUnbind" @backTurnover="handleConfirmBack" @reflush="reflush"></dialog-confirm>
  195. <dialog-turnoverTask ref="turnoverTask"></dialog-turnoverTask>
  196. </template>
  197. <script setup>
  198. import {
  199. ref
  200. } from 'vue'
  201. import {
  202. onLoad
  203. } from '@dcloudio/uni-app'
  204. // import pending from './pending';
  205. // import turnover from './turnover';
  206. import {
  207. getDayWorkItemList,
  208. getItemList
  209. } from '@/api/business/dayWorkItem.js'
  210. import {
  211. updateDayWorkItem,
  212. updateDayWorkItemBatch
  213. } from '@/api/business/dayWorkItem.js'
  214. import {
  215. getDictInfoByType
  216. } from '@/api/dict/dict.js'
  217. const sum = ref(0)
  218. const pendingClass = ref({
  219. selecter: true
  220. })
  221. const turnoverClass = ref({
  222. selecter: false
  223. })
  224. const selection = ref([])
  225. const selectedInfo = ref({})
  226. const pendingShow = ref(true)
  227. const turnoverShow = ref(false)
  228. const listData = ref([])
  229. const products = ref([])
  230. const confirm = ref(null) // 弹窗组件
  231. const turnoverTask = ref(null) // 弹窗组件
  232. const lotList = ref([])
  233. const deliveredList = ref([])
  234. const receivedList = ref([])
  235. const statusList = ref([
  236. {"id": 4,"name": "待周转"},
  237. {"id": 5,"name": "周转中"},
  238. {"id": 6,"name": "已送达"},
  239. {"id": 7,"name": "已接收"}
  240. ])
  241. onLoad(() => {
  242. uni.$once('confirmDelivery', function() {
  243. init();
  244. })
  245. init()
  246. selectedInfo.value = statusList.value[0]
  247. })
  248. function init() {
  249. //待周转
  250. getItemList({
  251. status: 4
  252. }).then(res => {
  253. if (res.code == 200) {
  254. listData.value = res.rows;
  255. // 设置箱数
  256. for (var i = 0; i < listData.value.length; i++) {
  257. listData.value[i].carriers = listData.value[i].carrierName.split('、').length;
  258. }
  259. console.log(res)
  260. }
  261. })
  262. //周转中
  263. getItemList({
  264. status: 5
  265. }).then(res => {
  266. if (res.code == 200) {
  267. // 通过dayworkId再分组
  268. const groupedRows = res.rows.reduce((acc, item) => {
  269. const dept = item.deptId;
  270. if (acc.hasOwnProperty(dept)) {
  271. acc[dept].push(item);
  272. } else {
  273. acc[dept] = [item];
  274. }
  275. return acc;
  276. }, {});
  277. // groupedRows 是一个对象,其键是dayworkId,值是具有相同dayworkId的对象数组
  278. // 如果需要将它转换为二维数组,您可以使用 Object.values 方法
  279. lotList.value = Object.values(groupedRows);
  280. // 设置箱数
  281. for (let i = 0; i < lotList.value.length; i++) {
  282. lotList.value[i][0].totalCarrier = 0;
  283. for (let j = 0; j < lotList.value[i].length; j++) {
  284. lotList.value[i][0].totalCarrier += lotList.value[i][j].carrierName.split('、').length;
  285. }
  286. }
  287. console.log(lotList.value)
  288. }
  289. })
  290. //已送达
  291. getItemList({
  292. status: 6
  293. }).then(res => {
  294. if (res.code == 200) {
  295. // 通过dayworkId再分组
  296. const groupedRows = res.rows.reduce((acc, item) => {
  297. const dept = item.deptId;
  298. if (acc.hasOwnProperty(dept)) {
  299. acc[dept].push(item);
  300. } else {
  301. acc[dept] = [item];
  302. }
  303. return acc;
  304. }, {});
  305. // groupedRows 是一个对象,其键是dayworkId,值是具有相同dayworkId的对象数组
  306. // 如果需要将它转换为二维数组,您可以使用 Object.values 方法
  307. deliveredList.value = Object.values(groupedRows);
  308. // 设置箱数
  309. for (let i = 0; i < deliveredList.value.length; i++) {
  310. deliveredList.value[i][0].totalCarrier = 0;
  311. for (let j = 0; j < deliveredList.value[i].length; j++) {
  312. deliveredList.value[i][0].totalCarrier += deliveredList.value[i][j].carrierName.split('、').length;
  313. }
  314. }
  315. }
  316. })
  317. //已接收
  318. getItemList({
  319. status: 7
  320. }).then(res => {
  321. if (res.code == 200) {
  322. // 通过dayworkId再分组
  323. const groupedRows = res.rows.reduce((acc, item) => {
  324. const dept = item.deptId;
  325. if (acc.hasOwnProperty(dept)) {
  326. acc[dept].push(item);
  327. } else {
  328. acc[dept] = [item];
  329. }
  330. return acc;
  331. }, {});
  332. // groupedRows 是一个对象,其键是dayworkId,值是具有相同dayworkId的对象数组
  333. // 如果需要将它转换为二维数组,您可以使用 Object.values 方法
  334. receivedList.value = Object.values(groupedRows);
  335. // 设置箱数
  336. for (let i = 0; i < receivedList.value.length; i++) {
  337. receivedList.value[i][0].totalCarrier = 0;
  338. for (let j = 0; j < receivedList.value[i].length; j++) {
  339. if (receivedList.value[i][j].carrierName) {
  340. receivedList.value[i][0].totalCarrier += receivedList.value[i][j].carrierName.split('、').length;
  341. } else {
  342. receivedList.value[i][0].totalCarrier += 0;
  343. }
  344. // receivedList.value[i][0].totalCarrier += receivedList.value[i][j].carrierName.split('、').length;
  345. }
  346. }
  347. console.log(receivedList.value)
  348. }
  349. })
  350. }
  351. function reflush() {
  352. // turnoverContentTitle.value = 0;
  353. lotList.value = [];
  354. init();
  355. }
  356. function handleConfirmUnbind() {
  357. handleDoTurn();
  358. }
  359. function handleStartTurn() {
  360. // if(selection.value.length > 0){
  361. // let msg = '是否确认周转?';
  362. // confirm.value.open(msg);
  363. // }
  364. // turnoverTask.value.open(selection.value);
  365. uni.navigateTo({
  366. url: "/pages/startTurnover/index"
  367. })
  368. }
  369. function handleConfirmDelivery() {
  370. if (selection.value.length > 0) {
  371. let msg = '是否确认送达?';
  372. confirm.value.open(msg);
  373. }else{
  374. uni.showToast({
  375. icon: 'none',
  376. title: '请选择后再点击确认送达按钮',
  377. duration: 2000
  378. })
  379. }
  380. }
  381. function handleBackturnover() {
  382. if(selection.value.length>0) {
  383. let msg ='是否返回待周转?'
  384. confirm.value.open(msg);
  385. }
  386. }
  387. function handleDoTurn() {
  388. // 设置周转状态
  389. for (let i = 0; i < selection.value.length; i++) {
  390. selection.value[i].status = '6';
  391. }
  392. updateDayWorkItemBatch(selection.value).then(res => {
  393. if (res.code === 200) {
  394. uni.showToast({
  395. icon: 'success',
  396. title: '操作成功',
  397. duration: 2000
  398. });
  399. reflush();
  400. } else {
  401. uni.showToast({
  402. icon: 'error',
  403. title: '操作失败',
  404. duration: 2000
  405. });
  406. }
  407. })
  408. // 清空选中数组
  409. selection.value = [];
  410. }
  411. //回退状态
  412. function handleConfirmBack() {
  413. // 设置周转状态
  414. for (let i = 0; i < selection.value.length; i++) {
  415. selection.value[i].status = '4';
  416. }
  417. // updateBackDayWorkItemBatch(selection.value).then(res => {
  418. // if (res.code === 200) {
  419. // uni.showToast({
  420. // icon: 'success',
  421. // title: '操作成功',
  422. // duration: 2000
  423. // });
  424. // reflush();
  425. // } else {
  426. // uni.showToast({
  427. // icon: 'error',
  428. // title: '操作失败',
  429. // duration: 2000
  430. // });
  431. // }
  432. // })
  433. // // 清空选中数组
  434. // selection.value = [];
  435. console.log(selection.value)
  436. }
  437. function isSelected(item) {
  438. //单选
  439. return selection.value == item;
  440. //多选
  441. // return selection.value.includes(item);
  442. }
  443. function handleSelection(item) {
  444. // 单选
  445. if (selection.value == item) {
  446. selection.value = []
  447. } else {
  448. selection.value = item;
  449. }
  450. // 多选
  451. // const buttonIndex = selection.value.findIndex(selectedItem => selectedItem === item);
  452. // if (buttonIndex > -1) {
  453. // selection.value.splice(buttonIndex, 1); // 取消选中
  454. // } else {
  455. // selection.value.push(item); // 选中
  456. // }
  457. console.log(selection.value, "selection");
  458. }
  459. function selectPending() {
  460. pendingClass.value['selecter'] = true;
  461. turnoverClass.value['selecter'] = false;
  462. pendingShow.value = true;
  463. turnoverShow.value = false;
  464. }
  465. function selectTurnover() {
  466. pendingClass.value['selecter'] = false;
  467. turnoverClass.value['selecter'] = true;
  468. pendingShow.value = false;
  469. turnoverShow.value = true;
  470. }
  471. function selectedStatus(item) {
  472. console.log(item)
  473. selectedInfo.value = item
  474. }
  475. function singleSelectd(item) {
  476. return selectedInfo.value == item
  477. }
  478. </script>
  479. <style lang="scss">
  480. $navHeight: 48rpx;
  481. /* 导航栏样式 */
  482. .container {
  483. height: calc(100% - $navHeight);
  484. position: relative;
  485. top: $navHeight;
  486. background-color: #f5f5f5;
  487. }
  488. .selected {
  489. border: 1px solid #1684fc;
  490. border-radius: 8rpx;
  491. padding: 8rpx;
  492. }
  493. .nav {
  494. justify-content: space-around;
  495. // position: fixed;
  496. // top:0;
  497. width: 100%;
  498. height: $navHeight;
  499. border-bottom: 3rpx solid rgba(228, 231, 237, 1);
  500. background-color: rgba(255, 255, 255, 1);
  501. .img {
  502. width: 24rpx;
  503. height: 24rpx;
  504. position: fixed;
  505. right: 10rpx;
  506. top: 0;
  507. }
  508. }
  509. .selecter {
  510. height: 48rpx;
  511. color: rgba(25, 137, 250, 1);
  512. border-bottom: 3rpx solid rgba(25, 137, 250, 1);
  513. }
  514. /* 待周转样式 */
  515. .padding-container,
  516. .turnover-container {
  517. position: absolute;
  518. top: 56rpx;
  519. right: 0;
  520. bottom: 0rpx;
  521. left: 0;
  522. background-color: #f5f5f5;
  523. .scroll-container {
  524. position: absolute;
  525. top: 24rpx;
  526. right: 0;
  527. bottom: 136rpx;
  528. left: 0;
  529. }
  530. .bottom-btn-container {
  531. height: 10%;
  532. position: fixed;
  533. right: 0;
  534. bottom: 0;
  535. left: 0;
  536. height: 80rpx;
  537. border-top: 1px solid #999999;
  538. padding: 16rpx 32rpx;
  539. align-items: center;
  540. background-color: #fff;
  541. .bottom-btn {
  542. // padding-left: 0;
  543. // padding-top: 4rpx;
  544. flex: 1;
  545. font-size: 28rpx;
  546. color: #FFFFFF;
  547. background-color: #1684fc;
  548. }
  549. }
  550. }
  551. .padding-container {
  552. .scroll-container {
  553. max-height: 90%;
  554. overflow: auto;
  555. .list-item {
  556. background-color: #fff;
  557. padding: 0 24rpx;
  558. padding-bottom: 24rpx;
  559. margin: 0 24rpx;
  560. margin-bottom: 24rpx;
  561. border-radius: 8rpx;
  562. .title-container {
  563. justify-content: space-between;
  564. margin-top: 8rpx;
  565. margin-bottom: 16rpx;
  566. .title {
  567. height: 48rpx;
  568. align-items: center;
  569. .label {
  570. color: #1684fc;
  571. font-size: 32rpx;
  572. font-weight: bold;
  573. &.code {
  574. color: #000000;
  575. margin-left: 32rpx;
  576. }
  577. }
  578. }
  579. }
  580. .item-info {
  581. margin-bottom: 16rpx;
  582. .label {
  583. font-size: 28rpx;
  584. width: 160rpx;
  585. color: #808080;
  586. &.right {
  587. flex: 1;
  588. color: #000000;
  589. }
  590. }
  591. }
  592. .right-info {
  593. justify-content: flex-end;
  594. margin-top: 2rpx;
  595. .label {
  596. font-size: 28rpx;
  597. color: #808080;
  598. }
  599. }
  600. }
  601. }
  602. }
  603. /* 周转中样式 */
  604. .turnover-container {
  605. .scroll-container {
  606. height: 90%;
  607. overflow: scroll;
  608. .item-container {
  609. // height: 90%;
  610. // padding: 8rpx 0 32rpx 0;
  611. margin: 0 24rpx;
  612. margin-bottom: 24rpx;
  613. background-color: rgba(255, 255, 255, 1);
  614. border-radius: 8rpx;
  615. .turnover-title {
  616. width: auto;
  617. justify-content: space-between;
  618. margin: 16rpx;
  619. font-weight: bold;
  620. .label {
  621. font-size: 28rpx;
  622. color: #808080;
  623. }
  624. }
  625. .list-container {
  626. // margin: 16rpx 24rpx 16rpx 24rpx;
  627. width: calc(100% - 48rpx);
  628. margin: 16rpx auto;
  629. .list-container-item {
  630. border-bottom: 1px solid #999999;
  631. padding: 12rpx 8rpx;
  632. background-color: #EEF0F5;
  633. &.product-description {
  634. background-color: #ECF5FF;
  635. }
  636. .label {
  637. font-size: 28rpx;
  638. color: #999999;
  639. &.left-value {
  640. width: 152rpx;
  641. }
  642. &.right-value {
  643. flex: 1;
  644. color: #000000;
  645. }
  646. }
  647. }
  648. }
  649. .title-color {
  650. color: rgba(22, 132, 252, 1);
  651. font-size: 36rpx;
  652. font-weight: bold;
  653. }
  654. .second-info {
  655. font-size: 36rpx;
  656. font-weight: bold;
  657. margin-left: 32rpx;
  658. }
  659. .turnover-info {
  660. color: rgba(128, 128, 128, 1);
  661. position: absolute;
  662. top: 10rpx;
  663. right: 40rpx;
  664. font-size: 30rpx;
  665. }
  666. }
  667. }
  668. }
  669. </style>