about.vue 932 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <view class="u-bg-white">
  3. <!-- 顶部导航 -->
  4. <fa-navbar title="关于我们"></fa-navbar>
  5. <view class="u-p-30 u-border-bottom">
  6. <view class="u-font-40"><text v-text="pageInfo.title"></text></view>
  7. </view>
  8. <view class="u-p-30 u-line-height">
  9. <u-parse :html="pageInfo.content" :tag-style="vuex_parse_style" :domain="vuex_config.config ? vuex_config.config.upload.cdnurl : ''"></u-parse>
  10. </view>
  11. <view class="u-p-b-30 u-text-center u-tips-color">版权所有Copyright © 2017-2020</view>
  12. <!-- 底部导航 -->
  13. <fa-tabbar></fa-tabbar>
  14. </view>
  15. </template>
  16. <script>
  17. export default {
  18. onLoad: async function() {
  19. let res = await this.$api.getMyboutus();
  20. if (!res.code) {
  21. this.$u.toast(res.msg);
  22. return;
  23. }
  24. this.pageInfo = res.data.pageInfo;
  25. },
  26. data() {
  27. return {
  28. pageInfo: {}
  29. };
  30. },
  31. methods: {}
  32. };
  33. </script>
  34. <style lang="scss">
  35. page {
  36. background-color: #f4f6f8;
  37. }
  38. </style>