You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
596 B
41 lines
596 B
<template>
|
|
<view class="content">
|
|
<uni-nav-bar
|
|
left-icon="back"
|
|
@clickLeft="back"
|
|
statusBar
|
|
fixed
|
|
:title="title"
|
|
></uni-nav-bar>
|
|
<web-view :src="url"></web-view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
import { go2, back } from "@/utils/hook.js";
|
|
export default {
|
|
data() {
|
|
return {
|
|
title: "",
|
|
url: "",
|
|
};
|
|
},
|
|
onLoad(options) {
|
|
this.title = options.title;
|
|
this.url = options.url;
|
|
},
|
|
methods: {
|
|
go2,
|
|
back,
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.content {
|
|
width: 750rpx;
|
|
}
|
|
.img {
|
|
width: 750rpx;
|
|
}
|
|
</style>
|