|
|
@@ -3,8 +3,8 @@
|
|
|
<Panel v-show="player.showWidgets" :class="{ disabled: !showdaogou }" :isOpen="isOpen">
|
|
|
<div @click="toggleOpen" class="menu color">
|
|
|
<div class="logo">
|
|
|
- <img :src="require('@/assets/images/icon/logo.png')" alt="" />
|
|
|
- <p>{{ $t('common.title') }}</p>
|
|
|
+ <img :src="require(`@/assets/images/icon/${logo_key}.png`)" alt="" />
|
|
|
+ <p>{{ $t(`common.${title_key}`) }}</p>
|
|
|
</div>
|
|
|
<div class="vline"></div>
|
|
|
<ul :class="player.lang" @touchmove.stop>
|
|
|
@@ -181,6 +181,9 @@ const player = computed(() => store.getters['player']);
|
|
|
const tours = computed(() => store.getters['tour/tours']);
|
|
|
|
|
|
const isShowLive = ref(false)
|
|
|
+const logo_key = ref('logo')
|
|
|
+const title_key = ref('title')
|
|
|
+
|
|
|
|
|
|
const menulist = computed(() => {
|
|
|
console.log('result:',);
|
|
|
@@ -201,6 +204,11 @@ const menulist = computed(() => {
|
|
|
isShowLive.value = true
|
|
|
}
|
|
|
|
|
|
+ if (metadata.value?.cdfProductSource?.cdfMchId == '604163145') {
|
|
|
+ logo_key.value = 'logo_beauty'
|
|
|
+ title_key.value = 'cdfTitle'
|
|
|
+ }
|
|
|
+
|
|
|
if (!browser.isMobile()) {
|
|
|
fff.shift();
|
|
|
}
|
|
|
@@ -276,7 +284,11 @@ const onClickMenu = (item) => {
|
|
|
`${metadata.value?.cdfProductSource?.cdfHost}/shop/${metadata.value?.cdfProductSource?.cdfMchId}/qidian?terminalType=${envtype}`;
|
|
|
window.open(mglink, '_blank');
|
|
|
} else if (item.id == 'shopping') {
|
|
|
- browser.openLink('/subPackage/pages/shoppingcart/shoppingcart', `${metadata.value?.cdfProductSource?.cdfHost}/shop/${metadata.value?.cdfProductSource?.cdfMchId}/shoppingcart`, '/subPackage/pages/shoppingcart/shoppingcart');
|
|
|
+ browser.openLink(
|
|
|
+ '/subPackage/pages/shoppingcart/shoppingcart',
|
|
|
+ `${metadata.value?.cdfProductSource?.cdfHost}/shop/${metadata.value?.cdfProductSource?.cdfMchId}/shoppingcart`,
|
|
|
+ '/subPackage/pages/shoppingcart/shoppingcart',
|
|
|
+ `${metadata.value?.cdfProductSource?.cdfHostPc}/shoppingcart`);
|
|
|
} else if (item.id == 'help') {
|
|
|
store.commit('showUserGuide', true);
|
|
|
} else if (item.id == 'guided_shopping') {
|