<template>
    <backNav :navName="'病例收录证书'"></backNav>
    <view class="imgbox">
         <view class="box">
			 <u--image
			   :showLoading="true"
			   :src="src"
			   width="100%"
			   mode="widthFix"
			 ></u--image>
		 </view>
    </view>
</template>

<script setup>
import { ref } from 'vue';
import { onLoad } from "@dcloudio/uni-app";
import backNav from "@/components/backNav/backNav.vue";
const src = ref('')
onLoad((options) => {
    if(options.src){
        src.value = options.src;
    }else{
       src.value= 'https://cn.bing.com//th?id=OHR.SanMiguelAzores_ZH-CN2511982585_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp';
    }
  
});
</script>

<style lang='scss' scoped>
.imgbox{
    margin: -30rpx 30rpx 0;
	overflow-y: scroll;
	display: flex;
	align-items: center;
	 flex-direction:column;
	justify-content: center;
	min-height:calc(100vh - 200rpx);
	.box{
		width:100%;
		height:100%;
	}
}
</style>
