privacyagree.vue 707 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <view class="container clearfix rich-text-temp">
  3. <rich-text-template ref="childTemplate"></rich-text-template>
  4. </view>
  5. </template>
  6. <script>
  7. import richTextTemplate from '@/components/cm-module/listTemplate/richTextTemplate'
  8. export default{
  9. components: {
  10. richTextTemplate
  11. },
  12. data() {
  13. return{
  14. }
  15. },
  16. onLoad(){
  17. this.initData();
  18. },
  19. methods:{
  20. initData(){
  21. this.OtherService.QueryClubProtocol({helpPageID:1013}).then(response =>{
  22. let data =response.data.content
  23. this.$refs.childTemplate.html = this.$api.adaptRichTextImg(data);
  24. }).catch(error =>{
  25. this.$util.msg(error.msg,2000)
  26. })
  27. }
  28. }
  29. }
  30. </script>
  31. <style lang="scss">
  32. </style>