Commit 47819ba9 by zhangjie

Initial commit

parents
root = true
end_of_line = lf
\ No newline at end of file
module.exports = {
root: true,
env: {
node: true,
},
extends: ["plugin:vue/essential", "eslint:recommended"],
parserOptions: {
parser: "babel-eslint",
},
rules: {
"vue/multi-word-component-names":"off",
"vue/no-mutating-props":"off",
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
}
};
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
.env.*
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.VSCodeCounter*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
File added
{
"tabWidth": 2,
"singleQuote": true,
"printWidth": 80,
"semi": false,
"trailingComma": "es5",
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "always",
"htmlWhitespaceSensitivity": "ignore"
}
This diff is collapsed. Click to expand it.
/*
* @Description: 描述
* @Author: chd
* @Date: 2020-03-27 08:53:27
* @LastEditors: chd
* @LastEditTime: 2021-01-09 16:57:47
*/
module.exports = {
presets: ["@vue/cli-plugin-babel/preset"],
plugins: [
[
"component",
{
libraryName: "element-ui",
styleLibraryName: "~src/theme",
},
],
[
"import",
{
libraryName: "vxe-table",
style: true, // 样式是否也按需加载
},
],
],
};
{
"include": [
"./src/**/*"
]
}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
{
"name": "joshine-erp",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build --report",
"lint": "vue-cli-service lint"
},
"dependencies": {
"@antv/g2": "~4.1.6",
"@sentry/tracing": "~6.1.0",
"@sentry/vue": "~6.1.0",
"axios": "~0.19.2",
"core-js": "^3.6.5",
"echarts": "~5.0.2",
"element-ui": "^2.14.1",
"feok-lib": "~1.1.22",
"file-saver": "~2.0.2",
"invariant": "~2.2.4",
"js-md5": "^0.7.3",
"lodash": "~4.17.20",
"moment": "~2.24.0",
"object-assign": "~4.1.1",
"pure-color": "~1.3.0",
"v-ctrl": "~1.1.0",
"v-emoji-picker": "~2.3.0",
"vue": "~2.6.11",
"vue-infinite-viewer": "~0.9.1",
"vue-json-viewer": "^2.2.22",
"vue-router": "^3.5.3",
"vue-selecto": "~1.10.1",
"vuedraggable": "~2.23.2",
"vuex": "^3.4.0",
"vxe-table": "~3.3.12",
"wangeditor": "~4.5.4",
"xe-utils": "~3.5.4",
"xlsx": "~0.16.1"
},
"devDependencies": {
"@vue/cli-plugin-babel": "~4.5.15",
"@vue/cli-plugin-eslint": "~4.5.15",
"@vue/cli-plugin-router": "~4.5.15",
"@vue/cli-plugin-vuex": "~4.5.15",
"@vue/cli-service": "~4.5.15",
"@vue/eslint-config-prettier": "^6.0.0",
"babel-eslint": "^10.1.0",
"babel-plugin-component": "~1.1.1",
"babel-plugin-import": "^1.13.3",
"compression-webpack-plugin": "~6.1.1",
"element-theme-chalk": "~2.13.2",
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^6.2.2",
"less": "^3.0.4",
"less-loader": "^5.0.0",
"mockjs": "^1.1.0",
"prettier": "^2.2.1",
"stylus": "~0.54.7",
"stylus-loader": "~3.0.2",
"uglifyjs-webpack-plugin": "~2.2.0",
"vue-cli-plugin-element": "~1.0.1",
"vue-template-compiler": "~2.6.11"
}
}
/*
* @Description: 描述
* @Author: chd
* @Date: 2020-05-21 18:57:34
* @LastEditors: chd
* @LastEditTime: 2021-04-15 18:09:39
*/
window.apiHostSetting = {
VUE_APP_API_URL: '/',
VUE_APP_BASE_URL: '/',
VUE_APP_ZIMG_URL: '/',
VUE_APP_WS_URL: '/',
VUE_APP_TITLE: '晶闪ERP系统',
VSRSION: '1.0.1',
UPDATE_DESCRIPTION: ``,
}
This source diff could not be displayed because it is too large. You can view the blob instead.
<!--
* @Description: 描述
* @Author: chd
* @Date: 2021-01-25 10:07:06
* @LastEditors: chd
* @LastEditTime: 2021-03-29 13:43:23
-->
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8" />
<base href="/" />
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<title></title>
<!-- <title>晶闪ERP演示系统</title> -->
<!-- 使用CDN的CSS文件 -->
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
<link href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" rel="stylesheet" />
<% } %>
<!-- 使用CDN的CSS文件 -->
<script src="./config.js"></script>
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
properly without JavaScript enabled. Please enable it to
continue.</strong>
</noscript>
<div id="app"></div>
<!-- 使用CDN的JS文件 -->
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
<script crossorigin="anonymous" Access-Control-Allow-Origin="*" src="<%= htmlWebpackPlugin.options.cdn.js[i] %>">
</script>
<% } %>
<!-- 使用CDN的JS文件 -->
</body>
</html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
<template>
<div id="app">
<router-view />
</div>
</template>
<style>
* {
margin: 0;
}
html,
body,
#app {
height: 100%;
width: 100%;
}
</style>
:root {
--title-color: #444444;
--background-image: "url(/images/background/bg-1.png')";
--border-color: #fff;
--background-color: rgba(255, 255, 255, 1);
--subtitle: #fff;
--content: #333;
--label-color: #999;
--value-color: #333;
--header-background-color: #202125;
--header-font-color: #fff;
--tag-background-color: rgba(0, 0, 0, 0);
}
.iconfont {
font-family: 'iconfont' !important;
font-size: 30px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
cursor: pointer;
margin: 0 3px;
}
.icon-shezhi:before {
content: '\e624';
}
.icon-weixin:before {
content: '\e79f';
}
.icon-tupian:before {
font-size: 20px;
position: relative;
top: -4px;
content: '\e64a';
}
.icon-biaoqing:before {
content: '\e603';
}
.icon-wenjian:before {
content: '\e721';
}
@font-face {
font-family: 'iconfont';
src: url('iconfont.eot?t=1577340435035'); /* IE9 */
src: url('iconfont.eot?t=1577340435035#iefix') format('embedded-opentype'),
/* IE6-IE8 */
url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAAYIAAsAAAAAC9QAAAW8AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDSAqKSIhRATYCJAMYCw4ABCAFhG0HVxsGClGULk6f7GeCsS2PNTg5wSYaopT38jS2DBaD3yR1FUG4bLNJLv9Pb6pUia9dISQK1xTCoEDiEBqhcK5frekGUJjYHZ+wi6ICKfQPe/f7dMcFX6erVIVshevw75nvNT0kOQPVCX/CwHRzuvlItZ34ic5/G4h6zUo0Ib/IZ9L/fz9XJ1YXmt6Z9vLfzA2TxFkikzSkZcS0LcQRKpRGp7TEAzzDhVlN7/LLBLrMmevsXT08w1hhmAP7blkmME55lBp6aNtryY0l4hUh7fQ8u8CL//PxbxtjkiYzXnV1c5nD4cvvd4kIiZmAGC6E2W1krAOFeCqNPOqFlXU9XZvf0HcC9GhLylf+mv8K+d7vhv6TMhiJ0GP+y6MIWSMRFVp6mHxWbfhCbJeyseqhS6A1BMVkvrVdGrQ24AIJ1AFPmATxAUhrwHCsD2+pPDX39R3tOjP5KU0eUH+6DoqKiYmIuGMih0lknZ7SuFw6n8/k8RiQss7TaeEHrnG1G0/9YEb5tkr1iKoqQ69006C9WQVioLJRr3VbwYCmXDWkVLmppwf027Zi/kElJbphxc7BTcoAhzUthh1b8vrMbl9nWLVmR9EQ0iBo3TQbpEe18+w2aRgvZPxUL4Zv079tADt2LEcYsW1cxx0mzg0e4xtGn1r3bekDmEEyaKUYqVCuyFzmQW1IIdJpErJPIrjuZXI0ZoU8F9d8HossZ1dwyohSTDycmkp2s3s4XURnXo8juyg1eqhGrTuyl5440RSqPz4nXVYGKMs8k+5xOTg6KUfz6DaZ9yttnRyIVFSclyLLFSBTscI8UL7L2LysTb+sQ5FZYT8V5yjPcb0BUVo4ccI+Jg+JIyaniqg8gDVLIdKDVC2+qKa4K4nWngyxzBnpZCfRxelhd+PBEBfFGOUKmDJTotqPSJHdEJGGUpDdg+P0MnlxThf46xoFs7KgY4yaIlwcN4PQxsgIHLNpTU00DP/TNILWz4KnGzd8Pi2evaz+Yvu28jGqPK+MHivf3n6hfvby4iefGxvXQVpPGrguoD0VPMQmDFhf/yZdYha0kBcsH6GIxiRaTsWIaOfzFsyCSqS/XY+u+ZAWAKmxojQPk6yFRGiVZjYHVvrZLtSWHzeGmJjrorbEL/9j1JctyIsl5LG9bqYpU9lkYDCysDBck1aAMca3tSBlZtiszIzsjMwsaoaGHZipnOxZfYrJmMng6bLA+bqdfaqO8KiwTqo/tvaL3vaNr7EvQVHFc/QGAQOz9I0Z6vldX/VfYdKlV/+hr21/fLbHXmOJ8+0Z1tHD576SR7op0kTFq+05W9dBKCmQO9edFYe/fjhF0KMZMYxoutFFcYEy4YA8qPkipaWFchFzkbMobtK/i0xMIGi8ywgN/ADN/JcJ4QJBUvjMBZ1myCopYaERcmvEMwlbdVs12/4jeARwoiwWlZ9fJd498kMXUb9HYILzyqD1ksB0NnoZpndkPmlgIoKp4BIAQDuX1mTHzNf2I7qv2/IXYg8AGEBZB1r0HeL1EzoJPMEF2RRJt9+i+L9q3ZnkyVCqRcGFzAK/Ayux9geTLQj/kgEMby1lWntFjjWiWPX2CSsldJmr+JkkhvwNZRsVa3+RttEYkpZZyNrm8YW8Do1uG1C1bUKXNde3dxtm9UTpYNUXQBjwDUmfT8gG/OAL+RcaY/6hGogedLkO2Qd2Wwye+lpKPOWYfiBnqhWW30+D/keSoU5sUu8zXsk6zuNmuc7Wr6klO8QlLsqt9wKFVQ1eweuorhVqq0rK/LLwXu9XK1H2iWWmGpjaZZGER3Io9eGqsozSEmt709z3PyJSUEvYmmU3qq+I5fDwaGNpLcBfW1rRsscy1YmkLU8hAe25ltJAVxQitVlRkC4/rkQy3lLRoaTtrWiQkFqWh7c1j/I26GKMpkaKHCWaqNFS7wr6LHh4lvid22Fx0Jy043TnEGW4laOz1JYZNwA=')
format('woff2'),
url('iconfont.woff?t=1577340435035') format('woff'),
url('iconfont.ttf?t=1577340435035') format('truetype'),
/* chrome, firefox, opera, Safari, Android, iOS 4.2+ */
url('iconfont.svg?t=1577340435035#iconfont') format('svg'); /* iOS 4.1- */
}
.iconfont {
font-family: 'iconfont' !important;
font-size: 30px;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
cursor: pointer;
margin: 0 3px;
}
.icon-shezhi:before {
content: '\e624';
}
.icon-weixin:before {
content: '\e79f';
}
.icon-tupian:before {
content: '\e64a';
}
.icon-biaoqing:before {
content: '\e603';
}
.icon-wenjian:before {
font-size: 20px;
position: relative;
top: -4px;
content: '\e721';
}
<?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" >
<!--
2013-9-30: Created.
-->
<svg>
<metadata>
Created by iconfont
</metadata>
<defs>
<font id="iconfont" horiz-adv-x="1024" >
<font-face
font-family="iconfont"
font-weight="500"
font-stretch="normal"
units-per-em="1024"
ascent="896"
descent="-128"
/>
<missing-glyph />
<glyph glyph-name="shezhi" unicode="&#58916;" d="M504.046527 571.854356c-105.338607 0-191.027711-85.687888-191.027711-191.027711 0-105.338607 85.689104-191.026495 191.027711-191.026495 105.334958 0 191.022846 85.687888 191.022846 191.026495C695.069373 486.166468 609.381485 571.854356 504.046527 571.854356L504.046527 571.854356 504.046527 571.854356zM504.046527 240.738035c-77.245474 0-140.089826 62.844353-140.089826 140.08861 0 77.245474 62.844353 140.084961 140.089826 140.084961S644.131488 458.072119 644.131488 380.826645C644.131488 303.582387 581.292001 240.738035 504.046527 240.738035L504.046527 240.738035 504.046527 240.738035zM925.014169 470.781351c-18.079246 1.639587-72.978655 13.394016-87.374911 44.776054-12.553545 27.31956 8.205233 65.847424 27.813382 93.361594l12.177705 17.094034-119.232527 125.560993-18.144926-13.588626c-16.367896-12.267712-69.833275-44.006129-100.298215-29.547841-24.458796 11.631581-31.143641 53.522546-32.464555 86.600121L606.535318 819.506206l-94.535334 0-94.525603 0-0.964535-24.463662c-1.316048-33.077575-8.005758-74.969756-32.454824-86.604986-30.407773-14.458288-83.94978 17.280129-100.307945 29.547841L265.579041 751.602 146.37084 626.013033 158.547329 608.914134c19.585038-27.471598 40.334086-65.961757 27.871765-93.276452-14.306249-31.324871-68.00516-43.007538-87.432078-44.861196l-23.167074-2.113948 0-76.612992L75.810211 392.049546l0-93.736217 23.167074-2.115165c19.428134-1.852442 73.130694-13.536324 87.432078-44.861196 12.462322-27.309829-8.281861-65.803637-27.865683-93.27037l-12.17284-17.10498 119.203335-125.584102 18.168036 13.617817c16.3533 12.262847 69.895307 44.004913 100.30308 29.552706 24.450282-11.641312 31.143641-53.527411 32.464555-86.611068l0.95602-24.468527 94.529252 0 94.530468 0 0.959669 24.468527c1.320914 33.083657 8.010624 74.969756 32.460906 86.611068 30.468589 14.452206 83.933968-17.28986 100.306729-29.552706l18.144926-13.593491 119.227662 125.559776-12.17284 17.10498c-19.617879 27.509304-40.375441 66.042034-27.823112 93.361594 14.401121 31.377173 69.296882 43.131602 87.379776 44.769972l23.171939 2.115165 0 92.976023 0.008514 0 0 77.373187L925.014169 470.781351 925.014169 470.781351 925.014169 470.781351zM897.243358 392.049546l-0.004865 0 0-48.76677c-31.382038-6.642274-84.719704-24.449066-105.909057-70.6032-16.29735-35.505332-9.256126-78.023913 20.899871-126.619183l-60.387405-63.619143c-29.415263 17.831118-86.187792 44.64226-133.651893 22.159969-33.41571-15.816907-53.460514-51.488874-59.756139-106.18516l-46.438751 0-46.437535 0c-6.295625 54.696286-26.341646 90.368252-59.761004 106.18516-47.440991 22.449451-104.228115-4.314255-133.656758-22.159969L211.757283 146.060393c30.159646 48.59527 37.197221 91.113851 20.904736 126.619183-21.190569 46.154134-74.531884 63.960926-105.909057 70.6032l0 48.00171 0.004865 0 0 32.408604c31.382038 6.641058 84.723353 24.449066 105.918787 70.601984 16.286403 35.506548 9.250045 78.029994-20.910817 126.620399l60.383756 63.627657c29.423777-17.849363 86.206036-44.613068 133.656758-22.163618 33.414494 15.821772 53.465379 51.484009 59.756139 106.18516l46.437535 0 46.443616 0c6.29076-54.696286 26.340429-90.368252 59.756139-106.18516 47.459236-22.487156 104.231764 4.327634 133.647028 22.163618l60.39227-63.627657c-30.160862-48.590405-37.197221-91.108986-20.909601-126.620399 21.189353-46.152918 74.536749-63.960926 105.909057-70.601984l0-31.643545L897.243358 392.049546 897.243358 392.049546 897.243358 392.049546zM897.243358 392.049546" horiz-adv-x="1024" />
<glyph glyph-name="weixin" unicode="&#59295;" d="M512.004605 29.355841c-58.296731 0-115.121947 10.568706-169.101349 31.466666l-208.594829-93.888344c-2.814092-1.295506-5.78782-1.918699-8.809643-1.918699-4.9088 0-9.785877 1.710968-13.734816 4.988618-6.284123 5.29254-9.06547 13.68672-7.131421 21.617343l51.16531 208.594829C107.574552 264.347876 82.216002 338.809775 82.216002 416.165584c0 213.295897 192.829773 386.809743 429.788603 386.809743 236.975203 0 429.788603-173.514869 429.788603-386.809743C941.793208 202.901409 748.979808 29.355841 512.004605 29.355841L512.004605 29.355841zM512.004605 759.996466c-213.295897 0-386.809743-154.247037-386.809743-343.830883 0-71.02359 24.479531-139.345652 70.767763-197.690478 4.109598-5.164626 5.628184-12.007475 4.02978-18.467607L156.884608 24.191214l176.664605 79.610152c5.324262 2.39863 11.543917 2.478448 16.949021 0.255827 51.373041-21.025872 105.736183-31.722492 161.506371-31.722492 213.311247 0 386.809743 154.231687 386.809743 343.830883C898.814348 605.748407 725.315852 759.996466 512.004605 759.996466L512.004605 759.996466zM361.626689 459.176167c-11.879562 0-21.537526 9.657964-21.537526 21.537526s9.657964 21.441335 21.537526 21.441335c11.799744 0 21.441335-9.561773 21.441335-21.441335S373.426433 459.176167 361.626689 459.176167L361.626689 459.176167zM662.478711 459.176167c-11.879562 0-21.537526 9.657964-21.537526 21.537526s9.657964 21.441335 21.537526 21.441335c11.799744 0 21.441335-9.561773 21.441335-21.441335S674.278455 459.176167 662.478711 459.176167L662.478711 459.176167zM361.626689 437.734832c-23.760147 0-42.97886 19.218714-42.97886 42.97886s19.218714 42.97886 42.97886 42.97886c23.680329 0 42.97886-19.218714 42.97886-42.97886S385.305995 437.734832 361.626689 437.734832L361.626689 437.734832zM662.478711 437.734832c-23.760147 0-42.97886 19.218714-42.97886 42.97886s19.218714 42.97886 42.97886 42.97886c23.680329 0 42.97886-19.218714 42.97886-42.97886S686.158017 437.734832 662.478711 437.734832L662.478711 437.734832z" horiz-adv-x="1024" />
<glyph glyph-name="tupian" unicode="&#58954;" d="M920.122141 820.163801l-820.906465 0c-50.327222 0-91.27175-40.944528-91.27175-91.27175l0-692.00877c0-50.328245 40.944528-91.27175 91.27175-91.27175l820.906465 0c50.327222 0 91.270726 40.944528 91.270726 91.27175L1011.392868 728.892051C1011.393891 779.219273 970.449363 820.163801 920.122141 820.163801zM99.215676 753.648898l820.906465 0c13.650905 0 24.755824-11.105942 24.755824-24.756847l0-492.720911c-46.914496 72.336492-110.60712 166.954453-145.379065 203.557092-29.553083 31.108508-59.966767 37.638225-80.276325 37.638225-0.00307 0 0.002047 0-0.001023 0-44.896536 0-77.273944-30.226418-83.743286-36.759205-13.08297-12.219299-179.912579-168.045297-200.162786-187.432857-10.619872 11.965519-49.051159 54.918797-86.132706 92.001367-23.834848 23.835871-54.854329 31.725562-87.346347 22.215978-21.236674-6.216585-35.982516-17.84339-38.721907-20.111037l-0.25992-0.214894L74.458829 219.101369l0 509.790682C74.458829 742.542956 85.564771 753.648898 99.215676 753.648898zM920.122141 12.126434l-820.906465 0c-13.650905 0-24.756847 11.106965-24.756847 24.756847l0 92.362594L265.490653 296.001807c2.296299 1.743714 8.968256 6.03546 16.266475 7.891737 8.400321 2.134617 14.120602 0.523933 20.392446-5.749958 39.07904-39.080064 81.20651-86.614683 85.658915-91.651396 4.513804-5.417383 19.348674-20.85805 42.86732-22.494317 12.373819-0.86367 31.051203 1.956561 49.753147 20.276812 9.15859 8.972349 148.204413 138.926096 201.00906 188.242292l0.531096 0.437975 0.800225 0.873903c4.881171 4.882194 20.48352 17.021675 36.46347 17.021675 0.099261 0 0.199545 0 0.298805-0.001023 10.633175-0.101307 21.017686-5.640464 31.746028-16.933671 39.418778-41.494043 146.583496-195.563024 193.60237-267.566942l0-89.465614C944.878988 23.232376 933.773046 12.126434 920.122141 12.126434zM275.135314 453.567425c52.972469 0 96.067986 43.096541 96.067986 96.067986s-43.095517 96.067986-96.067986 96.067986-96.067986-43.095517-96.067986-96.067986S222.162846 453.567425 275.135314 453.567425zM275.135314 579.189518c16.295128 0 29.553083-13.257955 29.553083-29.553083 0-16.296151-13.257955-29.553083-29.553083-29.553083s-29.553083 13.257955-29.553083 29.553083C245.582231 565.931562 258.840186 579.189518 275.135314 579.189518z" horiz-adv-x="1027" />
<glyph glyph-name="biaoqing" unicode="&#58883;" d="M512 674.909091c160.581818 0 290.909091-130.327273 290.909091-290.909091S672.581818 93.090909 512 93.090909 221.090909 223.418182 221.090909 384 351.418182 674.909091 512 674.909091M512 709.818182C332.8 709.818182 186.181818 563.2 186.181818 384s146.618182-325.818182 325.818182-325.818182 325.818182 146.618182 325.818182 325.818182S691.2 709.818182 512 709.818182zM681.890909 337.454545c-16.290909-79.127273-86.109091-139.636364-169.890909-139.636363s-155.927273 60.509091-169.890909 139.636363h339.781818m39.563636 34.909091H302.545455c0-116.363636 93.090909-209.454545 209.454545-209.454545s209.454545 93.090909 209.454545 209.454545zM384 500.363636c-18.618182 0-34.909091-16.290909-34.909091-34.909091s16.290909-34.909091 34.909091-34.90909 34.909091 16.290909 34.909091 34.90909-16.290909 34.909091-34.909091 34.909091zM640 500.363636c-18.618182 0-34.909091-16.290909-34.909091-34.909091s16.290909-34.909091 34.909091-34.90909 34.909091 16.290909 34.909091 34.90909-16.290909 34.909091-34.909091 34.909091z" horiz-adv-x="1024" />
<glyph glyph-name="wenjian" unicode="&#59169;" d="M896 704H524.8l-150.4 121.6c-9.6 3.2-16 6.4-22.4 6.4H128C73.6 832 32 790.4 32 736v-704c0-54.4 41.6-96 96-96h768c54.4 0 96 41.6 96 96V608c0 54.4-41.6 96-96 96z m32-672c0-19.2-12.8-32-32-32H128c-19.2 0-32 12.8-32 32V448h832v-416z m0 480H96V736c0 19.2 12.8 32 32 32h211.2l150.4-121.6c9.6-3.2 16-6.4 22.4-6.4h384c19.2 0 32-12.8 32-32v-96z" horiz-adv-x="1024" />
</font>
</defs></svg>
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
[
{
"title": "待派单",
"icon": "Home-Logistics-exception-order.png",
"value": "0",
"show": true,
"top": false,
"key": "wait_send_order_count",
"route": "order_pending"
},
{
"title": "SKU异常订单",
"icon": "Home-SKU-abnormal-order.png",
"value": "0",
"show": true,
"top": false,
"key": "sku_exception_Count",
"route": "order_pending"
},
{
"title": "缺货订单",
"icon": "Home-Out-of-stock-order.png",
"value": "0",
"show": true,
"top": false,
"key": "out_of_stock_count",
"route": "order_pending"
},
{
"title": "物流异常订单",
"icon": "Home-Logistics-exception-order.png",
"value": "0",
"show": true,
"top": false,
"key": "logistics_exception_count",
"route": ""
},
{
"title": "待包装订单",
"icon": "Home-Pending-order.png",
"value": "0",
"show": true,
"top": false,
"key": "wait_package_count",
"route": "order_nopack"
},
{
"title": "待发货订单",
"icon": "Home-Shipping-Pending-orders.png",
"value": "0",
"show": true,
"top": false,
"key": "wait_ship_count",
"route": "order_nodelivery"
},
{
"title": "报销待审批",
"icon": "Home-Reimbursement-pending-approval.png",
"value": "0",
"show": true,
"top": false,
"key": "fee_count",
"route": "financial_declareCost"
},
{
"title": "请假待审批",
"icon": "Home-Leave-pending.png",
"value": "0",
"show": true,
"top": false,
"key": "leave_count",
"route": "/personalCenter/leave/1"
},
{
"title": "采购待审批",
"icon": "Home-Purchase-pending.png",
"value": "0",
"show": true,
"top": false,
"key": "purchase_wait_audit_count",
"route": "purchase_order"
},
{
"title": "采购待付款",
"icon": "Home-Purchase-pending-payment.png",
"value": "0",
"show": true,
"top": false,
"key": "purchase_wait_pay_count",
"route": "purchase_order"
},
{
"title": "采购未完全入库",
"icon": "Home-Procurement-is-not-fully-warehoused.png",
"value": "0",
"show": true,
"top": false,
"key": "purchase_uncompleted_stored_count",
"route": "purchase_order"
},
{
"title": "采购入库待审核",
"icon": "Home-Purchase-and-storage-pending-review.png",
"value": "0",
"show": true,
"top": false,
"key": "stored_wait_audit_count",
"route": "purchase_warehousing"
},
{
"title": "采购退回待审核",
"icon": "Home-Purchase-returned-pending-review.png",
"value": "0",
"show": true,
"top": false,
"key": "purchase_retreat_count",
"route": "purchase_returned"
},
{
"title": "派给我的任务",
"icon": "Home-Purchase-returned-pending-review.png",
"value": "0",
"show": true,
"top": false,
"key": "assign_count",
"route": ""
},
{
"title": "待验收的任务",
"icon": "Home-Purchase-returned-pending-review.png",
"value": "0",
"show": true,
"top": false,
"key": "acceptance_count",
"route": ""
},
{
"title": "抄送给我的任务",
"icon": "Home-Purchase-returned-pending-review.png",
"value": "0",
"show": true,
"top": false,
"key": "correlation_count",
"route": ""
}
]
[{
"name": "Shopify",
"type": "SHOPIFY",
"icon": "./images/icon/logo-1.png",
"cycle": "today",
"route": "/statistics/storeProfits"
},
{
"name": "AliExpress",
"type": "AE",
"icon": "./images/icon/logo-3.png",
"cycle": "today",
"route": "/statistics/storeProfits/aliexpress"
},
{
"name": "Amazon",
"type": "AMAZON",
"icon": "./images/icon/logo-2.png",
"cycle": "yesterday",
"route": "/statistics/storeProfits/amazon"
},
{
"name": "Magento",
"type": "MAGENTO",
"icon": "./images/icon/logo-6.png",
"cycle": "today",
"route": "/statistics/storeProfits/magento"
},
{
"name": "SHOPLINE",
"type": "SHOPLINE",
"cycle": "today",
"icon": "./images/icon/logo-4.png",
"route": "/statistics/storeProfits/shopline"
},
{
"name": "Shoplazza",
"type": "SHOPLAZZA",
"cycle": "today",
"icon": "./images/icon/logo-5.png",
"route": "/statistics/storeProfits/shoplazza"
},
{
"name": "Alibaba",
"type": "ALIBABA",
"cycle": "today",
"icon": "./images/icon/alibaba.png",
"route": "/statistics/storeProfits/alibaba"
},
{
"name": "walmart",
"type": "WALMART",
"cycle": "today",
"icon": "./images/icon/walmart.png",
"route": "/statistics/storeProfits/walmart"
},
{
"name": "Customize",
"type": "CUSTOMIZE",
"cycle": "today",
"icon": "./images/icon/customize.png",
"route": "/statistics/storeProfits/customize"
}
]
\ No newline at end of file
/*
* @Description: 描述
* @Author: chd
* @Date: 2021-02-04 10:02:43
* @LastEditors: chd
* @LastEditTime: 2021-02-04 10:02:58
*/
export default {
Seconds: {
name: '秒',
every: '每一秒钟',
interval: ['每隔', '秒执行 从', '秒开始'],
specific: '具体秒数(可多选)',
cycle: ['周期从', '到', '秒'],
},
Minutes: {
name: '分',
every: '每一分钟',
interval: ['每隔', '分执行 从', '分开始'],
specific: '具体分钟数(可多选)',
cycle: ['周期从', '到', '分'],
},
Hours: {
name: '时',
every: '每一小时',
interval: ['每隔', '小时执行 从', '小时开始'],
specific: '具体小时数(可多选)',
cycle: ['周期从', '到', '小时'],
},
Day: {
name: '天',
every: '每一天',
intervalWeek: ['每隔', '周执行 从', '开始'],
intervalDay: ['每隔', '天执行 从', '天开始'],
specificWeek: '具体星期几(可多选)',
specificDay: '具体天数(可多选)',
lastDay: '在这个月的最后一天',
lastWeekday: '在这个月的最后一个工作日',
lastWeek: ['在这个月的最后一个'],
beforeEndMonth: ['在本月底前', '天'],
nearestWeekday: ['最近的工作日(周一至周五)至本月', '日'],
someWeekday: ['在这个月的第', '个'],
},
Week: ['天', '一', '二', '三', '四', '五', '六'].map((val) => '星期' + val),
Month: {
name: '月',
every: '每一月',
interval: ['每隔', '月执行 从', '月开始'],
specific: '具体月数(可多选)',
cycle: ['从', '到', '月之间的每个月'],
},
Year: {
name: '年',
every: '每一年',
interval: ['每隔', '年执行 从', '年开始'],
specific: '具体年份(可多选)',
cycle: ['从', '到', '年之间的每一年'],
},
Save: '保存',
Close: '关闭',
}
/*
* @Description: 描述
* @Author: chd
* @Date: 2021-02-04 10:04:17
* @LastEditors: chd
* @LastEditTime: 2021-02-04 10:04:17
*/
export default {
Seconds: {
name: 'Seconds',
every: 'Every second',
interval: ['Every', 'second(s) starting at second'],
specific: 'Specific second (choose one or many)',
cycle: ['Every second between second', 'and second'],
},
Minutes: {
name: 'Minutes',
every: 'Every minute',
interval: ['Every', 'minute(s) starting at minute'],
specific: 'Specific minute (choose one or many)',
cycle: ['Every minute between minute', 'and minute'],
},
Hours: {
name: 'Hours',
every: 'Every hour',
interval: ['Every', 'hour(s) starting at hour'],
specific: 'Specific hour (choose one or many)',
cycle: ['Every hour between hour', 'and hour'],
},
Day: {
name: 'Day',
every: 'Every day',
intervalWeek: ['Every', 'day(s) starting on'],
intervalDay: ['Every', 'day(s) starting at the', 'of the month'],
specificWeek: 'Specific day of week (choose one or many)',
specificDay: 'Specific day of month (choose one or many)',
lastDay: 'On the last day of the month',
lastWeekday: 'On the last weekday of the month',
lastWeek: ['On the last', ' of the month'],
beforeEndMonth: ['day(s) before the end of the month'],
nearestWeekday: [
'Nearest weekday (Monday to Friday) to the',
'of the month',
],
someWeekday: ['On the', 'of the month'],
},
Week: [
'Sunday',
'Monday',
'Tuesday',
'Wednesday',
'Thursday',
'Friday',
'Saturday',
],
Month: {
name: 'Month',
every: 'Every month',
interval: ['Every', 'month(s) starting in'],
specific: 'Specific month (choose one or many)',
cycle: ['Every month between', 'and'],
},
Year: {
name: 'Year',
every: 'Any year',
interval: ['Every', 'year(s) starting in'],
specific: 'Specific year (choose one or many)',
cycle: ['Every year between', 'and'],
},
Save: 'Save',
Close: 'Close',
}
/*
* @Description: 描述
* @Author: chd
* @Date: 2021-02-04 10:03:33
* @LastEditors: chd
* @LastEditTime: 2021-02-04 10:04:59
*/
import en from './en'
import cn from './cn'
export default {
en,
cn,
}
/*
* @Description: file content
* @Author: Huidong Che
* @Date: 2020-03-27 08:53:27
* @LastEditors: chd
* @LastEditTime: 2021-05-08 15:35:09
*/
import Vue from 'vue'
import App from './App.vue'
import './plugins/element.js'
import './plugins/vxetable'
import './plugins/jsonViewer'
import store from './store'
import router from './router'
import './assets/css/root.css'
import './assets/css/common.css'
import moment from 'moment'
import { filePath, zImgPath } from './utils/axios'
import './mork'
import _ from 'lodash'
Vue.config.performance = true
Vue.config.productionTip = process.env.NODE_ENV !== 'production'
// 待优化
Vue.prototype.$moment = moment
// 待优化
// 日期格式化 待优化
Vue.filter('dateformat', function (dataStr, pattern = 'YYYY-MM-DD') {
if (dataStr) {
return moment(dataStr).format(pattern)
} else {
return dataStr
}
})
// 待优化
// 权限校验
Vue.prototype.roleShow = (name) => {
let roles = store.state.reqMenu.buttons
if (!roles) return false
if (Array.isArray(name)) {
return name.some((key) => roles.includes(key))
} else {
return roles ? roles.includes(name) : false
}
}
/**
* 图片下载地址
* w=width&h=height&g=isgray&x=position_x&y=position_y&r=rotate&q=quality&f=format
* @param {*} url
* @param {Object} options
* @param {Number} options.w -width
* @param {Number} options.w -height
* @param {0 | 1} options.g -isgray 灰色
* @param {Number} options.x -position_x
* @param {Number} options.y -position_y
* @param {Number} options.r -rotate 旋转
* @param {Number} options.q -quality 质量
* @param {'jpeg' | 'png' | 'gif' | 'jeg'} options.f -format
* @returns String
*/
const clientWidth = document.body.clientWidth
const dpi = _.add(_.ceil(_.divide(clientWidth / 1920)) + 0.5)
console.log('dpi', dpi)
Vue.prototype.setimgUrl = (url, options = {}) => {
const { w, h, ...others } = options
let query = ''
if (w) {
query += query ? '&w=' : 'w=' + _.floor(_.multiply(dpi * w))
}
if (h) {
query += query ? '&h=' : 'h=' + _.floor(_.multiply(dpi * h))
}
for (const key in others) {
query += `${query ? '&' : ''}${key}=${options[key]}`
}
if (!url) return ''
if (/(http|https):\/\/([^/]+)/i.test(url)) {
return url
} else if (url.indexOf('/') === -1) {
return zImgPath + url + (query ? '?' : '') + query
} else {
return filePath + url
}
}
/**
* 大数字转换
* @param {*} num
* @returns
*/
Vue.prototype.amountConversion = (num, cb) => {
if (!num) return ['0', '']
let text = ''
if (num > 99999999) {
text = [Math.floor(num / 10000000) / 10, '亿']
} else if (num > 9999) {
text = [Math.floor(num / 1000) / 10, '万']
} else {
text = [num, '']
}
if (cb) {
return cb(num)
}
return text
}
new Vue({
store,
router,
render: (h) => h(App),
}).$mount('#app')
Vue.config.errorHandler = function (err, vm, info) {
// handle error
// `info` 是 Vue 特定的错误信息,比如错误所在的生命周期钩子
// 只在 2.2.0+ 可用
console.log('错误', err, vm, info)
// monitorPost('/error/save', { err, vm, info })
}
/*
* @Description: 描述
* @Author: chd
* @Date: 2021-01-27 17:22:04
* @LastEditors: chd
* @LastEditTime: 2021-01-27 17:24:04
*/
export default {
data() {
return {
paginationOptions: {
pageSize: 100,
currentPage: 1,
total: 0,
},
}
},
methods: {
setpaginationOptions(opt) {
for (const key in opt) {
this.paginationOptions[key] = opt[key]
}
this.getlist()
},
},
}
import Mock from 'mockjs'
Mock.mock(/baseCategoryInfo\/saveDef/, 'post', () => ({
message: '操作成功',
code: 200,
}))
Mock.mock(/local\/stockNumber/, 'get', () => ({
message: '操作成功',
data: [
{
warehouseSku: '22019081_BLK_2',
quantity: 1,
},
{
warehouseSku: '22019081_BLK_4',
quantity: 2,
},
],
code: 200,
}))
Mock.mock(/baseCategoryInfo\/supplierList/, 'get', (params) => {
console.log(params)
const data = []
for (let i = 0; i < 10; i++) {
data.push({
address: '杠三十公分',
bankAccount: '545766867',
belongTo: '224',
buyer: '43',
categoryName: '男装',
code: '185',
contact: '阿凡达',
createTime: '2020-04-29 23:25:10',
deliveryMethod: '127',
email: '111@514.com',
enable: true,
id: i,
limitDay: 181,
name: '测试供应商182',
payment: '124',
phone: '12876544567',
remark: '阿凡达的发',
url: 'www.vvv.cc',
wangwang: '345435_43406',
})
}
return {
message: '操作成功',
data: data,
code: 200,
}
})
export default Mock
import Vue from 'vue'
import {
Button,
Form,
FormItem,
Input,
Loading,
Dropdown,
DropdownItem,
DropdownMenu,
Select,
Option,
Avatar,
Cascader,
Table,
TableColumn,
Pagination,
Dialog,
Tree,
Image,
Checkbox,
Switch,
Tabs,
TabPane,
InputNumber,
Row,
Col,
Steps,
Step,
Popover,
Tooltip,
DatePicker,
Rate,
Message,
MessageBox,
RadioGroup,
Upload,
Radio,
CheckboxGroup,
Menu,
MenuItem,
MenuItemGroup,
ColorPicker,
Autocomplete,
Badge,
Collapse,
CollapseItem,
Calendar,
TimePicker,
Link,
Carousel,
CarouselItem,
Submenu,
Drawer,
Container,
ButtonGroup,
CascaderPanel,
Tag,
Scrollbar,
} from 'element-ui'
Vue.prototype.$ELEMENT = { size: 'mini' }
Vue.use(CascaderPanel)
Vue.use(Badge)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Image)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Row)
Vue.use(Col)
Vue.use(Steps)
Vue.use(Step)
Vue.use(Popover)
Vue.use(Tooltip)
Vue.use(Rate)
Vue.use(RadioGroup)
Vue.use(ColorPicker)
Vue.use(Autocomplete)
Vue.use(Collapse)
Vue.use(CollapseItem)
Vue.use(Calendar)
Vue.use(TimePicker)
Vue.use(Link)
Vue.use(Carousel)
Vue.use(CarouselItem)
Vue.use(Drawer)
Vue.use(Container)
Vue.use(ButtonGroup)
Vue.use(Tag)
Vue.use(Scrollbar)
Vue.use(Cascader)
Vue.prototype.$alert = MessageBox.alert
Vue.prototype.$message = (message) =>
typeof message === 'string'
? Message({
duration: 1000,
message,
})
: Message({
duration: 1000,
...message,
})
// Vue.prototype.$message.warning = (msg)=> {
// Message.warning({
// duration:1000,
// msg
// });}
Vue.prototype.$message.success = (message) =>
typeof message === 'string'
? Message.success({ duration: 1000, message })
: Message.success({ duration: 1000, ...message })
Vue.prototype.$message.warning = (message) =>
typeof message === 'string'
? Message.warning({ duration: 1000, message })
: Message.warning({ duration: 1000, ...message })
Vue.prototype.$message.info = (message) =>
typeof message === 'string'
? Message.info({ duration: 1000, message })
: Message.info({ duration: 1000, ...message })
Vue.prototype.$message.error = (message) =>
typeof message === 'string'
? Message.error({ duration: 1000, message })
: Message.error({ duration: 1000, ...message })
Vue.prototype.$msgbox = MessageBox
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$prompt = MessageBox.prompt
Vue.component('el-input', {
extends: Input,
methods: {
handleBlur(event) {
this.focused = false
this.$emit('blur', event)
if (this.validateEvent) {
if (this.value) {
this.value = this.value.trim()
}
this.$emit('input', this.value)
this.dispatch('ElFormItem', 'el.form.blur', [this.value])
}
},
// handleInput(event) {
// if (this.isComposing) return;
// if (event.target.value === this.nativeInputValue) return;
// let value = event.target.value
// if (value) {
// value = value.trim()
// }
// this.$emit('input', value);
// this.$nextTick(this.setNativeInputValue);
// },
},
})
Vue.use(Form)
Vue.use(Upload)
Vue.use(FormItem)
// Vue.use(Input1);
Vue.use(Select)
Vue.use(Option)
Vue.use(Avatar)
Vue.use(Button)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Switch)
Vue.use(Radio)
Vue.use(InputNumber)
Vue.use(DatePicker)
Vue.use(Dropdown)
Vue.use(DropdownItem)
Vue.use(DropdownMenu)
Vue.use(Loading)
Vue.use(Dialog)
Vue.use(Tree)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Pagination)
import Vue from 'vue'
import JsonViewer from 'vue-json-viewer'
Vue.use(JsonViewer)
/*
* @Description: 描述
* @Author: chd
* @Date: 2020-12-31 15:18:17
* @LastEditors: chd
* @LastEditTime: 2020-12-31 17:44:18
*/
import Vue from 'vue'
import 'xe-utils'
import {
Table,
Column,
Header,
Footer,
Filter,
Edit,
Menu,
Export,
Keyboard,
Validator,
Icon,
Grid,
Toolbar,
Pager,
Checkbox,
Radio,
Input,
Button,
Modal,
Tooltip,
Form,
Select,
Switch,
List,
Colgroup,
} from 'vxe-table'
// 按需加载的方式默认是不带国际化的,需要自行导入
// VXETable.setup({
// i18n: (key, args) => i18n.t(key, args)
// })
// 表格模块
Vue.use(Icon)
Vue.use(Header)
Vue.use(Footer)
Vue.use(Filter)
Vue.use(Edit)
Vue.use(Menu)
Vue.use(Export)
Vue.use(Keyboard)
Vue.use(Validator)
// 可选组件
Vue.use(Column)
Vue.use(Grid)
Vue.use(Tooltip)
Vue.use(Toolbar)
Vue.use(Pager)
Vue.use(Form)
Vue.use(Checkbox)
Vue.use(Radio)
Vue.use(Switch)
Vue.use(Input)
Vue.use(Select)
Vue.use(Button)
Vue.use(Modal)
Vue.use(List)
Vue.use(Colgroup)
// 安装表格
Vue.use(Table)
// 给 vue 实例挂载内部对象,例如:
// Vue.prototype.$XModal = VXETable.modal
// Vue.prototype.$XPrint = VXETable.print
// Vue.prototype.$XSaveFile = VXETable.saveFile
// Vue.prototype.$XReadFile = VXETable.readFile
import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/home.vue'
Vue.use(VueRouter)
const routes = [
{
path: '/',
name: ' ',
component: Home
},
{
path: '/register',
name: 'register',
component: (resolve) => require(['../views/register'], resolve)
},
{
path: '/contact',
name: 'contact',
component: (resolve) => require(['../views/contact'], resolve)
}
]
const router = new VueRouter({
routes
})
export default router
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
import Order from './modules/order'
import im from './modules/im'
import roleAuth from './modules/roleAuth'
import supply from './modules/supply'
import { delChildren } from '../utils/commonUtil'
export default new Vuex.Store({
// strict: process.env.NODE_ENV !== 'production',
modules: {
Order,
im,
roleAuth,
supply,
},
state: {
country: [], //国家列表
currency: [], //币种列表
warehouse: [], //仓库列表
customTag: [], //自定义标签列表
logistics: [], //物流公司列表
logisticsMode: [], //物流方式列表
employee: [], //员工列表
purchaseChannels: [], //采购渠道
productCategory: [], //产品类别
supplierList: [], //供应商
printOptions: [], //打印模板
storeList: [],
canlogistics: [],
keyCode: null,
showChat: false,
//页面默认选项
reqMenu: {
buttons: [],
},
//导航标签
tags: [
{
title: '首页',
name: 'home',
route: '/home',
},
],
tagsIndex: 0, //导航下标
permissions: [],
historyList: [],
costomThemeVisible: false,
navList: [], //快捷导航
sysColumns: {},
platformOptions: [],
},
mutations: {
setState(state, options) {
for (const key in options) {
if (Object.prototype.hasOwnProperty.call(state, key)) {
if (key === 'productCategory') {
// 去除空的children
try {
state[key] = delChildren(options[key])
} catch (error) {
state[key] = options[key]
}
} else {
state[key] = options[key]
}
}
}
},
resetState(state) {
const arr = ['Order', 'im', 'roleAuth', 'supply']
for (const key in state) {
if (arr.includes(key)) continue //跳过 modules
if (key === 'reqMenu') continue //待优化
if (Array.isArray(state[key])) {
state[key] = []
} else if (typeof state[key] === 'string') {
state[key] = ''
} else if (typeof state[key] === 'number') {
state[key] = 0
} else if (typeof state[key] === 'boolean') {
state[key] = false
} else if (typeof state[key] === 'object') {
state[key] = {}
} else {
state[key] = ''
}
state.tagsIndex = 0
state.tags = [{ title: '首页', name: 'home', route: '/home' }]
}
},
loginout(state) {
state.tags = [{ title: '首页', name: 'home', route: '/home' }]
state.tagsIndex = 0
state.permissions = []
},
set_route_premissions(state, msg) {
state.permissions.push(msg)
},
modify_home_tabs(state, msg) {
if (msg.length > 0) {
state.tags = msg
} else {
state.tags = [{ title: '首页', name: 'home', route: '/home' }]
}
},
modify_activeIndex(state, msg) {
state.tagsIndex = msg
},
modify_reqMenu(state, msg) {
state.reqMenu = msg
},
setSysColumns(state, options) {
for (const key in options) {
state.sysColumns[key] = options[key]
}
},
setKeyCode(state, msg) {
state.keyCode = msg
},
},
actions: {
resetState({ commit }) {
commit('resetState')
},
setState({ commit }, options) {
commit('setState', options)
},
loginout({ commit }) {
commit('loginout')
},
loginIn({ commit }, { msg }) {
commit('loginIn', msg)
},
setSysColumns({ commit }, options) {
commit('setSysColumns', options)
},
setKeyCode({ commit }, msg) {
commit('setKeyCode', msg)
},
setMenuList({ commit }, list) {
commit('modify_menulist', list)
},
},
})
const state = {
users: [], //用户
sessionList: [],
activeIndex: 0,
uid: '',
groups: [],
}
const mutations = {
setUsersStatus(state, list) {
let users = state.users
for (const iterator of list) {
for (const iterato of users) {
if (iterato.uid === iterator.uid) {
iterato.status = iterator.status
break
}
}
}
},
setUsers(state, list) {
state.users = list
},
addSession(state, data) {
let list = state.sessionList
let index = list.findIndex((h) => h.uid === data.uid)
if (index !== -1) {
state.activeIndex = index
// let item = list[index];
// list.splice(index, 1);
// list.unshift(item);
} else {
list.unshift(data)
state.activeIndex = 0
}
},
setUnread(state, { uid, unread }) {
let list = state.sessionList
let index = list.findIndex((h) => h.uid === uid)
let item
// 取消未读
if (state.activeIndex === index && unread) {
list[index].unread = false
return
}
// 来消息置顶
if (index !== -1) {
item = list[index]
list.splice(index, 1)
if (state.activeIndex < index) {
state.activeIndex = index + 1
item.unread = !!unread
} else if (state.activeIndex === index) {
state.activeIndex = 0
} else {
item.unread = !!unread
}
} else {
item = state.users.find((item) => item.uid === uid)
state.activeIndex += 1
}
list.unshift(item)
// for (const iterator of state.sessionList) {
// if(iterator.uid === uid){
// iterator.unread = !iterator.unread;
// break
// }
// }
},
setActiveIndex(state, index) {
state.activeIndex = index
state.sessionList
},
setGroups(state, list) {
state.groups = list
},
setUid(state, uid) {
state.uid = uid
},
}
const actions = {
// 在线状态
setUsersStatus({ commit }, list) {
commit('setUsersStatus', list)
},
// 用户
setUsers({ commit }, list) {
commit('setUsers', list)
},
// 历史聊天
addSession({ commit }, data) {
commit('addSession', data)
},
// 未读
setUnread({ commit }, uid) {
commit('setUnread', uid)
},
setActiveIndex({ commit }, index) {
commit('setActiveIndex', index)
},
setUid({ commit }, uid) {
commit('setUid', uid)
},
setGroups({ commit }, list) {
commit('setGroups', list)
},
}
export default { state, mutations, actions }
/*
* @Description: 描述
* @Author: chd
* @Date: 2020-05-20 17:52:12
* @LastEditors: chd
* @LastEditTime: 2021-01-21 14:01:35
*/
import { get } from '../../utils/axios'
import Vue from 'vue'
const state = {
orderItem: {},
tableKey: 0,
oldSelection: [],
}
const mutations = {
setOrderItem(state, data) {
state.orderItem = data
},
setTableKey(state, num) {
state.tableKey = num
},
saveSelection(state, list) {
state.oldSelection = list
},
}
const actions = {
setOrderItem({ commit }, { id }) {
get('orderDetails/get', { id }).then((res) => {
if (res.code == 200) {
commit('setOrderItem', res.data)
} else {
Vue.prototype.$alert(res.message, '错误提示', {
dangerouslyUseHTMLString: true,
})
}
})
},
setTableKey({ commit }) {
let num = Math.floor(Math.random() * (1 - 100) + 100)
commit('setTableKey', num)
},
saveSelection({ commit }, list) {
commit('saveSelection', list)
},
}
export default { state, mutations, actions }
/*
* @Description: 描述
* @Author: chd
* @Date: 2020-10-17 09:42:30
* @LastEditors: chd
* @LastEditTime: 2021-04-28 16:07:58
*/
import { get } from '../../utils/axios'
const state = {
menusTree: [],
dataAccess: [],
roleAuth: {},
warehouselist: [],
supplierlist: [],
}
const mutations = {
setMenuTree(state, list) {
state.menusTree = list
},
setRoleAuth(state, obj) {
for (const key in obj) {
state.roleAuth[key] = obj[key]
}
},
setDataList(state, list) {
state.dataAccess = list
},
setWarehouselist(state, list) {
state.warehouselist = list
},
setSupplierList(state, list) {
state.supplierlist = list
},
}
const actions = {
setMenuTree({ commit }, list) {
commit('setMenuTree', list)
},
setRoleAuth({ commit }, obj) {
commit('setRoleAuth', obj)
},
getWarehouselist({ commit }) {
get('warehouseInfo/allList').then((res) => {
commit('setWarehouselist', res.data)
})
},
getSupplierList({ commit }) {
get('supplySupplier/getCategorySupplyTree').then((res) => {
commit('setSupplierList', res.data)
})
},
getDataList({ commit, state }) {
return new Promise((resolve) => {
if (state.dataAccess.length === 0) {
/* function getName(key) {
let text = '';
switch (key) {
case 'order':
text = '订单';
break;
case 'product':
text = '产品';
break;
case 'supplier':
text = '供应商';
break;
case 'customer':
text = '客户';
break;
}
return text;
} */
get('dataAuthority/authorityList').then((res) => {
if (res.code === 200) {
let obj = {}
for (const iterator of res.data) {
if (!obj[iterator.type]) {
obj[iterator.type] = {
name: iterator.typeName,
children: [],
dataCheckAll: false,
dataIndeter: false,
dataChecklist: [],
group: [],
}
}
const current = obj[iterator.type]
if (iterator.propGroup) {
const item = current.group.find(
(item) => item.label === iterator.propGroup
)
if (item) {
item.list.push(iterator)
} else {
current.group.push({
label: iterator.propGroup,
list: [iterator],
checked: '',
})
}
} else {
current.children.push(iterator)
}
}
let arr = []
for (const key in obj) {
arr.push(obj[key])
}
commit('setDataList', arr)
resolve({ dataAccess: arr, roleAuth: state.roleAuth })
}
})
} else {
resolve({ dataAccess: state.dataAccess, roleAuth: state.roleAuth })
}
})
},
}
const getters = {}
export default { state, mutations, actions, getters }
const state = {
componentId: 'CardMode',
CardComponentId: 'BasicCard',
}
const mutations = {
setComponent(state, id) {
state.componentId = id
},
setCardComponent(state, id) {
state.CardComponentId = id
},
}
const actions = {
setComponent({ commit }, id) {
commit('setComponent', id)
},
setCardComponent({ commit }, id) {
commit('setCardComponent', id)
},
}
export default { state, mutations, actions }
/* BEM support Func
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
/* Break-points
-------------------------- */
/* Scrollbar
-------------------------- */
/* Placeholder
-------------------------- */
/* BEM
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
.el-alert {
width: 100%;
padding: 8px 16px;
margin: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
border-radius: 4px;
position: relative;
background-color: #FFFFFF;
overflow: hidden;
opacity: 1;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-transition: opacity .2s;
transition: opacity .2s; }
.el-alert.is-light .el-alert__closebtn {
color: #C0C4CC; }
.el-alert.is-dark .el-alert__closebtn {
color: #FFFFFF; }
.el-alert.is-dark .el-alert__description {
color: #FFFFFF; }
.el-alert.is-center {
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center; }
.el-alert--success.is-light {
background-color: #f0f9eb;
color: #67C23A; }
.el-alert--success.is-light .el-alert__description {
color: #67C23A; }
.el-alert--success.is-dark {
background-color: #67C23A;
color: #FFFFFF; }
.el-alert--info.is-light {
background-color: #f4f4f5;
color: #909399; }
.el-alert--info.is-dark {
background-color: #909399;
color: #FFFFFF; }
.el-alert--info .el-alert__description {
color: #909399; }
.el-alert--warning.is-light {
background-color: #fff5e6;
color: #ff9900; }
.el-alert--warning.is-light .el-alert__description {
color: #ff9900; }
.el-alert--warning.is-dark {
background-color: #ff9900;
color: #FFFFFF; }
.el-alert--error.is-light {
background-color: #fef0f0;
color: #F56C6C; }
.el-alert--error.is-light .el-alert__description {
color: #F56C6C; }
.el-alert--error.is-dark {
background-color: #F56C6C;
color: #FFFFFF; }
.el-alert__content {
display: table-cell;
padding: 0 8px; }
.el-alert__icon {
font-size: 16px;
width: 16px; }
.el-alert__icon.is-big {
font-size: 28px;
width: 28px; }
.el-alert__title {
font-size: 13px;
line-height: 18px; }
.el-alert__title.is-bold {
font-weight: bold; }
.el-alert .el-alert__description {
font-size: 12px;
margin: 5px 0 0 0; }
.el-alert__closebtn {
font-size: 12px;
opacity: 1;
position: absolute;
top: 12px;
right: 15px;
cursor: pointer; }
.el-alert__closebtn.is-customed {
font-style: normal;
font-size: 13px;
top: 9px; }
.el-alert-fade-enter,
.el-alert-fade-leave-active {
opacity: 0; }
/* BEM support Func
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
/* Break-points
-------------------------- */
/* Scrollbar
-------------------------- */
/* Placeholder
-------------------------- */
/* BEM
-------------------------- */
.el-aside {
overflow: auto;
-webkit-box-sizing: border-box;
box-sizing: border-box;
-ms-flex-negative: 0;
flex-shrink: 0; }
/* BEM support Func
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
/* Break-points
-------------------------- */
/* Scrollbar
-------------------------- */
/* Placeholder
-------------------------- */
/* BEM
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
.el-avatar {
display: inline-block;
-webkit-box-sizing: border-box;
box-sizing: border-box;
text-align: center;
overflow: hidden;
color: #fff;
background: #C0C4CC;
width: 40px;
height: 40px;
line-height: 40px;
font-size: 14px; }
.el-avatar > img {
display: block;
height: 100%;
vertical-align: middle; }
.el-avatar--circle {
border-radius: 50%; }
.el-avatar--square {
border-radius: 4px; }
.el-avatar--icon {
font-size: 18px; }
.el-avatar--large {
width: 40px;
height: 40px;
line-height: 40px; }
.el-avatar--medium {
width: 36px;
height: 36px;
line-height: 36px; }
.el-avatar--small {
width: 28px;
height: 28px;
line-height: 28px; }
/* BEM support Func
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
/* Break-points
-------------------------- */
/* Scrollbar
-------------------------- */
/* Placeholder
-------------------------- */
/* BEM
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
.el-backtop {
position: fixed;
background-color: #FFFFFF;
width: 40px;
height: 40px;
border-radius: 50%;
color: #409EFF;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
font-size: 20px;
-webkit-box-shadow: 0 0 6px rgba(0, 0, 0, 0.12);
box-shadow: 0 0 6px rgba(0, 0, 0, 0.12);
cursor: pointer;
z-index: 5; }
.el-backtop:hover {
background-color: #F2F6FC; }
/* BEM support Func
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
/* Break-points
-------------------------- */
/* Scrollbar
-------------------------- */
/* Placeholder
-------------------------- */
/* BEM
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
.el-badge {
position: relative;
vertical-align: middle;
display: inline-block; }
.el-badge__content {
background-color: #F56C6C;
border-radius: 10px;
color: #FFFFFF;
display: inline-block;
font-size: 12px;
height: 18px;
line-height: 18px;
padding: 0 6px;
text-align: center;
white-space: nowrap;
border: 1px solid #FFFFFF; }
.el-badge__content.is-fixed {
position: absolute;
top: 0;
right: 10px;
-webkit-transform: translateY(-50%) translateX(100%);
transform: translateY(-50%) translateX(100%); }
.el-badge__content.is-fixed.is-dot {
right: 5px; }
.el-badge__content.is-dot {
height: 8px;
width: 8px;
padding: 0;
right: 0;
border-radius: 50%; }
.el-badge__content--primary {
background-color: #409EFF; }
.el-badge__content--success {
background-color: #67C23A; }
.el-badge__content--warning {
background-color: #ff9900; }
.el-badge__content--info {
background-color: #909399; }
.el-badge__content--danger {
background-color: #F56C6C; }
/* BEM support Func
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
/* Break-points
-------------------------- */
/* Scrollbar
-------------------------- */
/* Placeholder
-------------------------- */
/* BEM
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
.el-breadcrumb {
font-size: 14px;
line-height: 1; }
.el-breadcrumb::before,
.el-breadcrumb::after {
display: table;
content: ""; }
.el-breadcrumb::after {
clear: both; }
.el-breadcrumb__separator {
margin: 0 9px;
font-weight: bold;
color: #C0C4CC; }
.el-breadcrumb__separator[class*=icon] {
margin: 0 6px;
font-weight: normal; }
.el-breadcrumb__item {
float: left; }
.el-breadcrumb__inner {
color: #606266; }
.el-breadcrumb__inner.is-link, .el-breadcrumb__inner a {
font-weight: bold;
text-decoration: none;
-webkit-transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
transition: color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
color: #303133; }
.el-breadcrumb__inner.is-link:hover, .el-breadcrumb__inner a:hover {
color: #409EFF;
cursor: pointer; }
.el-breadcrumb__item:last-child .el-breadcrumb__inner, .el-breadcrumb__item:last-child .el-breadcrumb__inner:hover,
.el-breadcrumb__item:last-child .el-breadcrumb__inner a,
.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover {
font-weight: normal;
color: #606266;
cursor: text; }
.el-breadcrumb__item:last-child .el-breadcrumb__separator {
display: none; }
/* BEM support Func
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
/* Break-points
-------------------------- */
/* Scrollbar
-------------------------- */
/* Placeholder
-------------------------- */
/* BEM
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
.el-card {
border-radius: 4px;
border: 1px solid #EBEEF5;
background-color: #FFFFFF;
overflow: hidden;
color: #303133;
-webkit-transition: 0.3s;
transition: 0.3s; }
.el-card.is-always-shadow {
-webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); }
.el-card.is-hover-shadow:hover, .el-card.is-hover-shadow:focus {
-webkit-box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); }
.el-card__header {
padding: 18px 20px;
border-bottom: 1px solid #EBEEF5;
-webkit-box-sizing: border-box;
box-sizing: border-box; }
.el-card__body {
padding: 20px; }
/* BEM support Func
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
/* Break-points
-------------------------- */
/* Scrollbar
-------------------------- */
/* Placeholder
-------------------------- */
/* BEM
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
.el-carousel__item {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: inline-block;
overflow: hidden;
z-index: 0; }
.el-carousel__item.is-active {
z-index: 2; }
.el-carousel__item.is-animating {
-webkit-transition: -webkit-transform .4s ease-in-out;
transition: -webkit-transform .4s ease-in-out;
transition: transform .4s ease-in-out;
transition: transform .4s ease-in-out, -webkit-transform .4s ease-in-out; }
.el-carousel__item--card {
width: 50%;
-webkit-transition: -webkit-transform .4s ease-in-out;
transition: -webkit-transform .4s ease-in-out;
transition: transform .4s ease-in-out;
transition: transform .4s ease-in-out, -webkit-transform .4s ease-in-out; }
.el-carousel__item--card.is-in-stage {
cursor: pointer;
z-index: 1; }
.el-carousel__item--card.is-in-stage:hover .el-carousel__mask,
.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask {
opacity: 0.12; }
.el-carousel__item--card.is-active {
z-index: 2; }
.el-carousel__mask {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background-color: #FFFFFF;
opacity: 0.24;
-webkit-transition: .2s;
transition: .2s; }
/* BEM support Func
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
/* Break-points
-------------------------- */
/* Scrollbar
-------------------------- */
/* Placeholder
-------------------------- */
/* BEM
-------------------------- */
/* Element Chalk Variables */
/* Transition
-------------------------- */
/* Color
-------------------------- */
/* 53a8ff */
/* 66b1ff */
/* 79bbff */
/* 8cc5ff */
/* a0cfff */
/* b3d8ff */
/* c6e2ff */
/* d9ecff */
/* ecf5ff */
/* Link
-------------------------- */
/* Border
-------------------------- */
/* Fill
-------------------------- */
/* Typography
-------------------------- */
/* Size
-------------------------- */
/* z-index
-------------------------- */
/* Disable base
-------------------------- */
/* Icon
-------------------------- */
/* Checkbox
-------------------------- */
/* Radio
-------------------------- */
/* Select
-------------------------- */
/* Alert
-------------------------- */
/* MessageBox
-------------------------- */
/* Message
-------------------------- */
/* Notification
-------------------------- */
/* Input
-------------------------- */
/* Cascader
-------------------------- */
/* Group
-------------------------- */
/* Tab
-------------------------- */
/* Button
-------------------------- */
/* cascader
-------------------------- */
/* Switch
-------------------------- */
/* Dialog
-------------------------- */
/* Table
-------------------------- */
/* Pagination
-------------------------- */
/* Popup
-------------------------- */
/* Popover
-------------------------- */
/* Tooltip
-------------------------- */
/* Tag
-------------------------- */
/* Tree
-------------------------- */
/* Dropdown
-------------------------- */
/* Badge
-------------------------- */
/* Card
--------------------------*/
/* Slider
--------------------------*/
/* Steps
--------------------------*/
/* Menu
--------------------------*/
/* Rate
--------------------------*/
/* DatePicker
--------------------------*/
/* Loading
--------------------------*/
/* Scrollbar
--------------------------*/
/* Carousel
--------------------------*/
/* Collapse
--------------------------*/
/* Transfer
--------------------------*/
/* Header
--------------------------*/
/* Footer
--------------------------*/
/* Main
--------------------------*/
/* Timeline
--------------------------*/
/* Backtop
--------------------------*/
/* Link
--------------------------*/
/* Calendar
--------------------------*/
/* Form
-------------------------- */
/* Avatar
--------------------------*/
/* Break-point
--------------------------*/
.el-carousel {
position: relative; }
.el-carousel--horizontal {
overflow-x: hidden; }
.el-carousel--vertical {
overflow-y: hidden; }
.el-carousel__container {
position: relative;
height: 300px; }
.el-carousel__arrow {
border: none;
outline: none;
padding: 0;
margin: 0;
height: 36px;
width: 36px;
cursor: pointer;
-webkit-transition: .3s;
transition: .3s;
border-radius: 50%;
background-color: rgba(31, 45, 61, 0.11);
color: #FFFFFF;
position: absolute;
top: 50%;
z-index: 10;
-webkit-transform: translateY(-50%);
transform: translateY(-50%);
text-align: center;
font-size: 12px; }
.el-carousel__arrow--left {
left: 16px; }
.el-carousel__arrow--right {
right: 16px; }
.el-carousel__arrow:hover {
background-color: rgba(31, 45, 61, 0.23); }
.el-carousel__arrow i {
cursor: pointer; }
.el-carousel__indicators {
position: absolute;
list-style: none;
margin: 0;
padding: 0;
z-index: 2; }
.el-carousel__indicators--horizontal {
bottom: 0;
left: 50%;
-webkit-transform: translateX(-50%);
transform: translateX(-50%); }
.el-carousel__indicators--vertical {
right: 0;
top: 50%;
-webkit-transform: translateY(-50%);
transform: translateY(-50%); }
.el-carousel__indicators--outside {
bottom: 26px;
text-align: center;
position: static;
-webkit-transform: none;
transform: none; }
.el-carousel__indicators--outside .el-carousel__indicator:hover button {
opacity: 0.64; }
.el-carousel__indicators--outside button {
background-color: #C0C4CC;
opacity: 0.24; }
.el-carousel__indicators--labels {
left: 0;
right: 0;
-webkit-transform: none;
transform: none;
text-align: center; }
.el-carousel__indicators--labels .el-carousel__button {
height: auto;
width: auto;
padding: 2px 18px;
font-size: 12px; }
.el-carousel__indicators--labels .el-carousel__indicator {
padding: 6px 4px; }
.el-carousel__indicator {
background-color: transparent;
cursor: pointer; }
.el-carousel__indicator:hover button {
opacity: 0.72; }
.el-carousel__indicator--horizontal {
display: inline-block;
padding: 12px 4px; }
.el-carousel__indicator--vertical {
padding: 4px 12px; }
.el-carousel__indicator--vertical .el-carousel__button {
width: 2px;
height: 15px; }
.el-carousel__indicator.is-active button {
opacity: 1; }
.el-carousel__button {
display: block;
opacity: 0.48;
width: 30px;
height: 2px;
background-color: #FFFFFF;
border: none;
outline: none;
padding: 0;
margin: 0;
cursor: pointer;
-webkit-transition: .3s;
transition: .3s; }
.carousel-arrow-left-enter,
.carousel-arrow-left-leave-active {
-webkit-transform: translateY(-50%) translateX(-10px);
transform: translateY(-50%) translateX(-10px);
opacity: 0; }
.carousel-arrow-right-enter,
.carousel-arrow-right-leave-active {
-webkit-transform: translateY(-50%) translateX(10px);
transform: translateY(-50%) translateX(10px);
opacity: 0; }
This diff is collapsed. Click to expand it.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment