|
@@ -51,7 +51,7 @@
|
|
|
<div
|
|
|
class="entry-item"
|
|
|
@click="store.dispatch('openIframePage', {
|
|
|
- url: 'https://houseoss.4dkankan.com/project/yzdyh-dadu/duobaoge/index.html',
|
|
|
+ url: $isMobile ? 'https://houseoss.4dkankan.com/project/yzdyh-dadu/duobaoge/mobile/index.html' : 'https://houseoss.4dkankan.com/project/yzdyh-dadu/duobaoge/index.html',
|
|
|
style: 'width: 100%; height: 100%'
|
|
|
})"
|
|
|
>
|
|
@@ -76,13 +76,11 @@
|
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
|
-import { ref, computed, watch, onMounted } from "vue"
|
|
|
-import { useRoute, useRouter } from "vue-router"
|
|
|
+import { inject } from "vue"
|
|
|
import { useStore } from "vuex"
|
|
|
|
|
|
-const route = useRoute()
|
|
|
-const router = useRouter()
|
|
|
const store = useStore()
|
|
|
+const $isMobile = inject('$isMobile')
|
|
|
|
|
|
const gameName = store.state.gameEntryPageAttrs.gameName
|
|
|
|