1234567891011121314151617181920212223242526272829303132 |
- <template>
- <view>
- <rich-text class="rich-class" :nodes="strings"></rich-text>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- strings:''
- }
- },
- onLoad(e) {
- this.$http.get('appraisal/articleContentInfo/'+e.id).then(res=>{
- this.strings = res.data.content
- })
- },
- methods: {
-
- }
- }
- </script>
- <style>
- .rich-class{
- word-wrap:break-word;
- word-break:break-all;
- display: inline-block;
- margin: 20rpx;
- }
- </style>
|