jufubao-base 1.0.243-beta2 → 1.0.243-beta201

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.
Files changed (46) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseAfterOrderList/Attr.js +13 -0
  3. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +33 -1
  4. package/src/components/JfbBaseAfterSales/Api.js +58 -0
  5. package/src/components/JfbBaseAfterSales/Attr.js +25 -0
  6. package/src/components/JfbBaseAfterSales/JfbBaseAfterSales.vue +550 -0
  7. package/src/components/JfbBaseAfterSales/JfbBaseAfterSalesLess.less +79 -0
  8. package/src/components/JfbBaseAfterSales/JfbBaseAfterSalesMixin.js +30 -0
  9. package/src/components/JfbBaseAfterSales/Mock.js +13 -0
  10. package/src/components/JfbBaseAfterSales/refundOrderInfo.vue +150 -0
  11. package/src/components/JfbBaseAfterSalesDetail/Api.js +41 -0
  12. package/src/components/JfbBaseAfterSalesDetail/Attr.js +25 -0
  13. package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetail.vue +538 -0
  14. package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetailLess.less +79 -0
  15. package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetailMixin.js +30 -0
  16. package/src/components/JfbBaseAfterSalesDetail/Mock.js +60 -0
  17. package/src/components/JfbBaseAfterSalesDetail/secProd.vue +58 -0
  18. package/src/components/JfbBaseAfterSalesFast/Api.js +30 -0
  19. package/src/components/JfbBaseAfterSalesFast/Attr.js +32 -0
  20. package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFast.vue +297 -0
  21. package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFastLess.less +79 -0
  22. package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFastMixin.js +30 -0
  23. package/src/components/JfbBaseAfterSalesFast/Mock.js +38 -0
  24. package/src/components/JfbBaseAfterSalesList/Api.js +40 -0
  25. package/src/components/JfbBaseAfterSalesList/Attr.js +107 -0
  26. package/src/components/JfbBaseAfterSalesList/JfbBaseAfterSalesList.vue +463 -0
  27. package/src/components/JfbBaseAfterSalesList/JfbBaseAfterSalesListLess.less +79 -0
  28. package/src/components/JfbBaseAfterSalesList/JfbBaseAfterSalesListMixin.js +30 -0
  29. package/src/components/JfbBaseAfterSalesList/Mock.js +362 -0
  30. package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +4 -6
  31. package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +10 -16
  32. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +6 -10
  33. package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +6 -10
  34. package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +2 -16
  35. package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlay.vue +3 -5
  36. package/src/components/JfbBaseOrderDetail/Attr.js +36 -0
  37. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +21 -1
  38. package/src/components/JfbBaseOrderList/Attr.js +36 -0
  39. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +30 -0
  40. package/src/components/JfbBaseOrderList/Mock.js +1 -1
  41. package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +17 -5
  42. package/src/components/JfbBasePay/JfbBasePay.vue +19 -35
  43. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +5 -21
  44. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +29 -30
  45. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBind.vue +11 -18
  46. package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +3 -5
