update tips

This commit is contained in:
RainSun 2020-09-03 00:03:31 +08:00
parent dd31401231
commit fb15d46d41
5 changed files with 18 additions and 7 deletions

View File

@ -59,7 +59,7 @@ export function lang() {
failed: '抱歉,导出失败。夸克等浏览器导出成功也会报错,请试着粘贴看看' failed: '抱歉,导出失败。夸克等浏览器导出成功也会报错,请试着粘贴看看'
}, },
import_dialog: { import_dialog: {
title: '输入导入内容', title: '输入从其他密码本导出的内容,不要长按粘贴会闪退,可从输入法粘贴',
placeholder: '不要乱输入东西不然会坏掉', placeholder: '不要乱输入东西不然会坏掉',
confirm: '导入', confirm: '导入',
cancel: '取消' cancel: '取消'

View File

@ -154,7 +154,7 @@ export default {
}; };
}, },
computed: { computed: {
...mapState(["row_data", "row_pwd", "settings"]), ...mapState(["row_data", "row_pwd", "settings", "user_infos"]),
}, },
methods: { methods: {
...mapActions(["setRowData", "setRowPwd", "setSettings", "setUserInfo"]), ...mapActions(["setRowData", "setRowPwd", "setSettings", "setUserInfo"]),

View File

@ -122,7 +122,7 @@ export default {
}; };
}, },
computed: { computed: {
...mapState(["row_data", "row_pwd", "settings"]), ...mapState(["row_data", "row_pwd", "settings", "user_infos"]),
doitPassword() { doitPassword() {
if (this.content.password) { if (this.content.password) {
let doit = ""; let doit = "";
@ -151,6 +151,7 @@ export default {
// //
init() { init() {
// vuex // vuex
console.log(1)
replaceState.call(this); replaceState.call(this);
// //
if (this.$route.params.code_content) { if (this.$route.params.code_content) {

View File

@ -28,7 +28,14 @@
<md-button class="md-raised md-primary center" @click="judgePwd()">{{ lang.enter }}</md-button> <md-button class="md-raised md-primary center" @click="judgePwd()">{{ lang.enter }}</md-button>
<p class="center tips"> <p class="center tips ">
Tips1: 主密码可以是中文怕忘了甚至可以是自己的名字别让别人知道就好
<br/>
<br/>
Tips2: 使用安卓客户端的同学不要长按输入框粘贴会闪退推荐使用chrome或者firefox添加到桌面使用
</p>
<p class="center tips tips-buttom">
此密码本为长理专版未开启同步密码将加密后存放本地开启同步密码将加密后存放在您的长理网盘中请放心使用 此密码本为长理专版未开启同步密码将加密后存放本地开启同步密码将加密后存放在您的长理网盘中请放心使用
<span <span
class="qq-link" class="qq-link"
@ -256,9 +263,12 @@ export default {
.tips { .tips {
font-size: 0.3rem; font-size: 0.3rem;
max-width: 70%; max-width: 70%;
padding: 1rem 0; padding: 1rem 0 0 0;
color: #989898; color: #989898;
} }
.tips-buttom {
padding-bottom: 1rem;
}
.qq-link { .qq-link {
color: #448aff; color: #448aff;
} }

View File

@ -32,7 +32,7 @@
<script> <script>
// @ is an alias to /src // @ is an alias to /src
import { mapState } from "vuex"; import { mapState, mapActions } from "vuex";
import { lang } from "@/utils/language.js"; import { lang } from "@/utils/language.js";
import { setHtmlFontSize } from "@/utils/px2rem.js"; import { setHtmlFontSize } from "@/utils/px2rem.js";
import { replaceState } from "@/utils/getStore.js"; import { replaceState } from "@/utils/getStore.js";
@ -48,7 +48,7 @@ export default {
}; };
}, },
computed: { computed: {
...mapState(["row_pwd", "settings"]), ...mapState(["row_pwd", "settings", "user_infos"]),
}, },
methods: { methods: {
...mapActions(["setSettings", "setUserInfo"]), ...mapActions(["setSettings", "setUserInfo"]),