浏览代码

style: "去掉关闭按钮"

Ritchie 1 年之前
父节点
当前提交
ffa676570e
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/views/home/index.vue

+ 6 - 1
src/views/home/index.vue

@@ -133,7 +133,12 @@
         @offset-change="onOffsetChange" @click="onClickBot">
       </van-floating-bubble>
 
-      <van-popup v-model:show="popupVisible" closeable close-icon="close" position="bottom" :style="{ height: '90%' }" round 
+      <!-- <van-popup v-model:show="popupVisible" closeable close-icon="close" position="bottom" :style="{ height: '90%' }" round 
+        @click="onClose"  >
+        <iframe :src="aiUrl" sandbox="allow-same-origin allow-scripts allow-popups allow-forms"
+          style="width: 100%; height: 100%;"></iframe>
+      </van-popup> -->
+      <van-popup v-model:show="popupVisible" position="bottom" :style="{ height: '90%' }" round 
         @click="onClose"  >
         <!--    @click-overlay="onClickOverlay" @click-close-icon="onClickCloseIcon" -->
         <iframe :src="aiUrl" sandbox="allow-same-origin allow-scripts allow-popups allow-forms"