2
0

3 Ревизии 75b47ce6a6 ... 6b8045f89b

Автор SHA1 Съобщение Дата
  bding 6b8045f89b Merge branch 'master' into xqc_1017 преди 1 седмица
  bding 1e1bceccbd 1017需求池 преди 1 седмица
  bding ca9c26fe89 报告路径修改 преди 1 седмица
променени са 3 файла, в които са добавени 57 реда и са изтрити 1 реда
  1. 8 0
      pages.json
  2. 1 1
      pages/reportForm/components/strategy.vue
  3. 48 0
      reportPages/otherReport/otherReport.vue

+ 8 - 0
pages.json

@@ -269,6 +269,14 @@
             "navigationBarTitleText": "策略系列培训",
             "enablePullDownRefresh": false
           }
+        },
+        {
+        	"path" : "otherReport/otherReport",
+        	"style" : 
+        	{
+        		"navigationBarTitleText" : "报告",
+        		"enablePullDownRefresh" : false
+        	}
         }
       ]
     },

+ 1 - 1
pages/reportForm/components/strategy.vue

@@ -9,7 +9,7 @@
             >{{ item.Title }}
             <text class="reg-text" v-if="item.IsRed"></text>
           </text>
-          <view style="margin-top: 10rpx" v-if="matchTypeName == '每日复盘'" :class="threeFour ? 'text-threeFour' : 'text_one'">
+          <view style="margin-top: 10rpx" v-if="matchTypeName == '每日复盘' || item.IsShowAbstract" :class="threeFour ? 'text-threeFour' : 'text_one'">
             <!-- <mp-html :content="'摘要:' + item.Abstract" /> -->
             摘要:{{ item.Abstract }}
           </view>

+ 48 - 0
reportPages/otherReport/otherReport.vue

@@ -0,0 +1,48 @@
+<template>
+  <block>
+    <view class="container reportDetail-container">
+      <web-view :src="linkUrl">
+        <cover-view class="search-view"> </cover-view>
+      </web-view>
+    </view>
+  </block>
+</template>
+
+<script>
+export default {
+  data() {
+    return {
+      linkUrl: "",
+    };
+  },
+
+  methods: {},
+  onLoad(option) {
+    this.linkUrl = decodeURIComponent(option.reportUrl) || "";
+  },
+};
+</script>
+
+<style lang="scss" scoped>
+.reportDetail-container {
+  background-color: #fff;
+  padding-bottom: 200rpx;
+  padding-bottom: calc(200rpx + constant(safe-area-inset-bottom));
+  padding-bottom: calc(200rpx + env(safe-area-inset-bottom));
+  .search-view {
+    position: fixed;
+    width: 100%;
+    height: 100rpx;
+    background: #fff;
+    z-index: 99999;
+    font-size: 24rpx;
+    box-sizing: border-box;
+    .search-icon {
+      width: 147rpx;
+      height: 40rpx;
+      margin: 0 15rpx;
+      z-index: 99999;
+    }
+  }
+}
+</style>