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.
 
 
 
 
 

25 lines
640 B

<template>
<view v-if="agreement" class="" style="padding: 30rpx;" :style="themeColor()">
<u-parse :content="agreement.content" :tagStyle="{img: 'vertical-align: top;'}"></u-parse>
</view>
</template>
<script lang="ts" setup>
import { ref } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import { getAgreementInfo } from '@/app/api/system'
const agreement = ref(null)
onLoad((option)=> {
getAgreementInfo(option.key).then((res: AnyObject) => {
agreement.value = res.data
uni.setNavigationBarTitle({
title: res.data.title
})
})
})
</script>
<style lang="scss">
</style>