index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905
  1. <template>
  2. <view>
  3. <!-- #ifdef MP || APP -->
  4. <NavBar titleText="配送员" :iconColor="iconColor" :textColor="iconColor" :isScrolling="isScrolling" showBack></NavBar>
  5. <!-- #endif -->
  6. <view class="headerBg"></view>
  7. <view class="order-index">
  8. <view class="header acea-row row-middle">
  9. <image :src="user.avatar" class="avatar"></image>
  10. <view class="text">
  11. <view class="name line1">{{ user.nickname }}</view>
  12. <view class="phone">{{ user.phone }}</view>
  13. </view>
  14. <view class="item">
  15. <!-- #ifdef APP-PLUS || MP-WEIXIN -->
  16. <view class="item">
  17. <view class="iconfont icon-ic_Scan ite" @click="to"></view>
  18. </view>
  19. <!-- #endif -->
  20. <!-- #ifdef H5 -->
  21. <view v-if="isWeixin" class="item">
  22. <view class="iconfont icon-ic_Scan ite" @click="to"></view>
  23. </view>
  24. <!-- #endif -->
  25. </view>
  26. </view>
  27. <view v-show="footer == 'tongji'" class="">
  28. <view class="wrapper">
  29. <view class="title acea-row row-between row-middle">
  30. <view class="uni-list-cell-db" @click="hiddened">
  31. <picker @change="bindPickerChange" :range="arrays" @cancel="cancel">
  32. <label class="aa">{{array.length && array[index].name}}</label>
  33. <text class='iconfont' :class='hidden==true?"icon-ic_downarrow":"icon-ic_uparrow"'></text>
  34. </picker>
  35. </view>
  36. <view class="tab acea-row">
  37. <view class="box" :class="detailtabs== 'today' ? 'on':''" @click="detailtab('today')">今日</view>
  38. <view class="box" :class="detailtabs== 'yesterday' ? 'on':''" @click="detailtab('yesterday')">昨日</view>
  39. <view class="box" :class="detailtabs== 'month' ? 'on':''" @click="detailtab('month')">本月</view>
  40. </view>
  41. </view>
  42. <Loading :loaded="loaded" :loading="loading"></Loading>
  43. <view class="list acea-row" v-if="!loading">
  44. <view class="item">
  45. <view class="num">{{ census.unsend || 0 }}</view>
  46. <view>待配送</view>
  47. </view>
  48. <view class="item">
  49. <view class="num">{{ census.send || 0 }}</view>
  50. <view>已配送</view>
  51. </view>
  52. <view class="item">
  53. <view class="num">{{ census.send_price || 0 }}</view>
  54. <view>配送金额</view>
  55. </view>
  56. </view>
  57. </view>
  58. <view class="public-wrapper">
  59. <view class="title">
  60. <view class="uni-list-cell-db" @click="hiddened">
  61. 详细数据
  62. </view>
  63. </view>
  64. <view class="nav acea-row row-between-wrapper">
  65. <view class="data">日期</view>
  66. <view class="browse">订单数</view>
  67. <view class="turnover">配送金额</view>
  68. </view>
  69. <Loading :loaded="loaded" :loading="loading"></Loading>
  70. <view v-if="list.length" class="conter">
  71. <view class="item acea-row row-between-wrapper" v-for="(item, index) in list" :key="index">
  72. <view class="data">{{ item.time }}</view>
  73. <view class="browse">{{ item.count }}</view>
  74. <view class="turnover">¥ {{ item.price }}</view>
  75. </view>
  76. </view>
  77. <view v-else class="unconter">
  78. <view v-if="!loading">暂无数据</view>
  79. </view>
  80. </view>
  81. </view>
  82. <view v-show="footer == 'list'" class="tongji-index">
  83. <view class="tabbar acea-row">
  84. <view class="item" :class="{ active: type == 1 }">
  85. <view class="text-box"></view>
  86. <view class="item-box"></view>
  87. <view class="inner acea-row row-center row-middle" @click="tab('1')">待配送({{ count.unsend }})</view>
  88. </view>
  89. <view class="item" :class="{ active: type == 2 }">
  90. <view class="text-box"></view>
  91. <view class="item-box"></view>
  92. <view class="inner acea-row row-center row-middle" @click="tab('2')">已配送({{ count.send }})</view>
  93. </view>
  94. </view>
  95. <view class="content">
  96. <view class="item" v-for="(item,index) in orderlist" :key="index" @click="jump(item.id)">
  97. <view class="item-top acea-row row-between row-middle">
  98. <view class="">订单号:{{ item.order_id }}</view>
  99. <view style="color: #FF7E00;">{{type == 1?'待配送':'已配送'}}</view>
  100. </view>
  101. <view class="item-center acea-row">
  102. <scroll-view v-if="item.cart_id.length > 1" class="goods-section scroll-view" scroll-x="true">
  103. <image v-for="(value, i) in item._info" :key="i" :src="value.cart_info.productInfo.image" class="image"></image>
  104. </scroll-view>
  105. <view v-else class="goods-section">
  106. <view v-for="(value, i) in item._info" :key="i" class="acea-row">
  107. <image :src="value.cart_info.productInfo.image" class="image"></image>
  108. <view class="name-wrap">
  109. <view class="name line2">{{ value.cart_info.productInfo.store_name }}</view>
  110. <view class="attr line1">{{ value.cart_info.productInfo.attrInfo.suk }}</view>
  111. </view>
  112. </view>
  113. </view>
  114. <view class="money-section">
  115. <baseMoney :money="item.pay_price" symbolSize="20" integerSize="32" decimalSize="20"></baseMoney>
  116. <view class="num">共{{ item.total_num }}件</view>
  117. </view>
  118. </view>
  119. <view class="item-bottom acea-row">
  120. <view>配送地址:</view>
  121. <view class="info">{{ item.user_address }}</view>
  122. </view>
  123. <!-- <view class="content_box" v-for="(val, key) in item._info" :key="key">
  124. <image :src="val.cart_info.productInfo.image" mode=""></image>
  125. <view class="content_box_title">
  126. <view class="txt">
  127. <view class="textbox"><text class="icon-color" v-if="val.cart_info.is_gift">[赠品]</text>{{ val.cart_info.productInfo.store_name }}</view>
  128. <view>x {{ val.cart_info.cart_num }}</view>
  129. </view>
  130. <p class="attribute">属性:{{ val.cart_info.productInfo.attrInfo.suk }}</p>
  131. <p>¥ {{ val.cart_info.productInfo.attrInfo.price }} </p>
  132. </view>
  133. </view> -->
  134. <!-- <view class="content_bottom">
  135. <view></view>
  136. <view>共{{ item.total_num }}件商品,订单实付:<span class="money">¥{{ item.pay_price }}</span></view>
  137. </view> -->
  138. </view>
  139. <emptyPage v-if="!orderlist.length && !loading" title="暂无数据~" src="/statics/images/noOrder.gif"></emptyPage>
  140. </view>
  141. <Loading :loaded="loaded" :loading="loading"></Loading>
  142. </view>
  143. </view>
  144. <view class="footer">
  145. <view class="footer-inner acea-row">
  146. <view class="tab acea-row row-column row-center row-middle" :class="footer == 'list'?'on':''" @click="footerTab('list')">
  147. <image v-if="footer == 'list'" :src="imgHost+'/statics/images/admin-order-menu2.png'" class="image"></image>
  148. <image v-else :src="imgHost+'/statics/images/admin-order-menu1.png'" class="image"></image>
  149. <view class="font">订单列表</view>
  150. </view>
  151. <view class="tab acea-row row-column row-center row-middle" :class="footer == 'tongji'?'on':''" @click="footerTab('tongji')">
  152. <image v-if="footer == 'tongji'" :src="imgHost+'/statics/images/admin-order-menu4.png'" class="image"></image>
  153. <image v-else :src="imgHost+'/statics/images/admin-order-menu3.png'" class="image"></image>
  154. <view class="font">数据统计</view>
  155. </view>
  156. </view>
  157. <view class="safe-area-inset-bottom"></view>
  158. </view>
  159. <view class="footer-placeholder"></view>
  160. <view class="safe-area-inset-bottom"></view>
  161. </view>
  162. </template>
  163. <script>
  164. import {
  165. // getStatisticsInfo,
  166. // getStatisticsMonth,
  167. deliveryInfo,
  168. deliveryStatistics,
  169. deliveryList,
  170. deliveryOrderList,
  171. orderWriteoffInfo
  172. } from "@/api/admin";
  173. import Loading from '@/components/Loading/index.vue';
  174. import emptyPage from '@/components/emptyPage.vue'
  175. // #ifdef MP || APP
  176. import NavBar from '@/components/NavBar.vue';
  177. // #endif
  178. import {
  179. HTTP_REQUEST_URL
  180. } from '@/config/app';
  181. export default {
  182. name: 'adminOrder',
  183. components: {
  184. Loading,
  185. emptyPage,
  186. // #ifdef MP || APP
  187. NavBar,
  188. // #endif
  189. },
  190. data() {
  191. return {
  192. hidden: true,
  193. index: 0,
  194. detailtabs: 'today',
  195. footer: 'list',
  196. type: '1',
  197. arrays: [], //展示下拉时的数据
  198. array: [], //下拉时选择的数据
  199. storeInfoid: 0, //下拉时选择的数据ID
  200. census: {},
  201. list: [],
  202. orderlist: [],
  203. count: {},
  204. page: 1,
  205. limit: 15,
  206. loaded: false,
  207. loading: false,
  208. user: {},
  209. ids: '',
  210. verify_code: '',
  211. // #ifdef H5
  212. isWeixin: this.$wechat.isWeixin(),
  213. // #endif
  214. imgHost: HTTP_REQUEST_URL,
  215. // #ifdef MP || APP
  216. iconColor: '#FFFFFF',
  217. isScrolling: false,
  218. // #endif
  219. }
  220. },
  221. onLoad() {
  222. // this.getIndex();
  223. // this.init()
  224. this.userInfo();
  225. this.footerTab('list')
  226. // this.$scroll(this.$refs.container, () => {
  227. // !this.loading && this.getList();
  228. // });
  229. },
  230. methods: {
  231. userInfo() {
  232. deliveryInfo().then(res => {
  233. this.user = res.data
  234. this.array = res.data.store_info.map(a => a);
  235. this.arrays = res.data.store_info.map(a => a.name);
  236. let obj = {
  237. id: 0,
  238. name: '全部'
  239. }
  240. this.array.unshift(obj);
  241. this.arrays.unshift(obj.name);
  242. })
  243. },
  244. getStatistics() {
  245. let data = {
  246. store_id: this.storeInfoid,
  247. data: this.detailtabs
  248. }
  249. deliveryStatistics(data).then(res => {
  250. this.census = res.data
  251. })
  252. },
  253. deliveryLists() {
  254. let data = {
  255. page: this.page,
  256. limit: this.limit,
  257. store_id: this.storeInfoid,
  258. data: this.detailtabs
  259. }
  260. if (this.loading || this.loaded) return;
  261. this.loading = true
  262. deliveryList(data).then(res => {
  263. this.loading = false
  264. this.loaded = res.data.length < this.limit
  265. this.page += 1
  266. // this.list = res.data
  267. this.list.push.apply(this.list, res.data);
  268. })
  269. },
  270. getOrderList() {
  271. if (this.loading || this.loaded) return;
  272. this.loading = true
  273. deliveryOrderList({
  274. type: this.type,
  275. page: this.page,
  276. limit: this.limit
  277. }).then(res => {
  278. this.loading = false
  279. this.count = res.data.data
  280. this.loaded = res.data.list.length < this.limit
  281. this.page += 1
  282. let arr = [];
  283. for (let i = 0; i < res.data.list.length; i++) {
  284. arr = [];
  285. for (let j = 0; j < res.data.list[i].user_address.length; j++) {
  286. if (res.data.list[i].user_address[j] != ' ') {
  287. arr.push(res.data.list[i].user_address[j]);
  288. }
  289. }
  290. res.data.list[i].user_address = arr.join('');
  291. }
  292. this.orderlist.push.apply(this.orderlist, res.data.list);
  293. })
  294. },
  295. init: function() {
  296. this.orderlist = [];
  297. this.list = [];
  298. this.page = 1;
  299. this.loaded = false;
  300. this.loading = false;
  301. },
  302. to() {
  303. var self = this;
  304. // #ifdef MP || APP
  305. uni.scanCode({
  306. scanType: ["qrCode", "barCode"],
  307. success(res) {
  308. self.verify_code = res.result
  309. self.codeChange();
  310. },
  311. fail(res) {},
  312. })
  313. // #endif
  314. //#ifdef H5
  315. this.$wechat.wechatEvevt('scanQRCode', {
  316. needResult: 1,
  317. scanType: ["qrCode", "barCode"]
  318. }).then(res => {
  319. let result = res.resultStr;
  320. if (result.includes(',')) {
  321. result = result.split(",")[1]
  322. }
  323. this.verify_code = result
  324. this.codeChange();
  325. });
  326. //#endif
  327. },
  328. // 立即核销
  329. codeChange: function() {
  330. let self = this
  331. let ref = /^[0-9]*$/;
  332. if (!this.verify_code) return self.$util.Tips({
  333. title: '请输入核销码'
  334. });
  335. if (!ref.test(this.verify_code)) return self.$util.Tips({
  336. title: '请输入正确的核销码'
  337. });
  338. self.$util.Tips({
  339. title: '查询中'
  340. });
  341. setTimeout(() => {
  342. orderWriteoffInfo(2, {
  343. verify_code: self.verify_code,
  344. code_type: 2
  345. }).then(res => {
  346. if (res.status == 200) {
  347. uni.navigateTo({
  348. url: './scanning/index?code=' + self.verify_code
  349. })
  350. } else {
  351. self.$util.Tips({
  352. title: res.msg
  353. });
  354. }
  355. }).catch(err => {
  356. self.$util.Tips({
  357. title: err
  358. });
  359. })
  360. }, 800);
  361. },
  362. footerTab: function(type) {
  363. this.footer = type
  364. this.init()
  365. if (type == 'tongji') {
  366. this.deliveryLists()
  367. this.getStatistics()
  368. }
  369. if (type == 'list') {
  370. this.getOrderList()
  371. }
  372. },
  373. tab(type) {
  374. this.type = type
  375. this.init()
  376. this.getOrderList()
  377. },
  378. hiddened: function(e) {
  379. this.hidden = !this.hidden;
  380. },
  381. cancel: function() {
  382. this.hidden = !this.hidden;
  383. },
  384. bindPickerChange: function(e) {
  385. this.hidden = !this.hidden;
  386. this.index = e.target.value
  387. this.storeInfoid = this.array[this.index].id
  388. this.init()
  389. this.getStatistics()
  390. this.deliveryLists()
  391. },
  392. detailtab: function(type) {
  393. this.detailtabs = type
  394. this.init()
  395. this.deliveryLists()
  396. this.getStatistics()
  397. },
  398. jump: function(id) {
  399. uni.navigateTo({
  400. url: 'orderDetail/index?id=' + id
  401. })
  402. }
  403. },
  404. onReachBottom() {
  405. if (this.footer == 'tongji') {
  406. this.deliveryList()
  407. }
  408. if (this.footer == 'list') {
  409. this.getOrderList()
  410. }
  411. }
  412. }
  413. </script>
  414. <style lang="scss" scoped>
  415. .footer-placeholder {
  416. height: 100rpx;
  417. }
  418. .safe-area-inset-bottom {
  419. height: 0;
  420. height: constant(safe-area-inset-bottom);
  421. height: env(safe-area-inset-bottom);
  422. }
  423. .nothing {
  424. width: 80%;
  425. margin: 0 auto;
  426. margin-top: 30px;
  427. text-align: center;
  428. color: #cfcfcf;
  429. }
  430. .ite {
  431. font-size: 20px;
  432. }
  433. .footer {
  434. position: fixed;
  435. left: 0;
  436. bottom: 0;
  437. width: 100%;
  438. background: #FFFFFF;
  439. .footer-inner {
  440. height: 100rpx;
  441. }
  442. .tab {
  443. flex: 1;
  444. font-size: 20rpx;
  445. line-height: 28rpx;
  446. color: #333333;
  447. .image {
  448. width: 40rpx;
  449. height: 40rpx;
  450. margin-bottom: 6rpx;
  451. }
  452. }
  453. .on {
  454. color: #2A7EFB;
  455. .font {
  456. color: #2A7EFB;
  457. }
  458. }
  459. }
  460. /*订单首页*/
  461. .headerBg {
  462. position: absolute;
  463. top: 0;
  464. left: 0;
  465. width: 100%;
  466. height: 516rpx;
  467. background: linear-gradient(270deg, #01ABF8 0%, #2A7EFB 100%);
  468. }
  469. .header {
  470. padding: 22rpx 40rpx 32rpx 32rpx;
  471. .avatar {
  472. width: 80rpx;
  473. height: 80rpx;
  474. border-radius: 50%;
  475. }
  476. .text {
  477. flex: 1;
  478. padding-left: 16rpx;
  479. font-size: 22rpx;
  480. line-height: 30rpx;
  481. color: #FFFFFF;
  482. }
  483. .name {
  484. font-weight: 500;
  485. font-size: 32rpx;
  486. line-height: 44rpx;
  487. }
  488. .phone {
  489. margin-top: 4rpx;
  490. }
  491. .items,
  492. .item {
  493. font-size: 24upx;
  494. color: #fff;
  495. height: 120upx;
  496. display: flex;
  497. align-items: center;
  498. image {
  499. width: 64upx;
  500. height: 64upx;
  501. border-radius: 60upx;
  502. border: 2upx solid #FFFFFF;
  503. }
  504. .font {
  505. display: inline-block;
  506. margin-left: 16upx;
  507. margin-right: 16upx;
  508. font-size: 30upx;
  509. }
  510. }
  511. }
  512. .order-index {
  513. position: relative;
  514. .tongji-index {
  515. padding: 0 20rpx;
  516. .empty-page{
  517. border-top-left-radius: 0;
  518. border-top-right-radius: 0;
  519. }
  520. }
  521. .tabbar {
  522. position: relative;
  523. z-index: 5;
  524. height: 96rpx;
  525. border-radius: 24rpx 24rpx 0 0;
  526. overflow: hidden;
  527. .item {
  528. position: relative;
  529. z-index: 5;
  530. flex: 1;
  531. font-size: 28rpx;
  532. color: #333333;
  533. &:last-child {
  534. .item-box {
  535. border-radius: 18rpx 0 0 0;
  536. transform: perspective(80rpx) scaleX(1.4) scaleY(1.5) rotateX(20deg) translate(20rpx, 0);
  537. }
  538. .text-box {
  539. border-radius: 0 24rpx 0 0;
  540. }
  541. }
  542. &.active {
  543. font-weight: 500;
  544. color: #2A7EFB;
  545. .item-box {
  546. display: block;
  547. }
  548. }
  549. }
  550. .text-box {
  551. position: absolute;
  552. bottom: 0;
  553. width: 100%;
  554. height: 78rpx;
  555. border-radius: 24rpx 0 0 0;
  556. background: rgba(255, 255, 255, 0.95);
  557. }
  558. .item-box {
  559. display: none;
  560. position: absolute;
  561. bottom: 0;
  562. z-index: 2;
  563. width: 100%;
  564. height: 96rpx;
  565. border-radius: 0 18rpx 0 0;
  566. background: #FFFFFF;
  567. transform-origin: center bottom;
  568. transform: perspective(80rpx) scaleX(1.4) scaleY(1.5) rotateX(20deg) translate(-20rpx, 0);
  569. }
  570. .inner {
  571. position: absolute;
  572. bottom: 0;
  573. z-index: 3;
  574. width: 100%;
  575. height: 78rpx;
  576. }
  577. }
  578. .content {
  579. .item {
  580. padding: 32rpx 24rpx;
  581. border-radius: 24rpx;
  582. margin-bottom: 20rpx;
  583. background: #FFFFFF;
  584. &:first-child {
  585. border-radius: 0 0 24rpx 24rpx;
  586. }
  587. }
  588. .item-top {
  589. font-size: 28rpx;
  590. line-height: 40rpx;
  591. color: #333333;
  592. }
  593. .item-center {
  594. margin-top: 26rpx;
  595. }
  596. .goods-section {
  597. flex: 1;
  598. min-width: 0;
  599. white-space: nowrap;
  600. .image {
  601. width: 136rpx;
  602. height: 136rpx;
  603. border-radius: 16rpx;
  604. }
  605. .name-wrap {
  606. flex: 1;
  607. min-width: 0;
  608. padding-left: 20rpx;
  609. }
  610. .name {
  611. font-size: 28rpx;
  612. line-height: 40rpx;
  613. color: #333333;
  614. }
  615. .attr {
  616. margin-top: 12rpx;
  617. font-size: 24rpx;
  618. line-height: 34rpx;
  619. color: #999999;
  620. }
  621. }
  622. .scroll-view {
  623. box-sizing: border-box;
  624. .image {
  625. margin-right: 16rpx;
  626. }
  627. }
  628. .item-bottom {
  629. padding: 18rpx 20rpx;
  630. border-radius: 8rpx;
  631. margin-top: 26rpx;
  632. background: #F5F5F5;
  633. font-size: 26rpx;
  634. line-height: 36rpx;
  635. color: #333333;
  636. .info {
  637. flex: 1;
  638. color: #999999;
  639. }
  640. }
  641. .scroll-view {
  642. box-sizing: border-box;
  643. .image {
  644. margin-right: 16rpx;
  645. }
  646. }
  647. .money-section {
  648. width: 102rpx;
  649. text-align: right;
  650. .num {
  651. margin-top: 8rpx;
  652. font-size: 24rpx;
  653. line-height: 34rpx;
  654. color: #999999;
  655. }
  656. }
  657. }
  658. }
  659. .order-index .header .icon-saoma {
  660. font-size: 40rpx;
  661. padding: 30rpx 20rpx 30rpx 80rpx;
  662. }
  663. .order-index .header .item,
  664. .order-index .header .items {
  665. font-size: 24upx;
  666. color: #fff;
  667. height: 120upx;
  668. display: flex;
  669. align-items: center;
  670. }
  671. .order-index .header .item .font,
  672. .order-index .header .items .font {
  673. display: inline-block;
  674. margin-left: 16upx;
  675. margin-right: 16upx;
  676. font-size: 30upx;
  677. }
  678. .order-index .header .items image {
  679. width: 64upx;
  680. height: 64upx;
  681. border-radius: 60upx;
  682. border: 2upx solid #FFFFFF;
  683. }
  684. .order-index .wrapper {
  685. width: 710rpx;
  686. border-radius: 24rpx;
  687. margin: 0 auto;
  688. background: #FFFFFF;
  689. }
  690. .order-index .wrapper .title .iconfont {
  691. color: #2291f8;
  692. font-size: 40upx;
  693. margin-right: 13upx;
  694. vertical-align: middle;
  695. }
  696. .order-index .wrapper .title {
  697. padding: 32rpx 24rpx;
  698. font-weight: 500;
  699. font-size: 30rpx;
  700. line-height: 42rpx;
  701. color: #333333;
  702. .uni-list-cell-db .iconfont {
  703. font-size: 24rpx;
  704. color: #CCCCCC;
  705. margin-left: 12rpx;
  706. }
  707. .tab {
  708. border-radius: 24rpx;
  709. background: #F5F5F5;
  710. .box {
  711. width: 96rpx;
  712. height: 48rpx;
  713. border-radius: 24rpx;
  714. text-align: center;
  715. font-weight: 400;
  716. font-size: 24rpx;
  717. line-height: 48rpx;
  718. color: #999999;
  719. }
  720. .on {
  721. background: #2A7EFB;
  722. color: #FFFFFF;
  723. }
  724. }
  725. }
  726. .order-index .wrapper .list .item {
  727. flex: 1;
  728. padding: 30rpx 0 38rpx;
  729. text-align: center;
  730. font-size: 24rpx;
  731. line-height: 34rpx;
  732. color: #999999;
  733. }
  734. .order-index .wrapper .list .item .num {
  735. margin-bottom: 10rpx;
  736. font-family: SemiBold;
  737. font-size: 36rpx;
  738. line-height: 36rpx;
  739. color: #333333;
  740. }
  741. .public-wrapper .title {
  742. padding: 32rpx 24rpx 40rpx;
  743. font-weight: 500;
  744. font-size: 30rpx;
  745. line-height: 42rpx;
  746. color: #333333;
  747. .uni-list-cell-db .iconfont {
  748. font-size: 24upx;
  749. color: #999;
  750. margin-left: 14upx;
  751. }
  752. .tab {
  753. width: 240upx;
  754. height: 48upx;
  755. background: #F5F5F5;
  756. border-radius: 24upx;
  757. display: flex;
  758. justify-content: space-between;
  759. font-weight: 400;
  760. color: #999999;
  761. font-size: 24upx;
  762. .box {
  763. width: 82upx;
  764. height: 48upx;
  765. border-radius: 24upx;
  766. text-align: center;
  767. line-height: 48upx;
  768. }
  769. .on {
  770. background: #1890FF;
  771. color: #FFFFFF;
  772. }
  773. }
  774. }
  775. .public-wrapper .title .iconfont {
  776. color: #2291f8;
  777. font-size: 40upx;
  778. margin-right: 13upx;
  779. vertical-align: middle;
  780. }
  781. .public-wrapper {
  782. width: 710rpx;
  783. border-radius: 24rpx;
  784. margin: 20rpx auto 0;
  785. background: #FFFFFF;
  786. }
  787. .public-wrapper .nav {
  788. padding: 0 40rpx;
  789. font-size: 24rpx;
  790. line-height: 34rpx;
  791. color: #999999;
  792. }
  793. .public-wrapper .data {
  794. width: 45%;
  795. text-align: left;
  796. }
  797. .public-wrapper .browse {
  798. width: 25%;
  799. }
  800. .public-wrapper .turnover {
  801. width: 30%;
  802. text-align: right;
  803. }
  804. .public-wrapper .conter {
  805. padding: 0 40rpx;
  806. }
  807. .public-wrapper .conter .item {
  808. padding: 20rpx 0;
  809. border-bottom: 1px solid #F1F1F1;
  810. font-size: 24rpx;
  811. line-height: 34rpx;
  812. color: #333333;
  813. }
  814. .public-wrapper .conter .item .turnover {
  815. color: #000000;
  816. font-weight: 400;
  817. }
  818. .public-wrapper .unconter {
  819. text-align: center;
  820. color: #999;
  821. padding: 25upx;
  822. }
  823. </style>