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.
53 lines
937 B
53 lines
937 B
<template> |
|
<view class="container"> |
|
<Head @backto="backto" title="隐私政策" ></Head> |
|
<view class="xieyicontent"> |
|
<rich-text :nodes="node.nodes"></rich-text> |
|
</view> |
|
</view> |
|
</template> |
|
|
|
<script> |
|
import { ref,reactive} from 'vue'; |
|
import Head from "../../components/head.vue"; |
|
import {onLoad} from "@dcloudio/uni-app"; |
|
import {getbase} from "../../api/api.js" |
|
export default { |
|
components:{ |
|
Head |
|
}, |
|
setup() { |
|
let node=reactive({nodes:""}) |
|
function backto(){ |
|
uni.navigateTo({ |
|
url:"../set/set" |
|
}) |
|
} |
|
onLoad(()=>{ |
|
getbase({type:'policies'}).then((res)=>{ |
|
console.log(res); |
|
node.nodes=res.data.content |
|
// console.log(node.value); |
|
}) |
|
}) |
|
return { |
|
node, |
|
backto |
|
} |
|
} |
|
} |
|
</script> |
|
|
|
<style lang="scss" scoped> |
|
.container{ |
|
display: flex; |
|
width: 750rpx; |
|
|
|
.xieyicontent{ |
|
padding-top: 120rpx; |
|
width: 700rpx; |
|
margin: 0px auto; |
|
} |
|
} |
|
|
|
</style>
|
|
|