jufubao-base 1.0.413 → 1.0.414-beta2
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/.claude/settings.local.json +7 -0
- package/package.json +1 -1
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +118 -9
- package/src/components/JfbBaseOrderDetail/Mock.js +1 -0
- package/src/components/JfbBaseSuccess/Attr.js +28 -0
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +105 -3
- package/src/components/JfbBaseSuccess/Mock.js +9 -0
- package/get.package.path.js +0 -22
package/package.json
CHANGED
|
@@ -295,18 +295,42 @@
|
|
|
295
295
|
v-if="info.codes.length === 1 && (info.codes[0].show_type === 'qrcode' || info.codes[0].show_type === 'barcode')"
|
|
296
296
|
class=" jfb-base-order-detail__body-cashier"
|
|
297
297
|
>
|
|
298
|
-
<view v-if="qrcodeLayout === '2' && order_from === 'offline'" class="
|
|
298
|
+
<view v-if="qrcodeLayout === '2' && order_from === 'offline'" class="take_qrcode_box">
|
|
299
|
+
<view class="take_qrcode_box_header">请到店出示此券核验</view>
|
|
300
|
+
<view class="take_qrcode_box_wrap">
|
|
301
|
+
<view class="take_qrcode_card">
|
|
302
|
+
<view class="t_card_top">
|
|
303
|
+
<view class="t_card_left">
|
|
304
|
+
<view class="t_card_shop">
|
|
305
|
+
<view class="c_l_img">
|
|
306
|
+
<image :src="info.shop.brand_icon" ></image>
|
|
307
|
+
</view>
|
|
308
|
+
<view class="c_l_name">{{info.shop.brand_name}}</view>
|
|
309
|
+
</view>
|
|
310
|
+
<view class="c_l_price">
|
|
311
|
+
<view class="c_l_price_unit">¥</view>
|
|
312
|
+
{{info.pay_info.goods_amount}}
|
|
313
|
+
</view>
|
|
314
|
+
</view>
|
|
315
|
+
<view class="t_card_right">
|
|
316
|
+
<image class="c_r_img" :src="info.codes[0].code_url" mode=""></image>
|
|
317
|
+
</view>
|
|
318
|
+
</view>
|
|
319
|
+
<view class="t_card_bottom">
|
|
320
|
+
{{ info.codes[0].can_read_code }}
|
|
321
|
+
{{info.codes[0].refund_tip_text}}
|
|
322
|
+
</view>
|
|
323
|
+
</view>
|
|
324
|
+
</view>
|
|
325
|
+
</view>
|
|
326
|
+
|
|
327
|
+
<!-- <view v-if="qrcodeLayout === '2' && order_from === 'offline'" class="qr_new">
|
|
299
328
|
<view class="qr_top">
|
|
300
329
|
<view class="qr_left">
|
|
301
330
|
<view class="qr_name">{{ info.shop.brand_name }}</view>
|
|
302
331
|
<view class="qr_point">
|
|
303
332
|
<view class="m_unit">¥</view>
|
|
304
333
|
<view>{{ info.pay_info.goods_amount }}</view>
|
|
305
|
-
<!-- <xd-unit
|
|
306
|
-
:price="info.pay_info.real_pay_amount"
|
|
307
|
-
:font-size="72"
|
|
308
|
-
:iocn-size="0.45"
|
|
309
|
-
></xd-unit> -->
|
|
310
334
|
</view>
|
|
311
335
|
</view>
|
|
312
336
|
<view class="qr_right">
|
|
@@ -322,7 +346,7 @@
|
|
|
322
346
|
{{ info.codes[0].can_read_code }}
|
|
323
347
|
{{info.codes[0].refund_tip_text}}
|
|
324
348
|
</view>
|
|
325
|
-
</view>
|
|
349
|
+
</view> -->
|
|
326
350
|
<view v-else class="jfb-base-order-detail__body-card">
|
|
327
351
|
<view class="jfb-base-order-detail__body-cashier-text">{{info.codes[0].show_type === "qrcode" ? "二维码" : "条形码" }}</view>
|
|
328
352
|
<view v-if="showPreviewCode" style="position: relative">
|
|
@@ -1385,7 +1409,8 @@ export default {
|
|
|
1385
1409
|
is_show_jhd_code: Number(this.is_show),
|
|
1386
1410
|
is_show_product: this.is_show_product === "Y" ? 1 : 0,
|
|
1387
1411
|
version: 'v2',
|
|
1388
|
-
is_show_after_btn: this.showApplyAfter === 'Y' ? 1 : 0
|
|
1412
|
+
is_show_after_btn: this.showApplyAfter === 'Y' ? 1 : 0,
|
|
1413
|
+
style: this.qrcodeLayout
|
|
1389
1414
|
},
|
|
1390
1415
|
})
|
|
1391
1416
|
.then((res) => {
|
|
@@ -1419,6 +1444,7 @@ export default {
|
|
|
1419
1444
|
res.pay_info.goods_amount,
|
|
1420
1445
|
100
|
|
1421
1446
|
);
|
|
1447
|
+
res.shop.brand_icon = getServiceUrl(res.shop.brand_icon, 'size5');
|
|
1422
1448
|
res.pay_info.base =
|
|
1423
1449
|
res.pay_info.base &&
|
|
1424
1450
|
res.pay_info.base.map((item) => {
|
|
@@ -1714,7 +1740,7 @@ export default {
|
|
|
1714
1740
|
this.lineHeight = getContainerPropsValue(container, "content.lineHeight", 20);
|
|
1715
1741
|
this.btnTextSize = getContainerPropsValue(container, "content.btnTextSize", 20);
|
|
1716
1742
|
let sectionShadow = getContainerPropsValue(container, "content.sectionShadow", "");
|
|
1717
|
-
this.qrcodeLayout = '
|
|
1743
|
+
this.qrcodeLayout = getContainerPropsValue(container, "content.qrcodeLayout", '1');
|
|
1718
1744
|
this.sectionShadow = this.getShadowCompatibleOldStyle(sectionShadow, {
|
|
1719
1745
|
type: this.is_shadow,
|
|
1720
1746
|
width: this.is_shadow_w,
|
|
@@ -2209,6 +2235,89 @@ export default {
|
|
|
2209
2235
|
height: 24rpx;
|
|
2210
2236
|
margin-right: 20rpx;
|
|
2211
2237
|
}
|
|
2238
|
+
.take_qrcode_box {
|
|
2239
|
+
margin: 30rpx;
|
|
2240
|
+
|
|
2241
|
+
.take_qrcode_box_header{
|
|
2242
|
+
border-radius: 20rpx 20rpx 0 0;
|
|
2243
|
+
background: #fff;
|
|
2244
|
+
// width: 220rpx;
|
|
2245
|
+
color: #000000;
|
|
2246
|
+
font-size: 24rpx;
|
|
2247
|
+
font-weight: 500;
|
|
2248
|
+
padding: 16rpx 28rpx;
|
|
2249
|
+
display: inline-block;
|
|
2250
|
+
}
|
|
2251
|
+
.take_qrcode_box_wrap{
|
|
2252
|
+
border-radius: 0 0 20rpx 20rpx;
|
|
2253
|
+
background: #fff;
|
|
2254
|
+
padding: 16rpx;
|
|
2255
|
+
}
|
|
2256
|
+
.take_qrcode_card{
|
|
2257
|
+
box-shadow: 0px 0px 10rpx rgba(0, 0, 0, 0.1);
|
|
2258
|
+
border-radius: 16rpx;
|
|
2259
|
+
overflow: hidden;
|
|
2260
|
+
.t_card_top{
|
|
2261
|
+
border-radius: 16rpx 16rpx 0 0;
|
|
2262
|
+
min-height: 120rpx;
|
|
2263
|
+
display: flex;
|
|
2264
|
+
align-items: center;
|
|
2265
|
+
justify-content: space-between;
|
|
2266
|
+
padding: 32rpx;
|
|
2267
|
+
.t_card_left{
|
|
2268
|
+
.t_card_shop{
|
|
2269
|
+
display: flex;
|
|
2270
|
+
align-items: center;
|
|
2271
|
+
font-size: 30rpx;
|
|
2272
|
+
color: #333333;
|
|
2273
|
+
font-weight: 500;
|
|
2274
|
+
}
|
|
2275
|
+
.c_l_name{
|
|
2276
|
+
margin-left: 16rpx;
|
|
2277
|
+
}
|
|
2278
|
+
.c_l_img{
|
|
2279
|
+
width: 46rpx;
|
|
2280
|
+
height: 46rpx;
|
|
2281
|
+
background: #EEEEEE;
|
|
2282
|
+
border-radius: 50%;
|
|
2283
|
+
overflow: hidden;
|
|
2284
|
+
image{
|
|
2285
|
+
width: 100% !important;
|
|
2286
|
+
height: 100%;
|
|
2287
|
+
margin: 0 !important;
|
|
2288
|
+
transform: initial;
|
|
2289
|
+
}
|
|
2290
|
+
}
|
|
2291
|
+
.c_l_price{
|
|
2292
|
+
font-size: 68rpx;
|
|
2293
|
+
font-weight: 500;
|
|
2294
|
+
color: #333333;
|
|
2295
|
+
margin-top: 50rpx;
|
|
2296
|
+
display: flex;
|
|
2297
|
+
align-items: flex-end;
|
|
2298
|
+
.c_l_price_unit{
|
|
2299
|
+
font-size: 46rpx;
|
|
2300
|
+
margin-left: 16rpx;
|
|
2301
|
+
margin-bottom: 12rpx;
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
.t_card_right{
|
|
2306
|
+
.c_r_img{
|
|
2307
|
+
width: 240rpx;
|
|
2308
|
+
height: 240rpx;
|
|
2309
|
+
}
|
|
2310
|
+
}
|
|
2311
|
+
}
|
|
2312
|
+
.t_card_bottom{
|
|
2313
|
+
border-radius: 0 0 16rpx 16rpx;
|
|
2314
|
+
padding: 16rpx 32rpx;
|
|
2315
|
+
font-size: 22rpx;
|
|
2316
|
+
font-weight: 400;
|
|
2317
|
+
color: #666666;
|
|
2318
|
+
}
|
|
2319
|
+
}
|
|
2320
|
+
}
|
|
2212
2321
|
.qr_new{
|
|
2213
2322
|
.qr_top{
|
|
2214
2323
|
width: 100%;
|
|
@@ -96,6 +96,7 @@ module.exports = {
|
|
|
96
96
|
"shop": {
|
|
97
97
|
"layer_name": "影院信息",
|
|
98
98
|
"brand_name": "星巴克",
|
|
99
|
+
"brand_icon": "/uploads/20230710/44f645b06fe4da358f7b0ee06259afcd.jpg",
|
|
99
100
|
"shop_id": 60487,
|
|
100
101
|
"shop_name": "大地影院(北京西三旗物美店)",
|
|
101
102
|
"shop_address": "北京3北京西夏区城区河北省廊坊市三河市燕郊开发区燕高路西侧实验小学南侧 "
|
|
@@ -10,6 +10,31 @@ export default {
|
|
|
10
10
|
style: [],
|
|
11
11
|
content: (data={})=>{
|
|
12
12
|
return [
|
|
13
|
+
{
|
|
14
|
+
ele: 'title',
|
|
15
|
+
label: '组件样式',
|
|
16
|
+
size: 'small',
|
|
17
|
+
groupKey:'content',
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
label: "样式",
|
|
21
|
+
ele: "xd-radio",
|
|
22
|
+
valueKey: "layoutStyle",
|
|
23
|
+
value: data.layoutStyle || '1',
|
|
24
|
+
groupKey: "content",
|
|
25
|
+
list: [
|
|
26
|
+
{ label: '样式1', value: '1' },
|
|
27
|
+
{ label: '样式2', value: '2' }
|
|
28
|
+
],
|
|
29
|
+
labelInline:true,
|
|
30
|
+
inline: false,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
ele: 'title',
|
|
34
|
+
label: '基础',
|
|
35
|
+
size: 'small',
|
|
36
|
+
groupKey:'content',
|
|
37
|
+
},
|
|
13
38
|
{
|
|
14
39
|
label: '自定义按钮名称:',
|
|
15
40
|
ele: 'el-input',
|
|
@@ -25,6 +50,7 @@ export default {
|
|
|
25
50
|
ele: 'xd-radio',
|
|
26
51
|
valueKey: 'is_show_order_info',
|
|
27
52
|
groupKey:'content',
|
|
53
|
+
hidden: data.layoutStyle === '2',
|
|
28
54
|
value: data['is_show_order_info'] || 'Y',
|
|
29
55
|
placeholder: '请选择',
|
|
30
56
|
list: [
|
|
@@ -51,6 +77,7 @@ export default {
|
|
|
51
77
|
groupKey:'content',
|
|
52
78
|
value:data['is_show_code']|| '',
|
|
53
79
|
placeholder: '请选择',
|
|
80
|
+
hidden: data.layoutStyle === '2',
|
|
54
81
|
list: [
|
|
55
82
|
{"label": "是", "value": "Y"},
|
|
56
83
|
{"label": "否", "value": "N"},
|
|
@@ -63,6 +90,7 @@ export default {
|
|
|
63
90
|
groupKey:'content',
|
|
64
91
|
value:data['is_show_product'] || 'Y',
|
|
65
92
|
placeholder: '请选择',
|
|
93
|
+
hidden: data.layoutStyle === '2',
|
|
66
94
|
list: [
|
|
67
95
|
{"label": "是", "value": "Y"},
|
|
68
96
|
{"label": "否", "value": "N"},
|
|
@@ -16,7 +16,10 @@
|
|
|
16
16
|
<view class="jfb-base-success__edit-icon" @click="delEdit">删除</view>
|
|
17
17
|
</view>
|
|
18
18
|
<!-- #endif -->
|
|
19
|
-
<view class="jfb-base-success__body" :style="{
|
|
19
|
+
<view class="jfb-base-success__body" :style="{
|
|
20
|
+
'--jfb-list-radius': (Number(jfbListRadius) * $rpxNum) + 'px',
|
|
21
|
+
backgroundColor: boxBgColor
|
|
22
|
+
}">
|
|
20
23
|
<view class="x-line"></view>
|
|
21
24
|
<view
|
|
22
25
|
v-if="noUserLoding === true"
|
|
@@ -25,6 +28,31 @@
|
|
|
25
28
|
>请关闭当前浏览器,返回原界面查看结果</view>
|
|
26
29
|
<template v-if="noUserLoding === false && info !== null">
|
|
27
30
|
<view :style="{ margin: jfbListMarginComputed }">
|
|
31
|
+
<!-- 取货码 -->
|
|
32
|
+
<view v-if="layoutStyle === '2' && info.status.status_type === 'success'" class="take_qrcode_box">
|
|
33
|
+
<view class="take_qrcode_box_header">成功兑换1张电子券</view>
|
|
34
|
+
<view class="take_qrcode_box_wrap">
|
|
35
|
+
<view class="take_qrcode_card">
|
|
36
|
+
<view class="t_card_top">
|
|
37
|
+
<view class="t_card_left">
|
|
38
|
+
<view style="">
|
|
39
|
+
<image class="c_l_img" :src="info.shop.brand_icon" mode="heightFix"></image>
|
|
40
|
+
</view>
|
|
41
|
+
<view class="t_card_price">¥{{ info.pay_info.goods_amount }}</view>
|
|
42
|
+
</view>
|
|
43
|
+
<view class="t_card_right">
|
|
44
|
+
<image class="c_r_img" :src="info.codes[0].code_url" mode=""></image>
|
|
45
|
+
</view>
|
|
46
|
+
</view>
|
|
47
|
+
<view class="t_card_bottom">
|
|
48
|
+
{{info.codes[0].can_read_code}}
|
|
49
|
+
{{info.codes[0].refund_tip_text}}
|
|
50
|
+
</view>
|
|
51
|
+
</view>
|
|
52
|
+
</view>
|
|
53
|
+
</view>
|
|
54
|
+
<!-- 取货码 -->
|
|
55
|
+
|
|
28
56
|
<view
|
|
29
57
|
v-if="info.status.status_type === 'wait' || is_show_pay === 'Y'"
|
|
30
58
|
class="jfb-base-success__body-icon"
|
|
@@ -464,6 +492,7 @@ export default {
|
|
|
464
492
|
bgColor:'',
|
|
465
493
|
ticket_method_msg:'', //取票提示文案
|
|
466
494
|
is_plus_site: false,
|
|
495
|
+
layoutStyle: '1',
|
|
467
496
|
|
|
468
497
|
//按钮
|
|
469
498
|
btnTextColor:'',
|
|
@@ -598,6 +627,7 @@ export default {
|
|
|
598
627
|
this.btnTextSize = getContainerPropsValue(value, "content.btnTextSize", '28');
|
|
599
628
|
this.payBgColor = getContainerPropsValue(value, "content.payBgColor", '#fff');
|
|
600
629
|
console.log("this., fontSize: btnTextSize + 'rpx'", this.btnTextSize)
|
|
630
|
+
this.layoutStyle = getContainerPropsValue(value, "content.layoutStyle", '1');
|
|
601
631
|
this.custom_btn_path = getContainerPropsValue(
|
|
602
632
|
value,
|
|
603
633
|
"content.custom_btn_path",
|
|
@@ -622,6 +652,12 @@ export default {
|
|
|
622
652
|
this.index = this.settings.index;
|
|
623
653
|
this.packageData = true;
|
|
624
654
|
styleForm.getInitItem(this, value);
|
|
655
|
+
|
|
656
|
+
if(this.layoutStyle === '2'){
|
|
657
|
+
this.is_show_order_info = 'N';
|
|
658
|
+
this.is_show_product = 'N';
|
|
659
|
+
this.is_show_code = 'N';
|
|
660
|
+
}
|
|
625
661
|
},
|
|
626
662
|
|
|
627
663
|
getStatus() {
|
|
@@ -629,11 +665,12 @@ export default {
|
|
|
629
665
|
vm: this,
|
|
630
666
|
data: {
|
|
631
667
|
main_order_id: this.order_id,
|
|
632
|
-
is_show_code: this.is_show_code === "Y" ? 1 : 0,
|
|
668
|
+
is_show_code: this.layoutStyle === '2' ? 1 : (this.is_show_code === "Y" ? 1 : 0),
|
|
633
669
|
is_show_product: this.is_show_product === "Y" ? 1 : 0,
|
|
634
670
|
custom_content_page_id: this.pageAttr.page_id,
|
|
635
671
|
custom_content_container_id: this.cid,
|
|
636
|
-
version: 'v2'
|
|
672
|
+
version: 'v2',
|
|
673
|
+
style: this.layoutStyle,
|
|
637
674
|
},
|
|
638
675
|
})
|
|
639
676
|
.then((res) => {
|
|
@@ -834,6 +871,11 @@ export default {
|
|
|
834
871
|
this.$xdLog.catch(err)
|
|
835
872
|
});
|
|
836
873
|
}
|
|
874
|
+
info.pay_info.goods_amount = this.$xdUniHelper.divisionFloatNumber(
|
|
875
|
+
info.pay_info.goods_amount,
|
|
876
|
+
100
|
|
877
|
+
);
|
|
878
|
+
info.shop.brand_icon = getServiceUrl(info.shop.brand_icon);
|
|
837
879
|
this.info = info;
|
|
838
880
|
|
|
839
881
|
//显示核销信息
|
|
@@ -1172,6 +1214,66 @@ export default {
|
|
|
1172
1214
|
}
|
|
1173
1215
|
}
|
|
1174
1216
|
|
|
1217
|
+
.take_qrcode_box {
|
|
1218
|
+
margin-bottom: unit(20, rpx);
|
|
1219
|
+
|
|
1220
|
+
.take_qrcode_box_header{
|
|
1221
|
+
border-radius: var(--jfb-list-radius) var(--jfb-list-radius) 0 0;
|
|
1222
|
+
background: #fff;
|
|
1223
|
+
// width: 220rpx;
|
|
1224
|
+
color: #000000;
|
|
1225
|
+
font-size: 24rpx;
|
|
1226
|
+
font-weight: 500;
|
|
1227
|
+
padding: 16rpx 28rpx;
|
|
1228
|
+
display: inline-block;
|
|
1229
|
+
}
|
|
1230
|
+
.take_qrcode_box_wrap{
|
|
1231
|
+
border-radius: 0 0 var(--jfb-list-radius) var(--jfb-list-radius);
|
|
1232
|
+
background: #fff;
|
|
1233
|
+
padding: 16rpx;
|
|
1234
|
+
}
|
|
1235
|
+
.take_qrcode_card{
|
|
1236
|
+
box-shadow: 0px 0px 10rpx rgba(0, 0, 0, 0.1);
|
|
1237
|
+
border-radius: 16rpx;
|
|
1238
|
+
overflow: hidden;
|
|
1239
|
+
.t_card_top{
|
|
1240
|
+
background: #9C1B10;
|
|
1241
|
+
border-radius: 16rpx 16rpx 0 0;
|
|
1242
|
+
min-height: 120rpx;
|
|
1243
|
+
display: flex;
|
|
1244
|
+
align-items: center;
|
|
1245
|
+
justify-content: space-between;
|
|
1246
|
+
padding: 32rpx 64rpx;
|
|
1247
|
+
.t_card_left{
|
|
1248
|
+
display: flex;
|
|
1249
|
+
flex-direction: column;
|
|
1250
|
+
align-items: center;
|
|
1251
|
+
.c_l_img{
|
|
1252
|
+
height: 120rpx;
|
|
1253
|
+
}
|
|
1254
|
+
.t_card_price{
|
|
1255
|
+
color: #FFFFFF;
|
|
1256
|
+
font-size: 48rpx;
|
|
1257
|
+
font-weight: 500;
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
.t_card_right{
|
|
1261
|
+
.c_r_img{
|
|
1262
|
+
width: 240rpx;
|
|
1263
|
+
height: 240rpx;
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
.t_card_bottom{
|
|
1268
|
+
border-radius: 0 0 16rpx 16rpx;
|
|
1269
|
+
padding: 16rpx 32rpx;
|
|
1270
|
+
font-size: 22rpx;
|
|
1271
|
+
font-weight: 400;
|
|
1272
|
+
color: #666666;
|
|
1273
|
+
}
|
|
1274
|
+
}
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1175
1277
|
.codes-index {
|
|
1176
1278
|
color: #999;
|
|
1177
1279
|
background: #eee;
|
|
@@ -10,11 +10,20 @@ module.exports = {
|
|
|
10
10
|
"comment": "非常感谢您购买我们的产品",
|
|
11
11
|
"loading": false
|
|
12
12
|
},
|
|
13
|
+
"pay_info": {
|
|
14
|
+
"goods_amount": 9990,
|
|
15
|
+
"real_pay_amount": 9990
|
|
16
|
+
},
|
|
13
17
|
"settle_info":[
|
|
14
18
|
{"label": "核销门店", "value": "安德鲁森中航城店", "type": "text"},
|
|
15
19
|
{"label": "核销时间", "value": "2023-09-04 19:09:12", "type": "text"},
|
|
16
20
|
{"label": "核销金额", "value": 10000, "type": "price"},
|
|
17
21
|
],
|
|
22
|
+
"shop": {
|
|
23
|
+
"brand_name": "聚福宝",
|
|
24
|
+
"shop_name": "聚福宝",
|
|
25
|
+
"brand_icon": "/uploads/20230710/44f645b06fe4da358f7b0ee06259afcd.jpg"
|
|
26
|
+
},
|
|
18
27
|
"codes": [
|
|
19
28
|
{
|
|
20
29
|
"code": "tp0KPZnFPDJ8Zffw-pY52|323455",
|
package/get.package.path.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* @description 第三方库
|
|
5
|
-
* @param threePackagePath {String} 第三方库所在项目路径存放路径路
|
|
6
|
-
* @param packname {String} 包名字
|
|
7
|
-
* @returns {string|*}
|
|
8
|
-
*/
|
|
9
|
-
const getPackagePath = (threePackagePath, packname = 'gxd-commands-bussiness')=>{
|
|
10
|
-
if(packname === 'gxd-commands-bussiness') {
|
|
11
|
-
return `/Users/shiyonggao/Desktop/code/BASE/UNIAPP/xd-commands-bussiness/${threePackagePath}`;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
if (packname === 'gxd-uni-library-editx') {
|
|
15
|
-
return `/Users/shiyonggao/Desktop/code/BASE/UNIAPP/xd-uni-library-editx/${threePackagePath}`;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
module.exports = {
|
|
21
|
-
getPackagePath
|
|
22
|
-
}
|