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.
- package/package.json +1 -1
- package/src/components/JfbBaseAfterOrderList/Attr.js +13 -0
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +33 -1
- package/src/components/JfbBaseAfterSales/Api.js +58 -0
- package/src/components/JfbBaseAfterSales/Attr.js +25 -0
- package/src/components/JfbBaseAfterSales/JfbBaseAfterSales.vue +550 -0
- package/src/components/JfbBaseAfterSales/JfbBaseAfterSalesLess.less +79 -0
- package/src/components/JfbBaseAfterSales/JfbBaseAfterSalesMixin.js +30 -0
- package/src/components/JfbBaseAfterSales/Mock.js +13 -0
- package/src/components/JfbBaseAfterSales/refundOrderInfo.vue +150 -0
- package/src/components/JfbBaseAfterSalesDetail/Api.js +41 -0
- package/src/components/JfbBaseAfterSalesDetail/Attr.js +25 -0
- package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetail.vue +538 -0
- package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetailLess.less +79 -0
- package/src/components/JfbBaseAfterSalesDetail/JfbBaseAfterSalesDetailMixin.js +30 -0
- package/src/components/JfbBaseAfterSalesDetail/Mock.js +60 -0
- package/src/components/JfbBaseAfterSalesDetail/secProd.vue +58 -0
- package/src/components/JfbBaseAfterSalesFast/Api.js +30 -0
- package/src/components/JfbBaseAfterSalesFast/Attr.js +32 -0
- package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFast.vue +297 -0
- package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFastLess.less +79 -0
- package/src/components/JfbBaseAfterSalesFast/JfbBaseAfterSalesFastMixin.js +30 -0
- package/src/components/JfbBaseAfterSalesFast/Mock.js +38 -0
- package/src/components/JfbBaseAfterSalesList/Api.js +40 -0
- package/src/components/JfbBaseAfterSalesList/Attr.js +107 -0
- package/src/components/JfbBaseAfterSalesList/JfbBaseAfterSalesList.vue +463 -0
- package/src/components/JfbBaseAfterSalesList/JfbBaseAfterSalesListLess.less +79 -0
- package/src/components/JfbBaseAfterSalesList/JfbBaseAfterSalesListMixin.js +30 -0
- package/src/components/JfbBaseAfterSalesList/Mock.js +362 -0
- package/src/components/JfbBaseCardBindV2/JfbBaseCardBindV2.vue +4 -6
- package/src/components/JfbBaseConPhone/JfbBaseConPhone.vue +10 -16
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +6 -10
- package/src/components/JfbBaseLoginForgetPwd/JfbBaseLoginForgetPwd.vue +6 -10
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +2 -16
- package/src/components/JfbBaseMapOverlay/JfbBaseMapOverlay.vue +3 -5
- package/src/components/JfbBaseOrderDetail/Attr.js +36 -0
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +21 -1
- package/src/components/JfbBaseOrderList/Attr.js +36 -0
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +30 -0
- package/src/components/JfbBaseOrderList/Mock.js +1 -1
- package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +17 -5
- package/src/components/JfbBasePay/JfbBasePay.vue +19 -35
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +5 -21
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +29 -30
- package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBind.vue +11 -18
- package/src/components/JfbBaseWalletItem/JfbBaseWalletItem.vue +3 -5
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
module.exports = {
|
|
4
|
+
getAfterServiceOrderList: {
|
|
5
|
+
list: [
|
|
6
|
+
{
|
|
7
|
+
main_order_id: "m751032915998359578",
|
|
8
|
+
service_order_id: "so762621229997408268",
|
|
9
|
+
customer_feedback: "",
|
|
10
|
+
sub_order_id: "",
|
|
11
|
+
after_sale_method: "refund_and_good",
|
|
12
|
+
after_sale_method_name: "退款",
|
|
13
|
+
refund_voucher: "",
|
|
14
|
+
after_sale_type: "",
|
|
15
|
+
after_sale_type_name: "",
|
|
16
|
+
created_time: 1740020734,
|
|
17
|
+
refund_goods_data: "",
|
|
18
|
+
product_list: [
|
|
19
|
+
{
|
|
20
|
+
product_id: 60038026,
|
|
21
|
+
product_name: "卡密取卡测试商品-兑换码",
|
|
22
|
+
product_sku_id: "0",
|
|
23
|
+
product_sku_name: "",
|
|
24
|
+
product_num: 1,
|
|
25
|
+
sale_price: 1001,
|
|
26
|
+
thumb: "//sandbox-img.jufubao.cn/uploads/20250219/144b27ad32143856af7cd56b5561c382.jpg",
|
|
27
|
+
after_count: 1,
|
|
28
|
+
refund_amount: 1001,
|
|
29
|
+
gift_id: 0,
|
|
30
|
+
brand_id: 0,
|
|
31
|
+
brand_name: ""
|
|
32
|
+
}
|
|
33
|
+
],
|
|
34
|
+
refund_settlement: [],
|
|
35
|
+
new_product_list: [],
|
|
36
|
+
business_name: "蛋糕(勿改)",
|
|
37
|
+
business_icon: "",
|
|
38
|
+
business_code: "cake",
|
|
39
|
+
after_order_id: "a751035152917192705",
|
|
40
|
+
progress: [],
|
|
41
|
+
express_info: null,
|
|
42
|
+
is_show_delete_btn: "Y",
|
|
43
|
+
is_show_cancel_btn: "N"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
main_order_id: "m740577429104705537",
|
|
47
|
+
service_order_id: "so762621221919117325",
|
|
48
|
+
customer_feedback: "",
|
|
49
|
+
sub_order_id: "",
|
|
50
|
+
after_sale_method: "refund_and_good",
|
|
51
|
+
after_sale_method_name: "退款",
|
|
52
|
+
refund_voucher: "",
|
|
53
|
+
after_sale_type: "",
|
|
54
|
+
after_sale_type_name: "",
|
|
55
|
+
created_time: 1737527447,
|
|
56
|
+
refund_goods_data: "",
|
|
57
|
+
product_list: [
|
|
58
|
+
{
|
|
59
|
+
product_id: 60031268,
|
|
60
|
+
product_name: "礼包-商品3",
|
|
61
|
+
product_sku_id: "0",
|
|
62
|
+
product_sku_name: "",
|
|
63
|
+
product_num: 1,
|
|
64
|
+
sale_price: 9270,
|
|
65
|
+
thumb: "//sandbox-img.jufubao.cn/uploads/20241226/ea3e20a74abb9a47b1707d020a3c4b10.jpeg",
|
|
66
|
+
after_count: 1,
|
|
67
|
+
refund_amount: 9270,
|
|
68
|
+
gift_id: 1775541,
|
|
69
|
+
brand_id: 0,
|
|
70
|
+
brand_name: ""
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
refund_settlement: [],
|
|
74
|
+
new_product_list: [],
|
|
75
|
+
business_name: "礼包(勿改)",
|
|
76
|
+
business_icon: "",
|
|
77
|
+
business_code: "gift",
|
|
78
|
+
after_order_id: "a740577550684426240",
|
|
79
|
+
progress: [],
|
|
80
|
+
express_info: null,
|
|
81
|
+
is_show_delete_btn: "Y",
|
|
82
|
+
is_show_cancel_btn: "N"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
main_order_id: "m740573565349609473",
|
|
86
|
+
service_order_id: "so762621221768749060",
|
|
87
|
+
customer_feedback: "",
|
|
88
|
+
sub_order_id: "",
|
|
89
|
+
after_sale_method: "refund_and_good",
|
|
90
|
+
after_sale_method_name: "退款",
|
|
91
|
+
refund_voucher: "",
|
|
92
|
+
after_sale_type: "",
|
|
93
|
+
after_sale_type_name: "",
|
|
94
|
+
created_time: 1737526543,
|
|
95
|
+
refund_goods_data: "",
|
|
96
|
+
product_list: [
|
|
97
|
+
{
|
|
98
|
+
product_id: 60031268,
|
|
99
|
+
product_name: "礼包-商品3",
|
|
100
|
+
product_sku_id: "0",
|
|
101
|
+
product_sku_name: "",
|
|
102
|
+
product_num: 1,
|
|
103
|
+
sale_price: 9270,
|
|
104
|
+
thumb: "/uploads/20241226/ea3e20a74abb9a47b1707d020a3c4b10.jpeg",
|
|
105
|
+
after_count: 1,
|
|
106
|
+
refund_amount: 9270,
|
|
107
|
+
gift_id: 1775541,
|
|
108
|
+
brand_id: 0,
|
|
109
|
+
brand_name: ""
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
refund_settlement: [],
|
|
113
|
+
new_product_list: [],
|
|
114
|
+
business_name: "礼包(勿改)",
|
|
115
|
+
business_icon: "",
|
|
116
|
+
business_code: "gift",
|
|
117
|
+
after_order_id: "a740573757845233664",
|
|
118
|
+
progress: [],
|
|
119
|
+
express_info: null,
|
|
120
|
+
is_show_delete_btn: "Y",
|
|
121
|
+
is_show_cancel_btn: "N"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
main_order_id: "m738480254887477249",
|
|
125
|
+
service_order_id: "so762621219337035799",
|
|
126
|
+
customer_feedback: "",
|
|
127
|
+
sub_order_id: "",
|
|
128
|
+
after_sale_method: "refund_and_good",
|
|
129
|
+
after_sale_method_name: "退款",
|
|
130
|
+
refund_voucher: "",
|
|
131
|
+
after_sale_type: "",
|
|
132
|
+
after_sale_type_name: "",
|
|
133
|
+
created_time: 1737027483,
|
|
134
|
+
refund_goods_data: "",
|
|
135
|
+
product_list: [
|
|
136
|
+
{
|
|
137
|
+
product_id: 60031268,
|
|
138
|
+
product_name: "礼包-商品3",
|
|
139
|
+
product_sku_id: "0",
|
|
140
|
+
product_sku_name: "",
|
|
141
|
+
product_num: 1,
|
|
142
|
+
sale_price: 9270,
|
|
143
|
+
thumb: "//sandbox-img.jufubao.cn/uploads/20241226/ea3e20a74abb9a47b1707d020a3c4b10.jpeg",
|
|
144
|
+
after_count: 1,
|
|
145
|
+
refund_amount: 9270,
|
|
146
|
+
gift_id: 1775541,
|
|
147
|
+
brand_id: 0,
|
|
148
|
+
brand_name: ""
|
|
149
|
+
}
|
|
150
|
+
],
|
|
151
|
+
refund_settlement: [],
|
|
152
|
+
new_product_list: [],
|
|
153
|
+
business_name: "礼包(勿改)",
|
|
154
|
+
business_icon: "",
|
|
155
|
+
business_code: "gift",
|
|
156
|
+
after_order_id: "a738480549507104768",
|
|
157
|
+
progress: [],
|
|
158
|
+
express_info: null,
|
|
159
|
+
is_show_delete_btn: "Y",
|
|
160
|
+
is_show_cancel_btn: "N"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
main_order_id: "m738110635274223617",
|
|
164
|
+
service_order_id: "so762621217958711311",
|
|
165
|
+
customer_feedback: "",
|
|
166
|
+
sub_order_id: "",
|
|
167
|
+
after_sale_method: "refund_and_good",
|
|
168
|
+
after_sale_method_name: "退款",
|
|
169
|
+
refund_voucher: "",
|
|
170
|
+
after_sale_type: "",
|
|
171
|
+
after_sale_type_name: "",
|
|
172
|
+
created_time: 1736939406,
|
|
173
|
+
refund_goods_data: "",
|
|
174
|
+
product_list: [
|
|
175
|
+
{
|
|
176
|
+
product_id: 452,
|
|
177
|
+
product_name: "【热销超百万】辣堡藤椒堡任选2件套MT23",
|
|
178
|
+
product_sku_id: "086a90b11b9d4084aed343f1e5da3363",
|
|
179
|
+
product_sku_name: "【热销超百万】辣堡藤椒堡任选2件套MT23",
|
|
180
|
+
product_num: 1,
|
|
181
|
+
sale_price: 1790,
|
|
182
|
+
thumb: "//sandbox-img.jufubao.cn/other/meituan-200_200.png",
|
|
183
|
+
after_count: 1,
|
|
184
|
+
refund_amount: 2059,
|
|
185
|
+
gift_id: 0,
|
|
186
|
+
brand_id: 0,
|
|
187
|
+
brand_name: ""
|
|
188
|
+
}
|
|
189
|
+
],
|
|
190
|
+
refund_settlement: [],
|
|
191
|
+
new_product_list: [],
|
|
192
|
+
business_name: "蛋糕(勿改)",
|
|
193
|
+
business_icon: "",
|
|
194
|
+
business_code: "cake",
|
|
195
|
+
after_order_id: "a738111130461335553",
|
|
196
|
+
progress: [],
|
|
197
|
+
express_info: null,
|
|
198
|
+
is_show_delete_btn: "Y",
|
|
199
|
+
is_show_cancel_btn: "N"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
main_order_id: "m738089357565837313",
|
|
203
|
+
service_order_id: "so762621217799405579",
|
|
204
|
+
customer_feedback: "",
|
|
205
|
+
sub_order_id: "",
|
|
206
|
+
after_sale_method: "refund_and_good",
|
|
207
|
+
after_sale_method_name: "退款",
|
|
208
|
+
refund_voucher: "",
|
|
209
|
+
after_sale_type: "",
|
|
210
|
+
after_sale_type_name: "",
|
|
211
|
+
created_time: 1736937818,
|
|
212
|
+
refund_goods_data: "",
|
|
213
|
+
product_list: [
|
|
214
|
+
{
|
|
215
|
+
product_id: 451,
|
|
216
|
+
product_name: "那爷火锅海鲜大排档单人餐",
|
|
217
|
+
product_sku_id: "1603e3c907b199602c5d1ab129b06250",
|
|
218
|
+
product_sku_name: "那爷火锅海鲜大排档单人餐",
|
|
219
|
+
product_num: 1,
|
|
220
|
+
sale_price: 3990,
|
|
221
|
+
thumb: "/other/meituan-200_200.png",
|
|
222
|
+
after_count: 1,
|
|
223
|
+
refund_amount: 4589,
|
|
224
|
+
gift_id: 0,
|
|
225
|
+
brand_id: 0,
|
|
226
|
+
brand_name: ""
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
refund_settlement: [],
|
|
230
|
+
new_product_list: [],
|
|
231
|
+
business_name: "蛋糕(勿改)",
|
|
232
|
+
business_icon: "",
|
|
233
|
+
business_code: "cake",
|
|
234
|
+
after_order_id: "a738104468956561409",
|
|
235
|
+
progress: [],
|
|
236
|
+
express_info: null,
|
|
237
|
+
is_show_delete_btn: "Y",
|
|
238
|
+
is_show_cancel_btn: "N"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
main_order_id: "c737312647604871168",
|
|
242
|
+
service_order_id: "so762621216906330120",
|
|
243
|
+
customer_feedback: "",
|
|
244
|
+
sub_order_id: "",
|
|
245
|
+
after_sale_method: "refund_and_good",
|
|
246
|
+
after_sale_method_name: "退款",
|
|
247
|
+
refund_voucher: "",
|
|
248
|
+
after_sale_type: "",
|
|
249
|
+
after_sale_type_name: "",
|
|
250
|
+
created_time: 1736749455,
|
|
251
|
+
refund_goods_data: "",
|
|
252
|
+
product_list: [
|
|
253
|
+
{
|
|
254
|
+
product_id: 54,
|
|
255
|
+
product_name: "蛋糕自定义(使用中)",
|
|
256
|
+
product_sku_id: "0",
|
|
257
|
+
product_sku_name: "",
|
|
258
|
+
product_num: 1,
|
|
259
|
+
sale_price: 100,
|
|
260
|
+
thumb: "",
|
|
261
|
+
after_count: 1,
|
|
262
|
+
refund_amount: 400,
|
|
263
|
+
gift_id: 0,
|
|
264
|
+
brand_id: 0,
|
|
265
|
+
brand_name: ""
|
|
266
|
+
}
|
|
267
|
+
],
|
|
268
|
+
refund_settlement: [],
|
|
269
|
+
new_product_list: [],
|
|
270
|
+
business_name: "蛋糕(勿改)",
|
|
271
|
+
business_icon: "",
|
|
272
|
+
business_code: "cake",
|
|
273
|
+
after_order_id: "a737314416675721217",
|
|
274
|
+
progress: [],
|
|
275
|
+
express_info: null,
|
|
276
|
+
is_show_delete_btn: "Y",
|
|
277
|
+
is_show_cancel_btn: "N"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
main_order_id: "c737271378876567553",
|
|
281
|
+
service_order_id: "so762621216344469518",
|
|
282
|
+
customer_feedback: "",
|
|
283
|
+
sub_order_id: "",
|
|
284
|
+
after_sale_method: "refund_and_good",
|
|
285
|
+
after_sale_method_name: "退款",
|
|
286
|
+
refund_voucher: "",
|
|
287
|
+
after_sale_type: "",
|
|
288
|
+
after_sale_type_name: "",
|
|
289
|
+
created_time: 1736739204,
|
|
290
|
+
refund_goods_data: "",
|
|
291
|
+
product_list: [
|
|
292
|
+
{
|
|
293
|
+
product_id: 262,
|
|
294
|
+
product_name: "幸福西饼、goodlike品牌",
|
|
295
|
+
product_sku_id: "0",
|
|
296
|
+
product_sku_name: "",
|
|
297
|
+
product_num: 1,
|
|
298
|
+
sale_price: 200,
|
|
299
|
+
thumb: "",
|
|
300
|
+
after_count: 1,
|
|
301
|
+
refund_amount: 500,
|
|
302
|
+
gift_id: 0,
|
|
303
|
+
brand_id: 0,
|
|
304
|
+
brand_name: ""
|
|
305
|
+
}
|
|
306
|
+
],
|
|
307
|
+
refund_settlement: [],
|
|
308
|
+
new_product_list: [],
|
|
309
|
+
business_name: "蛋糕(勿改)",
|
|
310
|
+
business_icon: "",
|
|
311
|
+
business_code: "cake",
|
|
312
|
+
after_order_id: "a737271421289738241",
|
|
313
|
+
progress: [],
|
|
314
|
+
express_info: null,
|
|
315
|
+
is_show_delete_btn: "Y",
|
|
316
|
+
is_show_cancel_btn: "N"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
main_order_id: "m733291561033744385",
|
|
320
|
+
service_order_id: "so762621205763829773",
|
|
321
|
+
customer_feedback: "",
|
|
322
|
+
sub_order_id: "",
|
|
323
|
+
after_sale_method: "refund_and_good",
|
|
324
|
+
after_sale_method_name: "退款",
|
|
325
|
+
refund_voucher: "",
|
|
326
|
+
after_sale_type: "",
|
|
327
|
+
after_sale_type_name: "",
|
|
328
|
+
created_time: 1735792178,
|
|
329
|
+
refund_goods_data: "",
|
|
330
|
+
product_list: [
|
|
331
|
+
{
|
|
332
|
+
product_id: 60031266,
|
|
333
|
+
product_name: "礼包-商品1",
|
|
334
|
+
product_sku_id: "0",
|
|
335
|
+
product_sku_name: "",
|
|
336
|
+
product_num: 1,
|
|
337
|
+
sale_price: 19999,
|
|
338
|
+
thumb: "/uploads/20241226/cfbc3bbb57583a3beac3dc9f70b26ef6.jpeg",
|
|
339
|
+
after_count: 1,
|
|
340
|
+
refund_amount: 19999,
|
|
341
|
+
gift_id: 1775549,
|
|
342
|
+
brand_id: 0,
|
|
343
|
+
brand_name: ""
|
|
344
|
+
}
|
|
345
|
+
],
|
|
346
|
+
refund_settlement: [],
|
|
347
|
+
new_product_list: [],
|
|
348
|
+
business_name: "礼包(勿改)",
|
|
349
|
+
business_icon: "",
|
|
350
|
+
business_code: "gift",
|
|
351
|
+
after_order_id: "a733299305361567744",
|
|
352
|
+
progress: [],
|
|
353
|
+
express_info: null,
|
|
354
|
+
is_show_delete_btn: "Y",
|
|
355
|
+
is_show_cancel_btn: "N"
|
|
356
|
+
}
|
|
357
|
+
],
|
|
358
|
+
next_page_token: "3",
|
|
359
|
+
total_size: 905,
|
|
360
|
+
request_id: "448a3876e113db4e"
|
|
361
|
+
}
|
|
362
|
+
};
|
|
@@ -157,12 +157,10 @@
|
|
|
157
157
|
},
|
|
158
158
|
handleBindCard(){
|
|
159
159
|
if(!this.cardForm.valid_code){
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
zIndex: 5000
|
|
165
|
-
});
|
|
160
|
+
uni.showToast({
|
|
161
|
+
title: "请输入验证码",
|
|
162
|
+
icon: "none"
|
|
163
|
+
})
|
|
166
164
|
return;
|
|
167
165
|
}
|
|
168
166
|
jfbRootExec("pwdCardBind", {
|
|
@@ -265,12 +265,10 @@ export default {
|
|
|
265
265
|
this.dialogShow = false;
|
|
266
266
|
this.handleConfirm();
|
|
267
267
|
}else{
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
zIndex: 5000
|
|
273
|
-
});
|
|
268
|
+
uni.showToast({
|
|
269
|
+
title: "签名不能为空",
|
|
270
|
+
icon: "none"
|
|
271
|
+
})
|
|
274
272
|
}
|
|
275
273
|
}
|
|
276
274
|
})
|
|
@@ -412,20 +410,16 @@ export default {
|
|
|
412
410
|
},
|
|
413
411
|
handleSendCode() {
|
|
414
412
|
if (this.phoneNumber.length < 11) {
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
isClose: false,
|
|
419
|
-
zIndex: 5000
|
|
413
|
+
uni.showToast({
|
|
414
|
+
title: "请输入11位手机号",
|
|
415
|
+
icon: "none",
|
|
420
416
|
});
|
|
421
417
|
return;
|
|
422
418
|
}
|
|
423
419
|
if (!this.validatePhoneNumber(this.phoneNumber)) {
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
isClose: false,
|
|
428
|
-
zIndex: 5000
|
|
420
|
+
uni.showToast({
|
|
421
|
+
title: "手机号格式不正确",
|
|
422
|
+
icon: "none",
|
|
429
423
|
});
|
|
430
424
|
return;
|
|
431
425
|
}
|
|
@@ -890,11 +890,9 @@ export default {
|
|
|
890
890
|
if (this.time > 0) return;
|
|
891
891
|
const { phone_number } = this.accountForm;
|
|
892
892
|
if (!/^1[3-9]\d{9}$/.test(phone_number)) {
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
isClose: false,
|
|
897
|
-
zIndex: 5000
|
|
893
|
+
uni.showToast({
|
|
894
|
+
title: "请填写正确的手机号",
|
|
895
|
+
icon: "none",
|
|
898
896
|
});
|
|
899
897
|
return false;
|
|
900
898
|
}
|
|
@@ -1030,11 +1028,9 @@ export default {
|
|
|
1030
1028
|
else if (accountLoginType === "pwd" && !password)
|
|
1031
1029
|
err_tip = "密码不能为空";
|
|
1032
1030
|
if (err_tip) {
|
|
1033
|
-
return
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
isClose: false,
|
|
1037
|
-
zIndex: 5000
|
|
1031
|
+
return uni.showToast({
|
|
1032
|
+
title: err_tip,
|
|
1033
|
+
icon: "none",
|
|
1038
1034
|
});
|
|
1039
1035
|
}
|
|
1040
1036
|
|
|
@@ -154,11 +154,9 @@ export default {
|
|
|
154
154
|
if (this.time > 0) return;
|
|
155
155
|
const { phone_number } = this.resetForm;
|
|
156
156
|
if (!/^1[3-9]\d{9}$/.test(phone_number)) {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
isClose: false,
|
|
161
|
-
zIndex: 5000
|
|
157
|
+
uni.showToast({
|
|
158
|
+
title: "请填写正确的手机号",
|
|
159
|
+
icon: "none",
|
|
162
160
|
});
|
|
163
161
|
return false;
|
|
164
162
|
}
|
|
@@ -187,11 +185,9 @@ export default {
|
|
|
187
185
|
toResetPassword() {
|
|
188
186
|
const { verification_code, phone_number } = this.resetForm;
|
|
189
187
|
if (!verification_code || !phone_number) {
|
|
190
|
-
return
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
isClose: false,
|
|
194
|
-
zIndex: 5000
|
|
188
|
+
return uni.showToast({
|
|
189
|
+
title: "填写手机号跟验证码",
|
|
190
|
+
icon: "none",
|
|
195
191
|
});
|
|
196
192
|
}
|
|
197
193
|
jfbRootExec("verifyPhoneCode", {
|
|
@@ -138,22 +138,8 @@
|
|
|
138
138
|
},
|
|
139
139
|
doSetPassword(){
|
|
140
140
|
const { password, confirm_password } = this.resetForm;
|
|
141
|
-
if(!password || !confirm_password){
|
|
142
|
-
|
|
143
|
-
content: '请输入密码',
|
|
144
|
-
time: 2500,
|
|
145
|
-
isClose: false,
|
|
146
|
-
zIndex: 5000
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
if(password !== confirm_password){
|
|
150
|
-
return this.$xdAlert({
|
|
151
|
-
content: '密码不一致',
|
|
152
|
-
time: 2500,
|
|
153
|
-
isClose: false,
|
|
154
|
-
zIndex: 5000
|
|
155
|
-
});
|
|
156
|
-
}
|
|
141
|
+
if(!password || !confirm_password) return uni.showToast({title: "请输入密码",icon: 'none'});
|
|
142
|
+
if(password !== confirm_password) return uni.showToast({title: "密码不一致",icon: 'none'});
|
|
157
143
|
|
|
158
144
|
let typeFn = "resetPwd"
|
|
159
145
|
if(this.pwd_type == 1) typeFn = "setPwd"
|
|
@@ -114,11 +114,9 @@
|
|
|
114
114
|
if(res['is_ifream'] === 'Y') {
|
|
115
115
|
// #ifdef MP
|
|
116
116
|
if(!res.url){
|
|
117
|
-
return
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
isClose: false,
|
|
121
|
-
zIndex: 5000
|
|
117
|
+
return uni.showToast({
|
|
118
|
+
title: 'URL不存在',
|
|
119
|
+
duration: 2000
|
|
122
120
|
});
|
|
123
121
|
}
|
|
124
122
|
this.$xdUniHelper.redirectTo({
|
|
@@ -5,6 +5,18 @@ export default {
|
|
|
5
5
|
advanced: [],
|
|
6
6
|
content: (data)=>{
|
|
7
7
|
return [
|
|
8
|
+
{
|
|
9
|
+
label: "申请售后:",
|
|
10
|
+
ele: 'xd-radio',
|
|
11
|
+
valueKey: "showApplyAfter",
|
|
12
|
+
value: data.showApplyAfter || 'N',
|
|
13
|
+
list: [
|
|
14
|
+
{label: '展示', value: 'Y'},
|
|
15
|
+
{label: '隐藏', value: 'N'},
|
|
16
|
+
],
|
|
17
|
+
groupKey:'content',
|
|
18
|
+
labelInline: true,
|
|
19
|
+
},
|
|
8
20
|
{
|
|
9
21
|
label: '业务类型预览(只是预览模式生效)',
|
|
10
22
|
ele: "xd-select-list",
|
|
@@ -646,6 +658,30 @@ export default {
|
|
|
646
658
|
{ label: '隐藏', value: '0' },
|
|
647
659
|
]
|
|
648
660
|
},
|
|
661
|
+
{
|
|
662
|
+
label: '售后服务页面路径:',
|
|
663
|
+
ele: 'xd-select-pages-path',
|
|
664
|
+
valueKey: 'refundPath',
|
|
665
|
+
groupKey:'advanced',
|
|
666
|
+
placeholder: '请选择普通售后服务路径',
|
|
667
|
+
value: data['refundPath'] || null,
|
|
668
|
+
setting: {
|
|
669
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
670
|
+
},
|
|
671
|
+
inline: false,
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
label: '极速退款页面路径:',
|
|
675
|
+
ele: 'xd-select-pages-path',
|
|
676
|
+
valueKey: 'refundFastPath',
|
|
677
|
+
groupKey:'advanced',
|
|
678
|
+
placeholder: '请选择极速退款页面路径',
|
|
679
|
+
value: data['refundFastPath'] || null,
|
|
680
|
+
setting: {
|
|
681
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
682
|
+
},
|
|
683
|
+
inline: false,
|
|
684
|
+
},
|
|
649
685
|
].filter(i=>i)
|
|
650
686
|
},
|
|
651
687
|
}
|
|
@@ -865,6 +865,8 @@ export default {
|
|
|
865
865
|
dialogPassword: "",
|
|
866
866
|
dialogCode: null,
|
|
867
867
|
|
|
868
|
+
showApplyAfter: "",
|
|
869
|
+
|
|
868
870
|
//基础
|
|
869
871
|
radius: 0,
|
|
870
872
|
backgroundColor: "",
|
|
@@ -900,6 +902,8 @@ export default {
|
|
|
900
902
|
is_show_all_detail: '',
|
|
901
903
|
showPreviewCode: true,
|
|
902
904
|
is_show_product: "",
|
|
905
|
+
refundPath: "",
|
|
906
|
+
refundFastPath: "",
|
|
903
907
|
btnTextSize: 20,
|
|
904
908
|
};
|
|
905
909
|
},
|
|
@@ -1195,10 +1199,13 @@ export default {
|
|
|
1195
1199
|
* @param container {object} 业务组件对象自己
|
|
1196
1200
|
*/
|
|
1197
1201
|
init(container) {
|
|
1202
|
+
this.showApplyAfter = getContainerPropsValue(container, "content.showApplyAfter", "");
|
|
1203
|
+
|
|
1198
1204
|
this.bgColor = this.$colorChange(this.mainColor).alpha(0.1).toString();
|
|
1199
1205
|
this.brandPath = getContainerPropsValue(container, "content.brandPath", {value: "",}).value;
|
|
1200
1206
|
this.payPath = getContainerPropsValue(container, "content.payPath", {value: "",}).value;
|
|
1201
|
-
|
|
1207
|
+
this.refundPath = getContainerPropsValue(container, "content.refundPath", {value: "",}).value;
|
|
1208
|
+
this.refundFastPath = getContainerPropsValue(container, "content.refundFastPath", {value: "",}).value;
|
|
1202
1209
|
|
|
1203
1210
|
this.packageListPath = getContainerPropsValue(container, "content.packageListPath", { value: "" }).value;
|
|
1204
1211
|
this.webViewPath = getContainerPropsValue(container, "content.webViewPath", {value: "",}).value;
|
|
@@ -1380,6 +1387,19 @@ export default {
|
|
|
1380
1387
|
},
|
|
1381
1388
|
});
|
|
1382
1389
|
}
|
|
1390
|
+
else if(item.action === 'apply_refund'){
|
|
1391
|
+
//普通退款
|
|
1392
|
+
if(this.info.is_support_quick_refund !== "Y"){
|
|
1393
|
+
this.$xdUniHelper.navigateTo({
|
|
1394
|
+
url: `${this.refundPath}?order_id=${this.main_order_id}`,
|
|
1395
|
+
});
|
|
1396
|
+
}else{
|
|
1397
|
+
//极速退款
|
|
1398
|
+
this.$xdUniHelper.navigateTo({
|
|
1399
|
+
url: `${this.refundFastPath}?order_id=${this.main_order_id}`,
|
|
1400
|
+
});
|
|
1401
|
+
}
|
|
1402
|
+
}
|
|
1383
1403
|
else {
|
|
1384
1404
|
console.error(`item.action=${item.action}, 此action不可用`)
|
|
1385
1405
|
}
|
|
@@ -4,6 +4,18 @@ export default {
|
|
|
4
4
|
style: [],
|
|
5
5
|
content: (data)=>{
|
|
6
6
|
return [
|
|
7
|
+
{
|
|
8
|
+
label: "申请售后:",
|
|
9
|
+
ele: 'xd-radio',
|
|
10
|
+
valueKey: "showApplyAfter",
|
|
11
|
+
value: data.showApplyAfter || 'N',
|
|
12
|
+
list: [
|
|
13
|
+
{label: '展示', value: 'Y'},
|
|
14
|
+
{label: '隐藏', value: 'N'},
|
|
15
|
+
],
|
|
16
|
+
groupKey:'content',
|
|
17
|
+
labelInline: true,
|
|
18
|
+
},
|
|
7
19
|
{
|
|
8
20
|
label: "布局样式配置",
|
|
9
21
|
ele: "xd-radio",
|
|
@@ -264,6 +276,30 @@ export default {
|
|
|
264
276
|
},
|
|
265
277
|
inline: false,
|
|
266
278
|
},
|
|
279
|
+
{
|
|
280
|
+
label: '售后服务页面路径:',
|
|
281
|
+
ele: 'xd-select-pages-path',
|
|
282
|
+
valueKey: 'refundPath',
|
|
283
|
+
groupKey:'advanced',
|
|
284
|
+
placeholder: '请选择普通售后服务路径',
|
|
285
|
+
value: data['refundPath'] || null,
|
|
286
|
+
setting: {
|
|
287
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
288
|
+
},
|
|
289
|
+
inline: false,
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
label: '极速退款页面路径:',
|
|
293
|
+
ele: 'xd-select-pages-path',
|
|
294
|
+
valueKey: 'refundFastPath',
|
|
295
|
+
groupKey:'advanced',
|
|
296
|
+
placeholder: '请选择极速退款页面路径',
|
|
297
|
+
value: data['refundFastPath'] || null,
|
|
298
|
+
setting: {
|
|
299
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
300
|
+
},
|
|
301
|
+
inline: false,
|
|
302
|
+
},
|
|
267
303
|
].filter(i=>i)
|
|
268
304
|
},
|
|
269
305
|
advanced: [],
|