12345678910111213141516171819202122232425262728293031323334353637 |
- <template>
- <view class="container clearfix rich-text-temp">
- <rich-text-template ref="childTemplate"></rich-text-template>
- </view>
- </template>
- <script>
- import richTextTemplate from '@/components/cm-module/listTemplate/richTextTemplate'
-
- export default{
- components: {
- richTextTemplate
- },
- data() {
- return{
-
- }
- },
- onLoad(){
- this.initData();
- },
- methods:{
- initData(){
- this.OtherService.QueryClubProtocol({helpPageID:1035}).then(response =>{
- let data =response.data.content
- this.$refs.childTemplate.html = this.$api.adaptRichTextImg(data);
- }).catch(error =>{
- this.$util.msg(error.msg,2000)
- })
- }
- }
- }
- </script>
- <style lang="scss">
- </style>
|