Browse Source

fix: 首页显示医院全称,隐藏下面按钮

liweimin 2 years ago
parent
commit
3c67ee2d81

+ 1 - 0
antbuilder/industry/hospitalV2/components/index-head/indexHead.acss

@@ -7,6 +7,7 @@
   width: 55%;
   font-size: 36rpx;
   font-weight: bold;
+  text-align: center;
 }
 .hospital-new-component .index-head-container {
   position: relative;

+ 3 - 3
antbuilder/industry/hospitalV2/components/index-head/indexHead.axml

@@ -9,7 +9,7 @@
     onCallback="onCallback"
     background="transparent"
   >
-    <text class="index-head-title" number-of-lines="1">
+    <text class="index-head-title" number-of-lines="2">
       {{ utils.getTitle(componentData) }}
     </text>
   </mas-adc-nav-bar>
@@ -24,11 +24,11 @@
       class="index-head"
       style="padding-top: {{ navHeight }}px"
     >
-      <view class="index-head-desc" onTap="goToDetail">
+      <!-- <view class="index-head-desc" onTap="goToDetail">
         <text class="index-head-desc-txt" >
           {{ utils.getSubTitle(componentData) }}
         </text>
-      </view>
+      </view> -->
       <!-- 消息通知 -->
       <view
         class="notification-container"