123456789101112131415161718192021222324252627282930 |
- <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>
|