48 lines
1.3 KiB
Vue
48 lines
1.3 KiB
Vue
|
<template>
|
|||
|
<view class="content">
|
|||
|
<jyf-parser :html="content" 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 parser from "@/components/jyf-parser/jyf-parser";
|
|||
|
import {
|
|||
|
getAgreementApi,
|
|||
|
} from '@/api/user.js';
|
|||
|
export default {
|
|||
|
components: {
|
|||
|
"jyf-parser": parser
|
|||
|
},
|
|||
|
data() {
|
|||
|
return {
|
|||
|
tagStyle: {
|
|||
|
img: 'width:100%;display:block;',
|
|||
|
table: 'width:100%',
|
|||
|
video: 'width:100%'
|
|||
|
},
|
|||
|
content: ``
|
|||
|
}
|
|||
|
},
|
|||
|
mounted() {
|
|||
|
getAgreementApi('sys_user_agree').then(res => {
|
|||
|
this.content = res.data.sys_user_agree
|
|||
|
})
|
|||
|
}
|
|||
|
}
|
|||
|
</script>
|
|||
|
|
|||
|
<style scoped>
|
|||
|
.content {
|
|||
|
padding: 40rpx 30rpx;
|
|||
|
line-height: 2;
|
|||
|
}
|
|||
|
</style>
|