| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <template>
- <page-theme :theme="theme">
- <template>
- <view class="f-30 p-40 flex-dir-column flex-x-center">
- <view>{{detailVO.address}}</view>
- <view class="col-info-d t-c m-b-30" v-html="detailVO.content"></view>
- </view>
- </template>
- </page-theme>
- </template>
- <script>
- import themeMixins from '@/pages/yuecai/mixins/themeMixins.js';
- export default {
- mixins: [themeMixins],
- data() {
- return {
- detailVO: {},
- }
- },
- methods: {
- getInformationDetail(id) {
- this.$u.api.getInformationDetail(id).then(res => {
- if (res.data.content) {
- res.data.content = decodeURIComponent(res.data.content);
- }
- this.detailVO = res.data || {}
- })
- }
- },
- onLoad(options) {
- this.getInformationDetail(options.id);
- },
- }
- </script>
- <style scoped lang="scss">
- </style>
|