lipengtao 6 years ago
parent
commit
70f3b71412
2 changed files with 21 additions and 18 deletions
  1. 0 3
      src/pages/h5/views/content/content.vue
  2. 21 15
      src/pages/h5/views/expert/expert.vue

+ 0 - 3
src/pages/h5/views/content/content.vue

@ -9,7 +9,6 @@
9 9
                <div class="info-tit info-tit-big">{{contentInfo.title}}</div>
10 10
                <div class="info-tag">
11 11
                  <span>{{contentInfo.modifyTime}}</span>
12
                  <pageView v-if="contentId" :pageObj="{ tn: 'article', id: contentId, src: '2'}"></pageView>
13 12
                  <span>作者/来源:{{contentInfo.source}}</span>
14 13
                </div>
15 14
              </div>
@ -80,7 +79,6 @@
80 79
  import baseOrg from '@/components/subTemplate/BaseOrg';
81 80
  import baseCompany from '@/components/subTemplate/BaseCompany';
82 81
  import baseContent from '@/components/subTemplate/BaseContent';
83
  import pageView from '@/components/pageView';
84 82
  export default {
85 83
    data() {
86 84
      return {
@ -102,7 +100,6 @@
102 100
      this.queryPaltNews();
103 101
    },
104 102
    components: {
105
      pageView,
106 103
      baseExpert,
107 104
      baseOrg,
108 105
      baseCompany,

+ 21 - 15
src/pages/h5/views/expert/expert.vue

@ -79,27 +79,33 @@
79 79
          </div>
80 80
        </div>
81 81
        <div class="content-wrapper" v-if="coopExperts && coopExperts.length">
82
          <div class="content-title">
83
            <span>合作专家</span>
84
          </div>
85
          <div class="content">
86
            <BaseExpert v-for="item in coopExperts" :key="item.index" :itemSingle="item"></BaseExpert>
82
          <div class="inner-wrapper">
83
            <div class="content-title">
84
              <span>合作专家</span>
85
            </div>
86
            <div class="content content-nf">
87
              <BaseExpert v-for="item in coopExperts" :key="item.index" :itemSingle="item"></BaseExpert>
88
            </div>
87 89
          </div>
88 90
        </div>
89 91
        <div class="content-wrapper" v-if="expContents && expContents.length">
90
          <div class="content-title">
91
            <span>相关文章</span>
92
          </div>
93
          <div class="content content-nf">
94
            <baseContent v-for="item in expContents" :key="item.index" :itemSingle="item" :showOwner="false" :noBlank="true"></baseContent>
92
          <div class="inner-wrapper">
93
            <div class="content-title">
94
              <span>相关文章</span>
95
            </div>
96
            <div class="content content-nf">
97
              <baseContent v-for="item in expContents" :key="item.index" :itemSingle="item" :showOwner="false" :noBlank="true"></baseContent>
98
            </div>
95 99
          </div>
96 100
        </div>
97 101
        <div class="content-wrapper" v-if="likeExperts && likeExperts.length">
98
          <div class="content-title">
99
            <span>您可能感兴趣的专家</span>
100
          </div>
101
          <div class="content">
102
            <BaseExpert v-for="item in likeExperts" :key="item.index" :itemSingle="item"></BaseExpert>
102
          <div class="inner-wrapper">
103
            <div class="content-title">
104
              <span>您可能感兴趣的专家</span>
105
            </div>
106
            <div class="content content-nf">
107
              <BaseExpert v-for="item in likeExperts" :key="item.index" :itemSingle="item"></BaseExpert>
108
            </div>
103 109
          </div>
104 110
        </div>
105 111
      </div>