zhaoxiaohai 3 سال پیش
والد
کامیت
231be385b4
2فایلهای تغییر یافته به همراه6 افزوده شده و 1 حذف شده
  1. 3 0
      pages/threadedTree/details/modules/details/index.js
  2. 3 1
      pages/threadedTree/details/modules/details/index.wxml

+ 3 - 0
pages/threadedTree/details/modules/details/index.js

@@ -6,6 +6,9 @@ Component({
     properties: {
         detailsData: {
             type: Object
+        },
+        tagColor: {
+            type: String
         }
     },
 

+ 3 - 1
pages/threadedTree/details/modules/details/index.wxml

@@ -10,7 +10,9 @@
 <van-cell title-width='130px' clickable title-class='title-class' title="来源" value="{{detailsData.cluesource}}" />
 <van-cell title-width='130px' clickable title-class='title-class' title="所属经销商" value="{{detailsData.agentname}}" />
 <van-cell title-width='130px' clickable title-class='title-class' title="负责人" value="{{detailsData.leadername}}" />
-<van-cell title-width='130px' clickable title-class='title-class' title="状态" value="{{detailsData.status}}" />
+<van-cell title-width='130px' clickable title-class='title-class' title="状态" color='#fff'>
+    <text style="color: {{tagColor}};">{{detailsData.status}}</text>
+</van-cell>
 
 <view class="title">系统信息</view>
 <van-cell title-width='130px' clickable title-class='title-class' title="创建人" value="{{detailsData.createBy}}" />