feat: 添加无双相关
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
<!-- 网页加载 -->
|
||||
<template>
|
||||
<s-layout :title="title" />
|
||||
<iframe :src="url" frameborder="0" class="iframe" />
|
||||
<view class="container">
|
||||
<!-- #ifdef APP-PLUS || MP -->
|
||||
<web-view :src="url" class="webview" />
|
||||
<!-- #endif -->
|
||||
<!-- #ifdef H5 -->
|
||||
<iframe :src="url" frameborder="0" class="iframe" />
|
||||
<!-- #endif -->
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@@ -19,6 +26,12 @@
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.container {
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
.webview,
|
||||
.iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
Reference in New Issue
Block a user