shish 10 месяцев назад
Родитель
Сommit
4815dc9bef
1 измененных файлов с 25 добавлено и 9 удалено
  1. 25 9
      ghsApp/src/admin/home/components/OrderItem.vue

+ 25 - 9
ghsApp/src/admin/home/components/OrderItem.vue

@@ -103,9 +103,8 @@
             <i class="iconfont iconxiangyou"></i>
           </view>
         </view>
-        <view class="order-info_box" v-if="!$util.isEmpty(item.remark)">
-          <view class="remark-label" style="color:red;">备注:</view>
-          <view class="remark-text" style="color:red;">{{ item.remark }}</view>
+        <view class="order-info_box remark-box" v-if="!$util.isEmpty(item.remark)">
+          <view class="remark-text">{{ item.remark }}</view>
         </view>
         <view
           v-if="item.sameTimeIdsNum && item.sameTimeIdsNum > 1"
@@ -155,7 +154,6 @@
         <block v-else-if="item.sendStatus == 3">
           <view class="text-center"><button class="admin-button-com" @click="callIntraCity(item)">重叫跑腿</button></view>
         </block>
-        <view class="text-center"><button class="admin-button-com" @click="">修改备注</button></view>
         <view class="text-center"><button class="admin-button-com" @click="addExpress(item)">顺丰下单</button></view>
         <view class="text-center"><button class="admin-button-com" @click="cancelExpress(item)">取消顺丰订单</button></view>
         <view class="text-center"><button class="admin-button-com" @click="fillNoFh(item)">填单发货</button></view>
@@ -590,10 +588,28 @@ export default {
   margin-left: 10upx;
 }
 
-.remark-label,
-.remark-text {
-  color: red;
-  font-weight: bold;
+.remark-box {
+  background-color: #ffebee;
+  border-left: 4upx solid #d32f2f;
+  padding: 15upx 20upx;
+  margin: 10upx 0;
+  border-radius: 8upx;
+  display: block !important; /* 覆盖父级的 flex 布局 */
+}
+
+.remark-box .remark-text {
+  color: #d32f2f !important; /* 强制覆盖父级颜色 */
+  font-weight: bold !important;
+  font-size: 28upx !important;
+  line-height: 1.5;
+  word-break: break-all;
+}
+
+/* 更强的选择器确保样式生效 */
+.order-list_info .order-info_box.remark-box .remark-text {
+  color: #d32f2f !important;
+  font-weight: bold !important;
+  font-size: 28upx !important;
 }
 
 .merge-tips {
@@ -731,4 +747,4 @@ input:-ms-input-placeholder {
 input::-ms-input-placeholder {
   line-height: 60upx;
 }
-</style>
+</style>