Commit 9a8c3b03 authored by GaiaXalter's avatar GaiaXalter 💬

决斗数据库 卡组胜率

parent aed5260b
Pipeline #8473 failed with stages
in 60 minutes and 2 seconds
...@@ -14,15 +14,17 @@ ...@@ -14,15 +14,17 @@
"datatables.net-bs": "1.11.3", "datatables.net-bs": "1.11.3",
"dom-to-image": "2.6.0", "dom-to-image": "2.6.0",
"echarts": "3.7.2", "echarts": "3.7.2",
"element-ui": "1.4.4", "element-ui": "2.15.7",
"glob-parent": "^6.0.2", "glob-parent": "^6.0.2",
"is-svg": "^4.3.2", "is-svg": "^4.3.2",
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"moment": "^2.29.1", "moment": "^2.29.1",
"normalize-wheel": "^1.0.1",
"resize-observer-polyfill": "^1.5.1",
"shelljs": "0.7.7", "shelljs": "0.7.7",
"swiper": "^7.3.1", "swiper": "^7.3.1",
"uuid": "3.1.0", "uuid": "3.1.0",
"vue": "2.4.2", "vue": "2.5.17",
"vue-clipboard2": "0.3.1", "vue-clipboard2": "0.3.1",
"vue-resource": "1.3.4", "vue-resource": "1.3.4",
"vue-router": "2.2.0", "vue-router": "2.2.0",
...@@ -59,7 +61,7 @@ ...@@ -59,7 +61,7 @@
"vue-html5-editor": "1.1.1", "vue-html5-editor": "1.1.1",
"vue-loader": "11.3.4", "vue-loader": "11.3.4",
"vue-style-loader": "2.0.0", "vue-style-loader": "2.0.0",
"vue-template-compiler": "2.4.2", "vue-template-compiler": "^2.5.17",
"webpack": "2.2.1", "webpack": "2.2.1",
"webpack-bundle-analyzer": "2.2.1", "webpack-bundle-analyzer": "2.2.1",
"webpack-dev-middleware": "1.10.0", "webpack-dev-middleware": "1.10.0",
...@@ -2321,16 +2323,17 @@ ...@@ -2321,16 +2323,17 @@
"license": "ISC" "license": "ISC"
}, },
"node_modules/element-ui": { "node_modules/element-ui": {
"version": "1.4.4", "version": "2.15.7",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"async-validator": "1.6.9", "async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0", "babel-helper-vue-jsx-merge-props": "^2.0.0",
"deepmerge": "^1.2.0", "deepmerge": "^1.2.0",
"resize-observer-polyfill": "^1.5.0",
"throttle-debounce": "^1.0.1" "throttle-debounce": "^1.0.1"
}, },
"peerDependencies": { "peerDependencies": {
"vue": "^2.3.0" "vue": "2.5.17"
} }
}, },
"node_modules/elliptic": { "node_modules/elliptic": {
...@@ -4261,6 +4264,11 @@ ...@@ -4261,6 +4264,11 @@
"node": ">=4" "node": ">=4"
} }
}, },
"node_modules/normalize-wheel": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/normalize-wheel/-/normalize-wheel-1.0.1.tgz",
"integrity": "sha1-rsiGr/2wRQcNhWRH32Ls+GFG7EU="
},
"node_modules/nth-check": { "node_modules/nth-check": {
"version": "2.0.1", "version": "2.0.1",
"dev": true, "dev": true,
...@@ -5634,6 +5642,11 @@ ...@@ -5634,6 +5642,11 @@
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/resize-observer-polyfill": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
"integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
},
"node_modules/resolve": { "node_modules/resolve": {
"version": "1.20.0", "version": "1.20.0",
"license": "MIT", "license": "MIT",
...@@ -6176,28 +6189,6 @@ ...@@ -6176,28 +6189,6 @@
"node": ">=0.10.0" "node": ">=0.10.0"
} }
}, },
"node_modules/svgo/node_modules/argparse": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
"dev": true,
"dependencies": {
"sprintf-js": "~1.0.2"
}
},
"node_modules/svgo/node_modules/esprima": {
"version": "2.7.3",
"resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz",
"integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=",
"dev": true,
"bin": {
"esparse": "bin/esparse.js",
"esvalidate": "bin/esvalidate.js"
},
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/swiper": { "node_modules/swiper": {
"version": "7.3.1", "version": "7.3.1",
"funding": [ "funding": [
...@@ -6672,8 +6663,9 @@ ...@@ -6672,8 +6663,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/vue": { "node_modules/vue": {
"version": "2.4.2", "version": "2.5.17",
"license": "MIT" "resolved": "https://registry.npmjs.org/vue/-/vue-2.5.17.tgz",
"integrity": "sha512-mFbcWoDIJi0w0Za4emyLiW72Jae0yjANHbCVquMKijcavBGypqlF7zHRgMa5k4sesdv7hv2rB4JPdZfR+TPfhQ=="
}, },
"node_modules/vue-clipboard2": { "node_modules/vue-clipboard2": {
"version": "0.3.1", "version": "0.3.1",
...@@ -6776,9 +6768,10 @@ ...@@ -6776,9 +6768,10 @@
} }
}, },
"node_modules/vue-template-compiler": { "node_modules/vue-template-compiler": {
"version": "2.4.2", "version": "2.5.17",
"resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.5.17.tgz",
"integrity": "sha512-63uI4syCwtGR5IJvZM0LN5tVsahrelomHtCxvRkZPJ/Tf3ADm1U1wG6KWycK3qCfqR+ygM5vewUvmJ0REAYksg==",
"dev": true, "dev": true,
"license": "MIT",
"dependencies": { "dependencies": {
"de-indent": "^1.0.2", "de-indent": "^1.0.2",
"he": "^1.1.0" "he": "^1.1.0"
...@@ -9147,11 +9140,12 @@ ...@@ -9147,11 +9140,12 @@
"dev": true "dev": true
}, },
"element-ui": { "element-ui": {
"version": "1.4.4", "version": "2.15.7",
"requires": { "requires": {
"async-validator": "1.6.9", "async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0", "babel-helper-vue-jsx-merge-props": "^2.0.0",
"deepmerge": "^1.2.0", "deepmerge": "^1.2.0",
"resize-observer-polyfill": "^1.5.0",
"throttle-debounce": "^1.0.1" "throttle-debounce": "^1.0.1"
} }
}, },
...@@ -10435,6 +10429,11 @@ ...@@ -10435,6 +10429,11 @@
"sort-keys": "^1.0.0" "sort-keys": "^1.0.0"
} }
}, },
"normalize-wheel": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/normalize-wheel/-/normalize-wheel-1.0.1.tgz",
"integrity": "sha1-rsiGr/2wRQcNhWRH32Ls+GFG7EU="
},
"nth-check": { "nth-check": {
"version": "2.0.1", "version": "2.0.1",
"dev": true, "dev": true,
...@@ -11431,6 +11430,11 @@ ...@@ -11431,6 +11430,11 @@
"version": "1.0.0", "version": "1.0.0",
"dev": true "dev": true
}, },
"resize-observer-polyfill": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/resize-observer-polyfill/-/resize-observer-polyfill-1.5.1.tgz",
"integrity": "sha512-LwZrotdHOo12nQuZlHEmtuXdqGoOD0OhaxopaNFxWzInpEgaLWoVuAMbTzixuosCx2nEG58ngzW3vxdWoxIgdg=="
},
"resolve": { "resolve": {
"version": "1.20.0", "version": "1.20.0",
"requires": { "requires": {
...@@ -11814,32 +11818,6 @@ ...@@ -11814,32 +11818,6 @@
"mkdirp": "~0.5.1", "mkdirp": "~0.5.1",
"sax": "~1.2.1", "sax": "~1.2.1",
"whet.extend": "~0.9.9" "whet.extend": "~0.9.9"
},
"dependencies": {
"argparse": {
"version": "1.0.10",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz",
"integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==",
"dev": true,
"requires": {
"sprintf-js": "~1.0.2"
}
},
"esprima": {
"version": "2.7.3",
"resolved": "https://registry.npmjs.org/esprima/-/esprima-2.7.3.tgz",
"integrity": "sha1-luO3DVd59q1JzQMmc9HDEnZ7pYE=",
"dev": true
},
"js-yaml": {
"version": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.7.0.tgz",
"integrity": "sha1-XJZ93YN6m/3KXy3oQlOr6KHAO4A=",
"dev": true,
"requires": {
"argparse": "^1.0.7",
"esprima": "^2.6.0"
}
}
} }
}, },
"swiper": { "swiper": {
...@@ -12149,7 +12127,9 @@ ...@@ -12149,7 +12127,9 @@
"dev": true "dev": true
}, },
"vue": { "vue": {
"version": "2.4.2" "version": "2.5.17",
"resolved": "https://registry.npmjs.org/vue/-/vue-2.5.17.tgz",
"integrity": "sha512-mFbcWoDIJi0w0Za4emyLiW72Jae0yjANHbCVquMKijcavBGypqlF7zHRgMa5k4sesdv7hv2rB4JPdZfR+TPfhQ=="
}, },
"vue-clipboard2": { "vue-clipboard2": {
"version": "0.3.1", "version": "0.3.1",
...@@ -12227,7 +12207,9 @@ ...@@ -12227,7 +12207,9 @@
} }
}, },
"vue-template-compiler": { "vue-template-compiler": {
"version": "2.4.2", "version": "2.5.17",
"resolved": "https://registry.npmjs.org/vue-template-compiler/-/vue-template-compiler-2.5.17.tgz",
"integrity": "sha512-63uI4syCwtGR5IJvZM0LN5tVsahrelomHtCxvRkZPJ/Tf3ADm1U1wG6KWycK3qCfqR+ygM5vewUvmJ0REAYksg==",
"dev": true, "dev": true,
"requires": { "requires": {
"de-indent": "^1.0.2", "de-indent": "^1.0.2",
...@@ -12686,4 +12668,4 @@ ...@@ -12686,4 +12668,4 @@
"version": "3.7.4" "version": "3.7.4"
} }
} }
} }
\ No newline at end of file
...@@ -16,6 +16,14 @@ export default class Api { ...@@ -16,6 +16,14 @@ export default class Api {
static clkUrl = `${URL}/clktrack` static clkUrl = `${URL}/clktrack`
static getMonthlyWinRate() {
let monthlyWinRateUrl = 'https://sapi.moecube.com:444/ygopro/analytics/matchup/type?source=mycard-athletic'
return Vue.http.get(monthlyWinRateUrl)
}
static getDownloadUrl(url) { static getDownloadUrl(url) {
url = url.slice(7) url = url.slice(7)
var downloadUrl = `${URL}/download/${url}` var downloadUrl = `${URL}/download/${url}`
......
.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus
{
background-color: #1a4861;
border: 3px solid #161b22;
}
.nav-tabs {
border-bottom: 1px solid black;
}
.well
{
background-color: #1a4861;
border:none;
}
.input-group-addon
{
color: white;
background-color: #161b22;
border: 1px solid black;
}
.form-control
{
border: 1px solid black;
color: white;
background-color: #283044;
}
.tab-img {
height: 72px;
width: 120px;
}
.table-responsive {
border: 1px solid black;
}
\ No newline at end of file
...@@ -3,20 +3,22 @@ ...@@ -3,20 +3,22 @@
<div class="content"> <div class="content">
<div class="container"> <div class="container">
<div> <div>
<h4 class="color-blue"><i class="glyphicon glyphicon-filter"></i> {{lang.qc}}</h4> <h4 class="color-blue">
<i class="glyphicon glyphicon-filter"></i>
{{lang.qc}}
</h4>
<div class="well"> <div class="well">
<form action="" method="get" role="form" class="form-inline form-filter"> <form action="" method="get" role="form" class="form-inline form-filter">
<div class="form-group" style="margin-right: 10px;"> <div class="form-group" style="margin-right: 10px;">
<div class="input-group"> <div class="input-group">
<div class="input-group-addon">{{lang.time}}</div> <div class="input-group-addon">{{lang.time}}</div>
<select name="type" class="form-control" id="type" v-on:change="onChange"> <select name="type" class="form-control" id="type" v-on:change="onChange">
<option value="day">{{lang.today}}</option> <option value="day">{{lang.today}}</option>
<option value="week">{{lang.week}}</option> <option value="week">{{lang.week}}</option>
<option value="halfmonth">{{lang.half_month}}</option> <option value="halfmonth">{{lang.half_month}}</option>
<option value="month">{{lang.month}}</option> <option value="month">{{lang.month}}</option>
<option value="season">{{lang.season}}</option> <option value="season">{{lang.season}}</option>
</select> </select>
</div> </div>
</div> </div>
...@@ -32,7 +34,6 @@ ...@@ -32,7 +34,6 @@
</div> </div>
</div> </div>
<div class="form-group" style="margin-right: 10px;"> <div class="form-group" style="margin-right: 10px;">
<div class="input-group"> <div class="input-group">
<div class="input-group-addon">{{lang.type}}</div> <div class="input-group-addon">{{lang.type}}</div>
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
import image3 from '../assets/img/image3.jpg' import image3 from '../assets/img/image3.jpg'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import API from '../api' import API from '../api'
/* import "../assets/darkModelCss/darkMix.css" */
export default { export default {
data() { data() {
return { return {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div role="presentation" class="footer-block-left-link" ><a @click.prevent="login" href="#"> 注册</a></div> <div role="presentation" class="footer-block-left-link" ><a @click.prevent="login" href="#"> 注册</a></div>
<div class="footer-block-left-link"><a href="#/download">下载</a></div> <div class="footer-block-left-link"><a href="#/download">下载</a></div>
<div class="footer-block-left-link"><a href="https://shop387046095.taobao.com/?spm=2013.1.1000126.2.61a97e3emY0JZB">MC商城</a></div> <div class="footer-block-left-link"><a href="https://shop387046095.taobao.com/?spm=2013.1.1000126.2.61a97e3emY0JZB" target="_blank">MC商城</a></div>
<div class="footer-block-left-link"><a href="https://ygobbs.com/" target="_blank">联系我们</a></div> <div class="footer-block-left-link"><a href="https://ygobbs.com/" target="_blank">联系我们</a></div>
</div> </div>
......
This diff is collapsed.
This diff is collapsed.
...@@ -42,7 +42,7 @@ module.exports = { ...@@ -42,7 +42,7 @@ module.exports = {
athleticDueHistory: '竞技场决斗记录', athleticDueHistory: '竞技场决斗记录',
entertainDueHistory: '娱乐场决斗记录', entertainDueHistory: '娱乐场决斗记录',
tagInfo:'绿色表示获胜方,红色则表示掉线。', tagInfo:'绿色表示获胜方,红色则表示掉线。',
rates:'卡组胜率',
exp_rank: 'EXP 排名', exp_rank: 'EXP 排名',
athletic_rank: 'D.P 排名', athletic_rank: 'D.P 排名',
...@@ -52,7 +52,7 @@ module.exports = { ...@@ -52,7 +52,7 @@ module.exports = {
all: '总场', all: '总场',
ratio: '胜率', ratio: '胜率',
violation: '违规次数', violation: '违规次数',
shop:"Merch", shop:"游戏周边",
userRank: { userRank: {
expRank: 'EXP排名', expRank: 'EXP排名',
pointRank: '竞技场排名', pointRank: '竞技场排名',
...@@ -153,7 +153,7 @@ module.exports = { ...@@ -153,7 +153,7 @@ module.exports = {
athleticDueHistory: 'Athletic Due History', athleticDueHistory: 'Athletic Due History',
entertainDueHistory: 'Entertain Due History', entertainDueHistory: 'Entertain Due History',
tagInfo:'Green tag represents the winner.Red tag represents player lost connection.', tagInfo:'Green tag represents the winner.Red tag represents player lost connection.',
rates:'Win Rate Chart',
exp_rank: 'EXP Rank', exp_rank: 'EXP Rank',
athletic_rank: 'D.P Rank', athletic_rank: 'D.P Rank',
win: 'Win', win: 'Win',
......
...@@ -6,7 +6,7 @@ import router from './router' ...@@ -6,7 +6,7 @@ import router from './router'
import VueX from 'vuex' import VueX from 'vuex'
import store from './store' import store from './store'
import Element from 'element-ui' import Element from 'element-ui'
import 'element-ui/lib/theme-default/index.css' import 'element-ui/lib/theme-chalk/index.css'
import VueClipboard from 'vue-clipboard2' import VueClipboard from 'vue-clipboard2'
......
...@@ -3,6 +3,7 @@ import Router from 'vue-router' ...@@ -3,6 +3,7 @@ import Router from 'vue-router'
import Home from '@/components/Home' import Home from '@/components/Home'
import Index from '@/components/Index' import Index from '@/components/Index'
import Cards from '@/components/Cards' import Cards from '@/components/Cards'
import Rates from '@/components/Rates'
import Ranking from '@/components/Ranking' import Ranking from '@/components/Ranking'
import Download from '@/components/Download' import Download from '@/components/Download'
import Profile from '@/components/Profile' import Profile from '@/components/Profile'
...@@ -43,6 +44,11 @@ export default new Router({ ...@@ -43,6 +44,11 @@ export default new Router({
name: 'Cards', name: 'Cards',
component: Cards component: Cards
}, },
{
path: '/rates',
name: 'Rates',
component: Rates
},
{ {
path: '/ranking', path: '/ranking',
name: 'Ranking', name: 'Ranking',
......
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