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.
49 lines
1.1 KiB
49 lines
1.1 KiB
10 months ago
|
<template>
|
||
|
|
||
|
<BaseContainer >
|
||
|
<NavBar :title="title" />
|
||
|
<view class="search-page" id="app">
|
||
|
<view class="content">
|
||
|
<mp-html class="section" container-style="padding: 30rpx;background: #ffffff;"
|
||
|
:content="content"></mp-html>
|
||
|
</view>
|
||
|
<!-- <quick-menu></quick-menu> -->
|
||
|
</view>
|
||
|
</BaseContainer>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import {
|
||
|
agreeMa
|
||
|
} from "@/api/index";
|
||
|
import mpHtml from "mp-html/dist/uni-app/components/mp-html/mp-html.vue";
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
content:'',
|
||
|
title:''
|
||
|
};
|
||
|
},
|
||
|
components: {
|
||
|
mpHtml
|
||
|
},
|
||
|
|
||
|
onLoad(options){
|
||
|
this.getAgreeInfo(options?.type)
|
||
|
},
|
||
|
|
||
|
methods: {
|
||
|
getAgreeInfo(type){
|
||
|
agreeMa({type:type}).then(res=>{
|
||
|
const {content,title}=res.data
|
||
|
Object.assign(this,{
|
||
|
content,title
|
||
|
})
|
||
|
})
|
||
|
}
|
||
|
}
|
||
|
};
|
||
|
</script>
|
||
|
<style>
|
||
|
|
||
|
</style>
|