index.php 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839
  1. <div id="app" v-cloak>
  2. <el-card v-loading="loading" shadow="never" style="border:0;min-width: 1200px;" body-style="background-color: #f3f3f3;padding: 10px 0 0;">
  3. <div slot="header">
  4. <span style="font-size: 18px; font-weight: 600;">参团数据统计</span>
  5. <!-- <span style="float:right;margin-bootom:10px;">当前时间:<?php echo date('Y-m-d H:i:s') ?></span> -->
  6. </div>
  7. <!-- 销售情况 -->
  8. <el-card shadow="never">
  9. <div slot="header">
  10. <div class="label-title">默认汇总</div>
  11. </div>
  12. <div class="pay-info">
  13. <div class="pay-info-item bg-orange">
  14. <div class="info-item-name-line">
  15. <div class="info-item-name">
  16. <span>本月发放参团奖金</span>
  17. <span class="money">¥{{formatNumber(statistic.attend_commission ? statistic.attend_commission : '0.00')}}</span>
  18. </div>
  19. </div>
  20. <div class="info-item-name">总发放参团奖金</div>
  21. <div class="all_money">¥{{formatNumber(statistic.total_attend_commission ? statistic.total_attend_commission : '0.00')}}</div>
  22. </div>
  23. <div class="pay-info-item bg-red">
  24. <div class="info-item-name-line">
  25. <div class="info-item-name">
  26. <span>本月收到参团金额</span>
  27. <span class="money">¥{{formatNumber(statistic.attend_money? statistic.attend_money : '0.00')}}</span>
  28. </div>
  29. </div>
  30. <div class="info-item-name">总收到参团金额</div>
  31. <div class="all_money">¥{{statistic.total_attend_money ? statistic.total_attend_money : '0.00'}}</div>
  32. </div>
  33. <div class="pay-info-item bg-purple">
  34. <div class="info-item-name-line">
  35. <div class="info-item-name">
  36. <span>本月拼中金额</span>
  37. <span class="money">¥{{formatNumber(statistic.win_money ? statistic.win_money : '0.00')}}</span>
  38. </div>
  39. </div>
  40. <div class="info-item-name">总拼中金额</div>
  41. <div class="all_money">¥{{formatNumber(statistic.total_win_money ? statistic.total_win_money : '0.00')}}</div>
  42. </div>
  43. <div class="pay-info-item bg-green">
  44. <div class="info-item-name-line">
  45. <div class="info-item-name">
  46. <span>本月参团次数</span>
  47. <span class="money">{{statistic.attend_peoples ? statistic.attend_peoples :'0'}} 次</span>
  48. </div>
  49. </div>
  50. <div class="info-item-name">总参团次数</div>
  51. <div class="all_money">{{statistic.total_attend_peoples ? statistic.total_attend_peoples : '0'}} 次</div>
  52. </div>
  53. <div class="pay-info-item bg-blue">
  54. <div class="info-item-name-line">
  55. <div class="info-item-name-line">
  56. <span>本月拼中次数</span>
  57. <span class="money">{{statistic.win_peoples ? statistic.win_peoples : '0'}} 次</span>
  58. </div>
  59. </div>
  60. <div class="info-item-name">总拼中次数</div>
  61. <div class="all_money">{{statistic.total_win_peoples ? statistic.total_win_peoples : '0'}} 次</div>
  62. </div>
  63. </div>
  64. <div class="" style="border: 0 solid;">
  65. <!-- 时间选择框 -->
  66. <template>
  67. <div style="margin-bottom: 15px;">时间筛选</div>
  68. <div>
  69. <el-select style="width: 150px;" size="small" v-model="search.type" @change='tabTotal'>
  70. <el-option key="1" label="日" value="day"></el-option>
  71. <el-option key="2" label="周" value="week"></el-option>
  72. <el-option key="3" label="月" value="month"></el-option>
  73. </el-select>
  74. <el-date-picker size="small" @change="changeTime" style="width: 350px" v-model="search.time" type="daterange" value-format="yyyy-MM-dd" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
  75. </el-date-picker>
  76. </div>
  77. </template>
  78. </div>
  79. <div class="table-area">
  80. <!-- 访问概况 -->
  81. <el-card shadow="never">
  82. <div slot="header">
  83. <span>访问概况</span>
  84. <span style="float:right;color:#C41D1D">浏览量:{{echarts_visit.sum_view_num}} 访客数:{{echarts_visit.sum_visit_num}}</span>
  85. </div>
  86. <div id="echarts-visit" style="height:18rem;"></div>
  87. </el-card>
  88. <!-- 金额概况 -->
  89. <el-card shadow="never">
  90. <div slot="header">
  91. <span>金额概况</span>
  92. </div>
  93. <div id="echarts-money" style="height:18rem;"></div>
  94. </el-card>
  95. </div>
  96. <!-- 会员概况 -->
  97. <el-card shadow="never" style="margin-bottom: 20px;">
  98. <div slot="header">
  99. <span>会员概况</span>
  100. </div>
  101. <div id="echarts-user" style="height:18rem;"></div>
  102. </el-card>
  103. <div style="color: #303133">
  104. <el-card shadow="never">
  105. <div slot="header">
  106. 拼中排行榜(TOP10)
  107. </div>
  108. <el-table v-loading="goods_loading" :row-style="{height:'63px'}" :header-cell-style="{background:'#F3F5F6','color':'#303133'}" :data="user_ranking_list">
  109. <el-table-column align="center" label="排名" width="80">
  110. <template slot-scope="scope">
  111. <img style="margin-top: 3px" v-if="scope.$index == 0" src="/resources/img/mall/first.png" alt="">
  112. <img style="margin-top: 3px" v-else-if="scope.$index == 1" src="/resources/img/mall/sec.png" alt="">
  113. <img style="margin-top: 3px" v-else-if="scope.$index == 2" src="/resources/img/mall/third.png" alt="">
  114. <span v-else-if="scope.$index < 9">0{{scope.$index+1}}</span>
  115. <span v-else>{{scope.$index+1}}</span>
  116. </template>
  117. </el-table-column>
  118. <el-table-column prop="user_id" width="150" align="center" label="会员ID"></el-table-column>
  119. <el-table-column prop="name" width="180" label="头像" align="center">
  120. <template slot-scope="scope">
  121. <div class="block">
  122. <el-avatar :size="50" :src="scope.row.avatar_url"></el-avatar>
  123. </div>
  124. </template>
  125. </el-table-column>
  126. <el-table-column prop="nickname" width="180" label="会员昵称" align="center">
  127. </el-table-column>
  128. <el-table-column prop="mobile" width="180" label="手机" align="center">
  129. </el-table-column>
  130. <el-table-column prop="has_attend_times" width="180" label="参团次数" align="center">
  131. </el-table-column>
  132. <el-table-column prop="win_num" width="200" label="拼中订单数" align="center">
  133. </el-table-column>
  134. <el-table-column prop="max_order_money" width="200" label="单笔订单最大金额" align="center">
  135. <template slot-scope="scope">
  136. <div>{{scope.row.max_order_money?scope.row.max_order_money:0}}</div>
  137. </template>
  138. </el-table-column>
  139. <el-table-column prop="attend_money" width="200" label="消费总金额" align="center">
  140. <template slot-scope="scope">
  141. <div>{{scope.row.attend_money?scope.row.attend_money:0}}</div>
  142. </template>
  143. </el-table-column>
  144. </el-table>
  145. </el-card>
  146. </div>
  147. </el-card>
  148. </div>
  149. <script>
  150. const app = new Vue({
  151. el: '#app',
  152. data() {
  153. return {
  154. // 今天
  155. today: '',
  156. // 七天前
  157. weekDay: '',
  158. // 30天前
  159. monthDay: '',
  160. // 加载动画
  161. loading: false,
  162. goods_loading: false,
  163. user_loading: false,
  164. // 销售情况选中情况
  165. order: true,
  166. price: true,
  167. people: true,
  168. num: true,
  169. // 日期选中状态
  170. activeName: '',
  171. // 搜索内容
  172. search: {
  173. time: null,
  174. start_date: null,
  175. end_date: null,
  176. type: '',
  177. },
  178. //统计数据
  179. statistic: {
  180. attend_commission: 0,
  181. total_attend_commission: 0,
  182. attend_money: 0,
  183. total_attend_money: 0,
  184. win_money: 0,
  185. total_win_money: 0,
  186. attend_peoples: 0,
  187. total_attend_peoples: 0,
  188. win_peoples: 0,
  189. total_win_peoples: 0,
  190. },
  191. echarts_user: {}, //会员概况
  192. echarts_money: {}, //金额概况
  193. user_ranking_list: [], // 拼团订单
  194. echarts_visit: [], // 访问概况
  195. // 时段
  196. pay_day: [],
  197. money_pay_day: [],
  198. // 图表X轴
  199. echarts_item: ['参团次数', '拼中次数', '拼不中次数'],
  200. echarts_item_money: ['拼中金额', '拼不中金额'],
  201. echarts_item_visit: ['浏览量', '访客数'],
  202. // 图表参数
  203. series: [{
  204. name: '参团次数',
  205. type: 'line',
  206. data: []
  207. },
  208. {
  209. name: '拼中次数',
  210. type: 'line',
  211. data: []
  212. },
  213. {
  214. name: '拼不中次数',
  215. type: 'line',
  216. data: []
  217. },
  218. {
  219. name: '支付件数',
  220. type: 'line',
  221. data: []
  222. },
  223. ],
  224. activeDay: 'one',
  225. sort_order: null,
  226. userProp: '',
  227. goodsProp: '',
  228. };
  229. },
  230. mounted() {
  231. this.getList();
  232. },
  233. methods: {
  234. formatNumber(money) {
  235. money = parseFloat(money);
  236. return money.toFixed(2);
  237. },
  238. // 获取数据
  239. getList() {
  240. this.loading = true;
  241. request({
  242. params: {
  243. r: 'lucky-group/default/index',
  244. start_date: this.search.start_date,
  245. end_date: this.search.end_date,
  246. type: this.search.type,
  247. },
  248. method: 'get',
  249. }).then(e => {
  250. this.loading = false;
  251. console.log(e, '数据')
  252. // debugger
  253. if (e.data.code == 0) {
  254. if (e.data.data.statistic) {
  255. this.statistic = e.data.data.statistic; //统计数据
  256. }
  257. this.user_ranking_list = e.data.data.user_ranking_list; //拼中排行榜
  258. this.echarts_user = e.data.data.echarts_user_data; //会员概况
  259. this.echarts_money_data = e.data.data.echarts_money_data; //金额概况
  260. this.echarts_visit = e.data.data.echarts_visit_data; //访问概况
  261. // this.echarts_item_money = e.data.data.echarts_money_data.names;
  262. this.visit_tab_pay();
  263. this.money_tab_pay();
  264. this.user_tab_pay();
  265. } else {
  266. this.$message.error(e.data.msg);
  267. }
  268. }).catch(e => {
  269. this.loading = false;
  270. });
  271. },
  272. // 生成会员概况图表
  273. user_form() {
  274. let that = this;
  275. console.log(that, 'echarts_item1');
  276. var myChart = echarts.init(document.getElementById('echarts-user'));
  277. myChart.setOption({
  278. tooltip: {
  279. trigger: 'axis',
  280. backgroundColor: '#fff',
  281. textStyle: {
  282. color: '#303133'
  283. },
  284. padding: 20,
  285. extraCssText: 'box-shadow: 0 0 4px rgba(0, 0, 0.1);'
  286. },
  287. legend: {
  288. show: true,
  289. data: that.echarts_item,
  290. bottom: 0,
  291. },
  292. color: ['#6093f8', '#657798', '#62daab'],
  293. grid: {
  294. left: '0',
  295. right: '4%',
  296. bottom: '8%',
  297. containLabel: true
  298. },
  299. xAxis: {
  300. type: 'category',
  301. boundaryGap: false,
  302. data: that.pay_day
  303. },
  304. yAxis: {
  305. splitLine: {
  306. show: true,
  307. lineStyle: {
  308. type: 'dashed'
  309. }
  310. },
  311. axisLine: {
  312. show: false
  313. },
  314. axisLabel: {
  315. show: false
  316. },
  317. type: 'value'
  318. },
  319. series: that.series
  320. });
  321. myChart.showLoading({
  322. text: '正在加载数据'
  323. });
  324. },
  325. // 切换图表区间
  326. user_tab_pay() {
  327. this.series[0].data = [];
  328. this.series[1].data = [];
  329. this.series[2].data = [];
  330. this.pay_day = [];
  331. let start_date;
  332. let end_date;
  333. if (this.activeDay == 'seven') {
  334. start_date = this.weekDay;
  335. end_date = this.today;
  336. }
  337. this.pay_day = this.echarts_user.win_peoples.keys;
  338. console.log(this.pay_day, 'x')
  339. this.series[0].data = this.echarts_user.attend_peoples.values;
  340. this.series[1].data = this.echarts_user.win_peoples.values;
  341. this.series[2].data = this.echarts_user.loss_peoples.values;
  342. console.log(this.series, 'y')
  343. this.user_form();
  344. var myChart = echarts.init(document.getElementById('echarts-user'));
  345. myChart.hideLoading();
  346. },
  347. //生成金额概况
  348. money_form() {
  349. let that = this;
  350. var myChart = echarts.init(document.getElementById('echarts-money'));
  351. myChart.setOption({
  352. tooltip: {
  353. trigger: 'item',
  354. },
  355. legend: {
  356. show: true,
  357. data: that.echarts_item_money
  358. },
  359. color: ['#62daab', '#6395f9'],
  360. title: {
  361. text: '总金额 \n\n ¥' + that.echarts_money_data.attend_amounts + '元',
  362. left: 'center',
  363. top: 'center',
  364. // textAlign: 'center',
  365. color: '#000',
  366. fontSize: 20,
  367. fontWeight: '400',
  368. },
  369. series: [{
  370. name: '总金额',
  371. type: 'pie',
  372. radius: ['55%', '70%'],
  373. avoidLabelOverlap: false,
  374. label: {
  375. normal: {
  376. show: true,
  377. // formatter: '{d}',
  378. formatter: '{b}:{d}%',
  379. position: 'outside'
  380. }
  381. },
  382. // emphasis: {
  383. // label: {
  384. // show: true,
  385. // fontSize: '40',
  386. // fontWeight: 'bold'
  387. // }
  388. // },
  389. // labelLine: {
  390. // show: true
  391. // },
  392. data: that.echarts_money_data.echarts_money
  393. }]
  394. });
  395. myChart.showLoading({
  396. text: '正在加载数据'
  397. });
  398. },
  399. // 切换图表区间
  400. money_tab_pay() {
  401. this.money_form();
  402. var myChart = echarts.init(document.getElementById('echarts-money'));
  403. myChart.hideLoading();
  404. },
  405. //生成访问概况
  406. visit_form() {
  407. let that = this;
  408. var myChart = echarts.init(document.getElementById('echarts-visit'));
  409. myChart.setOption({
  410. tooltip: {
  411. trigger: 'axis',
  412. backgroundColor: '#fff',
  413. textStyle: {
  414. color: '#303133'
  415. },
  416. padding: 20,
  417. extraCssText: 'box-shadow: 0 0 4px rgba(0, 0, 0.1);'
  418. },
  419. grid: {
  420. // top: '10%',
  421. left: '2%',
  422. right: '2%',
  423. // bottom: '10%',
  424. containLabel: true
  425. },
  426. xAxis: {
  427. type: 'category',
  428. data: that.echarts_visit.view_num.keys
  429. },
  430. yAxis: {
  431. type: 'value',
  432. axisLine: {
  433. show: false
  434. },
  435. nameLocation: 'end',
  436. /* name: '访问概况',
  437. nameTextStyle: {
  438. color: "rgba(0, 0, 0, 1)",
  439. fontWeight: "bold",
  440. fontSize: 16,
  441. align: "right"
  442. } */
  443. },
  444. color: ['#62daab', '#6395f9'],
  445. series: [
  446. {
  447. name: '浏览量',
  448. data: that.echarts_visit.view_num.values,
  449. type: 'bar',
  450. barGap: '1%',
  451. },
  452. {
  453. name: '访客数',
  454. data: that.echarts_visit.visit_num.values,
  455. type: 'bar',
  456. }
  457. ],
  458. legend: {
  459. data: that.echarts_item_visit,
  460. bottom: 0,
  461. },
  462. })
  463. myChart.showLoading({
  464. text: '正在加载数据'
  465. });
  466. },
  467. // 切换图表区间
  468. visit_tab_pay() {
  469. this.visit_form();
  470. var myChart = echarts.init(document.getElementById('echarts-visit'));
  471. myChart.hideLoading();
  472. },
  473. // 选择时间区间
  474. tabTotal() {
  475. if (this.search.type == 'day') {
  476. this.search.time = [this.today, this.today];
  477. }
  478. if (this.search.type == 'week') {
  479. this.search.time = [this.weekDay, this.today];
  480. }
  481. if (this.search.type == 'month') {
  482. this.search.time = [this.monthDay, this.today];
  483. }
  484. this.search.start_date = this.search.time[0];
  485. this.search.end_date = this.search.time[1];
  486. console.log(this.search.start_date, this.search.end_date);
  487. this.getList()
  488. },
  489. // 自定义时间
  490. changeTime() {
  491. this.activeName = null;
  492. if (this.search.time) {
  493. this.search.start_date = this.search.time[0];
  494. this.search.end_date = this.search.time[1];
  495. } else {
  496. this.search.start_date = null;
  497. this.search.end_date = null;
  498. }
  499. this.getList();
  500. },
  501. searchList(searchData) {
  502. this.search = searchData;
  503. this.page = 1;
  504. this.getList();
  505. },
  506. toSearch(searchData) {
  507. this.search = searchData;
  508. this.getList();
  509. this.user_tab_pay();
  510. this.money_tab_pay();
  511. this.changeUser();
  512. },
  513. tabMch() {
  514. this.getList();
  515. },
  516. },
  517. created() {
  518. // this.getList();
  519. let date = new Date();
  520. let timestamp = date.getTime();
  521. let seperator1 = "-";
  522. let year = date.getFullYear();
  523. let nowMonth = date.getMonth() + 1;
  524. let strDate = date.getDate();
  525. if (nowMonth >= 1 && nowMonth <= 9) {
  526. nowMonth = "0" + nowMonth;
  527. }
  528. if (strDate >= 0 && strDate <= 9) {
  529. strDate = "0" + strDate;
  530. }
  531. this.today = year + seperator1 + nowMonth + seperator1 + strDate;
  532. let week = new Date(timestamp - 7 * 24 * 3600 * 1000)
  533. let weekYear = week.getFullYear();
  534. let weekMonth = week.getMonth() + 1;
  535. let weekStrDate = week.getDate();
  536. if (weekMonth >= 1 && weekMonth <= 9) {
  537. weekMonth = "0" + weekMonth;
  538. }
  539. if (weekStrDate >= 0 && weekStrDate <= 9) {
  540. weekStrDate = "0" + weekStrDate;
  541. }
  542. this.weekDay = weekYear + seperator1 + weekMonth + seperator1 + weekStrDate;
  543. let month = new Date(timestamp - 30 * 24 * 3600 * 1000);
  544. let monthYear = month.getFullYear();
  545. let monthMonth = month.getMonth() + 1;
  546. let monthStrDate = month.getDate();
  547. if (monthMonth >= 1 && monthMonth <= 9) {
  548. monthMonth = "0" + monthMonth;
  549. }
  550. if (monthStrDate >= 0 && monthStrDate <= 9) {
  551. monthStrDate = "0" + monthStrDate;
  552. }
  553. this.monthDay = monthYear + seperator1 + monthMonth + seperator1 + monthStrDate;
  554. },
  555. })
  556. </script>
  557. <style>
  558. .el-tabs__nav-wrap::after {
  559. height: 1px;
  560. }
  561. .table-body {
  562. background-color: #fff;
  563. position: relative;
  564. padding-bottom: 10px;
  565. margin-bottom: 10px;
  566. border: 1px solid #EBEEF5;
  567. }
  568. .table-body .el-tabs {
  569. margin-left: 10px;
  570. }
  571. .table-body .el-tabs__nav-scroll {
  572. width: 120px;
  573. margin-left: 30px;
  574. }
  575. .table-body .el-tabs__item {
  576. height: 32px;
  577. line-height: 32px;
  578. }
  579. .table-body .clean {
  580. color: #92959B;
  581. margin-left: 20px;
  582. cursor: pointer;
  583. font-size: 15px;
  584. }
  585. .num-info {
  586. display: flex;
  587. width: 100%;
  588. height: 60px;
  589. font-size: 28px;
  590. color: #303133;
  591. }
  592. .num-info .num-info-item {
  593. text-align: center;
  594. width: 20%;
  595. border-left: 1px dashed #EFF1F7;
  596. }
  597. .num-info .num-info-item:first-of-type {
  598. border-left: 0;
  599. }
  600. .info-item-name-line div {
  601. border-bottom: 2px solid rgb(235, 238, 245);
  602. height: 40px;
  603. text-align: center;
  604. font-size: 14px;
  605. color: #fff;
  606. font-size: 14px;
  607. display: flex;
  608. justify-content: space-between;
  609. align-items: center;
  610. }
  611. .info-item-name {
  612. line-height: 40px;
  613. font-size: 16px;
  614. color: #fff;
  615. text-align: left;
  616. }
  617. .money {
  618. font-size: 16px;
  619. font-weight: bold;
  620. }
  621. .all_money {
  622. font-size: 30px;
  623. text-align: left;
  624. margin-bottom: 20px;
  625. }
  626. .tab-pay {
  627. position: absolute;
  628. bottom: 0;
  629. right: 50px;
  630. }
  631. .tab-pay .el-tabs__item {
  632. height: 56px;
  633. line-height: 56px;
  634. }
  635. .pay-info {
  636. padding: 40px 0;
  637. display: flex;
  638. justify-content: space-between;
  639. }
  640. .pay-info .pay-info-item {
  641. width: 22%;
  642. margin: 0 0.5%;
  643. text-align: center;
  644. font-size: 26px;
  645. border: 1px solid #EBEEF5;
  646. border-radius: 10px;
  647. position: relative;
  648. cursor: pointer;
  649. color: #fff;
  650. font-size: 14px;
  651. padding: 0 14px;
  652. }
  653. .pay-info .pay-info-item::after {
  654. position: absolute;
  655. bottom: 20px;
  656. right: 20px;
  657. background-image: url('/resources/img/plugins/gold_shop.png');
  658. content: '';
  659. width: 50px;
  660. height: 50px;
  661. background-repeat: no-repeat;
  662. z-index: 0;
  663. opacity: 0.5;
  664. background-size: 100%;
  665. transform: rotate(-45deg);
  666. }
  667. .bg-orange {
  668. background: linear-gradient(-55.2871552272817deg, rgba(251, 147, 67, 1) 2%, rgba(252, 114, 83, 1) 58%);
  669. }
  670. .bg-red {
  671. background: linear-gradient(-55.2871552272817deg, rgba(249, 78, 78, 1) 2%, rgba(217, 43, 43, 1) 58%);
  672. }
  673. .bg-purple {
  674. background: linear-gradient(-55.2871552272817deg, rgba(202, 67, 251, 1) 2%, rgba(137, 21, 178, 1) 58%);
  675. }
  676. .bg-green {
  677. background: linear-gradient(-55.2871552272817deg, rgba(57, 202, 121, 1) 2%, rgba(8, 181, 88, 1) 58%);
  678. }
  679. .bg-blue {
  680. background: linear-gradient(-55.2871552272817deg, rgba(84, 163, 206, 1) 2%, rgba(24, 134, 196, 1) 58%);
  681. }
  682. .pay-info .pay-info-item.active {
  683. border: 1px solid #3399FF;
  684. }
  685. .pay-info .pay-info-item img {
  686. display: none;
  687. }
  688. .pay-info .pay-info-item.active img {
  689. position: absolute;
  690. top: 0;
  691. left: 0;
  692. display: block;
  693. }
  694. .echarts-title {
  695. color: #92959B;
  696. display: flex;
  697. font-size: 16px;
  698. margin-left: 45px;
  699. }
  700. .echarts-title-item {
  701. margin-right: 45px;
  702. display: flex;
  703. align-items: center;
  704. }
  705. .echarts-title-item .echarts-title-icon {
  706. height: 16px;
  707. width: 16px;
  708. margin-right: 10px;
  709. background-color: #3399ff;
  710. }
  711. .table-area {
  712. margin: 20px 0;
  713. display: flex;
  714. justify-content: space-between;
  715. }
  716. .table-area .el-card {
  717. width: 49.5%;
  718. color: #303133;
  719. }
  720. .card-item {
  721. background-color: #f7f7f7;
  722. box-shadow: 3px 3px 5px rgb(155 155 155 / 35%);
  723. }
  724. .card-item .el-card__header {
  725. font-size: 20px;
  726. font-weight: bold;
  727. }
  728. .card-item .el-card__header .sub-title {
  729. float: right;
  730. color: #C41D1D;
  731. font-size: 14px;
  732. font-weight: normal;
  733. }
  734. .mg-top {
  735. margin-top: 20px;
  736. }
  737. .el-tabs__header {
  738. margin-bottom: 0 !important;
  739. }
  740. .el-card__header {
  741. position: relative;
  742. font-weight: 600;
  743. font-size: 15px;
  744. }
  745. .sort-active {
  746. color: #3399ff;
  747. }
  748. .select-item {
  749. border: 1px solid #3399ff;
  750. margin-top: -1px !important;
  751. }
  752. .el-popper .popper__arrow,
  753. .el-popper .popper__arrow::after {
  754. display: none;
  755. }
  756. .el-select-dropdown__item.hover,
  757. .el-select-dropdown__item:hover {
  758. background-color: #3399ff;
  759. color: #fff;
  760. }
  761. .table-area .el-card__header {
  762. padding: 14px 20px;
  763. }
  764. .text-omit {
  765. width: 380px;
  766. overflow: hidden;
  767. text-overflow: ellipsis;
  768. white-space: nowrap;
  769. }
  770. </style>