|
@@ -3,12 +3,11 @@
|
|
class="city-of-xishan"
|
|
class="city-of-xishan"
|
|
:url="url"
|
|
:url="url"
|
|
:need-back-btn="false"
|
|
:need-back-btn="false"
|
|
- @back="onClickBack"
|
|
|
|
/>
|
|
/>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
-import { ref, computed, watch, onMounted } from "vue"
|
|
|
|
|
|
+import { ref, computed, watch, onMounted, inject } from "vue"
|
|
import { useRoute, useRouter } from "vue-router"
|
|
import { useRoute, useRouter } from "vue-router"
|
|
import { useStore } from "vuex"
|
|
import { useStore } from "vuex"
|
|
import IframeWrap from '@/components/IframeWrap.vue'
|
|
import IframeWrap from '@/components/IframeWrap.vue'
|
|
@@ -17,13 +16,15 @@ const route = useRoute()
|
|
const router = useRouter()
|
|
const router = useRouter()
|
|
const store = useStore()
|
|
const store = useStore()
|
|
|
|
|
|
|
|
+const $env = inject('$env')
|
|
|
|
+
|
|
// 运营埋点
|
|
// 运营埋点
|
|
store.dispatch('recordPageVisitIfNeeded', {
|
|
store.dispatch('recordPageVisitIfNeeded', {
|
|
pageId: 2,
|
|
pageId: 2,
|
|
})
|
|
})
|
|
|
|
|
|
const url = computed(() => {
|
|
const url = computed(() => {
|
|
- let temp = `http://app.4dage.com/projects/wxcs/pc/web/index.html?platform=h5&name=${store.state.userInfo.userName}`
|
|
|
|
|
|
+ let temp = `${$env.VUE_APP_DEPLOY_ORIGIN}/unityForPc/index.html?platform=h5&name=${store.state.userInfo.userName}`
|
|
if (route.query.scene !== undefined) {
|
|
if (route.query.scene !== undefined) {
|
|
temp += `&scene=${route.query.scene}`
|
|
temp += `&scene=${route.query.scene}`
|
|
}
|
|
}
|