liyongli 2 жил өмнө
parent
commit
afb45f8aef

+ 15 - 2
src/views/report/SilkRoadData/index.vue

@@ -16,11 +16,14 @@
       <template #title> </template>
       <div
         class="mainCell"
-        style="margin-top: 0.5em"
         v-for="(item, index) in centerList"
         :key="item.centerName + 'c' + index"
       >
-        <div class="headTitle" :style="'font-size:' + fontSizeFunc()*1.2 + 'px'" v-text="item.centerName"></div>
+        <div
+          class="headTitle"
+          :style="'font-size:' + fontSizeFunc() * 1.2 + 'px'"
+          v-text="item.centerName"
+        ></div>
         <div class="label">
           <div class="label-left" :style="'font-size:' + fontSizeFunc() + 'px'">
             <van-row>
@@ -56,6 +59,7 @@
             hairline
             plain
             type="primary"
+            v-if="item.centerName !== '整体执行情况'"
             @click="() => toDetail(item)"
           >
             查看详情
@@ -184,6 +188,15 @@ export default {
 .SilkRoadData .mainCell {
   padding: 0.5em;
   font-weight: 400;
+  margin-top: 0.5em;
+}
+.SilkRoadData .mainCell:first-child {
+  margin-top: 0;
+}
+
+.SilkRoadData .mainCell:nth-child(even),
+.SilkRoadData .mainCell:nth-child(even) .van-button--plain {
+  background-color: #ddd;
 }
 
 .SilkRoadData .headTitle {

+ 9 - 0
src/views/report/SilkRoadDetail/index.vue

@@ -181,6 +181,15 @@ export default {
   font-weight: 400;
 }
 
+.SilkRoadDetail .mainCell:first-child {
+  margin-top: 0;
+}
+
+.SilkRoadDetail .mainCell:nth-child(even),
+.SilkRoadDetail .mainCell:nth-child(even) .van-button--plain {
+  background-color: #ddd;
+}
+
 .SilkRoadDetail .headTitle {
   padding: 0 0 0.5em 0;
 }