|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<Panel v-show="player.showWidgets" :isOpen="isOpen" >
|
|
<Panel v-show="player.showWidgets" :isOpen="isOpen" >
|
|
- <div @click="hanldeOpen" class="menu color">
|
|
|
|
|
|
+ <div @click="toggleOpen" class="menu color">
|
|
<div class="logo">
|
|
<div class="logo">
|
|
<img :src="require('@/assets/images/icon/logo.png')" alt="" />
|
|
<img :src="require('@/assets/images/icon/logo.png')" alt="" />
|
|
<p>CDF澳門上葡京</p>
|
|
<p>CDF澳門上葡京</p>
|
|
@@ -78,11 +78,8 @@ const store = useStore();
|
|
|
|
|
|
const isOpen = ref(false);
|
|
const isOpen = ref(false);
|
|
|
|
|
|
-const hanldeOpen = ()=>{
|
|
|
|
- isOpen.value = true
|
|
|
|
- setTimeout(() => {
|
|
|
|
- isOpen.value = false
|
|
|
|
- }, 200);
|
|
|
|
|
|
+const toggleOpen = ()=>{
|
|
|
|
+ isOpen.value = !isOpen.value
|
|
}
|
|
}
|
|
|
|
|
|
const currentCategory = ref({
|
|
const currentCategory = ref({
|
|
@@ -93,7 +90,6 @@ const currentCategory = ref({
|
|
const currentM = computed(()=>(browser.getURLParam("m")))
|
|
const currentM = computed(()=>(browser.getURLParam("m")))
|
|
const currentPose = computed(()=>(browser.getURLParam("pose")))
|
|
const currentPose = computed(()=>(browser.getURLParam("pose")))
|
|
|
|
|
|
-console.log(currentPose.value,'=============================');
|
|
|
|
|
|
|
|
const isPlay = computed(() => {
|
|
const isPlay = computed(() => {
|
|
let status = store.getters["tour/isPlay"];
|
|
let status = store.getters["tour/isPlay"];
|
|
@@ -130,6 +126,11 @@ const tours = computed(() => store.getters["tour/tours"]);
|
|
const menulist = computed(() => {
|
|
const menulist = computed(() => {
|
|
let fff = [
|
|
let fff = [
|
|
{
|
|
{
|
|
|
|
+ icon: "help",
|
|
|
|
+ id: "help",
|
|
|
|
+ name: "幫助",
|
|
|
|
+ },
|
|
|
|
+ {
|
|
icon: "customer_service",
|
|
icon: "customer_service",
|
|
id: "kefu",
|
|
id: "kefu",
|
|
name: "客服",
|
|
name: "客服",
|
|
@@ -247,6 +248,9 @@ const onClickMenu = (item) => {
|
|
|
|
|
|
} else if (item.id == "shopping") {
|
|
} else if (item.id == "shopping") {
|
|
browser.openLink("/subPackage/pages/shoppingcart/shoppingcart", "https://m.cdfmembers.com/shop/600667208/shoppingcart", "/pages/shoppingcart/main");
|
|
browser.openLink("/subPackage/pages/shoppingcart/shoppingcart", "https://m.cdfmembers.com/shop/600667208/shoppingcart", "/pages/shoppingcart/main");
|
|
|
|
+ } else if (item.id == "help") {
|
|
|
|
+ store.commit("showUserGuide", true);
|
|
|
|
+
|
|
}
|
|
}
|
|
};
|
|
};
|
|
|
|
|