index.php 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880
  1. <div id="app" v-cloak>
  2. <el-card shadow="never" style="border:0;min-width:1600px;" body-style="padding: 20px;">
  3. <div class="head flex">
  4. <div class="head-left">
  5. <!-- 实时概况 -->
  6. <div class="overview_box">
  7. <div class="flex-x-between" style="margin-bottom:40px">
  8. <div class="head-left-text">实时概况</div>
  9. <div>当前时间:{{data.currTime}}</div>
  10. </div>
  11. <div class="flex overview_list">
  12. <div class="flex-y-center overview_list_box">
  13. <!-- <img class="overview_list_img" src="/resources/img/plugins/store/overview1.png" class="" alt=""> -->
  14. <el-image class="overview_list_img" :src="icons.overview1"></el-image>
  15. <div class="overview_item">
  16. <div class="overview_item_title">实收金额(元)</div>
  17. <div class="overview_item_price">{{data.statistics.real_pay_amounts}}</div>
  18. <div class="overview_item_time">昨日:{{data.statistics.yesterday_real_pay_amounts}}</div>
  19. </div>
  20. </div>
  21. <div class="flex-y-center overview_list_box">
  22. <!-- <img class="overview_list_img" src="/resources/img/plugins/store/overview2.png" class="" alt=""> -->
  23. <el-image class="overview_list_img" :src="icons.overview2"></el-image>
  24. <div class="overview_item">
  25. <div class="overview_item_title">待结算</div>
  26. <div class="overview_item_price">{{data.statistics.not_settle_amounts}}</div>
  27. <div class="overview_item_time">昨日:{{data.statistics.yesterday_not_settle_amounts}}</div>
  28. </div>
  29. </div>
  30. <div class="flex-y-center overview_list_box">
  31. <!-- <img class="overview_list_img" src="/resources/img/plugins/store/overview3.png" class="" alt=""> -->
  32. <el-image class="overview_list_img" :src="icons.overview3"></el-image>
  33. <div class="overview_item">
  34. <div class="overview_item_title">待审核提现(元)</div>
  35. <div class="overview_item_price">{{data.statistics.waiting_audit_withdraw_amounts}}</div>
  36. <div class="overview_item_time">昨日:{{data.statistics.yesterday_waiting_audit_withdraw_amounts}}</div>
  37. </div>
  38. </div>
  39. <div class="flex-y-center overview_list_box">
  40. <el-image class="overview_list_img" :src="icons.overview4"></el-image>
  41. <div class="overview_item">
  42. <div class="overview_item_title">已打款提现(元)</div>
  43. <div class="overview_item_price">{{data.statistics.waiting_pay_withdraw_amounts}}</div>
  44. <div class="overview_item_time">昨日:{{data.statistics.yesterday_waiting_pay_withdraw_amounts}}</div>
  45. </div>
  46. </div>
  47. <div class="flex-y-center overview_list_box">
  48. <!-- <img class="overview_list_img" src="/resources/img/plugins/store/overview5.png" class="" alt=""> -->
  49. <el-image class="overview_list_img" :src="icons.overview5"></el-image>
  50. <div class="overview_item">
  51. <div class="overview_item_title">待审核门店数</div>
  52. <div class="overview_item_price">{{data.statistics.waiting_audit_store_numbers}}</div>
  53. <div class="overview_item_time">昨日:{{data.statistics.yesterday_waiting_audit_store_numbers}}</div>
  54. </div>
  55. </div>
  56. <div class="flex-y-center overview_list_box">
  57. <!-- <img class="overview_list_img" src="/resources/img/plugins/store/overview6.png" class="" alt=""> -->
  58. <el-image class="overview_list_img" :src="icons.overview6"></el-image>
  59. <div class="overview_item">
  60. <div class="overview_item_title">
  61. <span>已结算佣金</span>
  62. <el-popover placement="top-start" width="250" trigger="hover" content="门店订单结算给会员的佣金">
  63. <i slot="reference" class="el-icon-question grid-icon"></i>
  64. </el-popover>
  65. </div>
  66. <div class="overview_item_price">{{data.statistics.settle_amounts}}</div>
  67. <div class="overview_item_time">昨日:{{data.statistics.yesterday_settle_amounts}}</div>
  68. </div>
  69. </div>
  70. <div class="flex-y-center overview_list_box">
  71. <!-- <img class="overview_list_img" src="/resources/img/plugins/store/overview7.png" class="" alt=""> -->
  72. <el-image class="overview_list_img" :src="icons.overview7"></el-image>
  73. <div class="overview_item">
  74. <div class="overview_item_title">支付人数</div>
  75. <div class="overview_item_price">{{data.statistics.pay_people_numbers}}</div>
  76. <div class="overview_item_time">昨日:{{data.statistics.yesterday_pay_people_numbers}}</div>
  77. </div>
  78. </div>
  79. <div class="flex-y-center overview_list_box">
  80. <!-- <img class="overview_list_img" src="/resources/img/plugins/store/overview8.png" class="" alt=""> -->
  81. <el-image class="overview_list_img" :src="icons.overview8"></el-image>
  82. <div class="overview_item">
  83. <div class="overview_item_title">支付订单</div>
  84. <div class="overview_item_price">{{data.statistics.pay_order_numbers}}</div>
  85. <div class="overview_item_time">昨日:{{data.statistics.yesterday_pay_order_numbers}}</div>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. <!-- 地图 -->
  91. <div class="map_box">
  92. <div class="money_overview_title flex-x-between flex-y-center" style="margin-bottom: 15px;">
  93. <div class="flex-x-between" style="margin-bottom:5px">
  94. <div class="head-left-text">实时概况</div>
  95. </div>
  96. <!-- <div class="flex-y-center">
  97. <div class="money_overview_detail flex-y-center">
  98. 门店总数:<span class="detail_num">{{data.total_store_numbers}}</span>
  99. </div>
  100. <div class="money_overview_detail flex-y-center" style="margin-left: 20px;">
  101. 销售金额(元):<span class="detail_num">{{data.total_sale_amounts}}</span>
  102. </div>
  103. </div> -->
  104. <!-- <div class="date_box">-->
  105. <!-- <el-date-picker @change='mapChange' size='small' v-model="value1" value-format='timestamp' type="daterange" range-separator="~" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>-->
  106. <!-- </div>-->
  107. </div>
  108. <div class="flex-x-between">
  109. <div class="map">
  110. <div class="map_content" id='container'></div>
  111. <div class="map_search_box">
  112. <div class="map_search">
  113. <el-input v-model="search_city" placeholder="请输入城市" class="search_inp"></el-input>
  114. <el-button type="primary" @click='citySearch'>查询</el-button>
  115. </div>
  116. <div class="data_show flex-y-center">
  117. <div style="margin-right: 10px;">门店数:<span class="data_show_col">{{data.total_store_numbers}}</span></div>
  118. <div>销售金额(元):<span class="data_show_col">{{data.total_sale_amounts}}</span></div>
  119. </div>
  120. </div>
  121. </div>
  122. <div class="map_table" @click='goMap'>
  123. <div class="map_table_title flex-y-center">
  124. <div class="map_table_title_item">城市</div>
  125. <div class="map_table_title_item">门店数</div>
  126. <div class="map_table_title_item">销售金额(元)</div>
  127. </div>
  128. <div class="map_table_content">
  129. <div class="map_table_item flex-y-center" v-for="item in data.region_ranking_list">
  130. <div class="map_table_content_item">{{item.region_name}}</div>
  131. <div class="map_table_content_item">{{item.store_numbers}}</div>
  132. <div class="map_table_content_item">{{item.sale_amounts}}</div>
  133. </div>
  134. </div>
  135. </div>
  136. </div>
  137. </div>
  138. </div>
  139. <div class="head-right">
  140. <!-- 门店销售排行榜 -->
  141. <div class="sale_rank">
  142. <div class="sale_rank_title flex-y-center">
  143. <div class="sale_rank_line"></div>
  144. <div class="sale_rank_text">门店销售排名TOP10</div>
  145. </div>
  146. <div class="sale_rank_list">
  147. <div class="sale_rank_item flex-x-between" v-for="(item,index) in data.store_good_ranking_list" :key='index'>
  148. <div class="sale_rank_item-left flex-y-center">
  149. <div class="sale_rank_num">{{index+1}}</div>
  150. <!-- <img class="sale_rank_img" src="/resources/img/plugins/store/overview1.png" alt=""> -->
  151. <el-image class="sale_rank_img" :src="item.logo_img">
  152. <div slot="error" class="image-slot">
  153. <!-- <img class="sale_rank_img" src="/resources/img/plugins/store/overview1.png" /> -->
  154. <el-image class="sale_rank_img" :src="icons.overview1">
  155. </div>
  156. </el-image>
  157. <div class="sale_rank_name over1">{{item.store_name}}</div>
  158. </div>
  159. <div class="flex-y-center">
  160. <!-- <img src="/resources/img/plugins/store/sales-img.png" class="sale_img" alt=""> -->
  161. <el-image class="sale_img" :src="icons.sales_img"></el-image>
  162. <div class="sale_num">{{item.sales_money}}</div>
  163. </div>
  164. </div>
  165. </div>
  166. </div>
  167. </div>
  168. </div>
  169. <!-- <div class="main_box flex-x-between">
  170. <div class="main_box_right">
  171. <div class="money_overview_text" style="margin-bottom: 40px;">常用功能</div>
  172. <div class="flex-y-center" style="flex-wrap:wrap">
  173. <div class="flex-y-center features_list_box" style="flex-direction: column;" @click="to(1)">
  174. <img class="features_list_img" src="/resources/img/plugins/store/features1.png" class="" alt="">
  175. <div class="overview_item">
  176. <div class="overview_item_title">门店管理</div>
  177. </div>
  178. </div>
  179. <div class="flex-y-center features_list_box" style="flex-direction: column;" @click="to(2)">
  180. <img class="features_list_img" src="/resources/img/plugins/store/features2.png" class="" alt="">
  181. <div class="overview_item">
  182. <div class="overview_item_title">门店申请</div>
  183. </div>
  184. </div>
  185. <div class="flex-y-center features_list_box" style="flex-direction: column;" @click="to(3)">
  186. <img class="features_list_img" src="/resources/img/plugins/store/features3.png" class="" alt="">
  187. <div class="overview_item">
  188. <div class="overview_item_title">门店订单</div>
  189. </div>
  190. </div>
  191. <div class="flex-y-center features_list_box" style="flex-direction: column;" @click="to(4)">
  192. <img class="features_list_img" src="/resources/img/plugins/store/features4.png" class="" alt="">
  193. <div class="overview_item">
  194. <div class="overview_item_title">收银台订单</div>
  195. </div>
  196. </div>
  197. <div class="flex-y-center features_list_box" style="flex-direction: column;" @click="to(5)">
  198. <img class="features_list_img" src="/resources/img/plugins/store/features5.png" class="" alt="">
  199. <div class="overview_item">
  200. <div class="overview_item_title">推荐设置</div>
  201. </div>
  202. </div>
  203. <div class="flex-y-center features_list_box" style="flex-direction: column;" @click="to(6)">
  204. <img class="features_list_img" src="/resources/img/plugins/store/features6.png" class="" alt="">
  205. <div class="overview_item">
  206. <div class="overview_item_title">商品管理</div>
  207. </div>
  208. </div>
  209. <div class="flex-y-center features_list_box" style="flex-direction: column;" @click="to(7)">
  210. <img class="features_list_img" src="/resources/img/plugins/store/features7.png" class="" alt="">
  211. <div class="overview_item">
  212. <div class="overview_item_title">对账管理</div>
  213. </div>
  214. </div>
  215. <div class="flex-y-center features_list_box" style="flex-direction: column;" @click="to(8)">
  216. <img class="features_list_img" src="/resources/img/plugins/store/features8.png" class="" alt="">
  217. <div class="overview_item">
  218. <div class="overview_item_title">收银设置</div>
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. </div>
  224. <div class="goods_rank_box">
  225. <div class="goods_rank_title">商品销量排行(TOP5)</div>
  226. <div>
  227. <el-table :data="data.top_goods" border style="width: 100%" :header-cell-style="{'text-align':'center'}" :cell-style="{'text-align':'center'}">
  228. <el-table-column label="排名" width="80">
  229. <template slot-scope="scope">
  230. {{scope.$index+1}}
  231. </template>
  232. </el-table-column>
  233. <el-table-column prop="id" label="商品ID" width="100"></el-table-column>
  234. <el-table-column label="商品图片" width='120'>
  235. <template slot-scope="scope">
  236. <div class="flex-x-center">
  237. <img class="goods_img" :src="scope.row.cover_pic" alt="">
  238. </div>
  239. </template>
  240. </el-table-column>
  241. <el-table-column prop="name" label="商品名称" :show-overflow-tooltip='true' width='250'></el-table-column>
  242. <el-table-column prop="address" label="所属门店" width='250'>
  243. <template slot-scope="scope">
  244. <div class="flex-x-center flex-y-center">
  245. <img class="goods_img" :src="scope.row.shop_url" alt="">
  246. <div>{{scope.row.shop_name}}</div>
  247. </div>
  248. </template>
  249. </el-table-column>
  250. <el-table-column prop="order_count" label="下单件数"></el-table-column>
  251. <el-table-column prop="order_people_count" label="下单人数"></el-table-column>
  252. <el-table-column prop="pay_count" label="支付件数"></el-table-column>
  253. <el-table-column prop="pay_people_count" label="支付人数"></el-table-column>
  254. <el-table-column label="销售总金额">
  255. <template slot-scope="scope">
  256. <div>{{scope.row.order_sum}}元</div>
  257. </template>
  258. </el-table-column>
  259. </el-table>
  260. </div>
  261. </div> -->
  262. </el-card>
  263. </div>
  264. <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=d49fb742889b43ddf4271df776170f1d"></script>
  265. <script>
  266. let map;
  267. const app = new Vue({
  268. el: '#app',
  269. data() {
  270. return {
  271. data: {
  272. statistics: {},
  273. store_good_ranking_list: [],
  274. // top_goods: [],
  275. region_ranking_list: [],
  276. currTime: '2022-05-13 14:02:00',
  277. },
  278. value1: '',
  279. search_city: '',
  280. icons: {
  281. overview1: _diy_img_prefix + '/static/addons/Store/overview1.png',
  282. overview2: _diy_img_prefix + '/static/addons/Store/overview2.png',
  283. overview3: _diy_img_prefix + '/static/addons/Store/overview3.png',
  284. overview4: _diy_img_prefix + '/static/addons/Store/overview4.png',
  285. overview5: _diy_img_prefix + '/static/addons/Store/overview5.png',
  286. overview6: _diy_img_prefix + '/static/addons/Store/overview6.png',
  287. overview7: _diy_img_prefix + '/static/addons/Store/overview7.png',
  288. overview8: _diy_img_prefix + '/static/addons/Store/overview8.png',
  289. sales_img: _diy_img_prefix + '/static/addons/Store/sales-img.png',
  290. },
  291. };
  292. },
  293. mounted() {
  294. let date = new Date();
  295. this.loadData();
  296. },
  297. methods: {
  298. loadMap(map_data) {
  299. // 初始化地图
  300. this.initMap();
  301. // 金额概况圆饼
  302. var total_text = '门店实收金额'
  303. var total_num = map_data[0] || 0;
  304. var legend_data = ['门店实收货款(元)', '平台佣金(元)'];
  305. var data = [{
  306. value: map_data[1] || 0,
  307. name: '门店实收货款(元)'
  308. },
  309. {
  310. value: map_data[2] || 0,
  311. name: '平台佣金(元)'
  312. },
  313. ];
  314. this.initChart(document.getElementById('money_chart'), total_num, total_text, legend_data, data);
  315. // 订单概况圆饼
  316. var total_text2 = '订单总数'
  317. var total_num2 = map_data[3] || 0;
  318. var legend_data2 = ['门店订单', '收银台订单', '售后订单'];
  319. var data2 = [{
  320. value: map_data[4] || 0,
  321. name: '门店订单'
  322. },
  323. {
  324. value: map_data[6] || 0,
  325. name: '收银台订单'
  326. },
  327. {
  328. value: map_data[5] || 0,
  329. name: '售后订单'
  330. }
  331. ];
  332. this.initChart(document.getElementById('order_chart'), total_num2, total_text2, legend_data2, data2);
  333. },
  334. /* to(num) {
  335. switch (num) {
  336. case 1:
  337. navigateTo({
  338. r: 'plugin/o2o_store/mall/store/index',
  339. });
  340. break;
  341. case 2:
  342. navigateTo({
  343. r: 'plugin/o2o_store/mall/store/apply',
  344. });
  345. break;
  346. case 3:
  347. navigateTo({
  348. r: 'plugin/o2o_store/mall/order/index',
  349. });
  350. break;
  351. case 4:
  352. navigateTo({
  353. r: 'plugin/o2o_store/mall/order/cashier',
  354. });
  355. break;
  356. case 5:
  357. navigateTo({
  358. r: 'plugin/o2o_store/mall/recommend/index',
  359. });
  360. break;
  361. case 6:
  362. navigateTo({
  363. r: 'plugin/o2o_store/mall/goods/index',
  364. });
  365. break;
  366. case 7:
  367. navigateTo({
  368. r: 'plugin/o2o_store/mall/finance/index',
  369. });
  370. break;
  371. case 8:
  372. navigateTo({
  373. r: 'plugin/o2o_store/mall/cashier/index',
  374. });
  375. break;
  376. }
  377. }, */
  378. mapChange() {
  379. //地图的日期搜索
  380. console.log(this.value1, 'value1value1');
  381. },
  382. amountChange() {
  383. //金额的日期搜索
  384. },
  385. orderChange() {
  386. //订单的日期搜索
  387. },
  388. citySearch() {
  389. //门店查询
  390. map.setCity(this.search_city);
  391. },
  392. initMap() {
  393. map = new AMap.Map('container', {
  394. resizeEnable: true,
  395. });
  396. },
  397. goMap() {
  398. var val = '白云区';
  399. },
  400. initChart(el, num, text, legendData, data) {
  401. var myChart = echarts.init(el);
  402. myChart.setOption({
  403. title: {
  404. zlevel: 0,
  405. text: [
  406. '{name|' + text + '}',
  407. '{value|' + num + '}',
  408. ].join('\n'),
  409. top: 'center',
  410. right: 'center',
  411. textStyle: {
  412. rich: {
  413. name: {
  414. color: '#545454',
  415. fontSize: 16,
  416. lineHeight: 40,
  417. },
  418. value: {
  419. color: '#545454',
  420. fontSize: 24,
  421. lineHeight: 20
  422. },
  423. },
  424. },
  425. },
  426. legend: {
  427. orient: 'horizontal',
  428. left: 'center',
  429. bottom: 10,
  430. data: legendData
  431. },
  432. series: [{
  433. type: 'pie',
  434. radius: ['50%', '70%'],
  435. label: {
  436. normal: {
  437. show: true,
  438. position: 'outside',
  439. formatter: '{c}'
  440. }
  441. },
  442. labelLine: {
  443. normal: {
  444. show: true,
  445. length: 0,
  446. length2: 10
  447. }
  448. },
  449. color: ['#6395F9', '#62DAAB', '#FF7575'],
  450. data: data
  451. }]
  452. });
  453. },
  454. loadData() {
  455. request({
  456. params: {
  457. r: 'store/default/index',
  458. },
  459. method: 'get',
  460. }).then(e => {
  461. if (e.data.code == 0) {
  462. this.data = e.data.data
  463. this.loadMap(e.data.data.map);
  464. }
  465. }).catch(e => {
  466. this.getGoods_loading = false;
  467. console.log(e);
  468. });
  469. }
  470. }
  471. });
  472. </script>
  473. <style>
  474. .head-left {
  475. width: 1100px;
  476. margin-right: 30px;
  477. }
  478. /* 实时概况 */
  479. .overview_box {
  480. padding: 20px 20px 0 20px;
  481. background: #F7F7F7;
  482. box-shadow: 3px 3px 5px rgb(134 134 134 / 35%);
  483. border-radius: 5px;
  484. height: 328px;
  485. margin-bottom: 20px;
  486. }
  487. .head-left-text {
  488. font-size: 18px;
  489. color: #333333;
  490. font-weight: 600;
  491. }
  492. .overview_list {
  493. padding-left: 30px;
  494. flex-wrap: wrap;
  495. }
  496. .overview_list_box {
  497. margin-right: 100px;
  498. margin-bottom: 50px;
  499. width: 178px;
  500. }
  501. .overview_list_box:nth-of-type(4n) {
  502. margin-right: 0;
  503. }
  504. .overview_list_img {
  505. width: 50px;
  506. height: 50px;
  507. display: block;
  508. margin-right: 15px;
  509. }
  510. .overview_item_title {
  511. font-size: 14px;
  512. color: #333333;
  513. font-weight: 600;
  514. }
  515. .overview_item_price {
  516. font-size: 20px;
  517. color: #333333;
  518. font-weight: 600;
  519. margin: 6px 0;
  520. }
  521. .overview_item_time {
  522. color: #9f9f9f;
  523. font-size: 12px;
  524. }
  525. /* 地图 */
  526. .map_box {
  527. background: #F7F7F7;
  528. border: 1px solid rgba(208, 223, 253, 1);
  529. border-radius: 10px;
  530. width: 1560px;
  531. height: 514px;
  532. box-shadow: 3px 3px 5px rgb(155 155 155 / 35%);
  533. padding: 15px 20px 10px;
  534. }
  535. .head-right {
  536. width: 428px;
  537. }
  538. /* 销售排行榜 */
  539. .sale_rank {
  540. border: 1px solid rgba(208, 208, 208, 1);
  541. border-radius: 10px;
  542. width: 428px;
  543. height: 328px;
  544. box-shadow: 3px 3px 5px rgb(161 161 161 / 35%);
  545. padding: 20px 10px 0;
  546. margin-bottom: 20px;
  547. }
  548. .sale_rank_title {
  549. border-bottom: 1px solid #D0D0D0;
  550. padding: 0 10px 6px;
  551. margin-bottom: 15px;
  552. }
  553. .sale_rank_line {
  554. background: rgba(55, 113, 240, 1);
  555. width: 5px;
  556. height: 22px;
  557. margin-right: 10px;
  558. }
  559. .sale_rank_text {
  560. font-size: 14px;
  561. color: #333333;
  562. font-weight: 600;
  563. }
  564. .sale_rank_list {
  565. height: 250px;
  566. overflow: hidden;
  567. overflow-y: auto;
  568. }
  569. .sale_rank_item {
  570. padding: 0 10px 6px;
  571. border-bottom: 1px solid #D0D0D0;
  572. margin-bottom: 15px;
  573. }
  574. .sale_rank_num {
  575. font-size: 16px;
  576. font-weight: 600;
  577. margin-right: 10px;
  578. }
  579. .sale_rank_img {
  580. width: 22px;
  581. height: 22px;
  582. margin-right: 10px;
  583. display: block;
  584. }
  585. .sale_rank_name {
  586. width: 220px;
  587. }
  588. .sale_img {
  589. width: 24px;
  590. height: 24px;
  591. display: block;
  592. margin-right: 6px;
  593. }
  594. .sale_num {
  595. font-size: 16px;
  596. font-weight: 600;
  597. color: #DE031A;
  598. }
  599. .map {
  600. width: 1200px;
  601. height: 435px;
  602. background: #417FC8;
  603. position: relative;
  604. }
  605. .map_content {
  606. width: 100%;
  607. height: 100%;
  608. }
  609. .map_search_box {
  610. position: absolute;
  611. width: 328px;
  612. height: 42px;
  613. border-radius: 6px;
  614. top: 20px;
  615. left: 20px;
  616. box-sizing: border-box;
  617. /* box-shadow: 3px 3px 5px rgb(132 132 132 / 35%); */
  618. }
  619. .map_table {
  620. width: 300px;
  621. height: 435px;
  622. border-radius: 10px;
  623. }
  624. .map_table_title {
  625. background: #535353;
  626. color: #fff;
  627. font-size: 14px;
  628. font-weight: 600;
  629. height: 60px;
  630. border-radius: 10px 10px 0 0;
  631. }
  632. .map_table_content {
  633. border: 1px solid rgba(208, 223, 253, 1);
  634. height: 373px;
  635. overflow: hidden;
  636. overflow-y: auto;
  637. }
  638. .map_table_item {
  639. height: 43px;
  640. background: #fff;
  641. border-bottom: 1px solid rgba(208, 223, 253, 1);
  642. }
  643. .map_table_item:last-child {
  644. border-bottom: 0;
  645. }
  646. .map_table_title_item {
  647. width: 33%;
  648. text-align: center;
  649. }
  650. .map_table_content_item {
  651. width: 33%;
  652. text-align: center;
  653. }
  654. .detail_num {
  655. color: #417FC8;
  656. font-weight: 600;
  657. }
  658. /* 让日期选择器变小 */
  659. .date_box .el-date-editor--daterange.el-input__inner {
  660. width: 250px;
  661. }
  662. .date_box .el-date-editor .el-range-input {
  663. width: 35%;
  664. }
  665. .date_box .el-date-editor .el-range-separator {
  666. width: 10%;
  667. }
  668. .money_overview_chart {
  669. width: 100%;
  670. height: calc(100% - 32px);
  671. /* width: 606px;
  672. height: 500px; */
  673. }
  674. .main_box {
  675. width: 1560px;
  676. margin: 20px 0;
  677. }
  678. .main_box_right {
  679. width: 1560px;
  680. border: 1px solid rgba(212, 212, 212, 1);
  681. box-shadow: 3px 3px 5px rgb(155 155 155 / 35%);
  682. border-radius: 10px;
  683. padding: 15px 20px 0;
  684. height: 258px;
  685. }
  686. .features_list {
  687. padding: 20px 30px 0;
  688. }
  689. .features_list_img {
  690. width: 70px;
  691. height: 70px;
  692. display: block;
  693. margin-bottom: 15px;
  694. border-radius: 15px;
  695. }
  696. .features_list_box {
  697. margin-right: 5px;
  698. margin-bottom: 65px;
  699. width: 178px;
  700. }
  701. .features_list_box:nth-of-type(4n) {
  702. margin-right: 0;
  703. }
  704. .order_overview_chart {
  705. background: pink;
  706. height: calc(100% - 32px);
  707. }
  708. .goods_rank_box {
  709. border: 1px solid rgba(213, 213, 213, 1);
  710. box-shadow: 3px 3px 5px rgb(172 172 172 / 35%);
  711. width: 1560px;
  712. border-radius: 10px;
  713. padding: 20px;
  714. }
  715. .goods_rank_title {
  716. font-size: 18px;
  717. color: #333;
  718. font-weight: 600;
  719. margin-bottom: 30px;
  720. }
  721. .goods_img {
  722. width: 40px;
  723. height: 40px;
  724. display: block;
  725. margin-right: 10px;
  726. }
  727. body .el-table th.gutter {
  728. display: table-cell !important;
  729. }
  730. .search_inp {
  731. width: 174px;
  732. height: 100%;
  733. }
  734. .data_show {
  735. background: #fff;
  736. height: 40px;
  737. width: 250px;
  738. border: 1px solid #DCDFE6;
  739. font-size: 13px;
  740. margin-top: 5px;
  741. box-shadow: 3px 3px 5px rgb(132 132 132 / 35%);
  742. border-radius: 5px;
  743. padding-left: 10px;
  744. }
  745. .data_show_col {
  746. color: #417FC8;
  747. }
  748. @media (max-width: 1500px) {}
  749. /* 公共样式 */
  750. .flex {
  751. display: -webkit-box;
  752. display: -webkit-flex;
  753. /* #ifndef APP-NVUE */
  754. display: flex;
  755. /* #endif */
  756. }
  757. .flex-x-center {
  758. display: -webkit-box;
  759. display: -webkit-flex;
  760. /* #ifndef APP-NVUE */
  761. display: flex;
  762. /* #endif */
  763. -webkit-box-pack: center;
  764. -webkit-justify-content: center;
  765. -ms-flex-pack: center;
  766. justify-content: center;
  767. }
  768. .flex-x-between {
  769. display: -webkit-box;
  770. display: -webkit-flex;
  771. /* #ifndef APP-NVUE */
  772. display: flex;
  773. /* #endif */
  774. -webkit-box-pack: space-between;
  775. -webkit-justify-content: space-between;
  776. -ms-flex-pack: space-between;
  777. justify-content: space-between;
  778. }
  779. .flex-y-center {
  780. display: -webkit-box;
  781. display: -webkit-flex;
  782. /* #ifndef APP-NVUE */
  783. display: flex;
  784. /* #endif */
  785. -webkit-box-align: center;
  786. -webkit-align-items: center;
  787. -ms-flex-align: center;
  788. -ms-grid-row-align: center;
  789. align-items: center;
  790. }
  791. /* 溢出隐藏 */
  792. .over1 {
  793. text-overflow: -o-ellipsis-lastline;
  794. overflow: hidden;
  795. text-overflow: ellipsis;
  796. display: -webkit-box;
  797. -webkit-line-clamp: 1;
  798. -webkit-box-orient: vertical;
  799. }
  800. .over2 {
  801. text-overflow: -o-ellipsis-lastline;
  802. overflow: hidden;
  803. text-overflow: ellipsis;
  804. display: -webkit-box;
  805. -webkit-line-clamp: 2;
  806. -webkit-box-orient: vertical;
  807. }
  808. .grid-icon {
  809. color: #999;
  810. cursor: pointer;
  811. font-size: 18px;
  812. }
  813. </style>