Browse Source

添加svg

pull/1/head
zhaoguoqiang 3 years ago
parent
commit
1166c52882
  1. 2
      src/assets/filiale.svg
  2. 2
      src/assets/general.svg
  3. 2
      src/assets/partner.svg
  4. 2
      src/assets/shareholder.svg
  5. 2
      src/assets/vip.svg
  6. 1
      src/views/PerformanceData/index.vue
  7. 98
      src/views/dataOverview/index.vue
  8. 41
      src/views/login.vue

2
src/assets/filiale.svg

@ -0,0 +1,2 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627611904616" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4520" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2") format("woff2"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff") format("woff"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf") format("truetype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont") format("svg"); }
</style></defs><path d="M568.888889 0a113.777778 113.777778 0 0 1 113.777778 113.777778v113.777778h227.555555a113.777778 113.777778 0 0 1 113.777778 113.777777v682.666667H0V113.777778a113.777778 113.777778 0 0 1 113.777778-113.777778h455.111111z m0 56.888889H113.777778a56.888889 56.888889 0 0 0-56.490667 50.232889L56.888889 113.777778v853.333333h113.777778v-170.666667a113.777778 113.777778 0 0 1 113.777777-113.777777h113.777778a113.777778 113.777778 0 0 1 113.777778 113.777777v170.666667h113.777778V113.777778a56.888889 56.888889 0 0 0-50.232889-56.490667L568.888889 56.888889z m341.333333 227.555555h-227.555555v682.666667h284.444444V341.333333a56.888889 56.888889 0 0 0-50.232889-56.490666L910.222222 284.444444z m-512 455.111112H284.444444a56.888889 56.888889 0 0 0-56.490666 50.232888L227.555556 796.444444v170.666667h227.555555v-170.666667a56.888889 56.888889 0 0 0-50.232889-56.490666L398.222222 739.555556z m85.333334-284.444445a28.444444 28.444444 0 0 1 0 56.888889h-284.444445a28.444444 28.444444 0 0 1 0-56.888889h284.444445z m0-170.666667a28.444444 28.444444 0 0 1 0 56.888889h-284.444445a28.444444 28.444444 0 0 1 0-56.888889h284.444445z" p-id="4521" fill="#ffffff"></path></svg>

2
src/assets/general.svg

@ -0,0 +1,2 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627611941892" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4909" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2") format("woff2"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff") format("woff"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf") format("truetype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont") format("svg"); }
</style></defs><path d="M489.2 526.9c-110.1 0-199.6-89.6-199.6-199.8s89.6-199.8 199.6-199.8c110.1 0 199.6 89.6 199.6 199.8s-89.5 199.8-199.6 199.8z m0-349.6c-82.5 0-149.6 67.2-149.6 149.8 0 82.6 67.1 149.8 149.6 149.8s149.6-67.2 149.6-149.8c0-82.6-67.1-149.8-149.6-149.8z" fill="#ffffff" p-id="4910"></path><path d="M493.1 895H128.4v-25c0-104.5 37.3-202.9 104.9-277.1 33.1-36.3 71.7-64.8 114.7-84.7 44.7-20.7 92.2-31.2 141.2-31.2v50c-82.6 0-160.4 35.4-219 99.6-53.8 59-85.7 135.7-91 218.4h314v50zM703.2 893.4c-105.6 0-191.6-85.9-191.6-191.6s85.9-191.6 191.6-191.6 191.6 85.9 191.6 191.6-86 191.6-191.6 191.6z m0-333.2c-78.1 0-141.6 63.5-141.6 141.6s63.5 141.6 141.6 141.6 141.6-63.5 141.6-141.6-63.6-141.6-141.6-141.6z" fill="#ffffff" p-id="4911"></path><path d="M663.3 664.6V749c0 9.3 0.2 18.8 0.7 28.6h-14c0.4-9.7 0.7-19.3 0.7-28.6v-60.4c-6.6 10.6-12.2 18.6-16.6 23.9-2.7-3.5-6-6.9-10-10 7.1-6.6 14.4-17.3 21.9-31.9 7.5-14.6 13.1-30.3 16.6-47.1 6.6 3.1 11.7 5.1 15.3 6-2.6 4.4-7.5 16.1-14.6 35.1z m38.5-38.5c2.7 0.4 7.7 1.1 15.3 2-0.9 5.3-0.2 22.8 2 52.5 21.2-4 37.6-7.7 49.1-11.3l3.3 12.6c-4.9 0.4-21.9 3.8-51.1 10 5.3 27.9 13.2 47.1 23.6 57.8 10.4 10.6 16.4 13.5 17.9 8.6s2.5-10.2 3-15.9c4.9 3.1 9.7 5.1 14.6 6-3.1 12.4-6.1 20.6-9 24.6-2.9 4-8.2 4.6-15.9 2-7.8-2.7-16.2-9.7-25.2-21.2-9.1-11.5-16.5-31.2-22.2-59.1-16.8 3.5-27.2 6-31.2 7.3l-4-12.6c7.1-0.9 18.4-2.9 33.9-6-2.3-28.9-3.6-48-4.1-57.3z m57.8 27.9c-4 2.7-8 5.5-12 8.6-4-7.5-9.1-15-15.3-22.6 3.5-2.2 7.1-4.9 10.6-8 8.1 9.8 13.6 17.1 16.7 22z" fill="#ffffff" p-id="4912"></path><path d="M669.2 782.5h-24.4l0.2-5.2c0.4-9.8 0.7-19.3 0.7-28.3v-43.7c-2.9 4.1-5.5 7.6-7.8 10.3l-4 4.9-3.8-5.1c-2.4-3.2-5.4-6.2-9-9l-4.6-3.6 4.3-4c6.6-6.2 13.7-16.5 20.9-30.5 7.3-14.1 12.7-29.6 16.2-45.9l1.3-6.2 5.7 2.7c6.3 3 11.2 4.9 14.4 5.7l6.6 1.6-3.5 5.8c-1.7 2.8-5.5 11-13.9 33.5v19.1l3-0.4c6.2-0.8 16-2.5 29.2-5.1-2-26.2-3.2-44-3.7-52.8l-0.3-6.2 6.1 1c2.6 0.4 7.6 1.1 15 2l5.2 0.6-0.9 5.2c-0.5 3.2-0.7 13.8 1.6 45.7 8.2-1.6 15.6-3.1 22.2-4.6l-2.6-5c-3.8-7.2-8.7-14.5-14.7-21.7l-3.6-4.4 4.8-3c3.3-2.1 6.6-4.6 10-7.5l3.9-3.4 3.3 4c8 9.8 13.7 17.4 16.9 22.4l2.6 4.1-4.1 2.7c-3.8 2.5-7.7 5.4-11.7 8.4l-4.1 3.2c7.9-1.8 14.7-3.6 20.2-5.3l5-1.5 6.2 23.4-5.9 0.5c-4.4 0.4-19.8 3.4-45.7 8.9 5.1 24.2 12.2 41.2 21.3 50.4 5.4 5.5 8.5 7.8 10.1 8.7 1.1-4 1.9-8.3 2.2-12.9l0.6-8.3 7 4.5c4.3 2.7 8.6 4.5 12.8 5.3l5.3 1-1.3 5.2c-3.3 13.1-6.5 21.7-9.8 26.3-3 4.1-9.1 8.1-21.6 3.8-8.8-3-17.8-10.5-27.5-22.9-9.1-11.5-16.4-30-22.2-56.3-13.8 2.9-22.4 5-25.8 6.1l-4.8 1.6-4.4-13.9V749c0 9.3 0.2 18.8 0.7 28.3l0.2 5.2z m-14-10h3.5c-0.3-7.9-0.5-15.8-0.5-23.6v-85.2l0.3-0.8c5.3-14.1 9.3-24.2 12.2-30.5-1.4-0.5-3-1.2-4.6-1.9-3.6 15-8.9 29.2-15.7 42.4-6.5 12.6-12.8 22.3-19 29.2 0.9 0.8 1.7 1.6 2.5 2.4 3.6-4.8 7.8-11.1 12.5-18.7l9.2-14.8v78c0.1 7.5-0.1 15.4-0.4 23.5z m55.8-83.9l1 4.9c5.6 27 12.7 46.2 21.3 57 8.4 10.7 16.1 17.3 22.9 19.6 3.7 1.3 8.5 2.3 10.3-0.2 1.5-2.1 3.9-6.9 6.9-18-1.5-0.5-3-1-4.4-1.7-0.6 3.4-1.3 6.6-2.3 9.6-1.3 4-4.1 5.2-5.7 5.6-5 1.2-10.9-2.4-20.6-12.2-11.2-11.4-19.4-31.2-24.9-60.3l-0.9-4.8 4.8-1c22.5-4.8 37.7-7.8 45.9-9.2l-0.6-2.2c-11.2 3.2-26.2 6.5-44.7 10l-5.5 1-0.4-5.6c-2.2-28.8-2.5-41.9-2.4-48.4-1.7-0.2-3.2-0.4-4.6-0.6 0.6 10.5 1.8 27.6 3.6 50.9l0.3 4.4-4.3 0.9c-11.8 2.4-21.3 4.1-28.3 5.2l0.7 2.4c5.5-1.4 14.4-3.4 26.9-6.1l5-1.2z m28.7-47.4c3.6 4.7 6.8 9.4 9.6 14 1.2-0.9 2.3-1.7 3.5-2.5-2.6-3.6-6-8.1-10.4-13.5-1 0.7-1.9 1.3-2.7 2z" fill="#ffffff" p-id="4913"></path></svg>

2
src/assets/partner.svg

@ -0,0 +1,2 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627611817812" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3853" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2") format("woff2"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff") format("woff"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf") format("truetype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont") format("svg"); }
</style></defs><path d="M673.736 616.369c-32.646-32.646-70.668-58.278-113.013-76.188-4.332-1.833-8.699-3.55-13.083-5.203 56.658-40.77 93.558-107.275 93.558-182.406 0-124.033-100.548-224.581-224.58-224.581-124.033 0-224.581 100.548-224.581 224.581 0 76.911 38.67 144.781 97.619 185.258-1.922 0.774-3.846 1.543-5.758 2.352-42.345 17.91-80.368 43.543-113.013 76.188-32.645 32.645-58.278 70.667-76.188 113.012-18.55 43.856-27.955 90.426-27.955 138.413 0 17.221 13.96 31.181 31.181 31.181s31.181-13.96 31.181-31.181c0-152.001 116.267-277.346 264.536-291.803a227.167 227.167 0 0 0 50.908-0.567C595.874 586.826 715.519 713.6 715.519 867.794c0 17.221 13.96 31.181 31.181 31.181s31.182-13.96 31.182-31.181c0-47.987-9.406-94.557-27.956-138.413-17.911-42.345-43.545-80.367-76.19-113.012zM256.049 352.571c0-88.68 71.889-160.569 160.569-160.569 88.68 0 160.568 71.89 160.568 160.569 0 83.376-63.549 151.903-144.851 159.803a363.448 363.448 0 0 0-10.025-0.149c-6.038 0-12.053 0.15-18.043 0.448-82.909-6.307-148.218-75.578-148.218-160.102z" p-id="3854" fill="#ffffff"></path><path d="M844.347 533.964c31.856-29.248 51.86-71.212 51.86-117.766 0-88.164-71.726-159.89-159.889-159.89-17.612 0-31.89 14.277-31.89 31.89s14.277 31.89 31.89 31.89c52.995 0 96.109 43.115 96.109 96.11s-43.114 96.11-96.109 96.11c-17.612 0-31.89 14.277-31.89 31.89s14.277 31.89 31.89 31.89c3.643 0 7.254-0.134 10.836-0.375 1.598 0.246 3.233 0.375 4.899 0.375 79.431 0 144.052 64.621 144.052 144.052 0 17.612 14.277 31.89 31.89 31.89s31.89-14.277 31.89-31.89c0-81.467-47.124-152.123-115.538-186.176z" p-id="3855" fill="#ffffff"></path></svg>

2
src/assets/shareholder.svg

@ -0,0 +1,2 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627611870317" class="icon" viewBox="0 0 1279 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4266" xmlns:xlink="http://www.w3.org/1999/xlink" width="249.8046875" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2") format("woff2"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff") format("woff"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf") format("truetype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont") format("svg"); }
</style></defs><path d="M1204.585427 670.124234c61.816273 106.461359 59.832521 219.855185 59.725867 224.633255a31.462734 31.462734 0 0 1-31.441403 30.694829l-0.767904-0.02133a31.441403 31.441403 0 0 1-30.69483-32.166646c0.021331-0.95988 1.407824-100.936716-51.257592-191.57072-62.6695-107.933175-197.351331-142.29688-198.695163-142.638171a31.441403 31.441403 0 0 1-5.609966-59.085947c5.951256-2.794317 147.352248-70.284548 135.172437-201.46815-11.795859-126.853477-126.106903-162.77432-130.948965-164.224805a31.505395 31.505395 0 0 1-21.160021-39.077782 31.484064 31.484064 0 0 1 38.928467-21.245345c6.527184 1.898429 160.022664 48.61259 175.828688 218.745991 10.452027 112.540599-59.619214 187.880515-113.393826 228.472774 53.561305 24.231638 128.453277 69.985918 174.314211 148.952047z m-435.060284-128.538599c201.510811 68.471441 296.538933 291.65421 296.538932 450.951631 0 17.384494-14.07824 31.441403-31.462734 31.441403a31.441403 31.441403 0 0 1-31.462733-31.441403c0-164.928717-115.4629-408.972878-363.303921-408.972878-142.552848 0-228.110153 77.643628-274.781652 142.766154-63.842686 89.076865-86.581177 195.922176-86.581177 266.206724a31.441403 31.441403 0 0 1-62.925468 0c0-103.688372 36.752739-216.890222 98.334375-302.810149 39.291089-54.819814 102.088572-116.977378 195.836854-148.39745-82.762988-49.316502-138.947965-144.045994-138.947965-252.619089 0-159.190768 120.710245-288.710578 269.086364-288.710578 148.354789 0 269.065034 129.51981 269.065034 288.710578 0 108.765071-56.376953 203.665209-139.395909 252.875057z m-129.690456-478.702829c-113.671124 0-206.139566 101.299338-206.139566 225.827772s92.468441 225.827772 206.139566 225.827771 206.139566-101.299338 206.139566-225.827771-92.468441-225.827772-206.139566-225.827772zM334.059576 499.969504a31.420072 31.420072 0 1 1-5.631296 59.085947c-1.343832 0.341291-136.025663 34.704995-198.695163 142.638171-52.644086 90.634004-51.257593 190.61084-51.236262 191.57072a31.441403 31.441403 0 0 1-30.716161 32.166646l-0.746573 0.02133a31.441403 31.441403 0 0 1-31.441403-30.694829c-0.106653-4.778069-2.111736-118.171895 59.725867-224.633255 45.839603-78.966129 120.731575-124.72041 174.29288-148.952047-53.774612-40.592259-123.845853-115.932175-113.393826-228.472774 15.806024-170.1334 169.322835-216.847561 175.850019-218.745991a31.462734 31.462734 0 0 1 17.768446 60.323127c-4.863392 1.450485-119.174437 37.371329-130.948965 164.224805-12.179811 131.183602 129.19985 198.673832 135.172437 201.46815z" p-id="4267" fill="#ffffff"></path></svg>

2
src/assets/vip.svg

@ -0,0 +1,2 @@
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1627611564092" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3413" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css">@font-face { font-family: feedback-iconfont; src: url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff2") format("woff2"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.woff") format("woff"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.ttf") format("truetype"), url("//at.alicdn.com/t/font_1031158_1uhr8ri0pk5.svg#iconfont") format("svg"); }
</style></defs><path d="M148.992 344.107l54.87 466.56h616.277l54.869-466.56-171.093 114.048L512 189.483 320.085 458.155 148.992 344.107z m-29.483-122.24l179.158 119.466L477.269 91.307a42.667 42.667 0 0 1 69.462 0l178.602 250.026 179.2-119.466A42.667 42.667 0 0 1 970.54 262.4l-70.102 595.925A42.667 42.667 0 0 1 858.07 896H165.931a42.667 42.667 0 0 1-42.368-37.675L53.46 262.357a42.667 42.667 0 0 1 66.006-40.49zM512 640a85.333 85.333 0 1 1 0-170.667A85.333 85.333 0 0 1 512 640z" fill="#ffffff" p-id="3414"></path></svg>