@@ -0,0 +1,538 @@
1
+ <template>
2
+ <view
3
+ class="jfb-base-after-sales-detail"
4
+ @click="handleEditxSelect"
5
+ :class="{ editx : isEditx && active }"
6
+ >
7
+ <!--#ifdef H5-->
8
+ <view
9
+ class="jfb-base-after-sales-detail__edit"
10
+ :class="{ editx : isEditx && active }"
11
+ v-if="isEditx && active"
12
+ >
13
+ <view class="jfb-base-after-sales-detail__edit-icon" @click="delEdit">删除</view>
14
+ </view>
15
+ <!-- #endif -->
16
+ <view v-if="loaded" class="jfb-base-after-sales-detail__body" :style="{
17
+ minHeight: layoutInfo.bodyMinHeightRpx + 'rpx',
18
+ '--main-color': mainColor
19
+ }">
20
+ <view class="service_progress">
21
+ <view class="service_head">
22
+ <view>服务进度</view>
23
+ <view class="head_sub">{{ currentStepContent }}</view>
24
+ </view>
25
+ <view class="service_step">
26
+ <template v-for="(step, i) in stepList">
27
+ <view v-if="step.key==='line'" :key="i" class="step_line"></view>
28
+ <view v-else class="step_item" :key="'1' + i">
29
+ <view>
30
+ <xd-font-icon v-if="step.is_finish" icon="icondui_fill" :size="28" color="#FFFFFF"></xd-font-icon>
31
+ <view v-else class="step_radio"></view>
32
+ </view>
33
+ <view class="step_text">{{ step.name }}</view>
34
+ </view>
35
+ </template>
36
+ </view>
37
+ </view>
38
+
39
+ <view style="margin-top: -100rpx;padding: 20rpx;">
40
+
41
+ <!-- 物流信息 -->
42
+ <view class="refund_section" v-if="logisticsInfo.length">
43
+ <view class="sec_title">物流信息</view>
44
+ <view class="sec_body">
45
+ <view class="sec_item" v-for="(item, i) in logisticsInfo" :key="i">
46
+ <view class="sec_l">
47
+ <view>{{item.label}}:</view>
48
+ <view style="color: #333333;">{{ item.value }}</view>
49
+ </view>
50
+ <view class="sec_r">
51
+ <view v-if="item.copy" class="_copy" @click="handleCopy(item.value)">复制</view>
52
+ </view>
53
+ </view>
54
+ </view>
55
+ </view>
56
+
57
+ <!-- 物流信息、退款明细 -->
58
+ <view class="refund_section" v-if="refundInfo.length">
59
+ <view class="sec_title">退款明细</view>
60
+ <view class="sec_body">
61
+ <view class="sec_item" v-for="(item, i) in refundInfo" :key="i">
62
+ <view class="sec_l">
63
+ <view>{{ item.label }}<text v-if="item.key !== 'price'">:</text></view>
64
+ <view v-if="item.key !== 'price'" style="color: #333333;">{{item.value}}</view>
65
+ </view>
66
+ <view class="sec_r">
67
+ <view v-if="item.key === 'price'">
68
+ <xd-unit
69
+ :price="item.value"
70
+ :isOld="false"
71
+ :fontSize="32"
72
+ iconSize="0.4"
73
+ ></xd-unit>
74
+ </view>
75
+ <view v-if="item.copy" class="_copy" @click="handleCopy(item.value)">复制</view>
76
+ </view>
77
+ </view>
78
+ </view>
79
+ </view>
80
+
81
+ <!-- 新商品 -->
82
+ <view v-if="newProductList.length" class="refund_section">
83
+ <view class="sec_title">
84
+ <view class="sec_tag _new">新商品</view>
85
+ </view>
86
+ <view class="sec_body">
87
+ <SecProd v-for="(item,i) in newProductList" :key="i" :item="item"></SecProd>
88
+ </view>
89
+ </view>
90
+
91
+ <view class="refund_section">
92
+ <!-- 换货展示 -->
93
+ <view v-if="after_sale_method==='exchange'" class="sec_title">
94
+ <view class="sec_tag _refund">退/换商品</view>
95
+ </view>
96
+ <view v-if="refundProductList.length" class="sec_title">
97
+ <SecProd v-for="(item, i) in refundProductList" :key="i" :item="item"></SecProd>
98
+ </view>
99
+ <view class="sec_body">
100
+ <view class="sec_item" v-for="(item, i) in orderInfoList" :key="i">
101
+ <view class="sec_l">
102
+ <view>{{item.label}}:</view>
103
+ <view v-if="item.key=='img'" class="img_list">
104
+ <view class="img_box" v-for="(img, ii) in item.value" :key="ii">
105
+ <image :src="img" mode="aspectFit"></image>
106
+ </view>
107
+ </view>
108
+ <view v-else class="sec_l_text" style="color: #333333;">{{item.value}}</view>
109
+ </view>
110
+ <view v-if="item.copy" class="sec_r" >
111
+ <view class="_copy" @click="handleCopy(item.value)">复制</view>
112
+ </view>
113
+ </view>
114
+ </view>
115
+ </view>
116
+ </view>
117
+ <view v-if="baseInfo.is_show_cancel_btn==='Y' || baseInfo.is_show_delete_btn==='Y'" class="bottom_fixed" :style="prod_bottom">
118
+ <view v-if="baseInfo.is_show_cancel_btn==='Y'" class="opt_btn primary" @click="handleCancel">撤销</view>
119
+ <view v-if="baseInfo.is_show_delete_btn==='Y'" class="opt_btn" @click="handleDel">删除</view>
120
+ </view>
121
+ </view>
122
+ </view>
123
+ </template>
124
+
125
+ <script>
126
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
127
+ import XdRadio from "@/components/XdRadio/XdRadio"
128
+ import XdUnit from "@/components/XdUnit/XdUnit"
129
+ import XdButton from "@/components/XdButton/XdButton"
130
+ import SecProd from "./secProd.vue"
131
+ import { jfbRootExec } from "@/utils/xd.event";
132
+ import JfbBaseAfterSalesDetailMixin from "./JfbBaseAfterSalesDetailMixin";
133
+ import { getContainerPropsValue } from "@/utils/xd.base";
134
+ import componentsMixins from "@/mixins/componentsMixins";
135
+ import extsMixins from "@/mixins/extsMixins";
136
+ import getServiceUrl from "@/common/getServiceUrl";
137
+ export default {
138
+ name: "JfbBaseAfterSalesDetail",
139
+ components: {
140
+ XdFontIcon,
141
+ XdRadio,
142
+ XdUnit,
143
+ XdButton,
144
+ SecProd
145
+ },
146
+ mixins: [
147
+ componentsMixins, extsMixins, JfbBaseAfterSalesDetailMixin
148
+ ],
149
+ data() {
150
+ return {
151
+ stepList: [],
152
+ orderInfoList: [],
153
+ refundInfo: [],
154
+ logisticsInfo: [],
155
+ refundProductList: [],
156
+ newProductList: [],
157
+ baseInfo: {},
158
+ //todo
159
+ service_order_id: "",
160
+ after_sale_method: "",
161
+ loaded: false,
162
+ serviceListPath: "",
163
+ }
164
+ },
165
+ computed: {
166
+ prod_bottom() {
167
+ return this.fixedStyle({ height: 20, zIndex: 111 });
168
+ },
169
+ //当前步骤(is_finish:true)的文案content
170
+ currentStepContent(){
171
+ //获取res.progress最后一个is_finish=true的节点
172
+ let res = this.stepList.filter(item => item.is_finish);
173
+ if(!res.length) return "";
174
+ return res[res.length-1].content;
175
+ }
176
+ },
177
+ watch: {
178
+ container(value, oldValue) {
179
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
180
+ if (this.$configProject['isPreview']) this.init(value)
181
+ },
182
+ },
183
+ created() {
184
+ this.init(this.container);
185
+
186
+ //todo
187
+ },
188
+ methods: {
189
+ onJfbLoad(options) {
190
+ this.service_order_id = options.service_order_id;
191
+ this.p_getAfterServiceOrder();
192
+ },
193
+ /**
194
+ * @description 监听事件变化
195
+ * @param container {object} 业务组件对象自己
196
+ */
197
+ init(container) {
198
+ this.serviceListPath = getContainerPropsValue(container, 'serviceListPath', {value: ""}).value;
199
+ //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
200
+ //this.height = getContainerPropsValue(container, 'content.height', 10);
201
+ },
202
+ p_getAfterServiceOrder(){
203
+ this.$xdShowLoading({});
204
+ jfbRootExec("getAfterServiceOrder", {
205
+ vm: this,
206
+ data: {
207
+ service_order_id: this.service_order_id,
208
+ }
209
+ }).then(res => {
210
+ this.$xdHideLoading();
211
+ this.baseInfo = res;
212
+ try{
213
+ var imgList = JSON.parse(res.refund_voucher);
214
+ imgList = imgList.map(item => {
215
+ return getServiceUrl(item)
216
+ })
217
+ }catch(e){imgList=[]}
218
+ this.orderInfoList = [
219
+ { label: "订单编号", value: res.main_order_id, copy: true },
220
+ { label: "工单编号", value: res.service_order_id, copy: true },
221
+ { label: "申请时间", value: this.$xdUniHelper.getDate( res["created_time"] * 1000 ).fullTime },
222
+ { label: "售后类型", value: res.after_sale_method_name },
223
+ { label: "申请原因", value: res.after_sale_type_name },
224
+ { label: "问题描述", value: res.customer_feedback },
225
+ { label: "凭证内容", value: imgList.length ? imgList : '无', key: imgList.length? "img" : ''}
226
+ ];
227
+ this.stepList = [
228
+ res.progress[0],
229
+ { key: "line"},
230
+ res.progress[1],
231
+ { key: "line"},
232
+ res.progress[2],
233
+ ]
234
+
235
+ //物流信息
236
+ if(res.express_info && res.express_info.express_number){
237
+ this.logisticsInfo = [
238
+ { label: "物流单号", value: res.express_info.express_number, copy: true },
239
+ { label: "快递公司", value: res.express_info.express_name }
240
+ ]
241
+ }
242
+ //退换货商品
243
+ this.refundProductList = res.product_list.map(item => {
244
+ item.thumb = getServiceUrl(item.thumb, 'size2');
245
+ return item;
246
+ })
247
+ //新商品
248
+ this.newProductList = res.new_product_list.map(item => {
249
+ item.thumb = getServiceUrl(item.thumb, 'size2');
250
+ return item;
251
+ })
252
+ //售后类型
253
+ this.after_sale_method = res.after_sale_method;
254
+ //退款明细
255
+ this.refundInfo = res.refund_settlement.map(item => {
256
+ item.label = item.pay_info || item.pay_name;
257
+ item.value = item.pay_price;
258
+ item.key = 'price';
259
+ return item;
260
+ });
261
+
262
+ this.loaded = true;
263
+ })
264
+ },
265
+ handleCopy(text){
266
+ uni.setClipboardData({
267
+ data: text,
268
+ success: function () {
269
+ uni.showToast({
270
+ title: '复制成功',
271
+ icon: "none"
272
+ });
273
+ }
274
+ });
275
+
276
+ },
277
+ handleCancel(){
278
+ this.$xdConfirm({
279
+ styles: this.styles,
280
+ title: "提示",
281
+ width: '90%',
282
+ content: '确定撤销当前工单吗?',
283
+ confirmText: '确认',
284
+ isHtml: true,
285
+ cancelText: '取消',
286
+ showClose: false,
287
+ success: (res) => {
288
+ if (res.confirm) {
289
+ jfbRootExec("cancelAfterServiceOrder", {
290
+ vm: this,
291
+ data: {
292
+ service_order_id: this.service_order_id
293
+ }
294
+ }).then(res => {
295
+ this.$xdUniHelper.navigateTo({
296
+ url: this.serviceListPath
297
+ })
298
+ })
299
+ }
300
+ else{
301
+ console.log('取消')
302
+ }
303
+ }
304
+ })
305
+ },
306
+ handleDel(){
307
+ this.$xdConfirm({
308
+ styles: this.styles,
309
+ title: "提示",
310
+ width: '90%',
311
+ content: '确定删除当前工单吗?',
312
+ confirmText: '确认',
313
+ isHtml: true,
314
+ cancelText: '取消',
315
+ showClose: false,
316
+ success: (res) => {
317
+ if (res.confirm) {
318
+ jfbRootExec("delAfterServiceOrder", {
319
+ vm: this,
320
+ data:{
321
+ service_order_id: this.service_order_id
322
+ }
323
+ }).then(res => {
324
+ this.$xdUniHelper.navigateTo({
325
+ url: this.serviceListPath
326
+ })
327
+ })
328
+ }
329
+ else{
330
+ console.log('取消')
331
+ }
332
+ }
333
+ })
334
+ },
335
+ onJfbScroll(options) {
336
+ // console.log('event.onJfbScroll', options)
337
+ },
338
+ onJfbReachBottom(options) {
339
+ console.log('event.onJfbReachBottom', options)
340
+ },
341
+ onJfbShow(options) {
342
+ console.log('event.onJfbShow', options)
343
+ },
344
+ onJfbHide(options) {
345
+ console.log('event.onJfbHide', options)
346
+ },
347
+ onJfbBack(options) {
348
+ console.log('event.onJfbBack', options)
349
+ },
350
+ onJfbUpdate(...data) {
351
+ console.log('event.onJfbUpdate', data)
352
+ },
353
+ onJfbCustomEvent(options) {
354
+ console.log('event.onJfbReachBottom', options)
355
+ },
356
+ }
357
+ }
358
+
359
+ </script>
360
+
361
+ <style scoped lang="less">
362
+ @import "./JfbBaseAfterSalesDetailLess.less";
363
+
364
+ .jfb-base-after-sales-detail {
365
+ &__body{
366
+ background: #FAFAFA;
367
+ padding-bottom: 100rpx;
368
+ box-sizing: border-box;
369
+ .service_progress{
370
+ height: 320rpx;
371
+ background: linear-gradient(270deg, #FF8469 0%, #FF5252 100%);
372
+ color: #FFFFFF;
373
+ padding: 40rpx;
374
+ box-sizing: border-box;
375
+ .service_head{
376
+ display: flex;
377
+ align-items: center;
378
+ font-size: 32rpx;
379
+ font-weight: 500;
380
+ justify-content: space-between;
381
+ .head_sub{
382
+ font-size: 24rpx;
383
+ font-weight: 400;
384
+ }
385
+ }
386
+ .service_step{
387
+ display: flex;
388
+ align-items: center;
389
+ justify-content: space-between;
390
+ font-size: 24rpx;
391
+ font-weight: 400;
392
+ margin-top: 48rpx;
393
+ .step_item{
394
+ display: flex;
395
+ flex-direction: column;
396
+ align-items: center;
397
+
398
+ .step_radio{
399
+ width: 24rpx;
400
+ height: 24rpx;
401
+ background: rgba(255, 255, 255, 0.3);
402
+ border: 2px solid #FFFFFF;
403
+ border-radius: 24rpx;
404
+ box-sizing: border-box;
405
+ }
406
+ .step_text{
407
+ margin-top: 8rpx;
408
+ }
409
+ }
410
+ .step_line{
411
+ width: 146rpx;
412
+ height: 4rpx;
413
+ background: #FFFFFF;
414
+ border-radius: 4rpx;
415
+ }
416
+ }
417
+ }
418
+ .refund_section{
419
+ background: #FFFFFF;
420
+ border-radius: 16rpx;
421
+ padding: 24rpx 40rpx;
422
+ box-sizing: border-box;
423
+ margin-bottom: 20rpx;
424
+ .sec_tag{
425
+ border-radius: 8rpx;
426
+ padding: 4rpx 16rpx;
427
+ font-size: 24rpx;
428
+ font-weight: 400;
429
+ display: inline-block;
430
+ &._new{
431
+ background: #FFDEDE;
432
+ color: #F00000;
433
+ }
434
+ &._refund{
435
+ background: #E6EEFF;
436
+ color: #0070F0;
437
+ }
438
+ }
439
+ .sec_title{
440
+ padding-bottom: 24rpx;
441
+ border-bottom: 1px solid #EEEEEE;
442
+ font-size: 26rpx;
443
+ color: #333333;
444
+ font-weight: 500;
445
+ margin-bottom: 24rpx;
446
+ }
447
+ .sec_body{
448
+ font-size: 24rpx;
449
+ font-weight: 400;
450
+ .sec_item{
451
+ display: flex;
452
+ align-items: center;
453
+ justify-content: space-between;
454
+ margin: 24rpx 0;
455
+ &:last-child{
456
+ margin-bottom: 0;
457
+ }
458
+ .sec_l{
459
+ color: #999999;
460
+ display: flex;
461
+ // align-items: center;
462
+ align-items: flex-start;
463
+ flex: 1;
464
+
465
+ .sec_l_text{
466
+ flex: 1;
467
+ width: 400rpx;
468
+ }
469
+
470
+ .img_list{
471
+ display: flex;
472
+ flex-wrap: wrap;
473
+ flex: 1;
474
+ .img_box{
475
+ width: 150rpx;
476
+ height: 150rpx;
477
+ border-radius: 8rpx;
478
+ border: 1px solid #E0E0E0;
479
+ margin-right: 20rpx;
480
+ margin-bottom: 20rpx;
481
+ &:nth-of-type(3n){
482
+ margin-right: 0;
483
+ }
484
+ image{
485
+ width: 100%;
486
+ height: 100%;
487
+ }
488
+ }
489
+ }
490
+ }
491
+ .sec_r{
492
+ width: 100rpx;
493
+ ._copy{
494
+ padding: 4rpx 20rpx;
495
+ border-radius: 24rpx;
496
+ color: #CCCCCC;
497
+ border: 1px solid #CCCCCC;
498
+ }
499
+ }
500
+ }
501
+
502
+ }
503
+ }
504
+ .bottom_fixed{
505
+ position: fixed;
506
+ bottom: 0;
507
+ left: 0;
508
+ width: 100%;
509
+ padding: 20rpx;
510
+ box-sizing: border-box;
511
+ background: #FFFFFF;
512
+ box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.1);
513
+ text-align: right;
514
+
515
+ .opt_btn{
516
+ width: 120rpx;
517
+ height: 60rpx;
518
+ background: #FFFFFF;
519
+ color: #999999;
520
+ border: 1px solid #999999;
521
+ font-size: 24rpx;
522
+ text-align: center;
523
+ line-height: 60rpx;
524
+ border-radius: 60rpx;
525
+ display: inline-block;
526
+ & + .opt_btn{
527
+ margin-left: 20rpx;
528
+ }
529
+ &.primary{
530
+ background: var(--main-color);
531
+ border-color: var(--main-color);
532
+ color: #FFFFFF;
533
+ }
534
+ }
535
+ }
536
+ }
537
+ }
538
+ </style>
@@ -0,0 +1,79 @@
1
+ /**
2
+ * @desc 获取绝对路径完整地址
3
+ * @param @path
4
+ **/
5
+ //例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
6
+ @basePath: 'business/';
7
+ @doMain: '//sandbox-img.jufubao.cn/';
8
+
9
+ .getBusinessImageUrl(@path, @size: 'size8') {
10
+ @url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
11
+ background-image: url(@url);
12
+ }
13
+
14
+ //start
15
+ .jfb-base-after-sales-detail {
16
+ box-sizing: border-box;
17
+
18
+ &__body{
19
+ position: relative;
20
+ overflow: hidden;
21
+ z-index: 2
22
+ }
23
+
24
+ &.editx,&.editx:hover {
25
+ position: relative;
26
+ min-height: unit(100, rpx);
27
+ z-index: 3;
28
+ &::after {
29
+ border: 2rpx dashed blue;
30
+ content: " ";
31
+ position: absolute;
32
+ top:0;
33
+ left:0;
34
+ bottom:0;
35
+ right:0;
36
+ z-index: 4;
37
+ cursor: pointer;
38
+ }
39
+
40
+ }
41
+
42
+
43
+ &__edit {
44
+ cursor: pointer;
45
+ position: absolute;
46
+ right: unit(0, rpx);
47
+ top: unit(-52, rpx);
48
+ height: unit(50, rpx);
49
+ line-height: unit(50, rpx);
50
+ display: flex;
51
+ justify-content: center;
52
+ align-items: center;
53
+ background: rgba(0, 0, 0, .6);
54
+ border-radius: unit(10, rpx);
55
+ box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
+ color: #fff;
57
+ font-size: unit(22, rpx);
58
+
59
+ &-icon{
60
+ padding: 0 unit(20, rpx);
61
+ }
62
+
63
+ &.editx {
64
+ box-sizing: border-box;
65
+
66
+ }
67
+ }
68
+ }
69
+ //end
70
+
71
+
72
+ /**notPreview**/
73
+ .jfb-base-after-sales-detail {
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
78
+ }
79
+ /**endNotPreview**/
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+
4
+ //@AttrImport
5
+ import Attr from "./Attr";
6
+ //@EndAttrImport
7
+
8
+
9
+ export default {
10
+ data() {
11
+ return {
12
+ //#ifdef H5
13
+
14
+ //@AttrData
15
+ Attr:{}, //对外开发编辑属性
16
+ //@EndAttrData
17
+
18
+ // #endif
19
+ cssRoot: 'jfb-base-after-sales-detail'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ module.exports = {
4
+ getAfterServiceOrder: {
5
+ main_order_id: "m763000267279253577",
6
+ service_order_id: "g763109658094186497",
7
+ customer_feedback: "",
8
+ sub_order_id: "s763000766556618826",
9
+ after_sale_method: "refund_and_good",
10
+ after_sale_method_name: "退款",
11
+ refund_voucher: "",
12
+ after_sale_type: "",
13
+ after_sale_type_name: "接口问题导致退款",
14
+ created_time: 1742899520,
15
+ refund_goods_data: "",
16
+ product_list: [
17
+ {
18
+ product_id: 468,
19
+ product_name: "大润发商品",
20
+ product_sku_id: "",
21
+ product_sku_name: "大润发商品",
22
+ product_num: 1,
23
+ sale_price: 1310,
24
+ thumb: "https://img2.jufubao.cn/common/caitou_logo.png",
25
+ after_count: 1,
26
+ refund_amount: 0,
27
+ gift_id: 0,
28
+ brand_id: 0,
29
+ brand_name: ""
30
+ }
31
+ ],
32
+ refund_settlement: [],
33
+ new_product_list: [],
34
+ business_name: "",
35
+ business_icon: "",
36
+ business_code: "",
37
+ after_order_id: "",
38
+ progress: [
39
+ {
40
+ name: "提交申请",
41
+ code: "created_time",
42
+ time: 1742899520,
43
+ is_finish: true,
44
+ content: ""
45
+ },
46
+ {
47
+ name: "平台接单",
48
+ code: "progress_ing",
49
+ time: 1742899520,
50
+ is_finish: true,
51
+ content: ""
52
+ },
53
+ { name: "完成", code: "done", time: 0, is_finish: false, content: "" }
54
+ ],
55
+ express_info: { express_name: "", express_number: "" },
56
+ is_show_delete_btn: "N",
57
+ is_show_cancel_btn: "N",
58
+ request_id: "c90ae9c140228355"
59
+ }
60
+ };