problem_det.vue 645 B

1234567891011121314151617181920212223242526272829303132333435
  1. <template>
  2. <view class="problem_det">
  3. <!-- <view v-html="problem_co"></view> -->
  4. <u-parse style="line-height: 41rpx;" :content="problem_co" :lazyLoad="true" :show-with-animation="true"></u-parse>
  5. </view>
  6. </template>
  7. <script>
  8. import {mapState} from 'vuex'
  9. export default {
  10. data() {
  11. return {
  12. primary:this.$theme.primary,
  13. content:'',
  14. settingFile:getApp().globalData.siteinfo
  15. };
  16. },
  17. computed: {
  18. ...mapState(['problem_co'])
  19. }
  20. }
  21. </script>
  22. <style lang="scss">
  23. page{
  24. width: 100%;
  25. height: 100%;
  26. .problem_det{
  27. width: 100%;
  28. height: 100%;
  29. padding: 20rpx;
  30. box-sizing: border-box;
  31. }
  32. }
  33. </style>