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
667 B
41 lines
667 B
<template> |
|
<view class="negative-wrapper"> |
|
<negative :data="data" :loading="loading" /> |
|
</view> |
|
</template> |
|
|
|
<script> |
|
import { getNegative } from '@/api/negative' |
|
|
|
let _this; |
|
export default { |
|
data() { |
|
return { |
|
data: {}, |
|
loading: true |
|
} |
|
}, |
|
onLoad() { |
|
_this = this; |
|
uni.setNavigationBarTitle({ |
|
title: `问题编号 ` + this.$page.options.id |
|
}) |
|
|
|
getNegative(this.$page.options.id).then(data => { |
|
this.data = data |
|
this.loading = false |
|
}) |
|
}, |
|
methods: { |
|
|
|
} |
|
} |
|
</script> |
|
|
|
<style lang="scss" scoped> |
|
.negative-wrapper { |
|
background-color: #f5f5f5; |
|
min-height: 100vh; |
|
box-sizing: border-box; |
|
} |
|
</style> |