1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
| <template>
| <view class="" v-if="url">
| <view class="report">
| 温馨提示:如需查看、下载或打印结果,请使用浏览器访问:
| <view>{{url}}</view>
| </view>
| </view>
| </template>
|
| <script>
| export default {
| data() {
| return {
| url: "",
| }
| },
| onLoad(options) {
| this.url = options.url
|
| },
| methods: {
| // copyText(e) {
| // var that = this;
| // uni.setClipboardData({
| // data: that.url,
| // success(res) {
| // wx.showToast({
| // title: "复制成功"
| // })
| // },
| // fail(res) {
| // wx.showToast({
| // title: "复制失败"
| // })
| // }
| // })
| // },
|
| }
| }
| </script>
|
| <style>
| .report {
| margin: 10px 10px;
| width: 90%;
| text-align: left;
| font-size: 20px;
| }
| </style>
|
|