index.vue 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970
  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. phpToken: "",
  240. };
  241. },
  242. async onLoad() {
  243. console.log("进了我的页面了");
  244. await readAppInfo();
  245. let daySart = new Date();
  246. this.start_time = this.$time.dateFormat("yyyy-MM-dd", daySart);
  247. this.end_time = this.$time.dateFormat("yyyy-MM-dd", daySart);
  248. let selectmerchant = uni.getStorageSync("selectmerchant");
  249. let authorization = uni.getStorageSync("authorization");
  250. let userinfo = uni.getStorageSync("userinfo");
  251. this.mer_id = selectmerchant.merId;
  252. let jurisdiction = uni.getStorageSync("jurisdiction");
  253. if (jurisdiction) {
  254. jurisdiction.forEach((res, index) => {
  255. if (res == 7) {
  256. this.zhuangi = res;
  257. }
  258. });
  259. }
  260. // let selectmerchant = uni.getStorageSync("selectmerchant");
  261. const res = await getPhpToken();
  262. this.phpToken = res || uni.getStorageSync("phpToken");
  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. this.getInitData(selectmerchant);
  276. return;
  277. } else if (
  278. selectmerchant.merId >= 0 &&
  279. (selectmerchant.status == 3 || selectmerchant.status == 4)
  280. ) {
  281. uni.redirectTo({
  282. url: "/openmerchant/shopentry/process?mer_id=" + selectmerchant.merId, //已开通商户未填写资料
  283. });
  284. return;
  285. } else if (selectmerchant.merId > 0 && selectmerchant.status == 0) {
  286. uni.redirectTo({
  287. url: "/openmerchant/shopentry/processaudit?submitCode=" + 3, //已开通商户待审核
  288. });
  289. return;
  290. } else if (selectmerchant.merId > 0 && selectmerchant.status == 2) {
  291. uni.redirectTo({
  292. url: "/openmerchant/shopentry/processaudit?submitCode=" + 2, //已开通商户审核拒绝
  293. });
  294. return;
  295. }
  296. } else {
  297. uni.redirectTo({
  298. url: "/pages/user/login/index",
  299. });
  300. }
  301. },
  302. onShow() {
  303. return;
  304. let authorization = uni.getStorageSync("authorization");
  305. let userinfo = uni.getStorageSync("userinfo");
  306. let selectmerchant = uni.getStorageSync("selectmerchant");
  307. let uid = userinfo.uid;
  308. console.log(authorization, uid);
  309. if (authorization && uid) {
  310. if (selectmerchant.merId >= 0 && selectmerchant.status == -1) {
  311. uni.redirectTo({
  312. url: "/openmerchant/guide/index", //有或者没有商户 没有金额支付and激活码支付
  313. });
  314. return;
  315. } else if (
  316. selectmerchant.merId > 0 &&
  317. (selectmerchant.status == 1 || selectmerchant.status == 5)
  318. ) {
  319. uni.showLoading({
  320. title: "加载中",
  321. mask: true,
  322. });
  323. this.selectMerchant();
  324. this.selectMerchantOrder();
  325. this.payUserList();
  326. return;
  327. } else if (
  328. selectmerchant.merId >= 0 &&
  329. (selectmerchant.status == 3 || selectmerchant.status == 4)
  330. ) {
  331. uni.redirectTo({
  332. url: "/openmerchant/shopentry/process?mer_id=" + selectmerchant.merId, //已开通商户未填写资料
  333. });
  334. return;
  335. } else if (selectmerchant.merId > 0 && selectmerchant.status == 0) {
  336. uni.redirectTo({
  337. url: "/openmerchant/shopentry/processaudit?submitCode=" + 3, //已开通商户待审核
  338. });
  339. return;
  340. } else if (selectmerchant.merId > 0 && selectmerchant.status == 2) {
  341. uni.redirectTo({
  342. url: "/openmerchant/shopentry/processaudit?submitCode=" + 2, //已开通商户审核拒绝
  343. });
  344. return;
  345. }
  346. } else {
  347. uni.redirectTo({
  348. url: "/pages/user/login/index",
  349. });
  350. }
  351. },
  352. watch: {
  353. phpToken:{
  354. handler(newVal, oldVal) {
  355. let selectmerchant = uni.getStorageSync("selectmerchant");
  356. if(newVal){
  357. this.getInitData(selectmerchant);
  358. }
  359. },
  360. immediate:true
  361. }
  362. },
  363. //监听tab 分类
  364. onPageScroll(res) {
  365. const query = uni.createSelectorQuery().in(this);
  366. query
  367. .select(".cashier-header")
  368. .boundingClientRect((data) => {
  369. if (data.top < 0) {
  370. this.toptext = false;
  371. this.logintext = true;
  372. } else if (data.top <= 1) {
  373. this.toptext = true;
  374. this.logintext = false;
  375. }
  376. })
  377. .exec();
  378. },
  379. onPullDownRefresh() {
  380. uni.showLoading({
  381. title: "加载中",
  382. });
  383. this.page = 1;
  384. this.is_panudn = true;
  385. this.List = [];
  386. this.selectMerchant();
  387. this.selectMerchantOrder();
  388. this.getZuorijinri();
  389. this.getZuixinjilu();
  390. // this.payUserList();
  391. },
  392. onReachBottom() {
  393. if (this.is_panudn == true) {
  394. this.page++;
  395. this.getZuixinjilu();
  396. } else {
  397. return;
  398. }
  399. },
  400. methods: {
  401. getInitData(selectmerchant) {
  402. if (
  403. selectmerchant.merId > 0 &&
  404. (selectmerchant.status == 1 || selectmerchant.status == 5)
  405. ) {
  406. uni.showLoading({
  407. title: "加载中",
  408. mask: true,
  409. });
  410. this.selectMerchant();
  411. this.selectMerchantOrder();
  412. this.getZuorijinri();
  413. this.getZuixinjilu();
  414. this.payUserList();
  415. }
  416. },
  417. // 店铺信息头
  418. selectMerchant() {
  419. selectMerchant({
  420. mer_id: this.mer_id,
  421. }).then(
  422. (res) => {
  423. console.log(res);
  424. if (res.data.status == 200) {
  425. this.merchantCashierShow = res.data.data.merchantCashierShow;
  426. this.merchantCashierShow.create_time =
  427. this.merchantCashierShow.create_time.split(" ")[0];
  428. }
  429. },
  430. (fail) => {
  431. console.log(fail);
  432. }
  433. );
  434. },
  435. activitecode(e) {
  436. uni.navigateTo({
  437. url:
  438. "/shop/perating/activitecode?qrcode_src=" +
  439. e.qrcode_src +
  440. "&code_id=" +
  441. e.code_id,
  442. });
  443. },
  444. peratingt() {
  445. uni.navigateTo({
  446. url: "/shop/perating/statement?sna=" + "1",
  447. });
  448. },
  449. xiaofeifen() {
  450. uni.navigateTo({
  451. url: "/shop/perating/consumption",
  452. });
  453. },
  454. // 今日昨日收益
  455. selectMerchantOrder() {
  456. uni.showLoading({
  457. title: "加载中",
  458. });
  459. selectMerchantOrder({
  460. start_time: this.start_time,
  461. end_time: this.start_time,
  462. mer_id: this.mer_id,
  463. }).then(
  464. (res) => {
  465. if (res.data.status == 200) {
  466. this.dataList = res.data.data;
  467. uni.hideLoading();
  468. }
  469. },
  470. (fail) => {
  471. console.log(fail);
  472. uni.hideLoading();
  473. }
  474. );
  475. },
  476. //点击今日昨日收益
  477. dianji(e) {
  478. this.indexs = e;
  479. let daySart = new Date();
  480. if (e == 0) {
  481. this.start_time = this.$time.dateFormat("yyyy-MM-dd", daySart);
  482. this.end_time = this.$time.dateFormat("yyyy-MM-dd", daySart);
  483. this.selectMerchantOrder();
  484. } else {
  485. var date = new Date();
  486. var y = date.getFullYear();
  487. var m = date.getMonth() + 1;
  488. var d = date.getDate() - 1;
  489. if (d == "0") {
  490. m = m - 1;
  491. var temp = new Date(y, m, d);
  492. d = temp.getDate();
  493. }
  494. var Yesterday = [y, m, d];
  495. Yesterday = Yesterday.join("/");
  496. this.start_time = this.$time.dateFormat("yyyy-MM-dd", Yesterday);
  497. this.end_time = this.$time.dateFormat("yyyy-MM-dd", Yesterday);
  498. this.selectMerchantOrder();
  499. }
  500. },
  501. // 最新纪录列表
  502. payUserList() {
  503. return;
  504. payUserList({
  505. mer_id: this.mer_id,
  506. pageNum: this.page,
  507. pageSize: this.limit,
  508. }).then(
  509. (res) => {
  510. uni.stopPullDownRefresh();
  511. if (res.data.status == 200) {
  512. this.tihsi = res.data.data.pageInfo.list.length;
  513. if (res.data.data.pageInfo.list.length > 0) {
  514. //分页处理
  515. if (this.page == 1) {
  516. this.List = res.data.data.pageInfo.list;
  517. } else {
  518. this.List = this.List.concat(res.data.data.pageInfo.list);
  519. }
  520. } else {
  521. this.is_panudn = false;
  522. }
  523. uni.hideLoading();
  524. }
  525. },
  526. (fail) => {
  527. uni.hideLoading();
  528. console.log(fail);
  529. }
  530. );
  531. },
  532. // 顶部统计
  533. getZuorijinri() {
  534. getZuorijinri({}).then(
  535. (res) => {
  536. console.log("顶部统计");
  537. console.log(res.data);
  538. console.log(res.data.data.list.gongxian);
  539. if (res.data.status == 200) {
  540. this.gongxian = res.data.data.list.gongxian;
  541. this.jingdou = res.data.data.list.jingdou;
  542. }
  543. },
  544. (fail) => {
  545. console.log(fail);
  546. }
  547. );
  548. },
  549. // 最新纪录
  550. getZuixinjilu() {
  551. uni.showLoading({
  552. title: "加载中",
  553. });
  554. getZuixinjilu({
  555. mer_id: this.mer_id,
  556. pageNum: this.page,
  557. pageSize: this.limit,
  558. }).then(
  559. (res) => {
  560. uni.stopPullDownRefresh();
  561. console.log(res);
  562. if (res.data.status == 200) {
  563. // this.tihsi = res.data.data.count || 0;
  564. this.tihsi = res.data.data.list.lenght || 0;
  565. if (res.data.data.count > 0) {
  566. if (this.page == 1) {
  567. this.records = res.data.data.list;
  568. } else {
  569. this.records = this.records.concat(res.data.data.list);
  570. }
  571. } else {
  572. if (this.page == 1) {
  573. this.records = [];
  574. }
  575. this.is_panudn = false;
  576. }
  577. console.log(this.records, "recordsrecordsrecords");
  578. uni.hideLoading();
  579. }
  580. },
  581. (fail) => {
  582. console.log(fail);
  583. uni.hideLoading();
  584. }
  585. );
  586. },
  587. },
  588. };
  589. </script>
  590. <style>
  591. page {
  592. background-color: #f7f8fc;
  593. }
  594. </style>
  595. <style lang="scss" scoped>
  596. .mt26 {
  597. margin-top: 26rpx;
  598. }
  599. .cashier-topin {
  600. width: 100%;
  601. height: 176rpx;
  602. background-color: #ffffff;
  603. position: fixed;
  604. top: 0;
  605. left: 0;
  606. z-index: 9;
  607. font-size: 36rpx;
  608. font-family: PingFangSC-Medium, PingFang SC;
  609. font-weight: 500;
  610. color: #333333;
  611. text-align: center;
  612. .tegyhsj {
  613. margin-top: 107rpx;
  614. }
  615. }
  616. .cashier {
  617. width: 100%;
  618. height: 100%;
  619. display: flex;
  620. flex-direction: column;
  621. align-items: center;
  622. .cashier-header {
  623. width: 100%;
  624. height: 328rpx;
  625. background: linear-gradient(
  626. 180deg,
  627. rgba(31, 124, 255, 0.22) 0%,
  628. rgba(255, 255, 255, 0.15) 100%
  629. );
  630. position: relative;
  631. display: flex;
  632. justify-content: center;
  633. .cashier-header-text {
  634. position: absolute;
  635. font-size: 46rpx;
  636. font-weight: 500;
  637. color: #333333;
  638. top: 102rpx;
  639. left: 64rpx;
  640. }
  641. .cashier-tablin {
  642. position: absolute;
  643. top: 198rpx;
  644. width: 686rpx;
  645. height: 210rpx;
  646. background: #ffffff;
  647. border-radius: 16rpx;
  648. display: flex;
  649. justify-content: center;
  650. align-items: center;
  651. .cashier-tablin-nie {
  652. width: 634rpx;
  653. height: 146rpx;
  654. display: flex;
  655. justify-content: space-between;
  656. align-items: center;
  657. .cashier-tablin-nie-left {
  658. width: 409rpx;
  659. height: 100%;
  660. display: flex;
  661. justify-content: space-between;
  662. align-items: center;
  663. .cashier-tablin-nie-left-icon {
  664. width: 146rpx;
  665. height: 146rpx;
  666. border-radius: 20rpx;
  667. overflow: hidden;
  668. image {
  669. width: 100%;
  670. height: 100%;
  671. height: auto;
  672. border-radius: 20rpx;
  673. }
  674. }
  675. .cashier-tablin-nie-left-text {
  676. width: 280rpx;
  677. height: 100%;
  678. display: flex;
  679. flex-direction: column;
  680. justify-content: space-between;
  681. align-items: flex-start;
  682. .cashier-tablin-nie-left-text-top {
  683. width: 100%;
  684. font-size: 36rpx;
  685. font-weight: 500;
  686. color: #333333;
  687. display: inline-block;
  688. overflow: hidden;
  689. text-overflow: ellipsis;
  690. white-space: nowrap;
  691. }
  692. .cashier-tablin-nie-left-text-bottom {
  693. width: 100%;
  694. height: 69rpx;
  695. display: flex;
  696. flex-direction: column;
  697. align-items: flex-start;
  698. justify-content: space-between;
  699. color: #333333;
  700. font-size: 24rpx;
  701. .cashier-tablin-nie-left-text-bottom-in {
  702. width: 100%;
  703. display: inline-block;
  704. overflow: hidden;
  705. text-overflow: ellipsis;
  706. white-space: nowrap;
  707. }
  708. .cashier-tablin-nie-left-text-bottom-it {
  709. width: 100%;
  710. display: inline-block;
  711. overflow: hidden;
  712. text-overflow: ellipsis;
  713. white-space: nowrap;
  714. }
  715. }
  716. }
  717. }
  718. .cashier-tablin-nie-right {
  719. width: 146rpx;
  720. height: 100%;
  721. image {
  722. width: 100%;
  723. height: 100%;
  724. }
  725. }
  726. }
  727. }
  728. }
  729. .cashier-list {
  730. width: 686rpx;
  731. height: 400rpx;
  732. background-color: #ffffff;
  733. margin-top: 206rpx;
  734. border-radius: 16rpx;
  735. display: flex;
  736. flex-direction: column;
  737. justify-content: space-around;
  738. align-items: center;
  739. .cashier-list-top {
  740. width: 634rpx;
  741. height: 30rpx;
  742. margin-top: 10rpx;
  743. display: flex;
  744. justify-content: space-between;
  745. .cashier-list-top-left {
  746. font-size: 30rpx;
  747. width: 150rpx;
  748. height: 100%;
  749. display: flex;
  750. align-items: center;
  751. justify-content: space-between;
  752. .yi {
  753. position: relative;
  754. .cashier-list-top-left-yisss {
  755. position: absolute;
  756. top: 39rpx;
  757. width: 100%;
  758. height: 6rpx;
  759. background: #1f7cff;
  760. border-radius: 3rpx;
  761. }
  762. }
  763. }
  764. .cashier-list-top-right {
  765. width: 124rpx;
  766. height: 100%;
  767. display: flex;
  768. justify-content: space-between;
  769. font-size: 24rpx;
  770. font-weight: 400;
  771. color: #999999;
  772. .cashier-list-top-right-icon {
  773. width: 16rpx;
  774. height: 16rpx;
  775. image {
  776. width: 100%;
  777. height: 100%;
  778. }
  779. }
  780. }
  781. }
  782. .cashier-list-tbot {
  783. width: 570rpx;
  784. height: 250rpx;
  785. display: flex;
  786. align-content: space-between;
  787. flex-wrap: wrap;
  788. justify-content: space-between;
  789. .yis {
  790. width: 33%;
  791. height: 82rpx;
  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. // .cashier-list-tbot-sjd {
  807. // width: 100%;
  808. // height: 88rpx;
  809. // display: flex;
  810. // justify-content: space-between;
  811. // align-items: center;
  812. // .yis {
  813. // height: 100%;
  814. // display: flex;
  815. // flex-direction: column;
  816. // justify-content: space-between;
  817. // align-items: center;
  818. // color: #333333;
  819. // .sgjd {
  820. // font-size: 36rpx;
  821. // font-weight: bold;
  822. // }
  823. // .sf {
  824. // font-size: 26rpx;
  825. // font-weight: 400;
  826. // }
  827. // }
  828. // }
  829. }
  830. }
  831. .cashier-jilu {
  832. width: 686rpx;
  833. height: 100%;
  834. background: #ffffff;
  835. border-radius: 16rpx;
  836. margin: 26rpx 0 26rpx 0;
  837. display: flex;
  838. flex-direction: column;
  839. align-items: center;
  840. .cashier-jilu-top {
  841. width: 634rpx;
  842. margin-top: 49rpx;
  843. display: flex;
  844. justify-content: flex-start;
  845. font-size: 30rpx;
  846. font-weight: 600;
  847. align-items: center;
  848. color: #333333;
  849. }
  850. .cashier-jilu-nei {
  851. width: 634rpx;
  852. margin-top: 32rpx;
  853. display: flex;
  854. flex-direction: column;
  855. align-items: center;
  856. .cashier-jilu-nei-yis {
  857. width: 100%;
  858. height: 86rpx;
  859. display: flex;
  860. justify-content: space-between;
  861. align-items: center;
  862. margin-bottom: 65rpx;
  863. .cashier-jilu-nei-yis-left {
  864. width: 289rpx;
  865. height: 100%;
  866. display: flex;
  867. .cashier-jilu-nei-yis-left-mei {
  868. width: 86rpx;
  869. height: 86rpx;
  870. border-radius: 100%;
  871. overflow: hidden;
  872. image {
  873. width: 100%;
  874. height: 100%;
  875. border-radius: 100%;
  876. overflow: hidden;
  877. }
  878. }
  879. .cashier-jilu-nei-yis-left-yins {
  880. width: 187rpx;
  881. height: 86rpx;
  882. margin-left: 16rpx;
  883. display: flex;
  884. flex-direction: column;
  885. justify-content: space-around;
  886. align-items: flex-start;
  887. .tetxsad {
  888. display: inline-block;
  889. width: 100%;
  890. overflow: hidden;
  891. text-overflow: ellipsis;
  892. white-space: nowrap;
  893. font-size: 30rpx;
  894. font-weight: 500;
  895. color: #333333;
  896. }
  897. .sdffget {
  898. font-size: 26rpx;
  899. font-weight: normal;
  900. color: #999999;
  901. }
  902. }
  903. }
  904. .cashier-jilu-nei-yis-right {
  905. height: 100%;
  906. font-size: 30rpx;
  907. font-weight: normal;
  908. color: #333333;
  909. line-height: 86rpx;
  910. }
  911. }
  912. }
  913. }
  914. }
  915. </style>