Files
2026-03-23 11:52:05 +08:00

42 lines
898 B
Vue

<template>
<view class="content">
<myNav title="" bgColor="#fff" titleColor="#614D49" :backIcon="true" :backHome="false" :flex="false" ></myNav>
<view style="box-sizing: border-box;overflow-y: auto;margin-top: 5rpx;">
<image :src="showUrl" style="width: 100%;"
mode="widthFix"></image>
</view>
</view>
</template>
<script setup>
import myNav from '@/components/my-nav.vue'
import {
urls
} from '@/util/apiUrl.js'
import dohttp from '@/util/requestConfig.js'
const showUrl=ref()
onLoad((option) => {
if(option.url){
showUrl.value = option.url
}else{
//TODO 报错 返回首页
}
})
</script>
<style scoped>
.content {
width: 100vw;
height: 100vh;
background-color: #f9f8f8;
display: flex;
flex-direction: column;
font-family: 'pingfang';
}
image {
image-rendering: -webkit-optimize-contrast;
image-rendering: crisp-edges;
}
</style>