2023-11-30-修改切换语言位置,
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
@font-face {
|
||||
font-family: "iconfont"; /* Project id 4292253 */
|
||||
src: url('iconfont.woff2?t=1700554220413') format('woff2'),
|
||||
url('iconfont.woff?t=1700554220413') format('woff'),
|
||||
url('iconfont.ttf?t=1700554220413') format('truetype');
|
||||
font-family: "iconfont"; /* Project id */
|
||||
src: url('iconfont.ttf?t=1701308010197') format('truetype');
|
||||
}
|
||||
|
||||
.iconfont {
|
||||
@@ -13,20 +11,8 @@
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.icon-bingji:before {
|
||||
content: "\e620";
|
||||
}
|
||||
|
||||
.icon-bingji1:before {
|
||||
content: "\e668";
|
||||
}
|
||||
|
||||
.icon-biaoqian:before {
|
||||
content: "\e603";
|
||||
}
|
||||
|
||||
.icon-yuyan:before {
|
||||
content: "\e85f";
|
||||
.icon-a-waitao_changkuanwaitao11x:before {
|
||||
content: "\e66c";
|
||||
}
|
||||
|
||||
.icon-fanchehui:before {
|
||||
@@ -37,7 +23,23 @@
|
||||
content: "\e609";
|
||||
}
|
||||
|
||||
.icon-a-waitao_changkuanwaitao11x:before {
|
||||
content: "\e66c";
|
||||
.icon-yuyan:before {
|
||||
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.uploadUrl = getUploadUrl();
|
||||
this.workspace = this.store.state.Workspace.workspace
|
||||
|
||||
},
|
||||
computed: {
|
||||
getSketchLabel(value: any) {
|
||||
|
||||
@@ -19,6 +19,19 @@
|
||||
></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>
|
||||
<nav class="header_nav_content">
|
||||
<div
|
||||
@@ -65,17 +78,17 @@
|
||||
<!-- <div class="select_item" @click="showBindEmailModal()">
|
||||
<span class="icon iconfont icon-youxiang"></span><span class="select_item_des">{{$t('Header.bindEmail')}}</span>
|
||||
</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="select_item_des">{{$t('Header.language')}}</span>
|
||||
</div>
|
||||
</div> -->
|
||||
<div class="select_item" @click="logout()">
|
||||
<span class="icon iconfont icon-tuichu"></span
|
||||
><span class="select_item_des">{{$t('Header.logOff')}}</span>
|
||||
</div>
|
||||
|
||||
</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)">
|
||||
<span class="select_item_des">{{ item.name }}</span>
|
||||
</li>
|
||||
@@ -238,6 +251,14 @@ export default defineComponent({
|
||||
false
|
||||
);
|
||||
},
|
||||
changeLanguage(){
|
||||
this.isLanguage = !this.isLanguage;
|
||||
document.addEventListener(
|
||||
"click",
|
||||
this.closeShowOperateContent,
|
||||
false
|
||||
);
|
||||
},
|
||||
|
||||
//关闭下拉图标
|
||||
closeShowOperateContent() {
|
||||
@@ -307,7 +328,7 @@ export default defineComponent({
|
||||
userId: this.userInfo.userId,
|
||||
};
|
||||
let isTest = getCookie('isTest')
|
||||
console.log(getCookie("token"));
|
||||
// console.log(getCookie("token"));
|
||||
if(JSON.parse(isTest)){
|
||||
Https.axiosGet(Https.httpUrls.trialUserLogout,).then((rv) => {
|
||||
Https.axiosPost(Https.httpUrls.accountLogout, data).then((rv) => {
|
||||
@@ -550,7 +571,9 @@ export default defineComponent({
|
||||
position: relative;
|
||||
// top: 1.2rem;
|
||||
height: 3.7rem;
|
||||
|
||||
&.marLeft2{
|
||||
margin-left: 2rem;
|
||||
}
|
||||
.username {
|
||||
font-size: 1.8rem;
|
||||
color: #1a1a1a;
|
||||
@@ -591,7 +614,7 @@ export default defineComponent({
|
||||
border: 1px solid #000000;
|
||||
&.select_list{
|
||||
// display: none;
|
||||
transform: translateX(105%);
|
||||
transform: translateX(120%);
|
||||
}
|
||||
.select_item {
|
||||
padding-left: 1.5rem;
|
||||
|
||||
@@ -310,8 +310,12 @@ export default defineComponent({
|
||||
if(this.driver__.driver){
|
||||
driverObj__.moveNext()
|
||||
}
|
||||
// let Generate:any = this.$refs.Generate
|
||||
// Generate.init('generate')
|
||||
let Generate:any = this.$refs.Generate
|
||||
if(this.driver__.driver){
|
||||
Generate.searchPictureName = 'Purple'
|
||||
}else{
|
||||
Generate.searchPictureName = ''
|
||||
}
|
||||
}
|
||||
},
|
||||
fileUploadChange(data: any) {
|
||||
|
||||
@@ -6,7 +6,7 @@ export default {
|
||||
HISTORY:'历史',
|
||||
bindEmail:'绑定邮箱',
|
||||
logOff:'退出登录',
|
||||
language:'语言',
|
||||
language:'中文',
|
||||
skip:'跳过',
|
||||
emailContent:'你绑定了的邮箱',
|
||||
Email:'邮箱',
|
||||
@@ -60,6 +60,7 @@ export default {
|
||||
Generate:'生成',
|
||||
Delete:'删除',
|
||||
Rename:'编辑',
|
||||
Point:'点',
|
||||
inputContent1:'输入名字进行搜索',
|
||||
intersection:'交集',
|
||||
Select:'选择',
|
||||
|
||||
@@ -6,7 +6,7 @@ export default {
|
||||
HISTORY:'HISTORY',
|
||||
bindEmail:'bind email',
|
||||
logOff:'log off',
|
||||
language:'language',
|
||||
language:'English',
|
||||
skip:'skip',
|
||||
emailContent:'you have binded email',
|
||||
Email:'Email',
|
||||
@@ -60,6 +60,7 @@ export default {
|
||||
Generate:'Generate',
|
||||
Delete:'Delete',
|
||||
Rename:'Edit',
|
||||
Point:'Point',
|
||||
inputContent1:'Search by your style code',
|
||||
intersection:'intersection',
|
||||
Select:'Select',
|
||||
|
||||
@@ -6,7 +6,7 @@ export default {
|
||||
HISTORY:'HISTOIRE',
|
||||
bindEmail:'lier un e-mail',
|
||||
logOff:'dérouler',
|
||||
language:'langue',
|
||||
language:'Français',
|
||||
skip:'sauter',
|
||||
emailContent:'vous avez un e-mail lié',
|
||||
Email:'E-mail',
|
||||
@@ -61,6 +61,7 @@ export default {
|
||||
Generate:'Générer',
|
||||
Delete:'Supprimer',
|
||||
Rename:'Modifier',
|
||||
Point:'point',
|
||||
inputContent1:'Recherchez par votre code de style',
|
||||
intersection:'intersection',
|
||||
Select:'Sélectionner',
|
||||
|
||||
@@ -6,7 +6,7 @@ export default {
|
||||
HISTORY:'STORIA',
|
||||
bindEmail:"associare l'e-mail",
|
||||
logOff:'disconnettersi',
|
||||
language:'lingua',
|
||||
language:'italiano',
|
||||
skip:'saltare',
|
||||
emailContent:'hai legato la posta elettronica',
|
||||
Email:'E-mail',
|
||||
@@ -60,6 +60,7 @@ export default {
|
||||
Generate:'creare',
|
||||
Delete:'Eliminare',
|
||||
Rename:'Modificare',
|
||||
Point:'Punto',
|
||||
inputContent1:'Search by your style code',
|
||||
intersection:'intersezione',
|
||||
Select:'Seleziona',
|
||||
|
||||
@@ -6,7 +6,7 @@ export default {
|
||||
HISTORY:'歴史',
|
||||
bindEmail:'電子メールをバインドする',
|
||||
logOff:'ログオフ',
|
||||
language:'言語',
|
||||
language:'日本語',
|
||||
skip:'スキップ',
|
||||
emailContent:'電子メールをバインドしました',
|
||||
Email:'Eメール',
|
||||
@@ -60,6 +60,7 @@ export default {
|
||||
Generate:'生成する',
|
||||
Delete:'消去',
|
||||
Rename:'編集',
|
||||
Point:'ポイント',
|
||||
inputContent1:'スタイルコードで検索',
|
||||
intersection:'交差点',
|
||||
Select:'選択',
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
export default {
|
||||
Header:{
|
||||
hello:'안녕하세요',
|
||||
HOME:'집',
|
||||
HOME:'첫 장',
|
||||
LIBRARY:'도서관',
|
||||
HISTORY:'역사',
|
||||
bindEmail:'이메일 바인딩',
|
||||
logOff:'로그 오프',
|
||||
language:'언어',
|
||||
language:'한국어',
|
||||
skip:'건너뛰다',
|
||||
emailContent:'당신은 이메일을 바인딩했습니다',
|
||||
Email:'이메일',
|
||||
@@ -60,6 +60,7 @@ export default {
|
||||
Generate:'생성하다',
|
||||
Delete:'삭제',
|
||||
Rename:'편집하다',
|
||||
Point:'점',
|
||||
inputContent1:'스타일 코드로 검색',
|
||||
intersection:'교차로',
|
||||
Select:'선택',
|
||||
|
||||
@@ -6,7 +6,7 @@ export default {
|
||||
HISTORY:'ИСТОРИЯ',
|
||||
bindEmail:'привязать электронную почту',
|
||||
logOff:'выйти',
|
||||
language:'язык',
|
||||
language:'русский',
|
||||
skip:'пропускать',
|
||||
emailContent:'у вас привязана электронная почта',
|
||||
Email:'Электронная почта',
|
||||
@@ -60,7 +60,8 @@ export default {
|
||||
Generate:'Генерировать',
|
||||
Delete:'Удалить',
|
||||
Rename:'Редактировать',
|
||||
inputContent1:'Поиск по коду вашего стиля',
|
||||
Point:'точка',
|
||||
inputContent1:'Поиск по коду вашего стиля',
|
||||
intersection:'пересечение',
|
||||
Select:'Выбрать',
|
||||
NoLabel:'Нет метки',
|
||||
|
||||
@@ -6,7 +6,7 @@ export default {
|
||||
HISTORY:'ประวัติความเป็นมา',
|
||||
bindEmail:'ผูกอีเมล',
|
||||
logOff:'ออกจากระบบ',
|
||||
language:'เปลี่ยนภาษา',
|
||||
language:'ไทย',
|
||||
skip:'ข้าม',
|
||||
emailContent:'ที่อยู่อีเมลที่ถูกผูกไว้ของคุณ',
|
||||
Email:'อีเมล',
|
||||
@@ -60,6 +60,7 @@ export default {
|
||||
Generate:'กำเนิด',
|
||||
Delete:'ลบ',
|
||||
Rename:'แก้ไข',
|
||||
Point:'จุด',
|
||||
inputContent1:'ค้นหาตามรหัสสไตล์ของคุณ',
|
||||
intersection:'แยก',
|
||||
Select:'เลือก',
|
||||
|
||||
@@ -6,7 +6,7 @@ export default {
|
||||
HISTORY:'LỊCH SỬ',
|
||||
bindEmail:'liên kết email',
|
||||
logOff:'đăng xuất',
|
||||
language:'ngữ',
|
||||
language:'Tiếng Việt',
|
||||
skip:'nhảy',
|
||||
emailContent:'bạn có email bị ràng buộc',
|
||||
Email:'E-mail',
|
||||
@@ -60,6 +60,7 @@ export default {
|
||||
Generate:'Phát ra',
|
||||
Delete:'Xóa bỏ',
|
||||
Rename:'Biên tập',
|
||||
Point:'điểm',
|
||||
inputContent1:'Tìm kiếm theo mã kiểu của bạn',
|
||||
intersection:'ngã tư',
|
||||
Select:'Chọn',
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { driver } from "driver.js";
|
||||
import { setCookie, getCookie, WriteCookie } from "@/tool/cookie";
|
||||
import "driver.js/dist/driver.css";
|
||||
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_4', 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_7', 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_8', 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_5', 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_8', 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_10', 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', 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_8', 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_15', 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_18', 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_21', 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_24', 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_27', 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_30', popover: { title: 'Title', description: 'Description' } },
|
||||
{ element: '.Guide_1_16', 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_14', 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_17', 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_20', 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_23', 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_26', 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_29', popover: { title: 'Title', description: 'Description' } },
|
||||
// { element: '.Guide_1_30', popover: { title: 'Title', description: 'Description' } },
|
||||
// { element: '.Guide_1_16', popover: { title: 'Title', description: 'Description' } },
|
||||
],
|
||||
// showProgress: true,//控制总页数和当前页数是否显示
|
||||
allowClose:false,
|
||||
@@ -72,7 +73,8 @@ const driverObj__ = driver({
|
||||
if(
|
||||
// options.state.activeIndex >= 1 && options.state.activeIndex <= 2 ||
|
||||
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'
|
||||
driver.classList.add('showEvents')
|
||||
@@ -100,6 +102,7 @@ const driverObj__ = driver({
|
||||
driver : false,
|
||||
}
|
||||
store?.commit("setGuide", data);
|
||||
setCookie("isBeginner", false);
|
||||
driverObj__.destroy();//销毁方法
|
||||
},
|
||||
//销毁前
|
||||
@@ -147,14 +150,26 @@ function removeDiv(element){
|
||||
mask.remove()
|
||||
}
|
||||
}
|
||||
|
||||
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()
|
||||
// driverObj__.moveTo(18);
|
||||
let data = {
|
||||
index:driverIndex__,
|
||||
driver:true,
|
||||
}
|
||||
store?.commit("setGuide", data);
|
||||
// driverObj__.moveNext();
|
||||
// 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' :'']"/>
|
||||
<div class="img_item_hover">
|
||||
<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>
|
||||
</div>
|
||||
<div class="img_operate_block" @click.stop="showRenameModal(img,'single')">
|
||||
<span class="icon iconfont icon-biaoqian operate_icon"></span>
|
||||
</div>
|
||||
<div class="img_operate_block" @click.stop="deleteSinglePic(img,index)">
|
||||
<div class="img_operate_block" :title="t('LibraryPage.Delete')" @click.stop="deleteSinglePic(img,index)">
|
||||
<span class="icon iconfont icon-shanchu operate_icon"></span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1184,7 +1184,7 @@ export default defineComponent({
|
||||
let element:any = this.$refs.cascader1
|
||||
let el = element.contentRef?.getElementsByClassName('el-cascader-menu__empty-text')?.[0]
|
||||
if(el){
|
||||
el.innerHTML = 'No Label'
|
||||
el.innerHTML = this.t('LibraryPage.NoLabel')
|
||||
}
|
||||
},
|
||||
dropdownVisibleChange(){
|
||||
@@ -1216,7 +1216,7 @@ export default defineComponent({
|
||||
})
|
||||
let el = element.contentRef?.getElementsByClassName('el-cascader-menu__empty-text')?.[0]
|
||||
if(el){
|
||||
el.innerHTML = 'No Label'
|
||||
el.innerHTML = this.t('LibraryPage.NoLabel')
|
||||
}
|
||||
},
|
||||
// cascaderClick(e:Event){
|
||||
|
||||
@@ -449,15 +449,12 @@ export default defineComponent({
|
||||
(rv: any) => {
|
||||
if (rv) {
|
||||
this.createTimer();
|
||||
let isTest
|
||||
if(rv.isTrial == 1){
|
||||
isTest = true
|
||||
}else{
|
||||
isTest = false
|
||||
}
|
||||
let isTest = rv.isTrial == 1?true:false
|
||||
let isBeginner = rv.isBeginner == 1?true:false
|
||||
let token = rv.token;
|
||||
setCookie("token", token);
|
||||
setCookie("isTest", isTest);
|
||||
setCookie("isBeginner", isBeginner);
|
||||
setCookie("userInfo", JSON.stringify(rv));
|
||||
this.turnToHomePage();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user