UPDATE

上级 e6db359a
<svg t="1612351014950" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2903" width="200" height="200"><path d="M548.352 241.152L716.8 409.6a32.768 32.768 0 0 1 0 46.592 30.72 30.72 0 0 1-45.568 0l-116.736-115.2v464.896a32.768 32.768 0 1 1-65.024 0V340.992L372.736 460.8a39.424 39.424 0 0 1-45.568-6.656 32.768 32.768 0 0 1 0-46.592l162.816-166.4a35.328 35.328 0 0 1 58.368 0z" fill="#d81e06" p-id="2904"></path></svg>
\ No newline at end of file
<svg t="1612349681139" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2565" width="200" height="200"><path d="M548.352 241.152L716.8 409.6a32.768 32.768 0 0 1 0 46.592 30.72 30.72 0 0 1-45.568 0l-116.736-115.2v464.896a32.768 32.768 0 1 1-65.024 0V340.992L372.736 460.8a39.424 39.424 0 0 1-45.568-6.656 32.768 32.768 0 0 1 0-46.592l162.816-166.4a35.328 35.328 0 0 1 58.368 0z" fill="#67C23A" p-id="2566"></path></svg>
\ No newline at end of file
此差异已折叠。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="style.css" rel="stylesheet" type="text/css" />
<title>InsCode</title>
</head>
<body>
<div class="container">
<img src="src/assets/logo.svg" alt="InsCode">
<div>欢迎来到 InsCode</div>
</div>
<script src="script.js"></script>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>typing</title><link href="js/chunk-5829dc2c.62b19ef3.js" rel="prefetch"><link href="js/app.93056a67.js" rel="preload" as="script"><link href="js/chunk-vendors.fb437e3f.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but typing doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="js/chunk-vendors.fb437e3f.js"></script><script src="js/app.93056a67.js"></script></body></html>
\ No newline at end of file
(function(e){function t(t){for(var o,i,s=t[0],u=t[1],c=t[2],l=0,f=[];l<s.length;l++)i=s[l],Object.prototype.hasOwnProperty.call(n,i)&&n[i]&&f.push(n[i][0]),n[i]=0;for(o in u)Object.prototype.hasOwnProperty.call(u,o)&&(e[o]=u[o]);d&&d(t);while(f.length)f.shift()();return a.push.apply(a,c||[]),r()}function r(){for(var e,t=0;t<a.length;t++){for(var r=a[t],o=!0,i=1;i<r.length;i++){var u=r[i];0!==n[u]&&(o=!1)}o&&(a.splice(t--,1),e=s(s.s=r[0]))}return e}var o={},n={app:0},a=[];function i(e){return s.p+"js/"+({}[e]||e)+"."+{"chunk-5829dc2c":"62b19ef3"}[e]+".js"}function s(t){if(o[t])return o[t].exports;var r=o[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,s),r.l=!0,r.exports}s.e=function(e){var t=[],r=n[e];if(0!==r)if(r)t.push(r[2]);else{var o=new Promise((function(t,o){r=n[e]=[t,o]}));t.push(r[2]=o);var a,u=document.createElement("script");u.charset="utf-8",u.timeout=120,s.nc&&u.setAttribute("nonce",s.nc),u.src=i(e);var c=new Error;a=function(t){u.onerror=u.onload=null,clearTimeout(l);var r=n[e];if(0!==r){if(r){var o=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",c.name="ChunkLoadError",c.type=o,c.request=a,r[1](c)}n[e]=void 0}};var l=setTimeout((function(){a({type:"timeout",target:u})}),12e4);u.onerror=u.onload=a,document.head.appendChild(u)}return Promise.all(t)},s.m=e,s.c=o,s.d=function(e,t,r){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},s.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)s.d(r,o,function(t){return e[t]}.bind(null,o));return r},s.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="",s.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],c=u.push.bind(u);u.push=t,u=u.slice();for(var l=0;l<u.length;l++)t(u[l]);var d=c;a.push([0,"chunk-vendors"]),r()})({0:function(e,t,r){e.exports=r("56d7")},"3b26":function(e,t,r){"use strict";r("5b03")},"40ae":function(e,t,r){var o=r("a1a8");t=o(!1),t.push([e.i,"*{padding:0;margin:0;outline:none}body,html{min-height:100vh;background:rgba(203,242,144,.2)}li,ol,ul{list-style:none}body{padding:100px 0;box-sizing:border-box;overflow:hidden}.col-2{width:16.66666667%}.col-3{width:25%}.col-9{width:75%}.col-10{width:83.33333333%}.col-12{width:100%}#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50}",""]),e.exports=t},"56d7":function(e,t,r){"use strict";r.r(t);r("317d"),r("1ff0");var o=r("9747"),n=r.n(o),a=(r("7f62"),r("7629")),i=r.n(a),s=(r("abe2"),r("72b1")),u=r.n(s),c=r("1f37"),l=function(){var e=this,t=e._self._c;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},d=[],f=(r("3b26"),r("e607")),p={},h=Object(f["a"])(p,l,d,!1,null,null,null),b=h.exports,g=r("f038");c["default"].use(g["a"]);const v=[{path:"/",name:"Home",component:()=>r.e("chunk-5829dc2c").then(r.bind(null,"1e4b"))}],w=new g["a"]({mode:"hash",base:"",routes:v});var y=w,m=r("7736");c["default"].use(m["a"]);var L=new m["a"].Store({state:{allLetters:"ENITRLSAOHUDYCGMPBKVWFZXQJ",currentLetter:"",practiceLetters:"ENITRL",minRange:4,keyLetter:"E",letterLength:20,showFingers:!0,keyboardColor:"#87CEEB",startTime:"",speed:"",speedGrowth:"",error:"",errorGrowth:"",score:"",scoreGrowth:""},mutations:{onkeydown(e,t){e.currentLetter=t},onkeyup(e){e.currentLetter=null},settingPracticeLetters(e,t){e.practiceLetters=e.allLetters.slice(0,t)},setKeyLetter(e,t){e.keyLetter=t},setLetterLength(e,t){e.letterLength=t},changeFingersShow(e,t){e.showFingers=t},changeKeyboardColor(e,t){e.keyboardColor=t},saveError(e,t){const r=e.error;e.error=t,""!==r&&(e.errorGrowth=t-r)},saveSpeed(e,t){const r=e.speed;e.speed=t,""!==r&&(e.speedGrowth=(t-r)/r)},saveScore(e,t){const r=e.score;e.score=t,""!==r&&(e.scoreGrowth=(t-r)/r)}},actions:{},modules:{}});r("55ee");c["default"].use(u.a),c["default"].use(i.a),c["default"].use(n.a),c["default"].config.productionTip=!1,new c["default"]({router:y,store:L,render:e=>e(b)}).$mount("#app")},"5b03":function(e,t,r){var o=r("40ae");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var n=r("5925").default;n("004b8166",o,!0,{sourceMap:!1,shadowMode:!1})}});
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5829dc2c"],{"00c4":function(t,e,a){var r=a("47fe");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=a("5925").default;i("f796dc14",r,!0,{sourceMap:!1,shadowMode:!1})},"05d3":function(t,e,a){"use strict";a("ac34")},1903:function(t,e,a){var r=a("a1a8");e=r(!1),e.push([t.i,"*[data-v-132c71c0]{padding:0;margin:0;outline:none}body[data-v-132c71c0],html[data-v-132c71c0]{min-height:100vh;background:rgba(203,242,144,.2)}li[data-v-132c71c0],ol[data-v-132c71c0],ul[data-v-132c71c0]{list-style:none}body[data-v-132c71c0]{padding:100px 0;box-sizing:border-box;overflow:hidden}.col-2[data-v-132c71c0]{width:16.66666667%}.col-3[data-v-132c71c0]{width:25%}.col-9[data-v-132c71c0]{width:75%}.col-10[data-v-132c71c0]{width:83.33333333%}.col-12[data-v-132c71c0]{width:100%}.index[data-v-132c71c0]{display:flex;justify-content:space-between}.index .keyboard-container[data-v-132c71c0]{position:relative;width:-moz-fit-content;width:fit-content;margin:0 auto}.index .keyboard-container .fingers[data-v-132c71c0]{position:absolute;top:28px;left:-4px;width:663px}",""]),t.exports=e},"1e4b":function(t,e,a){"use strict";a.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{staticClass:"index"},[e("div",{staticClass:"col-12"},[e("settings-info"),e("speed"),e("text-component"),e("div",{staticClass:"keyboard-container"},[e("keyboard"),t.showFingers?e("fingers",{staticClass:"fingers"}):t._e()],1)],1)])},i=[],s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"settings-container"},[e("div",{staticClass:"setting-item"},[e("label",{attrs:{for:"practiceLetters"}},[t._v("预设练习键")]),t._l(t.allLetters,(function(a,r){return e("span",{key:r,class:["letter",{practiceLetter:t.isPracticeLetter(a),keyLetter:t.isKeyLetter(a)}],on:{click:function(e){return t.setKeyLetter(a,r)}}},[t._v(t._s(a))])})),e("el-slider",{attrs:{min:t.min,max:t.allLetters.length,"show-tooltip":!1},on:{input:t.changePracticeLetters},model:{value:t.practiceLetterRange,callback:function(e){t.practiceLetterRange=e},expression:"practiceLetterRange"}})],2),e("div",{staticClass:"setting-item"},[e("label",{attrs:{for:"practiceLetters"}},[t._v("文本长度")]),e("el-slider",{staticStyle:{"margin-top":"-30px"},attrs:{min:0,max:20,"show-tooltip":!1,value:t.letterLength},on:{input:function(e){return t.changeLetterLength(e)}}})],1),e("div",{staticClass:"setting-item"},[e("label",{attrs:{for:"showFingers"}},[t._v("显示指位")]),e("el-switch",{attrs:{value:t.showFingers,"active-color":"#13ce66"},on:{change:t.changeFingersShow}})],1),e("div",{staticClass:"setting-item"},[e("label",{attrs:{for:"keyboardColor"}},[t._v("键盘主题色")]),e("el-color-picker",{attrs:{value:t.keyboardColor,"show-alpha":"",size:"mini"},on:{change:t.changeKeyboardColor}})],1)])},n=[],o=a("7736"),c={data(){return{practiceLetterRange:this.minRange,min:0}},computed:{...Object(o["c"])(["allLetters","showFingers","keyboardColor","practiceLetters","keyLetter","letterLength","minRange"])},methods:{...Object(o["b"])(["changeFingersShow","changeKeyboardColor","setLetterLength"]),isKeyLetter(t){return!!t&&t===this.keyLetter},isPracticeLetter(t){return!!t&&this.practiceLetters.includes(t)},changeLetterLength(t){const e=this.minRange;this.setLetterLength(Math.max(e,t))},changePracticeLetters(t){if(t<this.minRange)return void(this.practiceLetterRange=this.minRange);this.$store.commit("settingPracticeLetters",t);const e=this.practiceLetters.indexOf(this.keyLetter);if(-1===e){const t=this.practiceLetters.slice(-1);this.setKeyLetter(t,this.practiceLetters.length-1)}},setKeyLetter(t,e){e>=this.practiceLetters.length||this.$store.commit("setKeyLetter",t)}}},d=c,l=(a("762e"),a("e607")),p=Object(l["a"])(d,s,n,!1,null,"06000904",null),m=p.exports,u=function(){var t=this,e=t._self._c;return e("div",{staticClass:"text"},t._l(t.text,(function(a,r){return e("span",{key:r,class:{active:r===t.currentIndex}},[t._v(t._s(t._f("formatLetter")(a)))])})),0)},h=[];class b{constructor(t="ENITRL",e="E",a=3,r=6){this.practiceLetters=t,this.keyLetter=e,this.minLength=a,this.maxLenth=r}length(){return Math.floor(Math.random()*(this.maxLenth-this.minLength)+this.minLength+1)}create(){const t=this.length(),e=Math.floor(Math.random()*t);let a="";for(let r=0;r<t;r++)a+=e===r?this.keyLetter:this.getOneRandomLetter();return a}getOneRandomLetter(){const t=this.practiceLetters,e=t.length;return t[Math.floor(Math.random()*e)]}}var v=b,y={data(){return{length:2,currentIndex:0,text:"",errorNum:0,startTime:""}},computed:{...Object(o["c"])(["currentLetter","practiceLetters","keyLetter","letterLength"])},watch:{currentLetter(t){if(null===t)return;const e=this.text[this.currentIndex];t===e.toLowerCase()?this.next():this.errorNum++},practiceLetters(){this.createTextList()},keyLetter(){this.createTextList()},letterLength(){this.createTextList()}},created(){this.createTextList()},methods:{...Object(o["b"])(["saveError","saveSpeed","saveScore"]),createTextList(){const t=new v(this.practiceLetters,this.keyLetter),e=new Array(this.letterLength).fill(0),a=e.map(()=>t.create());this.text=a.join(" ").toLowerCase(),this.startTime=new Date,this.errorNum=0},getSpeed(){const t=this.startTime;this.startTime=new Date;const e=Math.floor(this.text.length/(this.startTime-t)*6e4);return e},getScore(t,e){return 5*t-10*e},next(){if(this.currentIndex++,this.currentIndex===this.text.length){this.currentIndex=0;const t=this.getSpeed(),e=this.getScore(t,this.errorNum);this.saveSpeed(t),this.saveError(this.errorNum),this.saveScore(e),this.createTextList()}}},filters:{formatLetter(t){return t?" "===t?"":t:""}}},g=y,f=(a("d31a"),Object(l["a"])(g,u,h,!1,null,"b14a156a",null)),L=f.exports,N=function(){var t=this,e=t._self._c;return e("div",{staticClass:"keyboard"},t._l(t.list,(function(a,r){return e("key",t._b({key:r},"key",a,!1))})),1)},w=[],x=function(){var t=this,e=t._self._c;return e("div",{class:["key",{active:t.iscurrentLetter(t.$store.state.currentLetter)}],style:{"min-width":t.keyWidth+"px",flex:"Fill"===t.type?1:"none",background:t.keyboardColor}},[t.subName?e("div",{staticClass:"multiple"},[e("span",{domProps:{innerHTML:t._s(t.subName)}}),e("span",{domProps:{innerHTML:t._s(t.primaryName)}})]):e("span",{domProps:{innerHTML:t._s(t.primaryName)}})])},k=[],_={props:{type:{type:String,default:""},primaryName:{type:String,default:""},subName:{type:String,defualt:""}},computed:{...Object(o["c"])(["keyboardColor"]),keyWidth(){let t=44;const e=this.type;if(!e)return t;switch(e){case"Letter":t=44;break;case"Tab":t=72;break;case"Caps Lock":t=82;break;case"Shift":t=110;break;case"Function":t=80;break;default:break}return t}},methods:{iscurrentLetter(t){return null!==t&&t.toLowerCase()===this.primaryName.toLowerCase()}}},M=_,C=(a("25f5"),Object(l["a"])(M,x,k,!1,null,"0291cd98",null)),S=C.exports;const T=[{id:1,type:"Letter",primaryName:"`",subName:"~"},{id:1,type:"Letter",primaryName:"1",subName:"!"},{id:1,type:"Letter",primaryName:"2",subName:"@"},{id:1,type:"Letter",primaryName:"3",subName:"#"},{id:1,type:"Letter",primaryName:"4",subName:"$"},{id:1,type:"Letter",primaryName:"5",subName:"%"},{id:1,type:"Letter",primaryName:"6",subName:"^"},{id:1,type:"Letter",primaryName:"7",subName:"&"},{id:1,type:"Letter",primaryName:"8",subName:"*"},{id:1,type:"Letter",primaryName:"9",subName:"("},{id:1,type:"Letter",primaryName:"0",subName:")"},{id:1,type:"Letter",primaryName:"-",subName:"_"},{id:1,type:"Letter",primaryName:"=",subName:"+"},{id:1,type:"Fill",primaryName:"Backspace",subName:""},{id:1,type:"Tab",primaryName:"Tab",subName:""},{id:1,type:"Letter",primaryName:"Q",subName:""},{id:2,type:"Letter",primaryName:"W",subName:""},{id:3,type:"Letter",primaryName:"E",subName:""},{id:4,type:"Letter",primaryName:"R",subName:""},{id:4,type:"Letter",primaryName:"T",subName:""},{id:4,type:"Letter",primaryName:"Y",subName:""},{id:4,type:"Letter",primaryName:"U",subName:""},{id:4,type:"Letter",primaryName:"I",subName:""},{id:4,type:"Letter",primaryName:"O",subName:""},{id:4,type:"Letter",primaryName:"P",subName:""},{id:4,type:"Letter",primaryName:"[",subName:"{"},{id:4,type:"Letter",primaryName:"]",subName:"}"},{id:4,type:"Fill",primaryName:"\\",subName:"|"},{id:4,type:"Caps Lock",primaryName:"CapsLock",subName:""},{id:4,type:"Letter",primaryName:"A",subName:""},{id:4,type:"Letter",primaryName:"S",subName:""},{id:4,type:"Letter",primaryName:"D",subName:""},{id:4,type:"Letter",primaryName:"F",subName:""},{id:4,type:"Letter",primaryName:"G",subName:""},{id:4,type:"Letter",primaryName:"H",subName:""},{id:4,type:"Letter",primaryName:"J",subName:""},{id:4,type:"Letter",primaryName:"K",subName:""},{id:4,type:"Letter",primaryName:"L",subName:""},{id:4,type:"Letter",primaryName:";",subName:":"},{id:4,type:"Letter",primaryName:"'",subName:'"'},{id:4,type:"Fill",primaryName:"Enter",subName:""},{id:4,type:"Shift",primaryName:"Shift",subName:""},{id:4,type:"Letter",primaryName:"Z",subName:""},{id:4,type:"Letter",primaryName:"X",subName:""},{id:4,type:"Letter",primaryName:"C",subName:""},{id:4,type:"Letter",primaryName:"V",subName:""},{id:4,type:"Letter",primaryName:"B",subName:""},{id:4,type:"Letter",primaryName:"N",subName:""},{id:4,type:"Letter",primaryName:"M",subName:""},{id:4,type:"Letter",primaryName:",",subName:"<"},{id:4,type:"Letter",primaryName:".",subName:">"},{id:4,type:"Letter",primaryName:"/",subName:"?"},{id:4,type:"Fill",primaryName:"Shift",subName:""},{id:4,type:"Function",primaryName:"Ctrl",subName:""},{id:4,type:"Letter",primaryName:"Alt",subName:""},{id:4,type:"Fill",primaryName:" ",subName:""},{id:4,type:"Letter",primaryName:"Alt",subName:""},{id:4,type:"Function",primaryName:"Ctrl",subName:""}];var j=T,O={components:{key:S},data(){return{list:j}},mounted(){this.keyboardInit()},methods:{keyboardInit(){document.addEventListener("keydown",t=>{t.preventDefault(),this.$store.commit("onkeydown",t.key)}),document.addEventListener("keyup",()=>{this.$store.commit("onkeyup")})}}},F=O,R=(a("c3e1"),Object(l["a"])(F,N,w,!1,null,"0cc18acb",null)),G=R.exports,I=function(){var t=this;t._self._c;return t._m(0)},z=[function(){var t=this,e=t._self._c;return e("div",[e("img",{attrs:{src:a("9cb7"),alt:""}})])}],K=(a("83c3"),{}),P=Object(l["a"])(K,I,z,!1,null,"a58698ac",null),E=P.exports,$=function(){var t=this,e=t._self._c;return e("div",{staticClass:"speed-container"},[e("div",{staticClass:"item"},[e("label",{attrs:{for:"speed"}},[t._v("速度")]),e("span",[t._v(t._s(t.speed))]),t._v("   "),t.speedGrowth?e("span",{class:["arrow",{down:t.speedGrowth<0}]},[t._v(t._s(t._f("percentage")(t.speedGrowth)))]):t._e()]),e("div",{staticClass:"item"},[e("label",{attrs:{for:"error"}},[t._v("错误")]),e("span",[t._v(t._s(t.error))]),t._v("   "),t.errorGrowth?e("span",{class:["arrow error",{down:t.errorGrowth>0}]},[t._v(t._s(t.errorGrowth))]):t._e()]),e("div",{staticClass:"item"},[e("label",{attrs:{for:"score"}},[t._v("得分")]),e("span",[t._v(t._s(t.score))]),t._v("   "),t.scoreGrowth?e("span",{class:["arrow",{down:t.scoreGrowth<0}]},[t._v(t._s(t._f("percentage")(t.scoreGrowth)))]):t._e()])])},H=[],A={data(){return{}},computed:{...Object(o["c"])(["speed","speedGrowth","error","errorGrowth","score","scoreGrowth"])},filters:{percentage(t){return t?parseInt(100*t)+"%":""}}},D=A,U=(a("3315"),Object(l["a"])(D,$,H,!1,null,"58635852",null)),J=U.exports,W={name:"Home",components:{keyboard:G,textComponent:L,fingers:E,speed:J,settingsInfo:m},computed:{...Object(o["c"])(["showFingers"])}},B=W,Q=(a("05d3"),Object(l["a"])(B,r,i,!1,null,"132c71c0",null));e["default"]=Q.exports},"25f5":function(t,e,a){"use strict";a("c33f")},2964:function(t,e,a){var r=a("a1a8"),i=a("e505"),s=a("4ea0"),n=a("2e6e");e=r(!1);var o=i(s),c=i(n);e.push([t.i,'*[data-v-58635852]{padding:0;margin:0;outline:none}body[data-v-58635852],html[data-v-58635852]{min-height:100vh;background:rgba(203,242,144,.2)}li[data-v-58635852],ol[data-v-58635852],ul[data-v-58635852]{list-style:none}body[data-v-58635852]{padding:100px 0;box-sizing:border-box;overflow:hidden}.col-2[data-v-58635852]{width:16.66666667%}.col-3[data-v-58635852]{width:25%}.col-9[data-v-58635852]{width:75%}.col-10[data-v-58635852]{width:83.33333333%}.col-12[data-v-58635852]{width:100%}.speed-container[data-v-58635852]{width:756px;margin:0 auto;text-align:left;display:flex;justify-content:space-between}.speed-container .item label[data-v-58635852]{margin-right:4em}.speed-container .item .arrow[data-v-58635852]{display:inline-block;padding-right:20px;position:relative;margin-left:20px}.speed-container .item .arrow[data-v-58635852]:after{position:absolute;top:-4px;right:-2px;width:20px;height:28px;content:"";background:url('+o+") 50%/cover no-repeat}.speed-container .item .arrow.down[data-v-58635852]:after{background:url("+c+") 50%/cover no-repeat;transform:rotate(180deg)}.speed-container .item .arrow.error[data-v-58635852]:after{transform:rotate(180deg)}.speed-container .item .arrow.error.down[data-v-58635852]:after{transform:rotate(0deg)}",""]),t.exports=e},"2e6e":function(t,e,a){t.exports=a.p+"img/arrow-down.44703324.svg"},3315:function(t,e,a){"use strict";a("3c7d")},"3c7d":function(t,e,a){var r=a("2964");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=a("5925").default;i("02744ea3",r,!0,{sourceMap:!1,shadowMode:!1})},"47fe":function(t,e,a){var r=a("a1a8");e=r(!1),e.push([t.i,"*[data-v-a58698ac]{padding:0;margin:0;outline:none}body[data-v-a58698ac],html[data-v-a58698ac]{min-height:100vh;background:rgba(203,242,144,.2)}li[data-v-a58698ac],ol[data-v-a58698ac],ul[data-v-a58698ac]{list-style:none}body[data-v-a58698ac]{padding:100px 0;box-sizing:border-box;overflow:hidden}.col-2[data-v-a58698ac]{width:16.66666667%}.col-3[data-v-a58698ac]{width:25%}.col-9[data-v-a58698ac]{width:75%}.col-10[data-v-a58698ac]{width:83.33333333%}.col-12[data-v-a58698ac],img[data-v-a58698ac]{width:100%}",""]),t.exports=e},"4ea0":function(t,e,a){t.exports=a.p+"img/arrow-up.1c22213e.svg"},"6b9b":function(t,e,a){var r=a("a1a8");e=r(!1),e.push([t.i,"*[data-v-0291cd98]{padding:0;margin:0;outline:none}body[data-v-0291cd98],html[data-v-0291cd98]{min-height:100vh;background:rgba(203,242,144,.2)}li[data-v-0291cd98],ol[data-v-0291cd98],ul[data-v-0291cd98]{list-style:none}body[data-v-0291cd98]{padding:100px 0;box-sizing:border-box;overflow:hidden}.col-2[data-v-0291cd98]{width:16.66666667%}.col-3[data-v-0291cd98]{width:25%}.col-9[data-v-0291cd98]{width:75%}.col-10[data-v-0291cd98]{width:83.33333333%}.col-12[data-v-0291cd98]{width:100%}.key[data-v-0291cd98]{height:44px;line-height:44px;border-radius:4px;margin:2px}.key .multiple[data-v-0291cd98]{display:flex;flex-direction:column;justify-content:space-around;height:100%}.key .multiple span[data-v-0291cd98]{line-height:1em}.key.active[data-v-0291cd98]{opacity:.4}",""]),t.exports=e},"762e":function(t,e,a){"use strict";a("bb7d")},"83c3":function(t,e,a){"use strict";a("00c4")},"8b57":function(t,e,a){var r=a("a9db");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=a("5925").default;i("f1718118",r,!0,{sourceMap:!1,shadowMode:!1})},"9b9f":function(t,e,a){var r=a("f9f3");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=a("5925").default;i("44f04ad6",r,!0,{sourceMap:!1,shadowMode:!1})},"9cb7":function(t,e,a){t.exports=a.p+"img/fingers.049b644c.svg"},a9db:function(t,e,a){var r=a("a1a8");e=r(!1),e.push([t.i,"*[data-v-0cc18acb]{padding:0;margin:0;outline:none}body[data-v-0cc18acb],html[data-v-0cc18acb]{min-height:100vh;background:rgba(203,242,144,.2)}li[data-v-0cc18acb],ol[data-v-0cc18acb],ul[data-v-0cc18acb]{list-style:none}body[data-v-0cc18acb]{padding:100px 0;box-sizing:border-box;overflow:hidden}.col-2[data-v-0cc18acb]{width:16.66666667%}.col-3[data-v-0cc18acb]{width:25%}.col-9[data-v-0cc18acb]{width:75%}.col-10[data-v-0cc18acb]{width:83.33333333%}.col-12[data-v-0cc18acb]{width:100%}.keyboard[data-v-0cc18acb]{width:722px;margin:40px auto;padding:12px;background:#dfd9d9;border-radius:10px;display:flex;flex-wrap:wrap}",""]),t.exports=e},ac34:function(t,e,a){var r=a("1903");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=a("5925").default;i("d7147d60",r,!0,{sourceMap:!1,shadowMode:!1})},bb7d:function(t,e,a){var r=a("dd52");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=a("5925").default;i("37fe3119",r,!0,{sourceMap:!1,shadowMode:!1})},c206:function(t,e,a){t.exports=a.p+"fonts/UbuntuMono-RI.ee339fa5.ttf"},c33f:function(t,e,a){var r=a("6b9b");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var i=a("5925").default;i("dd674a4e",r,!0,{sourceMap:!1,shadowMode:!1})},c3e1:function(t,e,a){"use strict";a("8b57")},d31a:function(t,e,a){"use strict";a("9b9f")},dd52:function(t,e,a){var r=a("a1a8");e=r(!1),e.push([t.i,"*[data-v-06000904]{padding:0;margin:0;outline:none}body[data-v-06000904],html[data-v-06000904]{min-height:100vh;background:rgba(203,242,144,.2)}li[data-v-06000904],ol[data-v-06000904],ul[data-v-06000904]{list-style:none}body[data-v-06000904]{padding:100px 0;box-sizing:border-box;overflow:hidden}.col-2[data-v-06000904]{width:16.66666667%}.col-3[data-v-06000904]{width:25%}.col-9[data-v-06000904]{width:75%}.col-10[data-v-06000904]{width:83.33333333%}.col-12[data-v-06000904]{width:100%}.settings-container[data-v-06000904]{width:-moz-fit-content;width:fit-content;margin:0 auto;text-align:left}.settings-container label[data-v-06000904]{display:inline-block;min-width:80px}.settings-container .letter[data-v-06000904]{display:inline-block;width:1em;height:1em;line-height:1em;border:1px solid #888;color:#888;margin-left:.5em;text-align:center;cursor:pointer}.settings-container .letter.practiceLetter[data-v-06000904]{border-color:#67c23a;color:#67c23a}.settings-container .letter.keyLetter[data-v-06000904]{border-color:#f56c6c;color:#f56c6c}.settings-container .el-slider[data-v-06000904]{margin-left:84px}.settings-container .el-switch[data-v-06000904]{vertical-align:text-top;margin-left:.5em}.settings-container .el-color-picker[data-v-06000904]{vertical-align:bottom;margin-left:.5em}",""]),t.exports=e},f9f3:function(t,e,a){var r=a("a1a8"),i=a("e505"),s=a("c206");e=r(!1);var n=i(s);e.push([t.i,"*[data-v-b14a156a]{padding:0;margin:0;outline:none}body[data-v-b14a156a],html[data-v-b14a156a]{min-height:100vh;background:rgba(203,242,144,.2)}li[data-v-b14a156a],ol[data-v-b14a156a],ul[data-v-b14a156a]{list-style:none}body[data-v-b14a156a]{padding:100px 0;box-sizing:border-box;overflow:hidden}.col-2[data-v-b14a156a]{width:16.66666667%}.col-3[data-v-b14a156a]{width:25%}.col-9[data-v-b14a156a]{width:75%}.col-10[data-v-b14a156a]{width:83.33333333%}.col-12[data-v-b14a156a]{width:100%}@keyframes cursor-b14a156a{0%{background:none;color:#000}50%{background:#000;color:#fff}to{background:none;color:#000}}@font-face{font-family:Ubuntu Mono;src:url("+n+")}.text[data-v-b14a156a]{width:700px;margin:40px auto;text-align:left}.text span[data-v-b14a156a]{font-family:Ubuntu Mono,Lucida Console,monospace;display:inline-block;text-align:center;font-size:24px;font-weight:500;min-width:.5em}.text span.active[data-v-b14a156a]{animation:cursor-b14a156a .6s ease infinite}",""]),t.exports=e}}]);
\ No newline at end of file
此差异已折叠。
<svg width="128" height="26" viewBox="0 0 128 26" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M0 13L6.92314 1L12.8629 4.42706L7.91706 13L12.8629 21.5729L6.92314 25L0 13ZM18.045 16.0707C18.7679 15.5876 19.6178 15.3298 20.4872 15.3298C21.6531 15.3298 22.7712 15.793 23.5956 16.6174C24.42 17.4417 24.8832 18.5599 24.8832 19.7257C24.8832 20.5952 24.6254 21.4451 24.1423 22.168C23.6593 22.8909 22.9727 23.4543 22.1695 23.787C21.3662 24.1198 20.4824 24.2068 19.6296 24.0372C18.7769 23.8676 17.9936 23.4489 17.3789 22.8341C16.7641 22.2193 16.3454 21.4361 16.1758 20.5833C16.0062 19.7306 16.0932 18.8467 16.4259 18.0435C16.7587 17.2402 17.3221 16.5537 18.045 16.0707ZM22.9295 10.0172C22.2066 10.5002 21.3567 10.7581 20.4872 10.7581C19.3214 10.7581 18.2033 10.2949 17.3789 9.47052C16.5545 8.64613 16.0913 7.52801 16.0913 6.36213C16.0913 5.4927 16.3491 4.6428 16.8322 3.91989C17.3152 3.19698 18.0017 2.63355 18.805 2.30083C19.6082 1.96812 20.4921 1.88106 21.3448 2.05068C22.1976 2.2203 22.9809 2.63897 23.5956 3.25375C24.2104 3.86853 24.6291 4.65181 24.7987 5.50453C24.9683 6.35726 24.8813 7.24113 24.5485 8.04438C24.2158 8.84763 23.6524 9.53418 22.9295 10.0172Z" fill="url(#paint0_linear_8_378)"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M40.1992 3.8512H35.7463V22.14H40.1992V3.8512ZM107.788 8.14508H104.926C103.238 8.14508 101.62 8.81529 100.427 10.0083C99.2344 11.2012 98.5642 12.8193 98.5642 14.5064V15.7787C98.5635 16.6142 98.7275 17.4418 99.0469 18.2139C99.3664 18.986 99.8349 19.6876 100.426 20.2784C101.017 20.8693 101.718 21.3378 102.49 21.6572C103.262 21.9767 104.09 22.1407 104.926 22.14H111.764V3.8512H107.788V8.14508ZM103.997 17.9781C103.57 17.797 103.205 17.4963 102.946 17.1121C102.68 16.7183 102.538 16.2538 102.539 15.7787V14.5064C102.538 14.1876 102.602 13.872 102.726 13.5784C102.908 13.1457 103.214 12.7764 103.605 12.5171C103.997 12.2578 104.456 12.1199 104.926 12.1209H107.788V18.1641H104.926C104.607 18.1656 104.291 18.1023 103.997 17.9781ZM49.5026 8.14507C50.533 8.14431 51.5401 8.45229 52.3938 9.02929C53.0954 9.50216 53.67 10.1402 54.0671 10.8873C54.4642 11.6344 54.6717 12.4676 54.6712 13.3136V22.1399H50.6953V13.3136C50.6956 13.1931 50.6777 13.0733 50.6421 12.9582C50.6077 12.848 50.5573 12.7436 50.4926 12.6481C50.3627 12.4556 50.1799 12.3048 49.9662 12.2139C49.8196 12.1518 49.6618 12.1201 49.5026 12.1209H47.4352C47.3147 12.1206 47.1948 12.1386 47.0797 12.1742C46.9696 12.2085 46.8651 12.2589 46.7696 12.3237C46.5771 12.4535 46.4263 12.6363 46.3355 12.8501C46.2733 12.9967 46.2417 13.1544 46.2424 13.3136V22.1399H42.2666V13.3136C42.2659 12.6347 42.3991 11.9623 42.6585 11.3348C42.918 10.7074 43.2987 10.1374 43.7788 9.65727C44.2589 9.17718 44.829 8.79649 45.4564 8.53701C46.0838 8.27752 46.7562 8.14433 47.4352 8.14507H49.5026ZM66.2701 14.0762C65.5472 13.5791 64.6904 13.3131 63.8131 13.3136H60.3144C60.2219 13.3144 60.1303 13.2957 60.0456 13.2588C59.9473 13.215 59.8595 13.1507 59.7883 13.07C59.7171 12.9893 59.6641 12.8942 59.6329 12.7912C59.6097 12.7157 59.5982 12.6372 59.5987 12.5582C59.5981 12.4543 59.6181 12.3514 59.6576 12.2553C59.7133 12.1212 59.8067 12.006 59.9263 11.9237C59.9823 11.885 60.0436 11.8547 60.1084 11.8338C60.1751 11.813 60.2445 11.8025 60.3144 11.8028H63.177C63.4637 11.8017 63.7457 11.8755 63.9952 12.0167C64.2381 12.154 64.4433 12.3494 64.5923 12.5853L67.6871 10.6371C67.2077 9.87451 66.5427 9.24593 65.7544 8.81012C64.9661 8.37431 64.0801 8.14549 63.1793 8.14506H60.3168C59.7279 8.14474 59.1451 8.26433 58.604 8.49653C58.018 8.75033 57.494 9.12835 57.0684 9.60447C56.6428 10.0806 56.3257 10.6435 56.139 11.2542C55.8371 12.245 55.8888 13.31 56.2853 14.267C56.6119 15.0528 57.159 15.7271 57.8605 16.2088C58.5832 16.7058 59.4397 16.9717 60.3168 16.9714H63.8155C63.9076 16.9714 63.9987 16.9901 64.0834 17.0262C64.213 17.0835 64.3235 17.1768 64.4015 17.295C64.4424 17.3563 64.474 17.4233 64.4953 17.4938C64.5495 17.6699 64.5407 17.8593 64.4707 18.0297C64.4149 18.1639 64.3216 18.279 64.2019 18.3613C64.0885 18.4408 63.9532 18.483 63.8147 18.4822H60.3955C60.111 18.4831 59.831 18.4105 59.5828 18.2715C59.3408 18.1366 59.1361 17.9437 58.9872 17.7101L55.9068 19.6829C56.3887 20.4364 57.0526 21.0564 57.8372 21.4858C58.6218 21.9152 59.5019 22.1402 60.3963 22.1399H63.8155C64.4041 22.1404 64.9866 22.0208 65.5275 21.7885C66.3103 21.4519 66.9781 20.8946 67.4494 20.1846C68.0941 19.2159 68.3322 18.0325 68.1124 16.8898C67.8925 15.7471 67.2323 14.7365 66.2741 14.0762H66.2701ZM91.0906 8.14507C92.359 8.1432 93.5988 8.52185 94.6497 9.23206H94.6481C95.5119 9.81416 96.2193 10.5996 96.7082 11.5193C97.1971 12.439 97.4525 13.4648 97.4519 14.5064V15.7786C97.4519 17.4658 96.7817 19.0838 95.5887 20.2768C94.3957 21.4697 92.7777 22.14 91.0906 22.14H89.8183C88.9827 22.1407 88.1552 21.9766 87.3831 21.6572C86.611 21.3378 85.9094 20.8692 85.3186 20.2784C84.7277 19.6876 84.2592 18.986 83.9397 18.2139C83.6203 17.4418 83.4563 16.6142 83.457 15.7786V14.5064C83.457 12.8193 84.1272 11.2012 85.3202 10.0083C86.5132 8.81528 88.1312 8.14507 89.8183 8.14507H91.0906ZM93.2892 16.7066C93.413 16.4129 93.4766 16.0974 93.4761 15.7786V14.5072C93.4761 14.2664 93.4399 14.0271 93.3687 13.7971C93.3001 13.5759 93.1991 13.3661 93.0689 13.1745C92.8094 12.7903 92.4443 12.4894 92.0177 12.3078C91.7242 12.1835 91.4085 12.12 91.0898 12.1209H89.8175C89.3484 12.1202 88.8895 12.258 88.4985 12.5172C88.1075 12.7764 87.8018 13.1453 87.6197 13.5776C87.4954 13.8712 87.4318 14.1868 87.4328 14.5056V15.7778C87.4318 16.253 87.5734 16.7175 87.8392 17.1113C88.0985 17.4955 88.4637 17.7962 88.8904 17.9773C89.1836 18.1016 89.499 18.1651 89.8175 18.1641H91.0898C91.5646 18.1652 92.0288 18.0239 92.4225 17.7586C92.8067 17.4987 93.1077 17.1334 93.2892 16.7066ZM122.872 17.7101C122.723 17.9433 122.518 18.1361 122.277 18.2715C122.029 18.4103 121.749 18.4828 121.465 18.4822H119.079C118.74 18.4833 118.403 18.4157 118.09 18.2834C117.635 18.0896 117.246 17.7685 116.969 17.3586C116.887 17.236 116.815 17.1061 116.756 16.9706H126.876V14.3473C126.876 12.7024 126.223 11.1248 125.059 9.96167C123.896 8.79852 122.319 8.14506 120.674 8.14506H119.083C117.439 8.14506 115.861 8.79852 114.698 9.96167C113.535 11.1248 112.881 12.7024 112.881 14.3473V15.9377C112.88 16.7524 113.04 17.5593 113.352 18.3122C113.663 19.065 114.12 19.7491 114.696 20.3252C115.272 20.9013 115.956 21.3581 116.709 21.6695C117.462 21.9809 118.269 22.1408 119.083 22.1399H121.469C122.363 22.1399 123.243 21.9148 124.027 21.4854C124.811 21.056 125.475 20.4361 125.957 19.6829L122.872 17.7101ZM117.658 12.2362C118.078 11.9528 118.573 11.8019 119.079 11.8028H120.67C121.01 11.802 121.347 11.8699 121.661 12.0024C122.257 12.2536 122.734 12.7229 122.996 13.3144H116.754C116.949 12.8777 117.262 12.5042 117.659 12.2362H117.658ZM75.8225 7.98605C75.3634 7.98448 74.9144 8.12137 74.5343 8.37886C74.1652 8.63064 73.8764 8.98346 73.7026 9.39508C73.5825 9.67883 73.5211 9.98393 73.5221 10.292V15.6991C73.5208 16.1582 73.6577 16.607 73.9149 16.9873C74.1658 17.3591 74.519 17.6502 74.9319 17.8254C75.2157 17.9452 75.5208 18.0066 75.8288 18.0059H77.812C78.0118 18.0051 78.2107 17.9784 78.4036 17.9264C78.589 17.8776 78.7675 17.8055 78.9347 17.7117C79.2683 17.5247 79.5507 17.2584 79.757 16.9364L83.239 19.1629C82.6561 20.0735 81.8536 20.8228 80.9052 21.3419C79.9568 21.8611 78.8931 22.1333 77.812 22.1336H75.8241C74.1159 22.1336 72.4776 21.455 71.2697 20.2471C70.0618 19.0392 69.3832 17.401 69.3832 15.6928V10.292C69.3825 9.446 69.5486 8.60813 69.872 7.82636C70.1955 7.0446 70.6699 6.33427 71.2681 5.73604C71.8663 5.13781 72.5766 4.66341 73.3584 4.33999C74.1402 4.01657 74.978 3.85047 75.8241 3.8512H77.812C78.9039 3.84997 79.9782 4.1267 80.9336 4.65532C81.889 5.18395 82.6941 5.94708 83.2732 6.87282L79.7681 9.07066C79.6143 8.82592 79.4164 8.61184 79.1844 8.4393C78.7873 8.14395 78.3053 7.98496 77.8104 7.98605H75.8225Z" fill="#26294B"/>
<defs>
<linearGradient id="paint0_linear_8_378" x1="0" y1="1" x2="18.7137" y2="29.1027" gradientUnits="userSpaceOnUse">
<stop stop-color="#1FAEFF"/>
<stop offset="1" stop-color="#D86AE1"/>
</linearGradient>
</defs>
</svg>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册