1
src/views/PerformanceData/index.vue

@ -25,6 +25,7 @@
opinionData: [0, 0, 0, 0, 15904960, 0, 0, 0, 0], opinionData: [0, 0, 0, 0, 15904960, 0, 0, 0, 0],
year_count_order_money: '', year_count_order_money: '',
money_count_order_money: '', money_count_order_money: '',
order_goods_num:'',
} }
}, },

98
src/views/dataOverview/index.vue

@ -10,38 +10,48 @@
<p class="num">{{list.level_count | capitalize}}</p> <p class="num">{{list.level_count | capitalize}}</p>
<div class="list"> <div class="list">
<div class="item"> <div class="item">
<div class="left"></div>
<div class="left">
<img src="../../assets/shareholder.svg" alt="">
</div>
<div class="right"> <div class="right">
<p class="name">vip</p>
<p class="num">{{list.level_1}}</p>
<p class="name">股东</p>
<p class="num">{{list.level_5}}</p>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<div class="left"></div>
<div class="left">
<img src="../../assets/filiale.svg" alt="">
</div>
<div class="right"> <div class="right">
<p class="name">总代</p>
<p class="num">{{list.level_2}}</p>
<p class="name">分公司</p>
<p class="num">{{list.level_4}}</p>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<div class="left"></div>
<div class="left">
<img src="../../assets/partner.svg" alt="">
</div>
<div class="right"> <div class="right">
<p class="name">合伙人</p> <p class="name">合伙人</p>
<p class="num">{{list.level_3}}</p> <p class="num">{{list.level_3}}</p>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<div class="left"></div>
<div class="left">
<img src="../../assets/general.svg" alt="">
</div>
<div class="right"> <div class="right">
<p class="name">分公司</p>
<p class="num">{{list.level_4}}</p>
<p class="name">总代</p>
<p class="num">{{list.level_2}}</p>
</div> </div>
</div> </div>
<div class="item">
<div class="left"></div>
<div class="item" style="margin-bottom:0px">
<div class="left">
<img src="../../assets/vip.svg" alt="">
</div>
<div class="right"> <div class="right">
<p class="name">股东</p>
<p class="num">{{list.level_5}}</p>
<p class="name">vip</p>
<p class="num">{{list.level_1}}</p>
</div> </div>
</div> </div>
</div> </div>
@ -50,38 +60,48 @@
<p class="title">本月新增服务商</p> <p class="title">本月新增服务商</p>
<div class="list"> <div class="list">
<div class="item"> <div class="item">
<div class="left"></div>
<div class="left">
<img src="../../assets/shareholder.svg" alt="">
</div>
<div class="right"> <div class="right">
<p class="name">vip</p>
<p class="num">{{list.month_add_level_1}}</p>
<p class="name">股东</p>
<p class="num">{{list.month_add_level_5}}</p>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<div class="left"></div>
<div class="left">
<img src="../../assets/filiale.svg" alt="">
</div>
<div class="right"> <div class="right">
<p class="name">总代</p>
<p class="num">{{list.month_add_level_2}}</p>
<p class="name">分公司</p>
<p class="num">{{list.month_add_level_4}}</p>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<div class="left"></div>
<div class="left">
<img src="../../assets/partner.svg" alt="">
</div>
<div class="right"> <div class="right">
<p class="name">合伙人</p> <p class="name">合伙人</p>
<p class="num">{{list.month_add_level_3}}</p> <p class="num">{{list.month_add_level_3}}</p>
</div> </div>
</div> </div>
<div class="item"> <div class="item">
<div class="left"></div>
<div class="left">
<img src="../../assets/general.svg" alt="">
</div>
<div class="right"> <div class="right">
<p class="name">分公司</p>
<p class="num">{{list.month_add_level_4}}</p>
<p class="name">总代</p>
<p class="num">{{list.month_add_level_2}}</p>
</div> </div>
</div> </div>
<div class="item">
<div class="left"></div>
<div class="item" style="margin-bottom:0px">
<div class="left">
<img src="../../assets/vip.svg" alt="">
</div>
<div class="right"> <div class="right">
<p class="name">股东</p>
<p class="num">{{list.month_add_level_5}}</p>
<p class="name">vip</p>
<p class="num">{{list.month_add_level_1}}</p>
</div> </div>
</div> </div>
</div> </div>
@ -92,7 +112,7 @@
<div class="list"> <div class="list">
<div class="item" v-for="(item,index) of list.month_money_top" :key="index"> <div class="item" v-for="(item,index) of list.month_money_top" :key="index">
<div class="rankNum"> <div class="rankNum">
<p>{{index+1}}</p>
<p>{{index+1}}</p>
</div> </div>
<div class="teamImg"> <div class="teamImg">
<img :src="item.headimg" alt=""> <img :src="item.headimg" alt="">
@ -113,7 +133,7 @@
name: "dataOverview", name: "dataOverview",
data() { data() {
return { return {
list:{},
list: {},
} }
}, },
filters: { filters: {
@ -128,7 +148,7 @@
async getData() { async getData() {
const res = await data.overview(); const res = await data.overview();
this.list = res.data this.list = res.data
console.log(this.list,'---this.list');
console.log(this.list, '---this.list');
}, },
} }
} }
@ -136,6 +156,7 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.dataOverview { .dataOverview {
background: #3C3F50; background: #3C3F50;
.top { .top {
width: 750px; width: 750px;
height: 334px; height: 334px;
@ -224,6 +245,16 @@
width: 104px; width: 104px;
height: 115px; height: 115px;
background: #616595; background: #616595;
position: relative;
img {
width: 80px;
height: 80px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
} }
.right { .right {
@ -275,6 +306,7 @@
.list { .list {
padding-bottom: 50px; padding-bottom: 50px;
.item { .item {
width: 610px; width: 610px;
height: 160px; height: 160px;
@ -287,7 +319,8 @@
.rankNum { .rankNum {
width: 95px; width: 95px;
p {height: 100%;
p {
height: 100%;
font-size: 40px; font-size: 40px;
font-family: Microsoft YaHei; font-family: Microsoft YaHei;
font-weight: 400; font-weight: 400;
@ -306,6 +339,7 @@
width: 100%; width: 100%;
height: 100%; height: 100%;
display: block; display: block;
border-radius: 10px;
} }
} }

41
src/views/login.vue

@ -1,24 +1,29 @@
<template></template> <template></template>
<script> <script>
import user from "@/api/user.js";
export default {
beforeMount() {
let url = this.$route.query;
let token;
let url_string = JSON.stringify(url);
// if (url_string == "{}") {
// this.$toast('')
// } else {
// token = url.token_type + " " + url.access_token;
// this.$store.commit("user/setToken", token);
// this.$store.dispatch("user/getUserInfo", user); //
// }
import user from "@/api/user.js";
export default {
beforeMount() {
let url = this.$route.query;
let token;
let url_string = JSON.stringify(url);
// if (url_string == "{}") {
// this.$toast('')
// } else {
// token = url.token_type + " " + url.access_token;
// this.$store.commit("user/setToken", token);
// this.$router.push({
// path: "/home",
// });
// }
token ="bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC90ZXN0LnFpbmd3ZWlsYWk4ODgueHl6XC9hZG1pblwvbG9naW4iLCJpYXQiOjE2Mjc0NjU1ODksImV4cCI6MTk4NzQ2NTU4OSwibmJmIjoxNjI3NDY1NTg5LCJqdGkiOiJ6clVHYnJCOXlPWkpRanRUIiwic3ViIjoxNjEsInBydiI6IjBiMzZjMGUwMjMyZGVlZTlkOTZhZDA0NGY3YWE2MjQ2YTUwYTU3ZmEifQ.aFc5fCUffmDN7zBRn-D13kx1LuLNG1Ej7vQOu4O2_AA"
this.$store.commit("user/setToken", token);
this.$store.dispatch("user/getUserInfo", user); //
},
};
token =
"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC90ZXN0LnFpbmd3ZWlsYWk4ODgueHl6XC9hZG1pblwvbG9naW4iLCJpYXQiOjE2Mjc0NjU1ODksImV4cCI6MTk4NzQ2NTU4OSwibmJmIjoxNjI3NDY1NTg5LCJqdGkiOiJ6clVHYnJCOXlPWkpRanRUIiwic3ViIjoxNjEsInBydiI6IjBiMzZjMGUwMjMyZGVlZTlkOTZhZDA0NGY3YWE2MjQ2YTUwYTU3ZmEifQ.aFc5fCUffmDN7zBRn-D13kx1LuLNG1Ej7vQOu4O2_AA"
this.$store.commit("user/setToken", token);
this.$router.push({
path: "/home",
});
},
};
</script> </script>
<style></style> <style></style>
Loading…
Cancel
Save