jufubao-base 1.0.243-beta205 → 1.0.243-beta206
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -461,6 +461,9 @@
|
|
|
461
461
|
.sec_body{
|
|
462
462
|
font-size: 24rpx;
|
|
463
463
|
font-weight: 400;
|
|
464
|
+
.sec_prod + .sec_prod{
|
|
465
|
+
margin-top: 24rpx;
|
|
466
|
+
}
|
|
464
467
|
.sec_item{
|
|
465
468
|
display: flex;
|
|
466
469
|
align-items: center;
|
|
@@ -503,8 +506,9 @@
|
|
|
503
506
|
}
|
|
504
507
|
}
|
|
505
508
|
.sec_r{
|
|
506
|
-
|
|
509
|
+
|
|
507
510
|
._copy{
|
|
511
|
+
width: 80rpx;
|
|
508
512
|
padding: 4rpx 20rpx;
|
|
509
513
|
border-radius: 24rpx;
|
|
510
514
|
color: #CCCCCC;
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
:size="28"
|
|
59
59
|
></xd-font-icon>
|
|
60
60
|
{{item.business_name}}</view>
|
|
61
|
-
<view class="service_type" :style="
|
|
62
|
-
<xd-font-icon :icon="
|
|
61
|
+
<view class="service_type" :style="[item.colorStyle]">
|
|
62
|
+
<xd-font-icon :icon="item.icon" size="32"></xd-font-icon>
|
|
63
63
|
<view style="margin-left: 8rpx;">{{ item.after_sale_method_name }}</view>
|
|
64
64
|
</view>
|
|
65
65
|
</view>
|
|
@@ -196,35 +196,7 @@
|
|
|
196
196
|
|
|
197
197
|
this.afterSalesDetailPath = getContainerPropsValue(container, "content.afterSalesDetailPath", { value: "" }).value;
|
|
198
198
|
},
|
|
199
|
-
|
|
200
|
-
switch (method) {
|
|
201
|
-
case "refund_and_good":
|
|
202
|
-
return { color: "#FF5733" };
|
|
203
|
-
case "refund":
|
|
204
|
-
return { color: "#FF5733" };
|
|
205
|
-
case "exchange":
|
|
206
|
-
return { color: "#2A82E4" };
|
|
207
|
-
case "again":
|
|
208
|
-
return { color: "#43CF7C" };
|
|
209
|
-
case "good":
|
|
210
|
-
return { color: "#FF8D1A" };
|
|
211
|
-
case "zero":
|
|
212
|
-
return { color: "#FF8D1A" };
|
|
213
|
-
default:
|
|
214
|
-
return {};
|
|
215
|
-
}
|
|
216
|
-
},
|
|
217
|
-
getMethodTypeIcon(method){
|
|
218
|
-
let method_icon = {
|
|
219
|
-
'refund_and_good': "icontuikuan",
|
|
220
|
-
'refund': "icontuihuo",
|
|
221
|
-
'exchange': "iconhuanhuo",
|
|
222
|
-
'again': "iconbufa",
|
|
223
|
-
'zero': 'iconhuanhuo'
|
|
224
|
-
}
|
|
225
|
-
return method_icon[method] || "";
|
|
226
|
-
|
|
227
|
-
},
|
|
199
|
+
|
|
228
200
|
handleSearch(e){
|
|
229
201
|
console.log("handleSearch",e)
|
|
230
202
|
this.page_token = 1;
|
|
@@ -265,6 +237,34 @@
|
|
|
265
237
|
})
|
|
266
238
|
}, '确定删除当前工单吗?')
|
|
267
239
|
},
|
|
240
|
+
getMethodTypeStyle(method){
|
|
241
|
+
switch (method) {
|
|
242
|
+
case "refund_and_good":
|
|
243
|
+
return { color: "#FF5733" };
|
|
244
|
+
case "refund":
|
|
245
|
+
return { color: "#FF5733" };
|
|
246
|
+
case "exchange":
|
|
247
|
+
return { color: "#2A82E4" };
|
|
248
|
+
case "again":
|
|
249
|
+
return { color: "#43CF7C" };
|
|
250
|
+
case "good":
|
|
251
|
+
return { color: "#FF8D1A" };
|
|
252
|
+
case "zero":
|
|
253
|
+
return { color: "#FF8D1A" };
|
|
254
|
+
default:
|
|
255
|
+
return {};
|
|
256
|
+
}
|
|
257
|
+
},
|
|
258
|
+
getMethodTypeIcon(method){
|
|
259
|
+
let method_icon = {
|
|
260
|
+
'refund_and_good': "icontuikuan",
|
|
261
|
+
'refund': "icontuihuo",
|
|
262
|
+
'exchange': "iconhuanhuo",
|
|
263
|
+
'again': "iconbufa",
|
|
264
|
+
'zero': 'iconhuanhuo'
|
|
265
|
+
}
|
|
266
|
+
return method_icon[method] || "";
|
|
267
|
+
},
|
|
268
268
|
getList() {
|
|
269
269
|
this.$xdShowLoading({});
|
|
270
270
|
jfbRootExec("getAfterServiceOrderList", {
|
|
@@ -285,6 +285,8 @@
|
|
|
285
285
|
prod.thumb = getServiceUrl(prod.thumb);
|
|
286
286
|
return prod;
|
|
287
287
|
})
|
|
288
|
+
item.colorStyle = this.getMethodTypeStyle(item.after_sale_method);
|
|
289
|
+
item.icon = this.getMethodTypeIcon(item.after_sale_method);
|
|
288
290
|
return item;
|
|
289
291
|
});
|
|
290
292
|
if (this.page_token === 1) {
|