bding 2 anni fa
parent
commit
d1b61a8103
1 ha cambiato i file con 16 aggiunte e 5 eliminazioni
  1. 16 5
      reportPages/keyCompany/keyCompany.vue

+ 16 - 5
reportPages/keyCompany/keyCompany.vue

@@ -14,7 +14,7 @@
       <text>{{ reportDetail.ProductDescription }} </text>
     </view>
     <view class="description">
-      <mp-html :content="reportDetail.MarketStrategy" />
+      <mp-html :content="strFontSize(reportDetail.MarketStrategy)" />
       <view class="detailed">
         <text>详细策略报告请</text>
         <text @click="reportDetailLink">点击查看</text>
@@ -43,17 +43,17 @@
           <image :src="item.IcoLink"></image>
           {{ item.PermissionName }}
         </view>
-        <mp-html :content="item.BodyChartSummary" />
+        <mp-html :content="strFontSize(item.BodyChartSummary)" />
         <view class="li-list">
           <view class="li-item" v-for="key in item.List" :key="key.IndustrialSubjectId">
             <view :id="'subject' + key.IndustrialSubjectId" class="li-subject">
               <view class="item-name">
-                <text style="display: inline-block; vertical-align: middle">{{ key.SubjectName }}</text>
+                <text style="display: inline-block; vertical-align: middle; font-weight: 600">{{ key.SubjectName }}</text>
                 <image v-if="key.IsNew" src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/new_report.png"></image>
               </view>
               <text class="itel-label" v-for="val in key.CompanyLabel" :key="val"># {{ val }}</text>
             </view>
-            <mp-html :content="key.Body" />
+            <mp-html :content="strFontSize(key.Body)" />
             <view class="subject-detali" v-if="key.OverviewArticleId > 0">
               <text style="display: inline-block">公司综述报告请</text>
               <text style="color: #3385ff; margin-left: 10rpx; display: inline-block" @click="goArticle(key.OverviewArticleId)">点击查看</text>
@@ -101,7 +101,7 @@ export default {
     // 返回top
     goBackTop() {
       wx.pageScrollTo({
-        scrollTop: 0,
+        selector: ".industry-ul",
         duration: 300,
       });
     },
@@ -179,6 +179,13 @@ export default {
     cancel() {
       this.areacodeShow = false;
     },
+    strFontSize(str) {
+      let font = str
+        .replace(/font-size:\s\w+;?/g, "")
+        .replace(/font-size\s:\w+;?/g, "")
+        .replace(/font-size:\w+;?/g, "");
+      return `<div style="font-size:14px">${font}</div>`;
+    },
   },
   onLoad() {
     this.reportSelectionDetail();
@@ -266,6 +273,7 @@ export default {
           line-height: 39rpx;
           border-bottom: 1px solid #ececec;
           border-right: 1px solid #ececec;
+          text-decoration: underline;
           .icon_subject {
             position: absolute;
             top: 0;
@@ -300,6 +308,7 @@ export default {
       margin-top: 30rpx;
       padding-bottom: 20rpx;
       border-bottom: 2rpx dashed #e2e2e2;
+      font-size: 28rpx;
       .content-title {
         display: flex;
         justify-content: center;
@@ -310,6 +319,7 @@ export default {
         background-color: #3385ff;
         color: #fff;
         margin-bottom: 20rpx;
+        font-size: 32rpx;
         image {
           width: 32rpx;
           height: 34rpx;
@@ -324,6 +334,7 @@ export default {
           background: #f2f2f2;
           .item-name {
             display: inline-block;
+            font-size: 30rpx;
             margin-right: 27rpx;
             line-height: 60rpx;
           }