index.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944
  1. <template>
  2. <view class="cashier">
  3. <view class="cashier-topin" v-if="logintext">
  4. <view class="tegyhsj"> 收银台 </view>
  5. </view>
  6. <view class="cashier-header">
  7. <view class="cashier-header-text" v-if="toptext"> 收银台 </view>
  8. <view class="cashier-tablin">
  9. <view class="cashier-tablin-nie">
  10. <view class="cashier-tablin-nie-left">
  11. <view class="cashier-tablin-nie-left-icon">
  12. <image :src="merchantCashierShow.logo" mode="widthFix"> </image>
  13. </view>
  14. <view class="cashier-tablin-nie-left-text">
  15. <view class="cashier-tablin-nie-left-text-top">
  16. {{
  17. merchantCashierShow.mer_name == undefined
  18. ? "..."
  19. : merchantCashierShow.mer_name
  20. }}
  21. </view>
  22. <view class="cashier-tablin-nie-left-text-bottom">
  23. <view class="cashier-tablin-nie-left-text-bottom-in">
  24. {{
  25. merchantCashierShow.category_name == undefined
  26. ? "..."
  27. : merchantCashierShow.category_name
  28. }}
  29. </view>
  30. <view class="cashier-tablin-nie-left-text-bottom-it">
  31. 加入日期:{{
  32. merchantCashierShow.create_time == undefined
  33. ? "..."
  34. : merchantCashierShow.create_time
  35. }}
  36. </view>
  37. </view>
  38. </view>
  39. </view>
  40. <!-- <view class="cashier-tablin-nie-right" @click="activitecode(merchantCashierShow)" v-if="merchantCashierShow.merchant_level==1"> -->
  41. <view
  42. class="cashier-tablin-nie-right"
  43. @click="activitecode(merchantCashierShow)"
  44. >
  45. <image :src="merchantCashierShow.qrcode_src" mode="widthFix">
  46. </image>
  47. </view>
  48. </view>
  49. </view>
  50. </view>
  51. <view class="cashier-list" v-if="Number(zhuangi) != 7 ? false : true">
  52. <view class="cashier-list-top">
  53. <view class="cashier-jilu-top" style="font-weight: bold">
  54. 总贡献值: {{ gongxian || 0 }}
  55. </view>
  56. <view class="cashier-jilu-top" style="font-weight: bold">
  57. 总京豆: {{ jingdou || 0 }}
  58. </view>
  59. </view>
  60. <view class="cashier-list-top"></view>
  61. <view class="cashier-list-top">
  62. <view class="cashier-list-top-left">
  63. <view
  64. class="yi"
  65. v-for="(item, index) in items"
  66. @click="dianji(index)"
  67.  :style="index==indexs?'font-weight: 600;':'font-weight: 300;'"
  68. >
  69. {{ item.name }}
  70. <view
  71. class="cashier-list-top-left-yisss"
  72. v-if="index == indexs ? true : false"
  73. >
  74. </view>
  75. </view>
  76. </view>
  77. <view class="cashier-list-top-right" @click="peratingt">
  78. <view class="cashier-list-top-right-text"> 经营报表 </view>
  79. <view class="cashier-list-top-right-icon">
  80. <image
  81. src="https://cdn.bjtdba.com/vod/image/2022-08-11/20220811110111315.png"
  82. mode="widthFix"
  83. >
  84. </image>
  85. </view>
  86. </view>
  87. </view>
  88. <view class="cashier-list-tbot">
  89. <view class="yis">
  90. <view class="sgjd">
  91. ¥{{
  92. dataList.orderLineOrderSun
  93. ? dataList.orderLineOrderSun.orderLine || 0
  94. : 0
  95. }}
  96. </view>
  97. <view class="sf"> 线上营收 </view>
  98. </view>
  99. <view class="yis">
  100. <view class="sgjd">
  101. ¥{{
  102. dataList.belowTheLineSum
  103. ? dataList.belowTheLineSum.belowTheLine || 0
  104. : 0
  105. }}
  106. </view>
  107. <view class="sf"> 线下营收 </view>
  108. </view>
  109. <!-- <view class="yis" @click="xiaofeifen">
  110. <view class="sgjd">
  111. ¥{{dataList.consumption==null?0:dataList.consumption}}
  112. </view>
  113. <view class="sf">
  114. 消费分
  115. </view>
  116. </view> -->
  117. <!-- <view class="yis">
  118. <view class="sgjd">
  119. {{ dataList.sun == undefined ? 0 : dataList.sun }}
  120. </view>
  121. <view class="sf"> 锁定会员数 </view>
  122. </view> -->
  123. <view class="yis">
  124. <view class="sgjd">
  125. {{
  126. dataList.visitorNumber == undefined ? 0 : dataList.visitorNumber
  127. }}
  128. </view>
  129. <view class="sf"> 访客数 </view>
  130. </view>
  131. <view class="yis">
  132. <view class="sgjd">
  133. {{ dataList.number == undefined ? 0 : dataList.number }}
  134. </view>
  135. <view class="sf"> 支付人数 </view>
  136. </view>
  137. <view class="yis">
  138. <view class="sgjd">
  139. {{ dataList.jingdousum == undefined ? 0 : dataList.jingdousum }}
  140. </view>
  141. <view class="sf"> 京豆 </view>
  142. </view>
  143. <view class="yis">
  144. <view class="sgjd">
  145. {{
  146. dataList.gongxianSumsum == undefined ? 0 : dataList.gongxianSumsum
  147. }}
  148. </view>
  149. <view class="sf"> 贡献值 </view>
  150. </view>
  151. <!-- 默认 -->
  152. <view class="yis">
  153. <view class="sgjd"> </view>
  154. <view class="sf"> </view>
  155. </view>
  156. </view>
  157. </view>
  158. <latestRecords class="mt26" :records="records"></latestRecords>
  159. <!-- <view
  160. class="cashier-jilu"
  161. :style="Number(zhuangi) != 7 ? 'margin-top:170rpx' : ''"
  162. >
  163. <view class="cashier-jilu-top"> 最新记录 </view>
  164. <view class="cashier-jilu-nei">
  165. <view
  166. class="cashier-jilu-nei-yis"
  167. v-for="(item, index) in List"
  168. :key="index"
  169. >
  170. <view class="cashier-jilu-nei-yis-left">
  171. <view class="cashier-jilu-nei-yis-left-mei">
  172. <image :src="item.avatar" mode="widthFix"></image>
  173. </view>
  174. <view class="cashier-jilu-nei-yis-left-yins">
  175. <view class="tetxsad">
  176. {{ item.nickname }}
  177. </view>
  178. <view class="sdffget">
  179. ID:{{
  180. item.account.substr(0, 3) + "****" + item.account.substr(7)
  181. }}
  182. </view>
  183. </view>
  184. </view>
  185. <view class="cashier-jilu-nei-yis-right">
  186. {{ item.type }}
  187. </view>
  188. </view>
  189. </view>
  190. </view> -->
  191. <view
  192. class=""
  193. v-if="tihsi == 0"
  194. style="margin: 60rpx 0 20rpx 0; color: #999999; font-size: 26rpx"
  195. >
  196. —— 已经到最底部了哦 ——
  197. </view>
  198. </view>
  199. </template>
  200. <script>
  201. import {
  202. selectMerchant,
  203. selectMerchantOrder,
  204. payUserList,
  205. getZuorijinri,
  206. getZuixinjilu,
  207. } from "@/commit/shop.js";
  208. import readAppInfo, { getPhpToken } from "@/utils/readAppInfo.js";
  209. import latestRecords from "./latestRecords.vue";
  210. export default {
  211. components: { latestRecords },
  212. data() {
  213. return {
  214. is_panudn: true,
  215. start_time: "",
  216. end_time: "",
  217. mer_id: "", //店铺ID
  218. logintext: false,
  219. toptext: true,
  220. indexs: 0,
  221. merchantCashierShow: [], // 店铺信息头
  222. dataList: [], //今日昨日收益
  223. page: 1, //默认1页
  224. limit: 10, //默认10条数据
  225. records: [], //最新记录
  226. items: [
  227. {
  228. name: "今日",
  229. },
  230. {
  231. name: "昨日",
  232. },
  233. ],
  234. List: [], //列表数据
  235. tihsi: "",
  236. zhuangi: "",
  237. gongxian: 0,
  238. jingdou: 0,
  239. };
  240. },
  241. async onLoad() {
  242. console.log("进了我的页面了");
  243. await readAppInfo();
  244. let daySart = new Date();
  245. this.start_time = this.$time.dateFormat("yyyy-MM-dd", daySart);
  246. this.end_time = this.$time.dateFormat("yyyy-MM-dd", daySart);
  247. let selectmerchant = uni.getStorageSync("selectmerchant");
  248. let authorization = uni.getStorageSync("authorization");
  249. let userinfo = uni.getStorageSync("userinfo");
  250. this.mer_id = selectmerchant.merId;
  251. let jurisdiction = uni.getStorageSync("jurisdiction");
  252. if (this.mer_id > 0) {
  253. await getPhpToken();
  254. }
  255. if (jurisdiction) {
  256. jurisdiction.forEach((res, index) => {
  257. if (res == 7) {
  258. this.zhuangi = res;
  259. }
  260. });
  261. }
  262. // let selectmerchant = uni.getStorageSync("selectmerchant");
  263. let uid = userinfo.uid;
  264. console.log(authorization, uid);
  265. if (authorization && uid) {
  266. if (selectmerchant.merId >= 0 && selectmerchant.status == -1) {
  267. uni.redirectTo({
  268. url: "/openmerchant/guide/index", //有或者没有商户 没有金额支付and激活码支付
  269. });
  270. return;
  271. } else if (
  272. selectmerchant.merId > 0 &&
  273. (selectmerchant.status == 1 || selectmerchant.status == 5)
  274. ) {
  275. uni.showLoading({
  276. title: "加载中",
  277. mask: true,
  278. });
  279. this.selectMerchant();
  280. this.selectMerchantOrder();
  281. this.getZuorijinri();
  282. this.getZuixinjilu();
  283. this.payUserList();
  284. return;
  285. } else if (
  286. selectmerchant.merId >= 0 &&
  287. (selectmerchant.status == 3 || selectmerchant.status == 4)
  288. ) {
  289. uni.redirectTo({
  290. url: "/openmerchant/shopentry/process?mer_id=" + selectmerchant.merId, //已开通商户未填写资料
  291. });
  292. return;
  293. } else if (selectmerchant.merId > 0 && selectmerchant.status == 0) {
  294. uni.redirectTo({
  295. url: "/openmerchant/shopentry/processaudit?submitCode=" + 3, //已开通商户待审核
  296. });
  297. return;
  298. } else if (selectmerchant.merId > 0 && selectmerchant.status == 2) {
  299. uni.redirectTo({
  300. url: "/openmerchant/shopentry/processaudit?submitCode=" + 2, //已开通商户审核拒绝
  301. });
  302. return;
  303. }
  304. } else {
  305. uni.redirectTo({
  306. url: "/pages/user/login/index",
  307. });
  308. }
  309. },
  310. onShow() {
  311. return;
  312. let authorization = uni.getStorageSync("authorization");
  313. let userinfo = uni.getStorageSync("userinfo");
  314. let selectmerchant = uni.getStorageSync("selectmerchant");
  315. let uid = userinfo.uid;
  316. console.log(authorization, uid);
  317. if (authorization && uid) {
  318. if (selectmerchant.merId >= 0 && selectmerchant.status == -1) {
  319. uni.redirectTo({
  320. url: "/openmerchant/guide/index", //有或者没有商户 没有金额支付and激活码支付
  321. });
  322. return;
  323. } else if (
  324. selectmerchant.merId > 0 &&
  325. (selectmerchant.status == 1 || selectmerchant.status == 5)
  326. ) {
  327. uni.showLoading({
  328. title: "加载中",
  329. mask: true,
  330. });
  331. this.selectMerchant();
  332. this.selectMerchantOrder();
  333. this.payUserList();
  334. return;
  335. } else if (
  336. selectmerchant.merId >= 0 &&
  337. (selectmerchant.status == 3 || selectmerchant.status == 4)
  338. ) {
  339. uni.redirectTo({
  340. url: "/openmerchant/shopentry/process?mer_id=" + selectmerchant.merId, //已开通商户未填写资料
  341. });
  342. return;
  343. } else if (selectmerchant.merId > 0 && selectmerchant.status == 0) {
  344. uni.redirectTo({
  345. url: "/openmerchant/shopentry/processaudit?submitCode=" + 3, //已开通商户待审核
  346. });
  347. return;
  348. } else if (selectmerchant.merId > 0 && selectmerchant.status == 2) {
  349. uni.redirectTo({
  350. url: "/openmerchant/shopentry/processaudit?submitCode=" + 2, //已开通商户审核拒绝
  351. });
  352. return;
  353. }
  354. } else {
  355. uni.redirectTo({
  356. url: "/pages/user/login/index",
  357. });
  358. }
  359. },
  360. //监听tab 分类
  361. onPageScroll(res) {
  362. const query = uni.createSelectorQuery().in(this);
  363. query
  364. .select(".cashier-header")
  365. .boundingClientRect((data) => {
  366. if (data.top < 0) {
  367. this.toptext = false;
  368. this.logintext = true;
  369. } else if (data.top <= 1) {
  370. this.toptext = true;
  371. this.logintext = false;
  372. }
  373. })
  374. .exec();
  375. },
  376. onPullDownRefresh() {
  377. uni.showLoading({
  378. title: "加载中",
  379. });
  380. this.page = 1;
  381. this.is_panudn = true;
  382. this.List = [];
  383. this.getZuixinjilu()
  384. this.payUserList();
  385. this.selectMerchant();
  386. this.selectMerchantOrder();
  387. },
  388. onReachBottom() {
  389. if (this.is_panudn == true) {
  390. this.page++;
  391. this.payUserList();
  392. } else {
  393. return;
  394. }
  395. },
  396. methods: {
  397. // 店铺信息头
  398. selectMerchant() {
  399. selectMerchant({
  400. mer_id: this.mer_id,
  401. }).then(
  402. (res) => {
  403. console.log(res);
  404. if (res.data.status == 200) {
  405. this.merchantCashierShow = res.data.data.merchantCashierShow;
  406. }
  407. },
  408. (fail) => {
  409. console.log(fail);
  410. }
  411. );
  412. },
  413. activitecode(e) {
  414. uni.navigateTo({
  415. url:
  416. "/shop/perating/activitecode?qrcode_src=" +
  417. e.qrcode_src +
  418. "&code_id=" +
  419. e.code_id,
  420. });
  421. },
  422. peratingt() {
  423. uni.navigateTo({
  424. url: "/shop/perating/statement?sna=" + "1",
  425. });
  426. },
  427. xiaofeifen() {
  428. uni.navigateTo({
  429. url: "/shop/perating/consumption",
  430. });
  431. },
  432. // 今日昨日收益
  433. selectMerchantOrder() {
  434. uni.showLoading({
  435. title: "加载中",
  436. });
  437. selectMerchantOrder({
  438. start_time: this.start_time,
  439. end_time: this.start_time,
  440. mer_id: this.mer_id,
  441. }).then(
  442. (res) => {
  443. if (res.data.status == 200) {
  444. this.dataList = res.data.data;
  445. uni.hideLoading();
  446. }
  447. },
  448. (fail) => {
  449. console.log(fail);
  450. uni.hideLoading();
  451. }
  452. );
  453. },
  454. //点击今日昨日收益
  455. dianji(e) {
  456. this.indexs = e;
  457. let daySart = new Date();
  458. if (e == 0) {
  459. this.start_time = this.$time.dateFormat("yyyy-MM-dd", daySart);
  460. this.end_time = this.$time.dateFormat("yyyy-MM-dd", daySart);
  461. this.selectMerchantOrder();
  462. } else {
  463. var date = new Date();
  464. var y = date.getFullYear();
  465. var m = date.getMonth() + 1;
  466. var d = date.getDate() - 1;
  467. if (d == "0") {
  468. m = m - 1;
  469. var temp = new Date(y, m, d);
  470. d = temp.getDate();
  471. }
  472. var Yesterday = [y, m, d];
  473. Yesterday = Yesterday.join("/");
  474. this.start_time = this.$time.dateFormat("yyyy-MM-dd", Yesterday);
  475. this.end_time = this.$time.dateFormat("yyyy-MM-dd", Yesterday);
  476. this.selectMerchantOrder();
  477. }
  478. },
  479. // 最新纪录列表
  480. payUserList() {
  481. return
  482. payUserList({
  483. mer_id: this.mer_id,
  484. pageNum: this.page,
  485. pageSize: this.limit,
  486. }).then(
  487. (res) => {
  488. uni.stopPullDownRefresh();
  489. if (res.data.status == 200) {
  490. this.tihsi = res.data.data.pageInfo.list.length;
  491. if (res.data.data.pageInfo.list.length > 0) {
  492. //分页处理
  493. if (this.page == 1) {
  494. this.List = res.data.data.pageInfo.list;
  495. } else {
  496. this.List = this.List.concat(res.data.data.pageInfo.list);
  497. }
  498. } else {
  499. this.is_panudn = false;
  500. }
  501. uni.hideLoading();
  502. }
  503. },
  504. (fail) => {
  505. uni.hideLoading();
  506. console.log(fail);
  507. }
  508. );
  509. },
  510. // 顶部统计
  511. getZuorijinri() {
  512. getZuorijinri({}).then(
  513. (res) => {
  514. console.log("顶部统计");
  515. console.log(res.data);
  516. console.log(res.data.data.list.gongxian);
  517. if (res.data.status == 200) {
  518. this.gongxian = res.data.data.list.gongxian;
  519. this.jingdou = res.data.data.list.jingdou;
  520. }
  521. },
  522. (fail) => {
  523. console.log(fail);
  524. }
  525. );
  526. },
  527. // 最新纪录
  528. getZuixinjilu() {
  529. uni.showLoading({
  530. title: "加载中",
  531. });
  532. getZuixinjilu({
  533. mer_id: this.mer_id,
  534. pageNum: this.page,
  535. pageSize: this.limit,
  536. }).then(
  537. (res) => {
  538. uni.stopPullDownRefresh();
  539. console.log(res);
  540. if (res.data.status == 200) {
  541. // this.tihsi = res.data.data.count || 0;
  542. this.tihsi = res.data.data.list.lenght || 0;
  543. if (res.data.data.count > 0) {
  544. if (this.page == 1) {
  545. this.records = res.data.data.list;
  546. } else {
  547. this.records = this.records.concat(res.data.data.list);
  548. }
  549. } else {
  550. if (this.page == 1) {
  551. this.records = [];
  552. }
  553. this.is_panudn = false;
  554. }
  555. console.log(this.records,"recordsrecordsrecords")
  556. uni.hideLoading();
  557. }
  558. },
  559. (fail) => {
  560. console.log(fail);
  561. uni.hideLoading();
  562. }
  563. );
  564. },
  565. },
  566. };
  567. </script>
  568. <style>
  569. page {
  570. background-color: #f7f8fc;
  571. }
  572. </style>
  573. <style lang="scss" scoped>
  574. .mt26 {
  575. margin-top: 26rpx;
  576. }
  577. .cashier-topin {
  578. width: 100%;
  579. height: 176rpx;
  580. background-color: #ffffff;
  581. position: fixed;
  582. top: 0;
  583. left: 0;
  584. z-index: 9;
  585. font-size: 36rpx;
  586. font-family: PingFangSC-Medium, PingFang SC;
  587. font-weight: 500;
  588. color: #333333;
  589. text-align: center;
  590. .tegyhsj {
  591. margin-top: 107rpx;
  592. }
  593. }
  594. .cashier {
  595. width: 100%;
  596. height: 100%;
  597. display: flex;
  598. flex-direction: column;
  599. align-items: center;
  600. .cashier-header {
  601. width: 100%;
  602. height: 328rpx;
  603. background: linear-gradient(
  604. 180deg,
  605. rgba(31, 124, 255, 0.22) 0%,
  606. rgba(255, 255, 255, 0.15) 100%
  607. );
  608. position: relative;
  609. display: flex;
  610. justify-content: center;
  611. .cashier-header-text {
  612. position: absolute;
  613. font-size: 46rpx;
  614. font-weight: 500;
  615. color: #333333;
  616. top: 102rpx;
  617. left: 64rpx;
  618. }
  619. .cashier-tablin {
  620. position: absolute;
  621. top: 198rpx;
  622. width: 686rpx;
  623. height: 210rpx;
  624. background: #ffffff;
  625. border-radius: 16rpx;
  626. display: flex;
  627. justify-content: center;
  628. align-items: center;
  629. .cashier-tablin-nie {
  630. width: 634rpx;
  631. height: 146rpx;
  632. display: flex;
  633. justify-content: space-between;
  634. align-items: center;
  635. .cashier-tablin-nie-left {
  636. width: 409rpx;
  637. height: 100%;
  638. display: flex;
  639. justify-content: space-between;
  640. align-items: center;
  641. .cashier-tablin-nie-left-icon {
  642. width: 146rpx;
  643. height: 146rpx;
  644. border-radius: 20rpx;
  645. overflow: hidden;
  646. image {
  647. width: 100%;
  648. height: 100%;
  649. height: auto;
  650. border-radius: 20rpx;
  651. }
  652. }
  653. .cashier-tablin-nie-left-text {
  654. width: 247rpx;
  655. height: 100%;
  656. display: flex;
  657. flex-direction: column;
  658. justify-content: space-between;
  659. align-items: flex-start;
  660. .cashier-tablin-nie-left-text-top {
  661. width: 100%;
  662. font-size: 36rpx;
  663. font-weight: 500;
  664. color: #333333;
  665. display: inline-block;
  666. overflow: hidden;
  667. text-overflow: ellipsis;
  668. white-space: nowrap;
  669. }
  670. .cashier-tablin-nie-left-text-bottom {
  671. width: 100%;
  672. height: 69rpx;
  673. display: flex;
  674. flex-direction: column;
  675. align-items: flex-start;
  676. justify-content: space-between;
  677. color: #333333;
  678. font-size: 24rpx;
  679. .cashier-tablin-nie-left-text-bottom-in {
  680. width: 100%;
  681. display: inline-block;
  682. overflow: hidden;
  683. text-overflow: ellipsis;
  684. white-space: nowrap;
  685. }
  686. .cashier-tablin-nie-left-text-bottom-it {
  687. width: 100%;
  688. display: inline-block;
  689. overflow: hidden;
  690. text-overflow: ellipsis;
  691. white-space: nowrap;
  692. }
  693. }
  694. }
  695. }
  696. .cashier-tablin-nie-right {
  697. width: 146rpx;
  698. height: 100%;
  699. image {
  700. width: 100%;
  701. height: 100%;
  702. }
  703. }
  704. }
  705. }
  706. }
  707. .cashier-list {
  708. width: 686rpx;
  709. height: 400rpx;
  710. background-color: #ffffff;
  711. margin-top: 206rpx;
  712. border-radius: 16rpx;
  713. display: flex;
  714. flex-direction: column;
  715. justify-content: space-around;
  716. align-items: center;
  717. .cashier-list-top {
  718. width: 634rpx;
  719. height: 30rpx;
  720. margin-top: 10rpx;
  721. display: flex;
  722. justify-content: space-between;
  723. .cashier-list-top-left {
  724. font-size: 30rpx;
  725. width: 150rpx;
  726. height: 100%;
  727. display: flex;
  728. align-items: center;
  729. justify-content: space-between;
  730. .yi {
  731. position: relative;
  732. .cashier-list-top-left-yisss {
  733. position: absolute;
  734. top: 39rpx;
  735. width: 100%;
  736. height: 6rpx;
  737. background: #1f7cff;
  738. border-radius: 3rpx;
  739. }
  740. }
  741. }
  742. .cashier-list-top-right {
  743. width: 124rpx;
  744. height: 100%;
  745. display: flex;
  746. justify-content: space-between;
  747. font-size: 24rpx;
  748. font-weight: 400;
  749. color: #999999;
  750. .cashier-list-top-right-icon {
  751. width: 16rpx;
  752. height: 16rpx;
  753. image {
  754. width: 100%;
  755. height: 100%;
  756. }
  757. }
  758. }
  759. }
  760. .cashier-list-tbot {
  761. width: 570rpx;
  762. height: 250rpx;
  763. display: flex;
  764. align-content: space-between;
  765. flex-wrap: wrap;
  766. justify-content: space-between;
  767. .yis {
  768. width: 33%;
  769. height: 82rpx;
  770. display: flex;
  771. flex-direction: column;
  772. justify-content: space-between;
  773. align-items: center;
  774. color: #333333;
  775. .sgjd {
  776. font-size: 36rpx;
  777. font-weight: bold;
  778. }
  779. .sf {
  780. font-size: 26rpx;
  781. font-weight: 400;
  782. }
  783. }
  784. // .cashier-list-tbot-sjd {
  785. // width: 100%;
  786. // height: 88rpx;
  787. // display: flex;
  788. // justify-content: space-between;
  789. // align-items: center;
  790. // .yis {
  791. // height: 100%;
  792. // display: flex;
  793. // flex-direction: column;
  794. // justify-content: space-between;
  795. // align-items: center;
  796. // color: #333333;
  797. // .sgjd {
  798. // font-size: 36rpx;
  799. // font-weight: bold;
  800. // }
  801. // .sf {
  802. // font-size: 26rpx;
  803. // font-weight: 400;
  804. // }
  805. // }
  806. // }
  807. }
  808. }
  809. .cashier-jilu {
  810. width: 686rpx;
  811. height: 100%;
  812. background: #ffffff;
  813. border-radius: 16rpx;
  814. margin: 26rpx 0 26rpx 0;
  815. display: flex;
  816. flex-direction: column;
  817. align-items: center;
  818. .cashier-jilu-top {
  819. width: 634rpx;
  820. margin-top: 49rpx;
  821. display: flex;
  822. justify-content: flex-start;
  823. font-size: 30rpx;
  824. font-weight: 600;
  825. align-items: center;
  826. color: #333333;
  827. }
  828. .cashier-jilu-nei {
  829. width: 634rpx;
  830. margin-top: 32rpx;
  831. display: flex;
  832. flex-direction: column;
  833. align-items: center;
  834. .cashier-jilu-nei-yis {
  835. width: 100%;
  836. height: 86rpx;
  837. display: flex;
  838. justify-content: space-between;
  839. align-items: center;
  840. margin-bottom: 65rpx;
  841. .cashier-jilu-nei-yis-left {
  842. width: 289rpx;
  843. height: 100%;
  844. display: flex;
  845. .cashier-jilu-nei-yis-left-mei {
  846. width: 86rpx;
  847. height: 86rpx;
  848. border-radius: 100%;
  849. overflow: hidden;
  850. image {
  851. width: 100%;
  852. height: 100%;
  853. border-radius: 100%;
  854. overflow: hidden;
  855. }
  856. }
  857. .cashier-jilu-nei-yis-left-yins {
  858. width: 187rpx;
  859. height: 86rpx;
  860. margin-left: 16rpx;
  861. display: flex;
  862. flex-direction: column;
  863. justify-content: space-around;
  864. align-items: flex-start;
  865. .tetxsad {
  866. display: inline-block;
  867. width: 100%;
  868. overflow: hidden;
  869. text-overflow: ellipsis;
  870. white-space: nowrap;
  871. font-size: 30rpx;
  872. font-weight: 500;
  873. color: #333333;
  874. }
  875. .sdffget {
  876. font-size: 26rpx;
  877. font-weight: normal;
  878. color: #999999;
  879. }
  880. }
  881. }
  882. .cashier-jilu-nei-yis-right {
  883. height: 100%;
  884. font-size: 30rpx;
  885. font-weight: normal;
  886. color: #333333;
  887. line-height: 86rpx;
  888. }
  889. }
  890. }
  891. }
  892. }
  893. </style>