Browse Source

fix: 切换就诊人眼镜修改为x,预约挂号科室分行显示

liweimin 2 years ago
parent
commit
1fc8eec86a

+ 20 - 0
antbuilder/industry/hospitalV2/components/components/popup-container/index.acss

@@ -18,3 +18,23 @@
 .hospital-new-component .popup-custom-container .scroll-view {
   max-height: 70vh;
 }
+.removes {
+  position: absolute;
+  right: 0;
+  top: 0;
+  color: #999;
+  cursor: pointer;
+  padding: 5px 10px;
+}
+ 
+.removes::before {
+  content: "\2716";
+  display: inline-block;
+  transition: all 0.4s;
+  transform: rotate(0deg);
+}
+ 
+.removes:hover::before {
+  color: #2c3e50;
+  transform: rotate(90deg);
+}

+ 5 - 2
antbuilder/industry/hospitalV2/components/components/popup-container/index.axml

@@ -12,11 +12,14 @@
           {{ title }}
         </view>
         <view onTap="onPopupClose">
-          <am-icon
+          <!-- <am-icon
             size="22"
             type="close"
             color="#d8d8d8"
-          />
+          /> -->
+          <view class="removes">
+            
+          </view>
         </view>
       </view>
       <scroll-view scroll-y="true" disableScroll="{{ false }}" class="scroll-view">

+ 1 - 0
antbuilder/industry/hospitalV2/components/select-department/tree-select/tree-item/index.acss

@@ -18,6 +18,7 @@
 }
 .hospital-new-component .tree-select-second .row-text {
   flex: 1;
+  text-align: center;
 }
 .hospital-new-component .tree-select-second .second-last-items {
   height: 0;

+ 2 - 2
antbuilder/industry/hospitalV2/components/select-department/tree-select/tree-item/index.axml

@@ -2,7 +2,7 @@
 <view class="tree-select-second-item{{ open ? ' open' : '' }}">
   <view class="second-item-row" onTap="onOpen">
     <view class="row-text">
-      <text number-of-lines="1">{{ item.name }}</text>
+      <text number-of-lines="5">{{ item.name }}</text>
     </view>
     <view class="arrow">
       <am-icon type="right" color="#999" size="16" />
@@ -16,7 +16,7 @@
       a:for="{{ h.getItems(item, lastCache) }}"
     >
       <view class="row-text">
-        <text number-of-lines="1">{{ item.name }}</text>
+        <text number-of-lines="5">{{ item.name }}</text>
       </view>
       <view class="arrow">
         <am-icon type="right" color="#999" size="16" />