Преглед изворни кода

1、修改dk-list组件
2、修改dk-save-button组件

zhoux пре 1 година
родитељ
комит
ccb9b414cf

+ 4 - 2
components/dkbase/dk-list/dk-list.wxss

@@ -101,13 +101,13 @@
 .status-class {
   /* width: 40%; */
   height: 49rpx;
+  line-height: 49rpx;
   padding-right: 4rpx;
 }
 
 .status-detail-class {
   min-width: 120rpx;
-  height: 40rpx;
-  line-height: 40rpx;
+  height: 49rpx;
   text-align: center;
   font-size: 13px;
   font-weight: 600;
@@ -176,6 +176,8 @@
   text-align: center;
   background-color: #FFE5BD;
   line-height: 49rpx;
+  padding-left: 8rpx;
+  padding-right: 8rpx;
 }
 
 .corner-view-text {

+ 1 - 1
components/dkbase/dk-save-button/dk-save-button.wxml

@@ -18,7 +18,7 @@
           <view style=" margin-left: 15rpx;color:{{item.color?item.color:'#1B365D'}}; font-size:{{item.fontSize?item.fontSize:'14px'}};font-weight: {{form[item.code]?'bold':'normal'}};">{{item.title}}</view>
         </view>
         <!--单数和件数-->
-        <view wx:if="{{item.type == 'count'}}" style="display: flex ;margin-top: 10rpx;color: {{item.color?item.color:'#2B2B2B'}};font-size: {{item.fontSize?item.fontSize:'12px'}}">
+        <view wx:if="{{item.type == 'count'}}" style="display: flex ;margin-top: 10rpx; margin-bottom: 10rpx;color: {{item.color?item.color:'#2B2B2B'}};font-size: {{item.fontSize?item.fontSize:'12px'}}">
           <view wx:if="{{item.bill || item.bill == 0}}">共:{{item.bill}}{{item.tail?item.tail:'单'}}</view>
           <view wx:if="{{item.quantity!=null}}" style="padding-left: {{(item.bill || item.bill == 0)?'20rpx':''}} ">{{countName}}:{{item.quantity}}{{countEnd}}
           </view>

+ 1 - 1
package-base-select/pages/select-source-sale-order/select-source-sale-order.wxss

@@ -80,7 +80,7 @@
   width: 100%;
   border-radius: 15rpx 15rpx 0px 0px;
   background-repeat: no-repeat;
-  background-size: 100% 46px;
+  background-size: 100% 100rpx;
 }
 
 .main-class-source {