jufubao-base 1.0.398 → 1.0.399-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/package.json
CHANGED
|
@@ -5,30 +5,88 @@
|
|
|
5
5
|
*/
|
|
6
6
|
export default {
|
|
7
7
|
style: [],
|
|
8
|
-
content: (data) => {
|
|
8
|
+
content: (data, gValue,gColor,oldData) => {
|
|
9
|
+
//链接
|
|
10
|
+
let walletDetailPath = null;
|
|
11
|
+
if(data['walletDetailPath'] !== undefined) {
|
|
12
|
+
walletDetailPath = data['walletDetailPath']
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
let billDetailPath = null;
|
|
16
|
+
if(data['billDetailPath'] !== undefined) {
|
|
17
|
+
billDetailPath = data['billDetailPath']
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
let isShow = 'Y';
|
|
21
|
+
if(['Y','N'].includes(data['isShow'])) isShow = data['isShow'];
|
|
22
|
+
|
|
9
23
|
return [
|
|
10
24
|
{
|
|
11
|
-
|
|
25
|
+
ele: 'title',
|
|
26
|
+
label: '基础',
|
|
27
|
+
size: 'small',
|
|
28
|
+
groupKey:'content',
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
label: '二维码',
|
|
32
|
+
ele: 'xd-radio',
|
|
33
|
+
groupKey: 'content',
|
|
34
|
+
valueKey: 'isShow',
|
|
35
|
+
value: isShow,
|
|
36
|
+
labelInline:true,
|
|
37
|
+
list: [
|
|
38
|
+
{label: '展示', value: 'Y'},
|
|
39
|
+
{label: '不展示', value: 'N'},
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
label: '钱包详情',
|
|
12
44
|
ele: 'xd-select-pages-path',
|
|
13
|
-
valueKey: '
|
|
14
|
-
|
|
15
|
-
|
|
45
|
+
valueKey: 'contentPath',
|
|
46
|
+
placeholder: '请选择钱包详情跳跳转地址',
|
|
47
|
+
groupKey: 'advanced',
|
|
48
|
+
value: walletDetailPath,
|
|
49
|
+
labelInline: true,
|
|
50
|
+
className: 'input100',
|
|
16
51
|
setting: {
|
|
17
|
-
|
|
52
|
+
mode: 'new',
|
|
53
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
18
54
|
},
|
|
19
|
-
inline: false,
|
|
20
55
|
},
|
|
21
56
|
{
|
|
22
|
-
label: '
|
|
57
|
+
label: '账单详情',
|
|
23
58
|
ele: 'xd-select-pages-path',
|
|
24
59
|
groupKey:'advanced',
|
|
60
|
+
placeholder: '请选择账单详情跳跳转地址',
|
|
25
61
|
valueKey: 'billDetailPath',
|
|
26
|
-
value:
|
|
62
|
+
value: billDetailPath,
|
|
63
|
+
labelInline: true,
|
|
64
|
+
className: 'input100',
|
|
27
65
|
setting: {
|
|
66
|
+
mode: 'new',
|
|
28
67
|
router: XdBus.getParentApi('getPagesTree')
|
|
29
68
|
},
|
|
30
69
|
inline: false,
|
|
31
70
|
},
|
|
71
|
+
{
|
|
72
|
+
label: '版本号:',
|
|
73
|
+
ele: 'el-input',
|
|
74
|
+
type: 'text',
|
|
75
|
+
groupKey: 'advanced',
|
|
76
|
+
valueKey: 'version',
|
|
77
|
+
value: 'v2.0',
|
|
78
|
+
hidden: true,
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
label: '过滤引用模版字段:',
|
|
82
|
+
ele: 'el-input',
|
|
83
|
+
type: 'text',
|
|
84
|
+
groupKey: 'advanced',
|
|
85
|
+
valueKey: 'refFilterKey',
|
|
86
|
+
value: '[]',
|
|
87
|
+
hidden: true,
|
|
88
|
+
},
|
|
89
|
+
|
|
32
90
|
].filter(i=>i)
|
|
33
91
|
},
|
|
34
92
|
advanced: [],
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<view>{{ total_amount }}</view>
|
|
32
32
|
</view>
|
|
33
33
|
<XdFontIcon
|
|
34
|
-
v-if="typeList.length"
|
|
34
|
+
v-if="isShow === 'Y' && typeList.length"
|
|
35
35
|
@click="handleShowQrcode"
|
|
36
36
|
style="align-items: flex-start"
|
|
37
37
|
color="#999999"
|
|
@@ -227,7 +227,7 @@ import XdDailog from "@/components/XdDailog/XdDailog";
|
|
|
227
227
|
import XdDownDrawer from "@/components/XdDownDrawer/XdDownDrawer";
|
|
228
228
|
import XdButton from "@/components/XdButton/XdButton";
|
|
229
229
|
import XdRadio from "@/components/XdRadio/XdRadio";
|
|
230
|
-
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
230
|
+
import { getContainerPropsValue,gCPVal } from "@/utils/xd.base";
|
|
231
231
|
import componentsMixins from "@/mixins/componentsMixins";
|
|
232
232
|
import extsMixins from "@/mixins/extsMixins";
|
|
233
233
|
import { mapState } from "vuex";
|
|
@@ -280,7 +280,8 @@ export default {
|
|
|
280
280
|
total_amount: 0,
|
|
281
281
|
show_name: "",
|
|
282
282
|
status: false,
|
|
283
|
-
wallet_nnid: null
|
|
283
|
+
wallet_nnid: null,
|
|
284
|
+
isShow: 'Y',
|
|
284
285
|
};
|
|
285
286
|
},
|
|
286
287
|
watch: {
|
|
@@ -448,28 +449,15 @@ export default {
|
|
|
448
449
|
this.operate_type = this.buySale[e.detail.value].value;
|
|
449
450
|
this.getList();
|
|
450
451
|
},
|
|
451
|
-
|
|
452
|
-
return this.$xdUniHelper.divisionFloatNumber(num, 100);
|
|
453
|
-
},
|
|
452
|
+
|
|
454
453
|
/**
|
|
455
454
|
* @description 监听事件变化
|
|
456
455
|
* @param container {object} 业务组件对象自己
|
|
457
456
|
*/
|
|
458
457
|
init(container) {
|
|
459
|
-
this.billDetailPath =
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
{
|
|
463
|
-
value: "",
|
|
464
|
-
}
|
|
465
|
-
).value;
|
|
466
|
-
this.walletDetailPath = getContainerPropsValue(
|
|
467
|
-
container,
|
|
468
|
-
"content.walletDetailPath",
|
|
469
|
-
{
|
|
470
|
-
value: "",
|
|
471
|
-
}
|
|
472
|
-
).value;
|
|
458
|
+
this.billDetailPath = gCPVal(container, "billDetailPath", {value: "",}).value;
|
|
459
|
+
this.walletDetailPath = gCPVal(container, "walletDetailPath", {value: ""}).value;
|
|
460
|
+
this.isShow = gCPVal(container, "isShow", 'Y');
|
|
473
461
|
},
|
|
474
462
|
handleToWalletDetail(item) {
|
|
475
463
|
this.$xdUniHelper.navigateTo({
|