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.
67 lines
1.6 KiB
67 lines
1.6 KiB
<template>
|
|
<view class="cont">
|
|
<jyf-parser :html="agreement" ref="article" :tag-style="tagStyle"></jyf-parser>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
// +----------------------------------------------------------------------
|
|
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
|
// +----------------------------------------------------------------------
|
|
// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
|
|
// +----------------------------------------------------------------------
|
|
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
|
// +----------------------------------------------------------------------
|
|
// | Author: CRMEB Team <admin@crmeb.com>
|
|
// +----------------------------------------------------------------------
|
|
import { getAgreementApi } from '@/api/user.js';
|
|
import parser from "@/components/jyf-parser/jyf-parser";
|
|
export default {
|
|
components: {
|
|
"jyf-parser": parser,
|
|
},
|
|
data() {
|
|
return {
|
|
agreement: '',
|
|
tagStyle: {
|
|
img: 'width:100%;display:block;'
|
|
},
|
|
}
|
|
},
|
|
onLoad() {
|
|
this.memberCard();
|
|
},
|
|
methods: {
|
|
memberCard() {
|
|
uni.showLoading({
|
|
title: '加载中'
|
|
});
|
|
let that = this
|
|
getAgreementApi('sys_svip').then(res => {
|
|
that.agreement = res.data.sys_svip
|
|
uni.hideLoading();
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
page {
|
|
background-color: #FFFFFF;
|
|
}
|
|
</style>
|
|
|
|
<style scoped>
|
|
.title {
|
|
padding-top: 60rpx;
|
|
font-size: 30rpx;
|
|
text-align: center;
|
|
}
|
|
.cont {
|
|
padding: 50rpx 30rpx;
|
|
}
|
|
/deep/img{
|
|
max-width: 100%!important;
|
|
}
|
|
</style>
|
|
|