codeMan 3 jaren geleden
bovenliggende
commit
e2c331e960
2 gewijzigde bestanden met toevoegingen van 25 en 6 verwijderingen
  1. 22 3
      packageA/publicClue/modules/list/list.scss
  2. 3 3
      packageA/publicClue/modules/list/list.wxml

+ 22 - 3
packageA/publicClue/modules/list/list.scss

@@ -8,13 +8,32 @@
     position: relative;
     .action {
         position: absolute;
-        right: 0;
-        bottom: 30rpx;
+        right:0rpx;
+        bottom: 0rpx;
+        width: 150rpx;
+        height: 100rpx;
+        display: flex;
+        align-items: center;
+        flex-direction: row-reverse;
+        padding-right: 30rpx;
+        .distribution {
+            width: 130rpx;
+            background: #FFFFFF;
+            border-radius: 8rpx;
+            opacity: 1;
+            border: 1rpx solid #CCCCCC;
+            font-size: 24rpx;
+            font-family: PingFang SC-Regular, PingFang SC;
+            font-weight: 400;
+            color: #666666;
+            line-height: 50rpx;
+
+            text-align: center;
+        }
     }
     .title {
         position: relative;
         display: flex;
-        height: 42rpx;
         align-items: center;
 
         >text {

+ 3 - 3
packageA/publicClue/modules/list/list.wxml

@@ -10,9 +10,9 @@
     <view class="exp line-1">来源:<text>{{item.cluesource ? item.cluesource : '--'}}</text></view>
     <view class="exp line-1">线索类型:<text>{{item.cluetype ? item.cluetype : '--'}}</text></view>
     
-    <navigator wx:if="{{item.status=='待分配'}}" class="action" catchtap="distribution" data-item="{{item}}">
-        <view style="color: red;margin-right: 30rpx;" class="iconfont icon-dibu-genghuanjingxiaoshang"></view>
-    </navigator>
+    <view wx:if="{{item.status=='待分配'}}" class="action" catchtap="distribution" data-item="{{item}}">
+        <navigator url="#" class="distribution">分配</navigator>
+    </view>
 </navigator>
 
 <My_empty wx:if="{{list.length == 0}}" />