diff --git a/api.html b/api.html index 45efa6e..922a53e 100644 --- a/api.html +++ b/api.html @@ -11,7 +11,7 @@ /> @@ -23,7 +23,7 @@ - 翻译之家 + 聚合翻译 - 翻译之家 + 聚合翻译 - 翻译之家 + 聚合翻译 - - - - - - - 翻译之家 - - - -
-
- -
- 控制台 - -
- -
-
-
- -
-
-
-
-
- -

登录

-
-
-
账号
- - -
-
-
密码
- -
-
-
验证码
- -
- -
-
- - -
- 登录即代表您同意并遵守《隐私协议》 -
-
-
-
-
-
-
-
-
- -

注册

-
-
-
手机号
- +86 -
-
-
验证码
- -
{{ codeText }}
-
-
-
密码
- -
-
-
确认密码
- -
- - -
-
-
-
-
-
-
-
- -

登录

-
-
-
手机号
- +86 -
-
-
验证码
- -
{{ codeText}}
-
-
-
密码
- -
-
-
确认密码
- -
- -
-
-
-
-
- - - - - + + + + + + + + + + + + + + + + + + + + 聚合翻译 + + + +
+
+ +
+ 控制台 + +
+ +
+
+
+ +
+
+
+
+
+ +

登录

+
+
+
账号
+ + +
+
+
密码
+ +
+
+
验证码
+ +
+ +
+
+ + +
+ 登录即代表您同意并遵守《隐私协议》 +
+
+
+
+
+
+
+
+
+ +

注册

+
+
+
手机号
+ +86 +
+
+
验证码
+ +
{{ codeText }}
+
+
+
密码
+ +
+
+
确认密码
+ +
+ + +
+
+
+
+
+
+
+
+ +

登录

