|
|
@@ -36,7 +36,7 @@ |
|
|
|
{{ $t("voiceModel.title") }} |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="bottomBtx"> |
|
|
|
<!-- <div class="bottomBtx"> --> |
|
|
|
<div class="myRouter-item" @click="router.push('/myStore')"> |
|
|
|
<div class="icon"> |
|
|
|
<el-icon><i-ep-Goods /></el-icon> |
|
|
@@ -77,13 +77,14 @@ |
|
|
|
</el-menu-item-group> |
|
|
|
</el-sub-menu> |
|
|
|
</el-menu> |
|
|
|
</div> |
|
|
|
<!-- </div> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- 右边显示部分 --> |
|
|
|
<div class="rightBox"> |
|
|
|
<!-- nav栏 --> |
|
|
|
<div class="nav"> |
|
|
|
<div class="navItem">当前币值:{{ currentValue }}</div> |
|
|
|
<!-- 语言 --> |
|
|
|
<el-tooltip |
|
|
|
style="cursor: pointer; z-index: 999" |
|
|
@@ -94,6 +95,7 @@ |
|
|
|
> |
|
|
|
<lang-select class="navItem" /> |
|
|
|
</el-tooltip> |
|
|
|
<div class="navItem" v-if="currentPhone">{{ currentPhone }}</div> |
|
|
|
<!-- 登录 --> |
|
|
|
<div class="navItem" v-if="!AccessToken" @click="router.push('login')"> |
|
|
|
{{ $t("navbar.goLogin") }} |
|
|
@@ -131,6 +133,8 @@ import { useRoute, useRouter } from "vue-router"; |
|
|
|
import { useI18n } from "vue-i18n"; |
|
|
|
|
|
|
|
import { userInfoModules } from "@/store/modules/userInfo"; |
|
|
|
import { getUserPoinsApi } from '@/apis/my.js' |
|
|
|
|
|
|
|
import { |
|
|
|
Document, |
|
|
|
Menu as IconMenu, |
|
|
@@ -196,7 +200,18 @@ function handleOutsideClick() { |
|
|
|
appStore.closeSideBar(false); |
|
|
|
} |
|
|
|
|
|
|
|
onMounted(() => {}); |
|
|
|
// 当前币值 |
|
|
|
const currentValue = ref('') |
|
|
|
const currentPhone = localStorage.getItem('phone') |
|
|
|
function currentValFn() { |
|
|
|
getUserPoinsApi().then(res => { |
|
|
|
currentValue.value = res.data |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
|
onMounted(() => { |
|
|
|
currentValFn() |
|
|
|
}); |
|
|
|
//#region 联系我们弹窗 |
|
|
|
const showTalkUsDialog = ref(false); |
|
|
|
const updateShowTalkUsDialog = (newValue: any) => { |
|
|
|