<template>
  <view>
    <u-parse :content="agreement"></u-parse>
  </view>
</template>

<script>
export default {
  data() {
    return {
      agreement: "",
    };
  },
  methods: {
    getAgreement() {
      uni.$u.http.get(`/api/agreement?code=entry_agreement`).then((res) => {
        this.agreement = res.content_cn;
      });
    },
  },
  mounted() {
    this.getAgreement();
    uni.setNavigationBarTitle({
      title: "用户入驻申请协议",
    });
  },
};
</script>

<style></style>