+
+
+
手机号
+ +86 +
+
+
验证码
+ +
{{ codeText}}
+
+
+
密码
+ +
+
+
确认密码
+ +
+ +
+
+
+
+
+ + + + + diff --git a/onlineTranslation.html b/onlineTranslation.html index 66e1c7c..59748da 100644 --- a/onlineTranslation.html +++ b/onlineTranslation.html @@ -1,451 +1,451 @@ - - - - - - - - - - - - - - - - - - - - 翻译之家 - - - -
-
- -
- 控制台 - -
-
- 登录 -
-
-
-
- -
-
-
-
- -
-
-
-
-
- {{ sourceLanguage.name }} -
-
-
-
- {{ targetLanguage.name }} -
-
-
- -
-
- {{ k }} -
-
-
-
-
-
- -
-
- -
- -
Loading...
-
-
复制
-
-
-
-
-
- - - - - + + + + + + + + + + + + + + + + + + + + 聚合翻译 + + + +
+
+ +
+ 控制台 + +
+
+ 登录 +
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+ {{ sourceLanguage.name }} +
+
+
+
+ {{ targetLanguage.name }} +
+
+
+ +
+
+ {{ k }} +
+
+
+
+
+
+ +
+
+ +
+ +
Loading...
+
+
复制
+
+
+
+
+
+ + + + + diff --git a/static/css/public.css b/static/css/public.css index f199038..1d811ee 100644 --- a/static/css/public.css +++ b/static/css/public.css @@ -1700,6 +1700,39 @@ padding: 20px; z-index: 10000; } + + .service-modal .content-normal{ + background-color: white; + border-radius: 10px; + height: 442px; + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 444px; + background-size: 100% 100%; + box-sizing: border-box; + padding: 45px 15px 15px; + overflow-y: auto; + } + + .service-modal .content-normal .content-item { + padding: 10px; + border-radius: 3px; + /* border: solid .5px #6c75e1; */ + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); + cursor: pointer; + } + + .service-modal .content-normal .content-item:hover{ + transform: translateY(-5px); /* 向上浮动一点 */ + box-shadow: 0 4px 12px rgb(65 63 63 / 10%); + transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out; + } + + .service-modal .content-normal .content-item:not(:first-child){ + margin-top: 10px; + } .service-modal .content { position: absolute; @@ -1732,7 +1765,7 @@ line-height: 25px; } - .service-modal .content .close { + .service-modal .content .close,.service-modal .content-normal .close { position: absolute; top: 16px; right: 16px; @@ -3003,7 +3036,7 @@ white-space: nowrap; } - .modal-overlay { + .modal-overlay,.modal-overlay-record { position: fixed; top: 0; left: 0; diff --git a/static/image/clock.png b/static/image/clock.png new file mode 100644 index 0000000..94c77bc Binary files /dev/null and b/static/image/clock.png differ diff --git a/static/js/common.js b/static/js/common.js index caf02a7..aa9050a 100644 --- a/static/js/common.js +++ b/static/js/common.js @@ -1,2 +1,2 @@ - + axios.defaults.baseURL = 'http://localhost:8085/api/v1'; \ No newline at end of file diff --git a/static/js/countdown.js b/static/js/countdown.js new file mode 100644 index 0000000..8d9768c --- /dev/null +++ b/static/js/countdown.js @@ -0,0 +1,10 @@ +/*! + * vue-countdown v1.1.5 + * https://fengyuanchen.github.io/vue-countdown + * + * Copyright 2018-present Chen Fengyuan + * Released under the MIT license + * + * Date: 2020-02-25T01:19:32.769Z + */ +!function(t,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):(t=t||self).VueCountdown=i()}(this,function(){"use strict";var t=1e3,i=6e4,s=36e5,e="visibilitychange";return{name:"countdown",data:function(){return{counting:!1,endTime:0,totalMilliseconds:0}},props:{autoStart:{type:Boolean,default:!0},emitEvents:{type:Boolean,default:!0},interval:{type:Number,default:1e3,validator:function(t){return 0<=t}},now:{type:Function,default:function(){return Date.now()}},tag:{type:String,default:"span"},time:{type:Number,default:0,validator:function(t){return 0<=t}},transform:{type:Function,default:function(t){return t}}},computed:{days:function(){return Math.floor(this.totalMilliseconds/864e5)},hours:function(){return Math.floor(this.totalMilliseconds%864e5/s)},minutes:function(){return Math.floor(this.totalMilliseconds%s/i)},seconds:function(){return Math.floor(this.totalMilliseconds%i/t)},milliseconds:function(){return Math.floor(this.totalMilliseconds%t)},totalDays:function(){return this.days},totalHours:function(){return Math.floor(this.totalMilliseconds/s)},totalMinutes:function(){return Math.floor(this.totalMilliseconds/i)},totalSeconds:function(){return Math.floor(this.totalMilliseconds/t)}},render:function(t){return t(this.tag,this.$scopedSlots.default?[this.$scopedSlots.default(this.transform({days:this.days,hours:this.hours,minutes:this.minutes,seconds:this.seconds,milliseconds:this.milliseconds,totalDays:this.totalDays,totalHours:this.totalHours,totalMinutes:this.totalMinutes,totalSeconds:this.totalSeconds,totalMilliseconds:this.totalMilliseconds}))]:this.$slots.default)},watch:{$props:{deep:!0,immediate:!0,handler:function(){this.totalMilliseconds=this.time,this.endTime=this.now()+this.time,this.autoStart&&this.start()}}},methods:{start:function(){this.counting||(this.counting=!0,this.emitEvents&&this.$emit("start"),"visible"===document.visibilityState&&this.continue())},continue:function(){var e=this;if(this.counting){var n=Math.min(this.totalMilliseconds,this.interval);if(0 - - - - - - - - - - - - - - - - - - - - - 翻译之家 - - - -
-
- -
- 控制台 - -
-
- 登录 -
-
-
-
- - -
-
-
- 用户ID : {{userInfo.userId}} -
-
-
- -
-
使用情况
-
-
-
-
翻译引擎
-
已使用字符数
-
剩余字符数
-
价格(U/百万字符)
-
操作
-
-
-
{{item.name}}
-
{{item.useChars}}
-
{{item.remainChars}}
-
{{item.price}}
-
-
- 充值查看API密钥 -
-
-
-
-
备注:如需开取增值税发票,请联系客服。
-
-
- -
近15天
- -
- -
- -
-
-
-
- -
-
-
-
- -
微信咨询
-
-
微信咨询
- -

手机扫码加我微信

-
-
-
-
- -
电话咨询
-
-
电话咨询
-
13327906119
-
-
-
-
- -
- - - - - - - + + + + + + + + + + + + + + + + + + + + + + + 聚合翻译 + + + +
+
+ +
+ 控制台 + +
+
+ 登录 +
+
+
+
+ + +
+
+
+ 用户ID : {{userInfo.userId}} +
+
+
+ +
+
使用情况
+
+
+
+
翻译引擎
+
已使用字符数
+
剩余字符数
+
价格(U/百万字符)
+
操作
+
+
+
{{item.name}}
+
{{item.useChars}}
+
+ {{item.remainChars}} + +
+
{{item.price}}
+
+
+ 充值查看API密钥 +
+
+
+
+
备注:技术问题,请联系客服。
+
+ + +
+ +
+
+
+
+ +
+
+
+
+ +
电报咨询
+
+
电报咨询
+ +

手机扫码加我电报

+
+
+
+
+ +
电话咨询
+
+
电话咨询
+
+18435173355
+
+
+
+
+ + + +
+ + + + + + diff --git a/voice.html b/voice.html index a7af724..a955692 100644 --- a/voice.html +++ b/voice.html @@ -1,1170 +1,1170 @@ - - - - - - - - - - - - - - - - - - - - 翻译之家 - - - -
-
- -
- 控制台 - -
-
- 登录 -
-
-
-
- -
-
-
-
- {{ item.text }} -
-
-
-
-
- {{ engine.text === '语音识别' ? '语音转文字,我们帮您一键识别!' : - engine.text === '语音合成' ? '录入文字,我们帮你翻译并朗读!' : - '说出中文,我们帮你语音翻译!' }} -
-
- {{ engine.text === '语音识别' ? - '识别结果(单次识别最长支持1分钟)' : engine.text === '语音合成' ? - '文字录入(单次合成最长支持100字符)' : - '识别结果(单次识别最长支持1分钟)' }} -
- -
-
- -
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 合成图标{{ engine.text === '语音识别' ? '开始识别' : engine.text === - '语音合成' ? '开始合成' : '开始翻译' }} -
-
- 合成图标{{ engine.text === '语音识别' ? '结束识别' : engine.text === - '语音合成' ? '结束合成' : '结束翻译' }} -
-
-
-
- 警告 - 余额不足,请前往控制台充值 请先登录 -
-
-
-
-
-
- {{ engine.text === '语音识别' ? '语音录入' : engine.text === - '语音合成' ? '语音配置' : '语音配置' }} -
-
-
原始语种:
-
-
-
- {{ sourceLanguage.name }} -
-
- -
-
-
-
-
-
翻译类型:
-
-
-
- {{ transTypeValue.value }} -
-
- -
-
-
-
-
原始语种:
-
-
-
- {{ sourceLanguage.name }} -
-
- -
-
-
-
-
目标语种:
-
-
-
- {{ targetLanguage.name }} -
-
- -
-
-
-
-
-
-
-
- {{ sourceLanguage.name }} -
-
-
- -
-
-
- -
-
-
-
- {{ targetLanguage.name }} -
-
-
- -
-
- -
-
-
-
-
-
- - - - - - - - + + + + + + + + + + + + + + + + + + + + 聚合翻译 + + + +
+
+ +
+ 控制台 + +
+
+ 登录 +
+
+
+
+ +
+
+
+
+ {{ item.text }} +
+
+
+
+
+ {{ engine.text === '语音识别' ? '语音转文字,我们帮您一键识别!' : + engine.text === '语音合成' ? '录入文字,我们帮你翻译并朗读!' : + '说出中文,我们帮你语音翻译!' }} +
+
+ {{ engine.text === '语音识别' ? + '识别结果(单次识别最长支持1分钟)' : engine.text === '语音合成' ? + '文字录入(单次合成最长支持100字符)' : + '识别结果(单次识别最长支持1分钟)' }} +
+ +
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 合成图标{{ engine.text === '语音识别' ? '开始识别' : engine.text === + '语音合成' ? '开始合成' : '开始翻译' }} +
+
+ 合成图标{{ engine.text === '语音识别' ? '结束识别' : engine.text === + '语音合成' ? '结束合成' : '结束翻译' }} +
+
+
+
+ 警告 + 余额不足,请前往控制台充值 请先登录 +
+
+
+
+
+
+ {{ engine.text === '语音识别' ? '语音录入' : engine.text === + '语音合成' ? '语音配置' : '语音配置' }} +
+
+
原始语种:
+
+
+
+ {{ sourceLanguage.name }} +
+
+ +
+
+
+
+
+
翻译类型:
+
+
+
+ {{ transTypeValue.value }} +
+
+ +
+
+
+
+
原始语种:
+
+
+
+ {{ sourceLanguage.name }} +
+
+ +
+
+
+
+
目标语种:
+
+
+
+ {{ targetLanguage.name }} +
+
+ +
+
+
+
+
+
+
+
+ {{ sourceLanguage.name }} +
+
+
+ +
+
+
+ +
+
+
+
+ {{ targetLanguage.name }} +
+
+
+ +
+
+ +
+
+
+
+
+
+ + + + + + + +