linwenxin 5 месяцев назад
Родитель
Сommit
e6bce6d24f
1 измененных файлов с 32 добавлено и 3 удалено
  1. 32 3
      src/components/selectionWorkers.vue

+ 32 - 3
src/components/selectionWorkers.vue

@@ -1,8 +1,33 @@
 <template>
   <view class="z-popup">
     <view class="zhuangtaitubiao" style="justify-content: flex-start !important">
-      <view class="title">{{ title }}</view>
-      <view class="row">
+      <view class="title">
+        <tag
+          style="
+            background-image: linear-gradient(to bottom right, #7fdaff, #6da7ff);
+            border-radius: 4rpx;
+            box-sizing: border-box;
+            padding: 10rpx;
+            opacity: 0;
+          "
+        >
+          <text style="color: #ffffff">{{ detail.orderSmallTypeText.slice(0, 2) }}</text>
+        </tag>
+        <view>
+          {{ title }}
+        </view>
+        <tag
+          style="
+            background-image: linear-gradient(to bottom right, #7fdaff, #6da7ff);
+            border-radius: 4rpx;
+            box-sizing: border-box;
+            padding: 10rpx;
+          "
+        >
+          <text style="color: #ffffff">{{ detail.orderSmallTypeText.slice(0, 2) }}</text>
+        </tag>
+      </view>
+      <!-- <view class="row">
         <view class="label">工单类型:</view>
         <view class="value">
           <tag
@@ -16,7 +41,7 @@
             <text style="color: #ffffff">{{ detail.orderSmallTypeText.slice(0, 2) }}</text>
           </tag>
         </view>
-      </view>
+      </view> -->
       <view class="row">
         <view class="label">客户名称:</view>
         <view class="value">{{ detail.userName }}</view>
@@ -181,6 +206,10 @@ export default {
     font-size: 28rpx;
     font-weight: bold;
     align-items: left;
+    width: 100%;
+    display: flex;
+    justify-content: space-between;
+    align-items: center;
   }
   .row {
     display: flex;