Просмотр исходного кода

公海线索分配样式修改

zhaoxiaohai 3 лет назад
Родитель
Сommit
f7e0c82922

+ 13 - 2
packageA/publicClue/modules/list/list.scss

@@ -6,11 +6,22 @@
     border-bottom: 1rpx solid #ddd;
     font-family: PingFang SC-Regular, PingFang SC;
     position: relative;
+
     .action {
         position: absolute;
-        right: 0;
-        bottom: 30rpx;
+        width: 130rpx;
+        height: 60rpx;
+        background-color: #fff !important;
+        border: 1rpx solid #CCCCCC !important;
+        border-radius: 8rpx;
+        font-size: 28rpx;
+        font-family: PingFang SC-Bold, PingFang SC;
+        font-weight: bold;
+        color: #666666 !important;
+        right: 20rpx;
+        bottom: 20rpx;
     }
+
     .title {
         position: relative;
         display: flex;

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

@@ -1,4 +1,4 @@
-    <!--packageA/activity/modules/list/index.wxml-->
+<!--packageA/activity/modules/list/index.wxml-->
 <navigator class="offer-list" url="/packageA/publicClue/detail?sat_orderclueid={{item.sat_orderclueid}}" wx:for="{{list}}" wx:key="item.sat_orderclueid">
     <view class="title">
         <text class="line-1">{{item.enterprisename_customer}}</text>
@@ -9,16 +9,13 @@
     <view class="exp line-1">手机号:<text>{{item.phonenumber || '--'}}</text></view>
     <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>
+    <van-button wx:if="{{item.status=='待分配'}}" custom-class='action' catchtap="distribution" data-item="{{item}}">分配</van-button>
 </navigator>
 
 <My_empty wx:if="{{list.length == 0}}" />
 
 <wxs module="backColor">
-    module.exports.getColor = function(status) {
+    module.exports.getColor = function (status) {
         var color = null;
         if (status == '待分配') {
             color = '#FA8C16';