mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-mobile.git
synced 2025-12-06 17:36:45 +08:00
47 lines
886 B
Vue
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>
|