Files
learning-system-mobile/pages/my/myAssdetail.vue
2022-08-15 16:16:50 +08:00

47 lines
886 B
Vue

<template>
<!-- 我的测评详情 -->
<view class="loaddetail-box">
<page-title :showBack="true">我的评估</page-title>
<view class="">
<web-view v-if="oldUrl!=''" :src="oldUrl" style="width: 100%;height: 100%;"></web-view>
</view>
</view>
</template>
<script>
export default {
data() {
return{
id:'',
oldUrl:'',
text:'',
}
},
onLoad(options) {
//console.log(options.id)
let decodeUrl=decodeURIComponent(options.reurl);
//console.log('接收后解码后:'+decodeUrl)
this.oldUrl = decodeUrl;
},
mounted(){
// let urlPre=window.location.protocol+'//'+window.location.host;
// this.url = `${urlPre}/m/quizsummary?id=${this.id}&inner=1`
}
}
</script>
<style lang="scss" scoped>
.loaddetail-box{
width: 100%;
height: 100%;
}
body{
width: 100%;
height: 100%;
}
uni-page-body{
height: 100%;
}
</style>