bayi 1 éve
szülő
commit
a233326359

+ 8 - 0
salesperson/pages/management/index.js

@@ -23,4 +23,12 @@ Page({
              columnId
          }); */
     },
+    setClass({
+        currentTarget
+    }) {
+        this.setData({
+            currentIndex: currentTarget.dataset.index,
+        });
+        // this.resetData();
+    },
 })

+ 22 - 4
salesperson/pages/management/index.less

@@ -2,8 +2,7 @@
     padding: 0 20rpx;
 
     .categoryBox {
-        margin-top: 24rpx;
-        margin-bottom: 38rpx;
+        margin: 24rpx 0;
         display: flex;
         align-items: center;
         justify-content: space-between;
@@ -25,6 +24,25 @@
     }
 
     .orderList {
+        .tips {
+            margin-bottom: 20rpx;
+            position: relative;
+            padding: 14rpx 0;
+            text-align: center;
+            background: #FFFAEA;
+            font-size: 24rpx;
+            color: #FE9221;
+
+            .close {
+                position: absolute;
+                top: 50%;
+                transform: translateY(-50%);
+                right: 20rpx;
+                font-size: 40rpx;
+                line-height: 40rpx;
+            }
+        }
+
         .order {
             width: 100%;
             padding: 18rpx 26rpx;
@@ -78,9 +96,9 @@
                     align-items: center;
                     justify-content: space-between;
                     font-size: 26rpx;
-                    .money{
+
+                    .money {
                         color: black;
-                        font-weight: bold;
                     }
                 }
             }

+ 2 - 0
salesperson/pages/management/index.wxml

@@ -6,6 +6,8 @@
         </view>
     </view>
     <scroll-view class="orderList" scroll-y="true" enhanced show-scrollbar="{{false}}" bindscrolltolower='loadMore'>
+        <view class="tips">温馨提示:退款的订单不计入收益系统 <view class="close">×</view>
+        </view>
         <view class="order" wx:for="{{5}}" wx:key="index">
             <view class="above">
                 <view class="userInfo">

+ 18 - 3
salesperson/pages/management/index.wxss

@@ -2,8 +2,7 @@
   padding: 0 20rpx;
 }
 .container .categoryBox {
-  margin-top: 24rpx;
-  margin-bottom: 38rpx;
+  margin: 24rpx 0;
   display: flex;
   align-items: center;
   justify-content: space-between;
@@ -21,6 +20,23 @@
   color: #FE9221;
   font-weight: bold;
 }
+.container .orderList .tips {
+  margin-bottom: 20rpx;
+  position: relative;
+  padding: 14rpx 0;
+  text-align: center;
+  background: #FFFAEA;
+  font-size: 24rpx;
+  color: #FE9221;
+}
+.container .orderList .tips .close {
+  position: absolute;
+  top: 50%;
+  transform: translateY(-50%);
+  right: 20rpx;
+  font-size: 40rpx;
+  line-height: 40rpx;
+}
 .container .orderList .order {
   width: 100%;
   padding: 18rpx 26rpx;
@@ -71,5 +87,4 @@
 }
 .container .orderList .order .below .row .money {
   color: black;
-  font-weight: bold;
 }