wanyu_frontend/pages/user/privacy-policy.vue
2025-04-24 16:20:43 +08:00

27 lines
507 B
Vue

<template>
<view class="ctr">
<rich-text :nodes="data"></rich-text>
</view>
</template>
<script setup>
import { ref } from 'vue'
import {onShow} from '@dcloudio/uni-app'
import api from "../../api/api";
const data = ref('')
onShow(() => {
api.getConfig().then(res => {
data.value = res.privacy_policy
}).catch(() => {})
})
</script>
<style lang="scss" scoped>
.ctr {
background-color: var(--containerBgColor);
padding: 32rpx 32rpx 100rpx 32rpx;
color: var(--titleColor);
}
</style>