bding 2 weeks ago
parent
commit
c1aac388f0

+ 0 - 1
activityPages/specialDetail/specialDetail.vue

@@ -257,7 +257,6 @@ export default {
     this.id = option.id || "";
     this.sourceType = option.sourceType || "";
     this.detailDataShare = option.detailDataShare ? JSON.parse(decodeURIComponent(option.detailDataShare) || {}) : "";
-    console.log(this.sourceType, this.detailDataShare);
   },
   onShow() {
     if (this.mixinIsSceneNumber == 1154) return;

+ 0 - 1
components/audioModule/index.vue

@@ -343,7 +343,6 @@ export default {
     },
     // 点击了播放列表
     palyHandler(item) {
-      console.log(item);
       if (this.audioInit.indexId == item.indexId) {
       } else {
         this.playlistDataInit(item);

+ 0 - 1
components/modalDialog.vue

@@ -509,7 +509,6 @@ export default {
           });
         },
         fail(res) {
-          console.log(res);
           // 日程添加失败的回调函数
           if (res.errMsg == "addPhoneCalendar:fail authorization refuesed") {
             wx.showToast({

+ 0 - 3
components/report/timeLine.vue

@@ -145,10 +145,7 @@ export default {
       }, 200);
     },
     textNumProcessing(item) {
-      console.log(item, this.dataList);
-
       let str = !item.isExpand ? item.Content.substring(0, 60) + "...." : item.Content;
-      console.log(str);
       let strText = str;
       return strText;
     },

+ 0 - 1
pages-purchaser/noteAndViewpoint/noteAndViewpoint.vue

@@ -157,7 +157,6 @@ export default {
         this.detailDataForm = res.Data;
         this.detailDataForm.HasPermission == 1 && this.setDisableCapture();
         this.watermarkText = `${this.$db.get("mobile")}`;
-        console.log( this.watermarkText,'this.detailDataForm');
         let str = this.detailDataForm.Type == 1 ? "笔记" : "观点";
         wx.setNavigationBarTitle({
           title: `${str}详情`,

+ 6 - 0
pages/reportForm/index.scss

@@ -129,6 +129,12 @@
       background-color: #fff;
 
       padding: 15rpx 20rpx 0;
+      .read-more-text {
+        position:absolute;
+        right: 35rpx; 
+        top: 36rpx;
+        color: #376cbb;
+      }
       .scroll-tab-box {
         width: 100%;
         padding-top: 10rpx;

+ 12 - 3
pages/reportForm/reportForm.vue

@@ -30,12 +30,13 @@
         </swiper>
       </view>
       <view class="tab-cont-two">
-        <view v-for="(item, index) in tabBarsTow" :key="index" class="scroll-tab-box">
+        <view v-for="(item, index) in strategyDataTab()" :key="index" class="scroll-tab-box">
           <view v-for="key in item.Items" :key="key.CategoryId" :id="'__' + index" class="scroll-tab-item" :class="{ active: tabAct_idTwo == key.CategoryId }" @click.stop="toggleTabTwo(key, index)">
             {{ key.MatchTypeName }}
             <text class="reg-text" v-if="key.IsRed"></text>
           </view>
         </view>
+        <text v-if="tabAct_id === 23 && strategyDataTab().length" class="read-more-text" @click="clickReadMore"> {{ strategyShowMore ? "收起" : "展开" }}</text>
       </view>
       <view class="row"> </view>
       <block v-if="tabAct_idTwo != 99999">
@@ -252,6 +253,8 @@ export default {
       timeLine: [], //时间线数据
       bannerDataList: [],
       bulletinData: {},
+
+      strategyShowMore: true, // 策略下的展开收起
     };
   },
   onLoad(option) {
@@ -339,14 +342,12 @@ export default {
     //tabs切换事件
     toggleTab(item, index) {
       this.strategyIndex = index;
-      console.log(this.strategyIndex);
       this.tabAct_idTwo = "";
       this.deepCoverFocus = [];
       this.labelListData = [];
       this.tabBarsTow = [];
       if (this.tabAct_id !== item.ChartPermissionId) {
         this.tabAct_id = item.ChartPermissionId;
-        console.log(this.tabAct_id, "this.tabAct_id");
         this.$store.dispatch("statistics", {
           PageType: "Report",
           ChartPermissionId: Number(this.tabAct_id),
@@ -639,6 +640,14 @@ export default {
         url: "/reportPages/selectedBulletin/selectedBulletin",
       });
     },
+    // 点击了策略下的展开收起
+    clickReadMore() {
+      this.strategyShowMore = !this.strategyShowMore;
+    },
+    // 策略的tab数据处理
+    strategyDataTab() {
+      return this.tabAct_id != 23 ? this.tabBarsTow : this.strategyShowMore ? this.tabBarsTow : [this.tabBarsTow[0]];
+    },
   },
   /* 触底 */
   onReachBottom: Throttle(function () {