index.vue 27 KB

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