2023-11-30-修改切换语言位置,
This commit is contained in:
1
dist/css/130.c21278fc.css
vendored
Normal file
1
dist/css/130.c21278fc.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/23.d0511c6e.css
vendored
Normal file
1
dist/css/23.d0511c6e.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/233.70e66cb6.css
vendored
1
dist/css/233.70e66cb6.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/422.ee8bb57b.css
vendored
1
dist/css/422.ee8bb57b.css
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
dist/css/826.d9d11b06.css
vendored
1
dist/css/826.d9d11b06.css
vendored
File diff suppressed because one or more lines are too long
1
dist/css/922.ca39e669.css
vendored
Normal file
1
dist/css/922.ca39e669.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/app.515c9595.css
vendored
Normal file
1
dist/css/app.515c9595.css
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/css/app.f735395d.css
vendored
1
dist/css/app.f735395d.css
vendored
File diff suppressed because one or more lines are too long
2
dist/index.html
vendored
2
dist/index.html
vendored
@@ -1 +1 @@
|
|||||||
<!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"><link rel="icon" href="/favicon.ico"><title>AiDA</title><link rel="stylesheet" href="./css/googleapis.css"><link rel="stylesheet" href="./css/roboto.css"><script defer="defer" src="/js/chunk-vendors.9c1ca004.js"></script><script defer="defer" src="/js/app.eb767341.js"></script><link href="/css/chunk-vendors.5e9dbdc9.css" rel="stylesheet"><link href="/css/app.f735395d.css" rel="stylesheet"></head><body><script src="./js/color-thief.js"></script><noscript><strong>We're sorry but aida doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
<!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"><link rel="icon" href="/favicon.ico"><title>AiDA</title><link rel="stylesheet" href="./css/googleapis.css"><link rel="stylesheet" href="./css/roboto.css"><script defer="defer" src="/js/chunk-vendors.9c1ca004.js"></script><script defer="defer" src="/js/app.6ee1fd8e.js"></script><link href="/css/chunk-vendors.5e9dbdc9.css" rel="stylesheet"><link href="/css/app.515c9595.css" rel="stylesheet"></head><body><script src="./js/color-thief.js"></script><noscript><strong>We're sorry but aida doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
|
||||||
1
dist/js/130.2ebaf08f.js
vendored
Normal file
1
dist/js/130.2ebaf08f.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
3
dist/js/233.eeaabd99.js
vendored
3
dist/js/233.eeaabd99.js
vendored
File diff suppressed because one or more lines are too long
1
dist/js/422.fa6b021a.js
vendored
1
dist/js/422.fa6b021a.js
vendored
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
3
dist/js/922.a4f64d9a.js
vendored
Normal file
3
dist/js/922.a4f64d9a.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/js/app.6ee1fd8e.js
vendored
Normal file
1
dist/js/app.6ee1fd8e.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
dist/js/app.eb767341.js
vendored
1
dist/js/app.eb767341.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,8 +1,6 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "iconfont"; /* Project id 4292253 */
|
font-family: "iconfont"; /* Project id */
|
||||||
src: url('iconfont.woff2?t=1700554220413') format('woff2'),
|
src: url('iconfont.ttf?t=1701308010197') format('truetype');
|
||||||
url('iconfont.woff?t=1700554220413') format('woff'),
|
|
||||||
url('iconfont.ttf?t=1700554220413') format('truetype');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.iconfont {
|
.iconfont {
|
||||||
@@ -13,20 +11,8 @@
|
|||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-bingji:before {
|
.icon-a-waitao_changkuanwaitao11x:before {
|
||||||
content: "\e620";
|
content: "\e66c";
|
||||||
}
|
|
||||||
|
|
||||||
.icon-bingji1:before {
|
|
||||||
content: "\e668";
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-biaoqian:before {
|
|
||||||
content: "\e603";
|
|
||||||
}
|
|
||||||
|
|
||||||
.icon-yuyan:before {
|
|
||||||
content: "\e85f";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-fanchehui:before {
|
.icon-fanchehui:before {
|
||||||
@@ -37,7 +23,23 @@
|
|||||||
content: "\e609";
|
content: "\e609";
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-a-waitao_changkuanwaitao11x:before {
|
.icon-yuyan:before {
|
||||||
content: "\e66c";
|
content: "\e85f";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-biaoqian:before {
|
||||||
|
content: "\e603";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-bingji:before {
|
||||||
|
content: "\e620";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-bingji1:before {
|
||||||
|
content: "\e668";
|
||||||
|
}
|
||||||
|
|
||||||
|
.icon-dianwei:before {
|
||||||
|
content: "\e685";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
65
src/assets/iconfont2/iconfont.json
Normal file
65
src/assets/iconfont2/iconfont.json
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
{
|
||||||
|
"id": "",
|
||||||
|
"name": "",
|
||||||
|
"font_family": "iconfont",
|
||||||
|
"css_prefix_text": "icon-",
|
||||||
|
"description": "",
|
||||||
|
"glyphs": [
|
||||||
|
{
|
||||||
|
"icon_id": "124968799",
|
||||||
|
"name": "外套_长款外套1@1x",
|
||||||
|
"font_class": "a-waitao_changkuanwaitao11x",
|
||||||
|
"unicode": "e66c",
|
||||||
|
"unicode_decimal": 58988
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "125198319",
|
||||||
|
"name": "撤销 返回 撤回 上一步",
|
||||||
|
"font_class": "fanchehui",
|
||||||
|
"unicode": "e626",
|
||||||
|
"unicode_decimal": 58918
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "125198320",
|
||||||
|
"name": "撤销 返回 撤回 上一步",
|
||||||
|
"font_class": "chehui",
|
||||||
|
"unicode": "e609",
|
||||||
|
"unicode_decimal": 58889
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "125524062",
|
||||||
|
"name": "语言",
|
||||||
|
"font_class": "yuyan",
|
||||||
|
"unicode": "e85f",
|
||||||
|
"unicode_decimal": 59487
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "126177191",
|
||||||
|
"name": "标签",
|
||||||
|
"font_class": "biaoqian",
|
||||||
|
"unicode": "e603",
|
||||||
|
"unicode_decimal": 58883
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "126459101",
|
||||||
|
"name": "并集",
|
||||||
|
"font_class": "bingji",
|
||||||
|
"unicode": "e620",
|
||||||
|
"unicode_decimal": 58912
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "126459102",
|
||||||
|
"name": "并集",
|
||||||
|
"font_class": "bingji1",
|
||||||
|
"unicode": "e668",
|
||||||
|
"unicode_decimal": 58984
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"icon_id": "126901286",
|
||||||
|
"name": "点位",
|
||||||
|
"font_class": "dianwei",
|
||||||
|
"unicode": "e685",
|
||||||
|
"unicode_decimal": 59013
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -316,6 +316,7 @@ export default defineComponent({
|
|||||||
this.isTest =JSON.parse(isTest)|| ''
|
this.isTest =JSON.parse(isTest)|| ''
|
||||||
this.uploadUrl = getUploadUrl();
|
this.uploadUrl = getUploadUrl();
|
||||||
this.workspace = this.store.state.Workspace.workspace
|
this.workspace = this.store.state.Workspace.workspace
|
||||||
|
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
getSketchLabel(value: any) {
|
getSketchLabel(value: any) {
|
||||||
|
|||||||
@@ -19,6 +19,19 @@
|
|||||||
></div>
|
></div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="header_user_content marLeft2">
|
||||||
|
<!-- <span class="icon iconfont icon-yuyan"></span> -->
|
||||||
|
<span class="username">{{$t('Header.language')}}</span>
|
||||||
|
<div
|
||||||
|
:class="[
|
||||||
|
'icon',
|
||||||
|
'iconfont',
|
||||||
|
'icon-xiala',
|
||||||
|
isLanguage ? 'icon_rotate' : '',
|
||||||
|
]"
|
||||||
|
@click.stop="changeLanguage()"
|
||||||
|
></div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<nav class="header_nav_content">
|
<nav class="header_nav_content">
|
||||||
<div
|
<div
|
||||||
@@ -65,17 +78,17 @@
|
|||||||
<!-- <div class="select_item" @click="showBindEmailModal()">
|
<!-- <div class="select_item" @click="showBindEmailModal()">
|
||||||
<span class="icon iconfont icon-youxiang"></span><span class="select_item_des">{{$t('Header.bindEmail')}}</span>
|
<span class="icon iconfont icon-youxiang"></span><span class="select_item_des">{{$t('Header.bindEmail')}}</span>
|
||||||
</div> -->
|
</div> -->
|
||||||
<div class="select_item" @click.stop="isLanguage = !isLanguage">
|
<!-- <div class="select_item" @click.stop="isLanguage = !isLanguage">
|
||||||
<span class="icon iconfont icon-yuyan"></span>
|
<span class="icon iconfont icon-yuyan"></span>
|
||||||
<span class="select_item_des">{{$t('Header.language')}}</span>
|
<span class="select_item_des">{{$t('Header.language')}}</span>
|
||||||
</div>
|
</div> -->
|
||||||
<div class="select_item" @click="logout()">
|
<div class="select_item" @click="logout()">
|
||||||
<span class="icon iconfont icon-tuichu"></span
|
<span class="icon iconfont icon-tuichu"></span
|
||||||
><span class="select_item_des">{{$t('Header.logOff')}}</span>
|
><span class="select_item_des">{{$t('Header.logOff')}}</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
<ul class="select_block select_list" v-show="isLanguage && isShowOperate">
|
<ul class="select_block select_list" v-show="isLanguage">
|
||||||
<li class="select_item" v-for="item in language" @click="setLocale(item.value)">
|
<li class="select_item" v-for="item in language" @click="setLocale(item.value)">
|
||||||
<span class="select_item_des">{{ item.name }}</span>
|
<span class="select_item_des">{{ item.name }}</span>
|
||||||
</li>
|
</li>
|
||||||
@@ -238,6 +251,14 @@ export default defineComponent({
|
|||||||
false
|
false
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
changeLanguage(){
|
||||||
|
this.isLanguage = !this.isLanguage;
|
||||||
|
document.addEventListener(
|
||||||
|
"click",
|
||||||
|
this.closeShowOperateContent,
|
||||||
|
false
|
||||||
|
);
|
||||||
|
},
|
||||||
|
|
||||||
//关闭下拉图标
|
//关闭下拉图标
|
||||||
closeShowOperateContent() {
|
closeShowOperateContent() {
|
||||||
@@ -307,7 +328,7 @@ export default defineComponent({
|
|||||||
userId: this.userInfo.userId,
|
userId: this.userInfo.userId,
|
||||||
};
|
};
|
||||||
let isTest = getCookie('isTest')
|
let isTest = getCookie('isTest')
|
||||||
console.log(getCookie("token"));
|
// console.log(getCookie("token"));
|
||||||
if(JSON.parse(isTest)){
|
if(JSON.parse(isTest)){
|
||||||
Https.axiosGet(Https.httpUrls.trialUserLogout,).then((rv) => {
|
Https.axiosGet(Https.httpUrls.trialUserLogout,).then((rv) => {
|
||||||
Https.axiosPost(Https.httpUrls.accountLogout, data).then((rv) => {
|
Https.axiosPost(Https.httpUrls.accountLogout, data).then((rv) => {
|
||||||
@@ -550,7 +571,9 @@ export default defineComponent({
|
|||||||
position: relative;
|
position: relative;
|
||||||
// top: 1.2rem;
|
// top: 1.2rem;
|
||||||
height: 3.7rem;
|
height: 3.7rem;
|
||||||
|
&.marLeft2{
|
||||||
|
margin-left: 2rem;
|
||||||
|
}
|
||||||
.username {
|
.username {
|
||||||
font-size: 1.8rem;
|
font-size: 1.8rem;
|
||||||
color: #1a1a1a;
|
color: #1a1a1a;
|
||||||
@@ -591,7 +614,7 @@ export default defineComponent({
|
|||||||
border: 1px solid #000000;
|
border: 1px solid #000000;
|
||||||
&.select_list{
|
&.select_list{
|
||||||
// display: none;
|
// display: none;
|
||||||
transform: translateX(105%);
|
transform: translateX(120%);
|
||||||
}
|
}
|
||||||
.select_item {
|
.select_item {
|
||||||
padding-left: 1.5rem;
|
padding-left: 1.5rem;
|
||||||
|
|||||||
@@ -310,8 +310,12 @@ export default defineComponent({
|
|||||||
if(this.driver__.driver){
|
if(this.driver__.driver){
|
||||||
driverObj__.moveNext()
|
driverObj__.moveNext()
|
||||||
}
|
}
|
||||||
// let Generate:any = this.$refs.Generate
|
let Generate:any = this.$refs.Generate
|
||||||
// Generate.init('generate')
|
if(this.driver__.driver){
|
||||||
|
Generate.searchPictureName = 'Purple'
|
||||||
|
}else{
|
||||||
|
Generate.searchPictureName = ''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fileUploadChange(data: any) {
|
fileUploadChange(data: any) {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export default {
|
|||||||
HISTORY:'历史',
|
HISTORY:'历史',
|
||||||
bindEmail:'绑定邮箱',
|
bindEmail:'绑定邮箱',
|
||||||
logOff:'退出登录',
|
logOff:'退出登录',
|
||||||
language:'语言',
|
language:'中文',
|
||||||
skip:'跳过',
|
skip:'跳过',
|
||||||
emailContent:'你绑定了的邮箱',
|
emailContent:'你绑定了的邮箱',
|
||||||
Email:'邮箱',
|
Email:'邮箱',
|
||||||
@@ -60,6 +60,7 @@ export default {
|
|||||||
Generate:'生成',
|
Generate:'生成',
|
||||||
Delete:'删除',
|
Delete:'删除',
|
||||||
Rename:'编辑',
|
Rename:'编辑',
|
||||||
|
Point:'点',
|
||||||
inputContent1:'输入名字进行搜索',
|
inputContent1:'输入名字进行搜索',
|
||||||
intersection:'交集',
|
intersection:'交集',
|
||||||
Select:'选择',
|
Select:'选择',
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export default {
|
|||||||
HISTORY:'HISTORY',
|
HISTORY:'HISTORY',
|
||||||
bindEmail:'bind email',
|
bindEmail:'bind email',
|
||||||
logOff:'log off',
|
logOff:'log off',
|
||||||
language:'language',
|
language:'English',
|
||||||
skip:'skip',
|
skip:'skip',
|
||||||
emailContent:'you have binded email',
|
emailContent:'you have binded email',
|
||||||
Email:'Email',
|
Email:'Email',
|
||||||
@@ -60,6 +60,7 @@ export default {
|
|||||||
Generate:'Generate',
|
Generate:'Generate',
|
||||||
Delete:'Delete',
|
Delete:'Delete',
|
||||||
Rename:'Edit',
|
Rename:'Edit',
|
||||||
|
Point:'Point',
|
||||||
inputContent1:'Search by your style code',
|
inputContent1:'Search by your style code',
|
||||||
intersection:'intersection',
|
intersection:'intersection',
|
||||||
Select:'Select',
|
Select:'Select',
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export default {
|
|||||||
HISTORY:'HISTOIRE',
|
HISTORY:'HISTOIRE',
|
||||||
bindEmail:'lier un e-mail',
|
bindEmail:'lier un e-mail',
|
||||||
logOff:'dérouler',
|
logOff:'dérouler',
|
||||||
language:'langue',
|
language:'Français',
|
||||||
skip:'sauter',
|
skip:'sauter',
|
||||||
emailContent:'vous avez un e-mail lié',
|
emailContent:'vous avez un e-mail lié',
|
||||||
Email:'E-mail',
|
Email:'E-mail',
|
||||||
@@ -61,6 +61,7 @@ export default {
|
|||||||
Generate:'Générer',
|
Generate:'Générer',
|
||||||
Delete:'Supprimer',
|
Delete:'Supprimer',
|
||||||
Rename:'Modifier',
|
Rename:'Modifier',
|
||||||
|
Point:'point',
|
||||||
inputContent1:'Recherchez par votre code de style',
|
inputContent1:'Recherchez par votre code de style',
|
||||||
intersection:'intersection',
|
intersection:'intersection',
|
||||||
Select:'Sélectionner',
|
Select:'Sélectionner',
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export default {
|
|||||||
HISTORY:'STORIA',
|
HISTORY:'STORIA',
|
||||||
bindEmail:"associare l'e-mail",
|
bindEmail:"associare l'e-mail",
|
||||||
logOff:'disconnettersi',
|
logOff:'disconnettersi',
|
||||||
language:'lingua',
|
language:'italiano',
|
||||||
skip:'saltare',
|
skip:'saltare',
|
||||||
emailContent:'hai legato la posta elettronica',
|
emailContent:'hai legato la posta elettronica',
|
||||||
Email:'E-mail',
|
Email:'E-mail',
|
||||||
@@ -60,6 +60,7 @@ export default {
|
|||||||
Generate:'creare',
|
Generate:'creare',
|
||||||
Delete:'Eliminare',
|
Delete:'Eliminare',
|
||||||
Rename:'Modificare',
|
Rename:'Modificare',
|
||||||
|
Point:'Punto',
|
||||||
inputContent1:'Search by your style code',
|
inputContent1:'Search by your style code',
|
||||||
intersection:'intersezione',
|
intersection:'intersezione',
|
||||||
Select:'Seleziona',
|
Select:'Seleziona',
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export default {
|
|||||||
HISTORY:'歴史',
|
HISTORY:'歴史',
|
||||||
bindEmail:'電子メールをバインドする',
|
bindEmail:'電子メールをバインドする',
|
||||||
logOff:'ログオフ',
|
logOff:'ログオフ',
|
||||||
language:'言語',
|
language:'日本語',
|
||||||
skip:'スキップ',
|
skip:'スキップ',
|
||||||
emailContent:'電子メールをバインドしました',
|
emailContent:'電子メールをバインドしました',
|
||||||
Email:'Eメール',
|
Email:'Eメール',
|
||||||
@@ -60,6 +60,7 @@ export default {
|
|||||||
Generate:'生成する',
|
Generate:'生成する',
|
||||||
Delete:'消去',
|
Delete:'消去',
|
||||||
Rename:'編集',
|
Rename:'編集',
|
||||||
|
Point:'ポイント',
|
||||||
inputContent1:'スタイルコードで検索',
|
inputContent1:'スタイルコードで検索',
|
||||||
intersection:'交差点',
|
intersection:'交差点',
|
||||||
Select:'選択',
|
Select:'選択',
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
export default {
|
export default {
|
||||||
Header:{
|
Header:{
|
||||||
hello:'안녕하세요',
|
hello:'안녕하세요',
|
||||||
HOME:'집',
|
HOME:'첫 장',
|
||||||
LIBRARY:'도서관',
|
LIBRARY:'도서관',
|
||||||
HISTORY:'역사',
|
HISTORY:'역사',
|
||||||
bindEmail:'이메일 바인딩',
|
bindEmail:'이메일 바인딩',
|
||||||
logOff:'로그 오프',
|
logOff:'로그 오프',
|
||||||
language:'언어',
|
language:'한국어',
|
||||||
skip:'건너뛰다',
|
skip:'건너뛰다',
|
||||||
emailContent:'당신은 이메일을 바인딩했습니다',
|
emailContent:'당신은 이메일을 바인딩했습니다',
|
||||||
Email:'이메일',
|
Email:'이메일',
|
||||||
@@ -60,6 +60,7 @@ export default {
|
|||||||
Generate:'생성하다',
|
Generate:'생성하다',
|
||||||
Delete:'삭제',
|
Delete:'삭제',
|
||||||
Rename:'편집하다',
|
Rename:'편집하다',
|
||||||
|
Point:'점',
|
||||||
inputContent1:'스타일 코드로 검색',
|
inputContent1:'스타일 코드로 검색',
|
||||||
intersection:'교차로',
|
intersection:'교차로',
|
||||||
Select:'선택',
|
Select:'선택',
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export default {
|
|||||||
HISTORY:'ИСТОРИЯ',
|
HISTORY:'ИСТОРИЯ',
|
||||||
bindEmail:'привязать электронную почту',
|
bindEmail:'привязать электронную почту',
|
||||||
logOff:'выйти',
|
logOff:'выйти',
|
||||||
language:'язык',
|
language:'русский',
|
||||||
skip:'пропускать',
|
skip:'пропускать',
|
||||||
emailContent:'у вас привязана электронная почта',
|
emailContent:'у вас привязана электронная почта',
|
||||||
Email:'Электронная почта',
|
Email:'Электронная почта',
|
||||||
@@ -60,7 +60,8 @@ export default {
|
|||||||
Generate:'Генерировать',
|
Generate:'Генерировать',
|
||||||
Delete:'Удалить',
|
Delete:'Удалить',
|
||||||
Rename:'Редактировать',
|
Rename:'Редактировать',
|
||||||
inputContent1:'Поиск по коду вашего стиля',
|
Point:'точка',
|
||||||
|
inputContent1:'Поиск по коду вашего стиля',
|
||||||
intersection:'пересечение',
|
intersection:'пересечение',
|
||||||
Select:'Выбрать',
|
Select:'Выбрать',
|
||||||
NoLabel:'Нет метки',
|
NoLabel:'Нет метки',
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export default {
|
|||||||
HISTORY:'ประวัติความเป็นมา',
|
HISTORY:'ประวัติความเป็นมา',
|
||||||
bindEmail:'ผูกอีเมล',
|
bindEmail:'ผูกอีเมล',
|
||||||
logOff:'ออกจากระบบ',
|
logOff:'ออกจากระบบ',
|
||||||
language:'เปลี่ยนภาษา',
|
language:'ไทย',
|
||||||
skip:'ข้าม',
|
skip:'ข้าม',
|
||||||
emailContent:'ที่อยู่อีเมลที่ถูกผูกไว้ของคุณ',
|
emailContent:'ที่อยู่อีเมลที่ถูกผูกไว้ของคุณ',
|
||||||
Email:'อีเมล',
|
Email:'อีเมล',
|
||||||
@@ -60,6 +60,7 @@ export default {
|
|||||||
Generate:'กำเนิด',
|
Generate:'กำเนิด',
|
||||||
Delete:'ลบ',
|
Delete:'ลบ',
|
||||||
Rename:'แก้ไข',
|
Rename:'แก้ไข',
|
||||||
|
Point:'จุด',
|
||||||
inputContent1:'ค้นหาตามรหัสสไตล์ของคุณ',
|
inputContent1:'ค้นหาตามรหัสสไตล์ของคุณ',
|
||||||
intersection:'แยก',
|
intersection:'แยก',
|
||||||
Select:'เลือก',
|
Select:'เลือก',
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ export default {
|
|||||||
HISTORY:'LỊCH SỬ',
|
HISTORY:'LỊCH SỬ',
|
||||||
bindEmail:'liên kết email',
|
bindEmail:'liên kết email',
|
||||||
logOff:'đăng xuất',
|
logOff:'đăng xuất',
|
||||||
language:'ngữ',
|
language:'Tiếng Việt',
|
||||||
skip:'nhảy',
|
skip:'nhảy',
|
||||||
emailContent:'bạn có email bị ràng buộc',
|
emailContent:'bạn có email bị ràng buộc',
|
||||||
Email:'E-mail',
|
Email:'E-mail',
|
||||||
@@ -60,6 +60,7 @@ export default {
|
|||||||
Generate:'Phát ra',
|
Generate:'Phát ra',
|
||||||
Delete:'Xóa bỏ',
|
Delete:'Xóa bỏ',
|
||||||
Rename:'Biên tập',
|
Rename:'Biên tập',
|
||||||
|
Point:'điểm',
|
||||||
inputContent1:'Tìm kiếm theo mã kiểu của bạn',
|
inputContent1:'Tìm kiếm theo mã kiểu của bạn',
|
||||||
intersection:'ngã tư',
|
intersection:'ngã tư',
|
||||||
Select:'Chọn',
|
Select:'Chọn',
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import { driver } from "driver.js";
|
import { driver } from "driver.js";
|
||||||
|
import { setCookie, getCookie, WriteCookie } from "@/tool/cookie";
|
||||||
import "driver.js/dist/driver.css";
|
import "driver.js/dist/driver.css";
|
||||||
import { useStore } from "vuex";
|
import { useStore } from "vuex";
|
||||||
//版本一
|
//版本一
|
||||||
@@ -15,38 +16,38 @@ const driverObj__ = driver({
|
|||||||
// { element: '.Guide_1_2', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_2', popover: { title: 'Title', description: 'Description' } },
|
||||||
// { element: '.Guide_1_2', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_2', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_4', popover: { title: 'Title', description: 'Description' } },
|
{ element: '.Guide_1_4', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_5', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_5', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_6', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_6', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_7', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_7', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_8', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_8', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_2', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_2', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_8', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_8', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_10', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_10', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_11', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_11', popover: { title: 'Title', description: 'Description' } },
|
||||||
|
|
||||||
{ element: '.Guide_1_11_1', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_11_1', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_11', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_11', popover: { title: 'Title', description: 'Description' } },
|
||||||
|
|
||||||
{ element: '.Guide_1_8', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_8', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_2', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_2', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_14', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_14', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_15', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_15', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_16', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_16', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_17', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_17', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_18', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_18', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_19', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_19', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_20', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_20', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_21', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_21', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_22', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_22', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_23', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_23', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_24', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_24', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_25', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_25', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_26', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_26', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_27', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_27', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_28', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_28', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_29', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_29', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_30', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_30', popover: { title: 'Title', description: 'Description' } },
|
||||||
{ element: '.Guide_1_16', popover: { title: 'Title', description: 'Description' } },
|
// { element: '.Guide_1_16', popover: { title: 'Title', description: 'Description' } },
|
||||||
],
|
],
|
||||||
// showProgress: true,//控制总页数和当前页数是否显示
|
// showProgress: true,//控制总页数和当前页数是否显示
|
||||||
allowClose:false,
|
allowClose:false,
|
||||||
@@ -72,7 +73,8 @@ const driverObj__ = driver({
|
|||||||
if(
|
if(
|
||||||
// options.state.activeIndex >= 1 && options.state.activeIndex <= 2 ||
|
// options.state.activeIndex >= 1 && options.state.activeIndex <= 2 ||
|
||||||
options.state.activeIndex >= 18 && options.state.activeIndex < 19 ||
|
options.state.activeIndex >= 18 && options.state.activeIndex < 19 ||
|
||||||
options.state.activeIndex >= 24 && options.state.activeIndex < 25
|
options.state.activeIndex >= 24 && options.state.activeIndex < 25 ||
|
||||||
|
driverObj__.isLastStep()
|
||||||
){
|
){
|
||||||
popover.footer.style.display = 'block'
|
popover.footer.style.display = 'block'
|
||||||
driver.classList.add('showEvents')
|
driver.classList.add('showEvents')
|
||||||
@@ -100,6 +102,7 @@ const driverObj__ = driver({
|
|||||||
driver : false,
|
driver : false,
|
||||||
}
|
}
|
||||||
store?.commit("setGuide", data);
|
store?.commit("setGuide", data);
|
||||||
|
setCookie("isBeginner", false);
|
||||||
driverObj__.destroy();//销毁方法
|
driverObj__.destroy();//销毁方法
|
||||||
},
|
},
|
||||||
//销毁前
|
//销毁前
|
||||||
@@ -147,14 +150,26 @@ function removeDiv(element){
|
|||||||
mask.remove()
|
mask.remove()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const openGuide = () =>{
|
const openGuide = () =>{
|
||||||
driverObj__.drive();
|
let isBeginner = JSON.parse(getCookie('isBeginner'))
|
||||||
|
let data
|
||||||
|
// console.log(isBeginner);
|
||||||
|
if(!isBeginner){
|
||||||
|
driverObj__.drive();
|
||||||
|
data = {
|
||||||
|
index:driverIndex__,
|
||||||
|
driver:true,
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
driverObj__.destroy();
|
||||||
|
data = {
|
||||||
|
index:driverIndex__,
|
||||||
|
driver:false,
|
||||||
|
}
|
||||||
|
}
|
||||||
store = useStore()
|
store = useStore()
|
||||||
// driverObj__.moveTo(18);
|
// driverObj__.moveTo(18);
|
||||||
let data = {
|
|
||||||
index:driverIndex__,
|
|
||||||
driver:true,
|
|
||||||
}
|
|
||||||
store?.commit("setGuide", data);
|
store?.commit("setGuide", data);
|
||||||
// driverObj__.moveNext();
|
// driverObj__.moveNext();
|
||||||
// driverObj__.movePrevious();
|
// driverObj__.movePrevious();
|
||||||
|
|||||||
@@ -151,13 +151,13 @@
|
|||||||
<img v-lazy="img.url" :key="img.url" :class="['content_img', ['Moodboard','Printboard'].indexOf(selectCode) > -1 ? 'board_content_img' :'']"/>
|
<img v-lazy="img.url" :key="img.url" :class="['content_img', ['Moodboard','Printboard'].indexOf(selectCode) > -1 ? 'board_content_img' :'']"/>
|
||||||
<div class="img_item_hover">
|
<div class="img_item_hover">
|
||||||
<div class="img_operate_content">
|
<div class="img_operate_content">
|
||||||
<div class="img_operate_block" @click.stop="editPlacementClick(img)" v-show="selectCode === 'Models'">
|
<div class="img_operate_block" :title="t('LibraryPage.Point')" @click.stop="editPlacementClick(img)" v-show="selectCode === 'Models'">
|
||||||
|
<span class="icon iconfont icon-dianwei operate_icon"></span>
|
||||||
|
</div>
|
||||||
|
<div class="img_operate_block" :title="t('LibraryPage.Rename')" @click.stop="showRenameModal(img,'single')">
|
||||||
<span class="icon iconfont icon-tianxie operate_icon"></span>
|
<span class="icon iconfont icon-tianxie operate_icon"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="img_operate_block" @click.stop="showRenameModal(img,'single')">
|
<div class="img_operate_block" :title="t('LibraryPage.Delete')" @click.stop="deleteSinglePic(img,index)">
|
||||||
<span class="icon iconfont icon-biaoqian operate_icon"></span>
|
|
||||||
</div>
|
|
||||||
<div class="img_operate_block" @click.stop="deleteSinglePic(img,index)">
|
|
||||||
<span class="icon iconfont icon-shanchu operate_icon"></span>
|
<span class="icon iconfont icon-shanchu operate_icon"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -1184,7 +1184,7 @@ export default defineComponent({
|
|||||||
let element:any = this.$refs.cascader1
|
let element:any = this.$refs.cascader1
|
||||||
let el = element.contentRef?.getElementsByClassName('el-cascader-menu__empty-text')?.[0]
|
let el = element.contentRef?.getElementsByClassName('el-cascader-menu__empty-text')?.[0]
|
||||||
if(el){
|
if(el){
|
||||||
el.innerHTML = 'No Label'
|
el.innerHTML = this.t('LibraryPage.NoLabel')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
dropdownVisibleChange(){
|
dropdownVisibleChange(){
|
||||||
@@ -1216,7 +1216,7 @@ export default defineComponent({
|
|||||||
})
|
})
|
||||||
let el = element.contentRef?.getElementsByClassName('el-cascader-menu__empty-text')?.[0]
|
let el = element.contentRef?.getElementsByClassName('el-cascader-menu__empty-text')?.[0]
|
||||||
if(el){
|
if(el){
|
||||||
el.innerHTML = 'No Label'
|
el.innerHTML = this.t('LibraryPage.NoLabel')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// cascaderClick(e:Event){
|
// cascaderClick(e:Event){
|
||||||
|
|||||||
@@ -449,15 +449,12 @@ export default defineComponent({
|
|||||||
(rv: any) => {
|
(rv: any) => {
|
||||||
if (rv) {
|
if (rv) {
|
||||||
this.createTimer();
|
this.createTimer();
|
||||||
let isTest
|
let isTest = rv.isTrial == 1?true:false
|
||||||
if(rv.isTrial == 1){
|
let isBeginner = rv.isBeginner == 1?true:false
|
||||||
isTest = true
|
|
||||||
}else{
|
|
||||||
isTest = false
|
|
||||||
}
|
|
||||||
let token = rv.token;
|
let token = rv.token;
|
||||||
setCookie("token", token);
|
setCookie("token", token);
|
||||||
setCookie("isTest", isTest);
|
setCookie("isTest", isTest);
|
||||||
|
setCookie("isBeginner", isBeginner);
|
||||||
setCookie("userInfo", JSON.stringify(rv));
|
setCookie("userInfo", JSON.stringify(rv));
|
||||||
this.turnToHomePage();
|
this.turnToHomePage();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user