Handy_Cao 2 years ago
parent
commit
0e5493980d

+ 3 - 3
GuangZuan/miniprogram/mHome/pages/search/index.less

@@ -57,7 +57,7 @@
         bottom: 0;
         width: 0;
         height: 0;
-        border-bottom: 15px solid rebeccapurple;
+        border-bottom: 15px solid #407DB8;
         border-left: 14px solid transparent; 
       }
     }
@@ -96,11 +96,11 @@
     }
   
     button:nth-child(1) {
-      background-color: red;
+      background-color: #F7A657;
     }
     
     button:nth-child(2) {
-      background-color: purple;
+      background-color: #407DB8;
     }
   }
 }

+ 26 - 3
GuangZuan/miniprogram/mTrade/pages/listingbuy/index.less

@@ -53,7 +53,7 @@
         bottom: 0;
         width: 0;
         height: 0;
-        border-bottom: 15px solid rebeccapurple;
+        border-bottom: 15px solid #407DB8;
         border-left: 14px solid transparent; 
       }
     }
@@ -65,10 +65,33 @@
       align-content: center;
       justify-content: center;
 
+      .content__item__step {
+        display: flex;
+        flex-direction: row;
+        justify-content: start;
+        align-items: center;
+        align-content: center;
+        width: 100%;
+  
+        &__item {
+          display: flex;
+          flex-direction: column;
+          align-items: center;
+          align-content: center;
+          margin-bottom: 5px;
+
+          text {
+            font-size: 12px;
+            padding: 2.5px 5px;
+            text-align: center;
+          }
+        }
+      }
+
       .plantmp {
         color: #333;
         font-size: 14px;
-        width: 80%;
+        width: 100%;
         height: 30px;
       }
     }
@@ -89,7 +112,7 @@
     margin-top: 20px;
   
     van-button {
-      width: 80%;
+      width: 90%;
     }
   }
   

+ 2 - 0
GuangZuan/miniprogram/mTrade/pages/listingbuy/index.ts

@@ -14,6 +14,8 @@ Page({
   data: {
     /// 底部安全区域
     safeBottom: getApp().globalData.safeBottom,
+    /// 颜色
+    tcolors: ['rebeccapurple', 'green', 'hotpink', 'orange', 'darkgoldenrod'],
     /// tabs
     tabs: [{ id: 2, name: '单颗裸钻' }, { id: 5, name: '单颗彩钻' }],
     /// tab索引

+ 8 - 2
GuangZuan/miniprogram/mTrade/pages/listingbuy/index.wxml

@@ -28,6 +28,12 @@
     <text class="title">履约方式</text>
     <view class="content prestyle">
       <view class="plantmp" id="plantmp" bindtap="showPlanTmps">{{ tmp.templatename }}</view>
+      <view class="content__item__step">
+        <view class="content__item__step__item" wx:for="{{ tmp.LstStep }}" wx:for-item="itm" wx:for-index="idx" wx:key="idx"> 
+          <text style="background-color: {{ tcolors[idx] }}; color: white;">{{ itm.stepinfo }}</text>
+          <text>{{ itm.stepdate }}</text>
+        </view>
+      </view>
     </view>
   </view>
 
@@ -72,7 +78,7 @@
   </view>
 
   <!-- 切工 -->
-  <view class="cell-view qiegong"> 
+  <view class="cell-view qiegong" wx:if="{{ active === 0 }}"> 
     <text class="title">切工</text>
     <view class="content qiegong">
       <van-dropdown-menu custom-class="menu qiegongs" direction="up">
@@ -117,7 +123,7 @@
 
   <!-- 提交按钮视图 -->
   <view class="button-view" style="width: 100%;">
-    <van-button id="close" block round color="#7232dd" bind:click="doListingBuy">发布求购</van-button>
+    <van-button id="close" block round color="#407DB8" bind:click="doListingBuy">发布求购</van-button>
   </view>
 </view>
 

+ 1 - 1
GuangZuan/miniprogram/mTrade/pages/listingsell/index.less

@@ -182,7 +182,7 @@
   
     van-button {
       height: 40px;
-      width: 80%;
+      width: 90%;
     }
   }
 }

+ 1 - 1
GuangZuan/miniprogram/mTrade/pages/listingsell/index.wxml

@@ -54,7 +54,7 @@
 
   <!-- 提交按钮视图 -->
   <view class="button-view" style="padding-bottom: {{ safeBottom }}px;">
-    <van-button id="close" block round color="#7232dd" bind:click="doListingSell">确认出售</van-button>
+    <van-button id="close" block round color="#407DB8" bind:click="doListingSell">确认出售</van-button>
   </view>
 </view>