修改unlock

This commit is contained in:
RainSun 2021-03-06 21:49:45 +08:00
parent e69fe92d5b
commit d2569cb158
20 changed files with 61 additions and 44 deletions

1
dist/css/unlock.469f184d.css vendored Normal file
View File

@ -0,0 +1 @@
.unlock[data-v-7da8472a]{width:100%;min-height:100%;background:#fff}.unlock .logo[data-v-7da8472a]{margin:0 auto;display:block;height:5rem;width:5rem}.unlock .center[data-v-7da8472a]{margin:0 auto;text-align:center;display:block}.unlock .input-box[data-v-7da8472a]{width:70%;max-width:350px;margin:.5rem auto}.unlock .md-raised[data-v-7da8472a]{margin-top:1rem}.dark-theme-unlock[data-v-7da8472a]{background:#424242}.dark-theme-unlock .center[data-v-7da8472a]{color:#fff!important}.tips[data-v-7da8472a]{font-size:.3rem;max-width:70%;padding:1rem 0 0 0;color:#989898}.tips-buttom[data-v-7da8472a]{padding-bottom:1rem}.qq-link[data-v-7da8472a]{color:#448aff}

View File

@ -1 +0,0 @@
.unlock[data-v-334be4a0]{width:100%;min-height:100%;background:#fff}.unlock .logo[data-v-334be4a0]{margin:0 auto;display:block;height:5rem;width:5rem}.unlock .center[data-v-334be4a0]{margin:0 auto;text-align:center;display:block}.unlock .input-box[data-v-334be4a0]{width:70%;max-width:350px;margin:.5rem auto}.unlock .md-raised[data-v-334be4a0]{margin-top:1rem}.dark-theme-unlock[data-v-334be4a0]{background:#424242}.dark-theme-unlock .center[data-v-334be4a0]{color:#fff!important}.tips[data-v-334be4a0]{font-size:.3rem;max-width:70%;padding:1rem 0 0 0;color:#989898}.tips-buttom[data-v-334be4a0]{padding-bottom:1rem}.qq-link[data-v-334be4a0]{color:#448aff}

2
dist/index.html vendored
View File

@ -9,4 +9,4 @@
'font-size:12px;color:#999999;', (new Date).getFullYear());
}
catch (e) {
}</script><link href="/css/account.9f35b946.css" rel="prefetch"><link href="/css/add.caa4e153.css" rel="prefetch"><link href="/css/detail.77dce31c.css" rel="prefetch"><link href="/css/generator.51264771.css" rel="prefetch"><link href="/css/home.a8e69ca9.css" rel="prefetch"><link href="/css/settings.d0ed5d4b.css" rel="prefetch"><link href="/css/unlock.a3785ff8.css" rel="prefetch"><link href="/css/updatelog.78701de0.css" rel="prefetch"><link href="/js/account.b00aa23b.js" rel="prefetch"><link href="/js/account~add~detail~generator~home~settings~unlock~updatelog.873fcc3f.js" rel="prefetch"><link href="/js/account~add~detail~home~settings~unlock.aaf0496a.js" rel="prefetch"><link href="/js/account~settings.4b80635a.js" rel="prefetch"><link href="/js/add.97f8e124.js" rel="prefetch"><link href="/js/detail.a57f140f.js" rel="prefetch"><link href="/js/generator.5053f9a4.js" rel="prefetch"><link href="/js/home.d3e0e73f.js" rel="prefetch"><link href="/js/settings.9076774f.js" rel="prefetch"><link href="/js/unlock.2681b09e.js" rel="prefetch"><link href="/js/updatelog.fc998413.js" rel="prefetch"><link href="/css/app.618e4370.css" rel="preload" as="style"><link href="/css/chunk-vendors.de365249.css" rel="preload" as="style"><link href="/js/app.9b1ef292.js" rel="modulepreload" as="script"><link href="/js/chunk-vendors.57407df0.js" rel="modulepreload" as="script"><link href="/css/chunk-vendors.de365249.css" rel="stylesheet"><link href="/css/app.618e4370.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/favicon.ico"><link rel="icon" type="image/png" sizes="16x16" href="/favicon.ico"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#448aff"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Canary Codebook"><link rel="apple-touch-icon" href="/favicon.ico"><link rel="mask-icon" href="/favicon.ico" color="#448aff"><meta name="msapplication-TileImage" content="/favicon.ico"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but codebook doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script type="module" src="/js/chunk-vendors.57407df0.js"></script><script type="module" src="/js/app.9b1ef292.js"></script><script>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script src="/js/chunk-vendors-legacy.52a85fc0.js" nomodule></script><script src="/js/app-legacy.ccc250a6.js" nomodule></script></body></html>
}</script><link href="/css/account.9f35b946.css" rel="prefetch"><link href="/css/add.caa4e153.css" rel="prefetch"><link href="/css/detail.77dce31c.css" rel="prefetch"><link href="/css/generator.51264771.css" rel="prefetch"><link href="/css/home.a8e69ca9.css" rel="prefetch"><link href="/css/settings.d0ed5d4b.css" rel="prefetch"><link href="/css/unlock.469f184d.css" rel="prefetch"><link href="/css/updatelog.78701de0.css" rel="prefetch"><link href="/js/account.b00aa23b.js" rel="prefetch"><link href="/js/account~add~detail~generator~home~settings~unlock~updatelog.1622c46c.js" rel="prefetch"><link href="/js/account~add~detail~home~settings~unlock.aaf0496a.js" rel="prefetch"><link href="/js/account~settings.4b80635a.js" rel="prefetch"><link href="/js/add.97f8e124.js" rel="prefetch"><link href="/js/detail.a57f140f.js" rel="prefetch"><link href="/js/generator.5053f9a4.js" rel="prefetch"><link href="/js/home.d3e0e73f.js" rel="prefetch"><link href="/js/settings.9076774f.js" rel="prefetch"><link href="/js/unlock.c140521e.js" rel="prefetch"><link href="/js/updatelog.fc998413.js" rel="prefetch"><link href="/css/app.618e4370.css" rel="preload" as="style"><link href="/css/chunk-vendors.de365249.css" rel="preload" as="style"><link href="/js/app.9e5c51d4.js" rel="modulepreload" as="script"><link href="/js/chunk-vendors.57407df0.js" rel="modulepreload" as="script"><link href="/css/chunk-vendors.de365249.css" rel="stylesheet"><link href="/css/app.618e4370.css" rel="stylesheet"><link rel="icon" type="image/png" sizes="32x32" href="/favicon.ico"><link rel="icon" type="image/png" sizes="16x16" href="/favicon.ico"><link rel="manifest" href="/manifest.json"><meta name="theme-color" content="#448aff"><meta name="apple-mobile-web-app-capable" content="no"><meta name="apple-mobile-web-app-status-bar-style" content="default"><meta name="apple-mobile-web-app-title" content="Canary Codebook"><link rel="apple-touch-icon" href="/favicon.ico"><link rel="mask-icon" href="/favicon.ico" color="#448aff"><meta name="msapplication-TileImage" content="/favicon.ico"><meta name="msapplication-TileColor" content="#000000"></head><body><noscript><strong>We're sorry but codebook doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script type="module" src="/js/chunk-vendors.57407df0.js"></script><script type="module" src="/js/app.9e5c51d4.js"></script><script>!function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();</script><script src="/js/chunk-vendors-legacy.52a85fc0.js" nomodule></script><script src="/js/app-legacy.afaf4766.js" nomodule></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/unlock-legacy.5b471fc5.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/unlock.c140521e.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
dist/js/updatelog-legacy.b5aaee55.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/css/add.caa4e153.css"
},
{
"revision": "28bdeb659bb0a6489bdb",
"revision": "6fccf293fb64072e8ecd",
"url": "/css/app.618e4370.css"
},
{
@ -32,11 +32,11 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/css/settings.d0ed5d4b.css"
},
{
"revision": "eb1584c129177002a884",
"url": "/css/unlock.a3785ff8.css"
"revision": "07056c990ae300ac33a3",
"url": "/css/unlock.469f184d.css"
},
{
"revision": "0cc89aa7c42b40d82272",
"revision": "96e9efbf1d670befbe6e",
"url": "/css/updatelog.78701de0.css"
},
{
@ -56,7 +56,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/fonts/MaterialIcons-Regular.e79bfd88.eot"
},
{
"revision": "30c3deeced9622c671797be8beeeb359",
"revision": "9bb4ba9ce2b398d3af466310de0ab020",
"url": "/index.html"
},
{
@ -64,8 +64,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/js/account-legacy.cce3577e.js"
},
{
"revision": "96a6d2fce77397c5c79a",
"url": "/js/account~add~detail~generator~home~settings~unlock-legacy.8db6ea50.js"
"revision": "b47f1b2b176b845e0340",
"url": "/js/account~add~detail~generator~home~settings~unlock-legacy.105db3ce.js"
},
{
"revision": "b525acec1bb318ec08d9",
@ -80,8 +80,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/js/add-legacy.afa49e75.js"
},
{
"revision": "28bdeb659bb0a6489bdb",
"url": "/js/app-legacy.ccc250a6.js"
"revision": "6fccf293fb64072e8ecd",
"url": "/js/app-legacy.afaf4766.js"
},
{
"revision": "4c57b04aa432c3c1e47f",
@ -104,12 +104,12 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/js/settings-legacy.255786b8.js"
},
{
"revision": "eb1584c129177002a884",
"url": "/js/unlock-legacy.ff4c83be.js"
"revision": "07056c990ae300ac33a3",
"url": "/js/unlock-legacy.5b471fc5.js"
},
{
"revision": "0cc89aa7c42b40d82272",
"url": "/js/updatelog-legacy.6ec95b6d.js"
"revision": "96e9efbf1d670befbe6e",
"url": "/js/updatelog-legacy.b5aaee55.js"
},
{
"revision": "f60e661e0decdbb92df9918d3ae4856d",

View File

@ -8,7 +8,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/css/add.caa4e153.css"
},
{
"revision": "9614e8511955a1aecb17",
"revision": "04a748cb97e5a1062151",
"url": "/css/app.618e4370.css"
},
{
@ -32,8 +32,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/css/settings.d0ed5d4b.css"
},
{
"revision": "74328c43be5718f4a3cb",
"url": "/css/unlock.a3785ff8.css"
"revision": "6fdb8d71910a1dc2c5d8",
"url": "/css/unlock.469f184d.css"
},
{
"revision": "bfdfecbd523566862251",
@ -56,7 +56,7 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/fonts/MaterialIcons-Regular.e79bfd88.eot"
},
{
"revision": "1a258a49592c088ed0f99c7d59b27dca",
"revision": "7e057e8d2430d7b6630122957ac58654",
"url": "/index.html"
},
{
@ -64,8 +64,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/js/account.b00aa23b.js"
},
{
"revision": "4a1ba48c9891f04be0ee",
"url": "/js/account~add~detail~generator~home~settings~unlock~updatelog.873fcc3f.js"
"revision": "49dfdd98054d4d08e271",
"url": "/js/account~add~detail~generator~home~settings~unlock~updatelog.1622c46c.js"
},
{
"revision": "a5c93643f51e67f65dc5",
@ -80,8 +80,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/js/add.97f8e124.js"
},
{
"revision": "9614e8511955a1aecb17",
"url": "/js/app.9b1ef292.js"
"revision": "04a748cb97e5a1062151",
"url": "/js/app.9e5c51d4.js"
},
{
"revision": "c4a8294b2fc840a49c68",
@ -104,8 +104,8 @@ self.__precacheManifest = (self.__precacheManifest || []).concat([
"url": "/js/settings.9076774f.js"
},
{
"revision": "74328c43be5718f4a3cb",
"url": "/js/unlock.2681b09e.js"
"revision": "6fdb8d71910a1dc2c5d8",
"url": "/js/unlock.c140521e.js"
},
{
"revision": "bfdfecbd523566862251",

View File

@ -14,7 +14,7 @@
importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");
importScripts(
"/precache-manifest.37eb9da328e3419b330c8fd43b175a65.js"
"/precache-manifest.7c4a8bfa598c716013f3f4c4979ab0cf.js"
);
workbox.core.setCacheNameDetails({prefix: "codebook"});

View File

@ -45,8 +45,8 @@ export function lang() {
title: '设置',
subheader: ['重置', '选项', '导入 / 导出'],
reset_list: ['账户', '密码本', '应用', '主密码'],
option_list: ['语言', '黑暗模式', '密码超时时间'],
import_export_list: ['导入密码本', '导出密码本'],
option_list: ['语言', '黑暗模式', '密码超时时间'],
import_export_list: ['导入密码本', '导出密码本'],
expired_time: '无限',
dialog: {
title: '输入新的主密码',
@ -85,8 +85,8 @@ export function lang() {
subheader: ['Reset', 'Option', 'Import / Export'],
reset_list: ['Account', 'Codebook', 'Application', 'Main Password'],
option_list: ['Language', 'Dark Mode', 'Expired Time'],
expired_time: 'Infinite',
import_export_list: ['Import Codebook', 'Export Codebook'],
expired_time: 'Infinite',
import_export_list: ['Import Codebook', 'Export Codebook'],
dialog: {
title: 'Enter new password',
placeholder: 'Enter here...',
@ -310,15 +310,23 @@ export function lang() {
CHS: {
title: '更新日志',
timeline: [
{
label: '解锁输入密码后可以直接回车',
tag: '功能更新',
content: [
'输入密码之后直接按下回车即可进入主页',
'2021-03-06'
]
},
{
label: '设置密码本默认显示顺序为使用频率',
tag:'功能更新',
tag: '功能更新',
content: [
'用多了还是觉得使用频率多的在上边好一些',
'2020-12-29'
]
},
{
{
label: '新增导入导出功能',
tag: '功能更新',
content: [
@ -467,15 +475,23 @@ export function lang() {
EN: {
title: 'Update Log',
timeline: [
{
label: 'You can enter the password directly after unlocking',
tag: 'Feature update',
content: [
'After entering the password, press Enter directly to enter the home page',
'2021-03-06'
]
},
{
label: 'Set the default display order of the password book to use frequency',
tag:'Feature update',
tag: 'Feature update',
content: [
'Use much still feel to use frequency much in above a few better',
'2020-12-29'
]
},
{
{
label: 'New import and export function',
tag: 'Feature update',
content: [

View File

@ -10,7 +10,8 @@
<md-field class="input-box" :class="messageClass">
<label>{{ is_create ? lang.pwd_label[0] : lang.pwd_label[1] }}</label>
<md-input v-model="pwd" type="password"></md-input>
<md-input v-if="is_create" v-model="pwd" type="password"></md-input>
<md-input v-else v-model="pwd" type="password" @keyup.enter="judgePwd"></md-input>
<span class="md-error">{{ err_msg }}</span>
</md-field>
@ -28,11 +29,11 @@
<md-button class="md-raised md-primary center" @click="judgePwd()">{{ lang.enter }}</md-button>
<p class="center tips ">
<p class="center tips " v-if="is_create">
Tips1: 主密码可以是中文怕忘了甚至可以是自己的名字别让别人知道就好
<br/>
<br/>
Tips2: 使用安卓客户端的同学不要长按输入框粘贴会闪退推荐使用chrome或者firefox添加到桌面使用
Tips2: 使用安卓客户端的同学不要长按输入框粘贴会闪退推荐使用chrome或者firefox添加到桌面使用
</p>
<p class="center tips tips-buttom">