Browse Source

fix: 志愿者订单列表

chenjj 3 weeks ago
parent
commit
a447f47152

+ 3 - 3
components/DictTag/index.vue

@@ -3,12 +3,11 @@
     <template v-for="(item, index) in options">
       <template v-if="values.includes(item.value)">
         <span
-          v-if="(item.elTagType == 'default' || item.elTagType == '') && (item.elTagClass == '' || item.elTagClass == null)"
           :key="item.value"
           :index="index"
           :class="item.elTagClass"
         >{{ item.label + " " }}</span>
-        <up-tag
+        <!-- <up-tag
           v-else
           :disable-transitions="true"
           :key="item.value + ''"
@@ -16,7 +15,7 @@
           :type="item.elTagType"
           :class="item.elTagClass"
           :text="item.label + ''"
-        ></up-tag>
+        ></up-tag> -->
       </template>
     </template>
     <template v-if="unmatch && showValue">
@@ -81,4 +80,5 @@ function handleArray(array) {
 .el-tag + .el-tag {
   margin-left: 10px;
 }
+
 </style>

+ 1 - 1
pages_classify/components/orderList/listItem.vue

@@ -12,7 +12,7 @@
                     <view v-if="data.score || ['0','1'].includes(String(data.orderStatus))">
                         <dict-tag :options="lrr_service_status" :value="String(data.orderStatus)"  />
                     </view>
-                    <text v-else>
+                    <text v-else class="color-blue ">
                         待评价
                     </text>
                 </view>

+ 13 - 0
static/scss/global.scss

@@ -129,4 +129,17 @@
   align-items: center;
   justify-content: center;
   flex-direction: column;
+}
+.color-orange {
+  color: rgba(255, 149, 0, 1);
+}
+.color-blue {
+  color: rgba(51, 102, 255, 1);
+}
+.color-green {
+  color: rgba(52, 199, 89, 1);
+}
+
+.color-grey {
+  color: rgba(153, 153, 153, 1);
 }