index.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <template>
  2. <view class="content">
  3. <jyf-parser :html="content" ref="article" :tag-style="tagStyle"></jyf-parser>
  4. </view>
  5. </template>
  6. <script>
  7. // +----------------------------------------------------------------------
  8. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  9. // +----------------------------------------------------------------------
  10. // | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
  11. // +----------------------------------------------------------------------
  12. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  13. // +----------------------------------------------------------------------
  14. // | Author: CRMEB Team <admin@crmeb.com>
  15. // +----------------------------------------------------------------------
  16. import parser from "../components/jyf-parser/jyf-parser";
  17. import {
  18. signInfo
  19. } from '@/api/user.js';
  20. export default {
  21. components: {
  22. "jyf-parser": parser
  23. },
  24. data() {
  25. return {
  26. tagStyle: {
  27. img: 'width:100%;display:block;',
  28. table: 'width:100%',
  29. video: 'width:100%'
  30. },
  31. content: '',
  32. }
  33. },
  34. onLoad() {
  35. this.content = this.$Cache.get('signRule');
  36. }
  37. }
  38. </script>
  39. <style scoped>
  40. page {
  41. background-color: #fff;
  42. }
  43. .content {
  44. padding: 40rpx 30rpx;
  45. line-height: 2;
  46. }
  47. </style>