bd 2 lat temu
rodzic
commit
76212d1cbf

+ 6 - 3
pages-search/components/summaryChart.vue

@@ -1,7 +1,7 @@
 <template>
-  <view :class="['result-data-search-summary', 'content-padding']">
+  <view :class="['result-data-search-summary', tabsActiveChild == 1 ? 'content-padding':'content-padding-min']">
     <view class="content-ul">
-      <view class="report-ul" style="margin-right:10rpx">
+      <view class="report-ul" style="margin-right: 10rpx">
         <block v-for="(item, index) in resultList" :key="index">
           <view v-if="index % 2 == 0">
             <ReportItem v-if="item.Source == 1" :list="item" />
@@ -48,7 +48,7 @@ export default {
 
 <style lang="scss">
 .result-data-search-summary {
-  padding: 0rpx 12rpx;
+  padding-left: 15rpx;
   display: flex;
   justify-content: space-between;
   background-color: #f5f6fa;
@@ -62,4 +62,7 @@ export default {
 .content-padding {
   padding-top: 90rpx !important;
 }
+.content-padding-min {
+  padding-top: 20rpx;
+}
 </style>

+ 5 - 5
pages-search/indedxSearch/indedxSearch.vue

@@ -26,17 +26,17 @@
         </view>
       </view>
       <block v-if="isResult">
-        <view class="more-summary more-box" v-if="(tabsActive == 1 || tabsActive == 2) && haveResultSummary">
+        <view class="more-summary more-box" v-if="tabsActive == 1  && haveResultSummary">
           <view>
-            <text class="more-text" v-if="tabsActive == 1"> 纪要/图表 </text>
+            <text class="more-text"> 纪要/图表 </text>
           </view>
           <view style="display: flex; align-items: center">
-            <view class="summary-select">
+            <!-- <view class="summary-select">
               <text @click="summarySelectHandler(item, '纪要')" :class="['select-item', summarySelectActive == item.value && 'active-item']" v-for="item in summarySelect" :key="item.value">{{
                 item.name
               }}</text>
-            </view>
-            <view v-if="tabsActive == 1" class="more-rivet" @click="tabsActiveMore(2)"> 更多 <u-icon name="arrow-right" color="#3385FF" size="28"></u-icon> </view>
+            </view> -->
+            <view class="more-rivet" @click="tabsActiveMore(2)"> 更多 <u-icon name="arrow-right" color="#3385FF" size="28"></u-icon> </view>
           </view>
         </view>
         <view class="activity-select" style="display: flex; align-items: center; justify-content: flex-end" v-if="tabsActive == 4 || tabsActive == 5">