index.vue 24 KB

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