1
0

index.vue 553 B

1234567891011121314151617181920212223242526272829303132
  1. <template>
  2. <view class="detail">
  3. <view class="con">
  4. <u-parse :content="item.brief"></u-parse>
  5. </view>
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. data() {
  11. return {
  12. item: {}
  13. };
  14. },
  15. onLoad(e) {
  16. this.http.request({
  17. url: '/app/common/introduction/医院介绍',
  18. success: (res) => {
  19. this.item = res.data.data;
  20. this.item.brief = res.data.data.brief.replace(new RegExp('/profile/upload/', 'g'), this.http.ip + '/profile/upload/');
  21. }
  22. });
  23. }
  24. };
  25. </script>
  26. <style lang="scss">
  27. page {
  28. background-color: white;
  29. }
  30. </style>