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.
35 lines
652 B
35 lines
652 B
<template>
|
|
<view class="content">
|
|
<uni-nav-bar left-icon="back" @clickLeft="back" statusBar fixed :title="title"></uni-nav-bar>
|
|
<image :show-menu-by-longpress="true" :src="url" class="img" mode="widthFix"></image>
|
|
</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>
|