Files
jdt-user/src/pages/game/view/index.vue
YuanHuakk 896acaef9e
All checks were successful
continuous-integration/drone/push Build is passing
feat(custom): 地图apiKey更换,订单核销详情新增支付方式
2025-05-29 15:45:16 +08:00

24 lines
507 B
Vue

<template>
<web-view class="web-view" :src="url"></web-view>
</template>
<script setup lang="ts">
import { ref } from 'vue';
import { getStorageSync, useDidShow } from '@tarojs/taro';
import { WebView } from '@tarojs/components';
const url = ref('');
useDidShow(() => {
url.value = getStorageSync('game_url');
});
</script>
<style lang="scss">
.web-view {
// 适配ios底部安全区域
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
</style>