|
@@ -205,6 +205,31 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</van-dialog>
|
|
|
+
|
|
|
+ <!-- <template v-if="isShowRobot">
|
|
|
+ <van-floating-bubble
|
|
|
+ v-model:offset="offset"
|
|
|
+ axis="xy"
|
|
|
+ :icon="robotIcon"
|
|
|
+ magnetic="x"
|
|
|
+ @offset-change="onOffsetChange"
|
|
|
+ @click="onClickBot"
|
|
|
+ >
|
|
|
+ </van-floating-bubble>
|
|
|
+ <van-popup
|
|
|
+ v-model:show="popupVisible"
|
|
|
+ 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>
|
|
|
+ </template> -->
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -759,7 +784,7 @@ export default {
|
|
|
// const aiDialog = showDialog();
|
|
|
const offset = ref({
|
|
|
x: Math.floor(window.innerWidth * 0.8),
|
|
|
- y: Math.floor(window.innerHeight * 0.75),
|
|
|
+ y: Math.floor(window.innerHeight * 0.85),
|
|
|
});
|
|
|
|
|
|
const popupVisible = ref(false);
|