jufubao-base 1.0.183 → 1.0.184-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 +1 -1
- package/src/components/JfbBaseAddress/Attr.js +50 -1
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +120 -68
- package/src/components/JfbBaseAddress/XdTfkItem.vue +117 -0
- package/src/components/JfbBaseCardDelay/Api.js +19 -30
- package/src/components/JfbBaseCardDelay/Attr.js +237 -35
- package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +279 -78
- package/src/components/JfbBaseCardDetailEntry/Attr.js +12 -0
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +14 -0
- package/src/components/JfbBaseCardDetailEntry/Mock.js +1 -1
- package/src/components/JfbBaseCardEntry/Attr.js +121 -0
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +206 -29
- package/src/components/JfbBaseCardGive/Api.js +18 -34
- package/src/components/JfbBaseCardGive/Attr.js +40 -32
- package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +502 -79
- package/src/components/JfbBaseCardGive/Mock.js +2 -9
- package/src/components/JfbBaseCardReceive/Api.js +10 -36
- package/src/components/JfbBaseCardReceive/Attr.js +9 -39
- package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +403 -80
- package/src/components/JfbBaseCardReceive/Mock.js +1 -7
- package/src/components/JfbBaseCardReceiveCover/Api.js +5 -43
- package/src/components/JfbBaseCardReceiveCover/Attr.js +119 -30
- package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +189 -82
- package/src/components/JfbBaseCardReceiveCover/Mock.js +1 -9
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +1 -1
- package/src/components/JfbBaseOrderDetail/Attr.js +18 -74
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +26 -22
- package/src/components/JfbBaseOrderList/Attr.js +23 -0
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +117 -86
- package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +246 -0
- package/src/components/JfbBasePay/Attr.js +12 -0
- package/src/components/JfbBasePay/JfbBasePay.vue +14 -8
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +0 -1
- package/src/components/JfbBaseRechargeOrder/Api.js +11 -0
- package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +46 -27
- package/src/components/JfbBaseRechargeOrderDetail/Api.js +11 -0
- package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +142 -13
- package/src/components/JfbBaseRechargeSuccess/Api.js +11 -0
- package/src/components/JfbBaseRechargeSuccess/Attr.js +1 -1
- package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +6 -3
- package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +0 -1
- package/src/components/JfbBaseUserCenter/Attr.js +240 -48
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +101 -30
- package/src/components/JfbBaseUserInfo/Attr.js +179 -30
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +80 -44
- package/src/components/JfbBaseWallet/Attr.js +340 -2
- package/src/components/JfbBaseWallet/JfbBaseWallet.vue +167 -49
|
@@ -8,49 +8,138 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '
|
|
11
|
+
label: '可领取背景图:', //label
|
|
12
|
+
ele: 'xd-upload', //package 名称
|
|
13
|
+
valueKey: 'canReceiveBg', //form[valueKey]
|
|
14
|
+
value: data.canReceiveBg || null, //v-model
|
|
15
|
+
defaultValue: data.canReceiveBg || null, //默认图片对象
|
|
16
|
+
groupKey: "style",
|
|
17
|
+
slot: true, //按钮是否使用slot
|
|
18
|
+
oneWidth: 375, //单个图片显示宽度
|
|
19
|
+
oneHeight: 672, //单个图片显示高度
|
|
20
|
+
elinputClassName: 'input40',
|
|
21
|
+
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
|
|
22
|
+
type: ['jpg', 'png', 'jpeg'],
|
|
23
|
+
styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
|
|
24
|
+
uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
|
|
25
|
+
size: 5, //5M
|
|
26
|
+
action: 'aliyun',
|
|
27
|
+
sort: true, //当上传图片列表时候,是否启用排序
|
|
28
|
+
maxlen: 100, //当上传图片列表时候,最大数量数量
|
|
29
|
+
rules: [
|
|
30
|
+
{ required: true, message: '请上传图片', trigger: ['blur', 'change'] },
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: '可领取背景颜色:',
|
|
12
35
|
ele: 'xd-color',
|
|
13
|
-
valueKey: '
|
|
14
|
-
value: data
|
|
15
|
-
|
|
36
|
+
valueKey: 'canReceiveBgColor',
|
|
37
|
+
value: data['canReceiveBgColor'] || '',
|
|
38
|
+
groupKey: "style",
|
|
39
|
+
placeholder: '请输入可领取背景颜色',
|
|
16
40
|
classNmae: 'input80',
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
label: '不可领取背景图:', //label
|
|
44
|
+
ele: 'xd-upload', //package 名称
|
|
45
|
+
valueKey: 'cannotReceiveBg', //form[valueKey]
|
|
46
|
+
value: data.cannotReceiveBg || null, //v-model
|
|
47
|
+
defaultValue: data.cannotReceiveBg || null, //默认图片对象
|
|
48
|
+
groupKey: "style",
|
|
49
|
+
slot: true, //按钮是否使用slot
|
|
50
|
+
oneWidth: 375, //单个图片显示宽度
|
|
51
|
+
oneHeight: 672, //单个图片显示高度
|
|
52
|
+
elinputClassName: 'input40',
|
|
53
|
+
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
|
|
54
|
+
type: ['jpg', 'png', 'jpeg'],
|
|
55
|
+
styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
|
|
56
|
+
uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
|
|
57
|
+
size: 5, //5M
|
|
58
|
+
action: 'aliyun',
|
|
59
|
+
sort: true, //当上传图片列表时候,是否启用排序
|
|
60
|
+
maxlen: 100, //当上传图片列表时候,最大数量数量
|
|
17
61
|
rules: [
|
|
18
|
-
{
|
|
19
|
-
required: true,
|
|
20
|
-
message: '请输入占位框背景颜色',
|
|
21
|
-
trigger: 'blur'
|
|
22
|
-
},
|
|
62
|
+
{ required: true, message: '请上传图片', trigger: ['blur', 'change'] },
|
|
23
63
|
]
|
|
24
64
|
},
|
|
25
65
|
{
|
|
26
|
-
label: '
|
|
66
|
+
label: '不可领取背景颜色:',
|
|
67
|
+
ele: 'xd-color',
|
|
68
|
+
valueKey: 'cannotReceiveBgColor',
|
|
69
|
+
value: data['cannotReceiveBgColor'] || '',
|
|
70
|
+
groupKey: "style",
|
|
71
|
+
placeholder: '请输入不可领取背景颜色',
|
|
72
|
+
classNmae: 'input80',
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
label: '按钮背景图:', //label
|
|
76
|
+
ele: 'xd-upload', //package 名称
|
|
77
|
+
valueKey: 'btnBg', //form[valueKey]
|
|
78
|
+
value: data.btnBg || null, //v-model
|
|
79
|
+
defaultValue: data.btnBg || null, //默认图片对象
|
|
80
|
+
groupKey: "style",
|
|
81
|
+
slot: true, //按钮是否使用slot
|
|
82
|
+
oneWidth: 163, //单个图片显示宽度
|
|
83
|
+
oneHeight: 45, //单个图片显示高度
|
|
84
|
+
elinputClassName: 'input40',
|
|
85
|
+
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
|
|
86
|
+
type: ['jpg', 'png', 'jpeg'],
|
|
87
|
+
styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
|
|
88
|
+
uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
|
|
89
|
+
size: 5, //5M
|
|
90
|
+
action: 'aliyun',
|
|
91
|
+
sort: true, //当上传图片列表时候,是否启用排序
|
|
92
|
+
maxlen: 100, //当上传图片列表时候,最大数量数量
|
|
93
|
+
rules: [
|
|
94
|
+
{ required: true, message: '请上传图片', trigger: ['blur', 'change'] },
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
label: '内容背景图:', //label
|
|
99
|
+
ele: 'xd-upload', //package 名称
|
|
100
|
+
valueKey: 'contentBg', //form[valueKey]
|
|
101
|
+
value: data.contentBg || null, //v-model
|
|
102
|
+
defaultValue: data.contentBg || null, //默认图片对象
|
|
103
|
+
groupKey: "style",
|
|
104
|
+
slot: true, //按钮是否使用slot
|
|
105
|
+
oneWidth: 300, //单个图片显示宽度
|
|
106
|
+
oneHeight: 200, //单个图片显示高度
|
|
107
|
+
elinputClassName: 'input40',
|
|
108
|
+
tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
|
|
109
|
+
type: ['jpg', 'png', 'jpeg'],
|
|
110
|
+
styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
|
|
111
|
+
uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
|
|
112
|
+
size: 5, //5M
|
|
113
|
+
action: 'aliyun',
|
|
114
|
+
sort: true, //当上传图片列表时候,是否启用排序
|
|
115
|
+
maxlen: 100, //当上传图片列表时候,最大数量数量
|
|
116
|
+
rules: [
|
|
117
|
+
{ required: true, message: '请上传图片', trigger: ['blur', 'change'] },
|
|
118
|
+
]
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
label: '领取跳转地址:',
|
|
27
122
|
ele: 'xd-select-pages-path',
|
|
28
|
-
valueKey: '
|
|
29
|
-
|
|
123
|
+
valueKey: 'receive_get_url',
|
|
124
|
+
groupKey:'advanced',
|
|
125
|
+
placeholder: '请选择领取跳转地址',
|
|
126
|
+
value: data['receive_get_url']||null,
|
|
30
127
|
setting: {
|
|
31
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
128
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
32
129
|
},
|
|
33
|
-
|
|
34
|
-
data.bgcolor && {
|
|
35
|
-
label: '高度:',
|
|
36
|
-
ele: 'el-input',
|
|
37
|
-
type: 'number',
|
|
38
|
-
valueKey: 'height',
|
|
39
|
-
value: data.height || 100,
|
|
40
|
-
placeholder: '请输入占位框高度,单位像素,默认:10px',
|
|
41
|
-
className: 'input80',
|
|
130
|
+
inline: false,
|
|
42
131
|
rules: [
|
|
43
|
-
{
|
|
44
|
-
required: true,
|
|
45
|
-
message: '请输入占位框高度',
|
|
46
|
-
trigger: 'blur'
|
|
47
|
-
},
|
|
132
|
+
{ required: true, message: '请选择领取地址', trigger: ['blur', 'change'] },
|
|
48
133
|
]
|
|
49
134
|
},
|
|
50
135
|
{
|
|
51
|
-
label: '',
|
|
52
|
-
ele: '
|
|
53
|
-
|
|
136
|
+
label: '按钮文字颜色:',
|
|
137
|
+
ele: 'xd-color',
|
|
138
|
+
valueKey: 'btnColor',
|
|
139
|
+
value: data['btnColor'] || '',
|
|
140
|
+
groupKey: "style",
|
|
141
|
+
placeholder: '请输入按钮文字颜色',
|
|
142
|
+
classNmae: 'input80',
|
|
54
143
|
},
|
|
55
144
|
].filter(i=>i)
|
|
56
145
|
},
|
|
@@ -2,110 +2,217 @@
|
|
|
2
2
|
<view
|
|
3
3
|
class="jfb-base-card-receive-cover"
|
|
4
4
|
@click="handleEditxSelect"
|
|
5
|
-
:class="{ editx
|
|
5
|
+
:class="{ editx: isEditx && active }"
|
|
6
6
|
>
|
|
7
7
|
<!--#ifdef H5-->
|
|
8
8
|
<view
|
|
9
9
|
class="jfb-base-card-receive-cover__edit"
|
|
10
|
-
:class="{ editx
|
|
10
|
+
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-card-receive-cover__edit-icon" @click="delEdit"
|
|
13
|
+
<view class="jfb-base-card-receive-cover__edit-icon" @click="delEdit"
|
|
14
|
+
>删除</view
|
|
15
|
+
>
|
|
14
16
|
</view>
|
|
15
17
|
<!-- #endif -->
|
|
16
|
-
<view
|
|
17
|
-
|
|
18
|
+
<view
|
|
19
|
+
:style="{
|
|
20
|
+
height: layoutInfo.bodyMinHeightRpx + 'rpx',
|
|
21
|
+
background: status === 'N' ? canReceiveBgColor : cannotReceiveBgColor,
|
|
22
|
+
}"
|
|
23
|
+
>
|
|
24
|
+
<view class="jfb-base-card-receive-cover__body" :style="[bgStyle]">
|
|
25
|
+
<view v-if="status === 'N'" class="content" :style="contentBgStyle">
|
|
26
|
+
<view class="content-info">{{ greeting }}</view>
|
|
27
|
+
</view>
|
|
28
|
+
<view
|
|
29
|
+
v-if="status === 'N'"
|
|
30
|
+
class="btn"
|
|
31
|
+
@click="handleToReceive"
|
|
32
|
+
:style="btnBgStyle"
|
|
33
|
+
>{{ status === "T" ? "链接已失效" : "立即领取" }}</view
|
|
34
|
+
>
|
|
35
|
+
</view>
|
|
18
36
|
</view>
|
|
19
37
|
</view>
|
|
20
38
|
</template>
|
|
21
39
|
|
|
22
40
|
<script>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
41
|
+
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
42
|
+
import XdButton from "@/components/XdButton/XdButton";
|
|
43
|
+
import { jfbRootExec } from "@/utils/xd.event";
|
|
44
|
+
import JfbBaseCardReceiveCoverMixin from "./JfbBaseCardReceiveCoverMixin";
|
|
45
|
+
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
46
|
+
import componentsMixins from "@/mixins/componentsMixins";
|
|
47
|
+
import extsMixins from "@/mixins/extsMixins";
|
|
48
|
+
export default {
|
|
49
|
+
name: "JfbBaseCardReceiveCover",
|
|
50
|
+
components: {
|
|
51
|
+
XdFontIcon,
|
|
52
|
+
XdButton,
|
|
53
|
+
},
|
|
54
|
+
mixins: [componentsMixins, extsMixins, JfbBaseCardReceiveCoverMixin],
|
|
55
|
+
data() {
|
|
56
|
+
return {
|
|
57
|
+
btnBg: "",
|
|
58
|
+
contentBg: "",
|
|
59
|
+
greeting: "",
|
|
60
|
+
receive_get_url: "",
|
|
61
|
+
btnColor: "",
|
|
62
|
+
transfer_auth_code: null,
|
|
63
|
+
status: "N",
|
|
64
|
+
cannotReceiveBg: "",
|
|
65
|
+
canReceiveBg: "",
|
|
66
|
+
cannotReceiveBgColor: "",
|
|
67
|
+
canReceiveBgColor: "",
|
|
68
|
+
};
|
|
69
|
+
},
|
|
70
|
+
computed: {
|
|
71
|
+
bgStyle() {
|
|
72
|
+
let status = this.status;
|
|
38
73
|
return {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
74
|
+
height: this.layoutInfo.bodyMinHeightRpx + "rpx",
|
|
75
|
+
backgroundImage:
|
|
76
|
+
status === "N"
|
|
77
|
+
? `url(${this.canReceiveBg})`
|
|
78
|
+
: `url(${this.cannotReceiveBg})`,
|
|
79
|
+
backgroundSize: "100% 100%",
|
|
80
|
+
};
|
|
42
81
|
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
82
|
+
btnBgStyle() {
|
|
83
|
+
return this.styleObjectToString({
|
|
84
|
+
backgroundImage: "url(" + this.btnBg + ")",
|
|
85
|
+
backgroundRepeat: "no-repeat",
|
|
86
|
+
backgroundSize: "cover",
|
|
87
|
+
width: "326rpx",
|
|
88
|
+
height: "90rpx",
|
|
89
|
+
display: "flex",
|
|
90
|
+
justifyContent: "center",
|
|
91
|
+
alignItems: "center",
|
|
92
|
+
color: this.btnColor,
|
|
93
|
+
border: "none",
|
|
94
|
+
});
|
|
48
95
|
},
|
|
49
|
-
|
|
50
|
-
this.
|
|
51
|
-
|
|
52
|
-
|
|
96
|
+
contentBgStyle() {
|
|
97
|
+
return [this.styleObjectToString({
|
|
98
|
+
backgroundImage: "url(" + this.contentBg + ")",
|
|
99
|
+
backgroundRepeat: "no-repeat",
|
|
100
|
+
backgroundSize: "100% 100%",
|
|
101
|
+
color: this.mainColor,
|
|
102
|
+
})];
|
|
53
103
|
},
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
// }
|
|
64
|
-
|
|
65
|
-
// }).then().catch()
|
|
66
|
-
},
|
|
67
|
-
/**
|
|
68
|
-
* @description 监听事件变化
|
|
69
|
-
* @param container {object} 业务组件对象自己
|
|
70
|
-
*/
|
|
71
|
-
init(container) {
|
|
72
|
-
|
|
73
|
-
//this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
|
|
74
|
-
|
|
75
|
-
//this.height = getContainerPropsValue(container, 'content.height', 10);
|
|
76
|
-
},
|
|
77
|
-
onJfbScroll(options) {
|
|
78
|
-
console.log('event.onJfbScroll', options)
|
|
79
|
-
},
|
|
80
|
-
onJfbReachBottom(options) {
|
|
81
|
-
console.log('event.onJfbReachBottom', options)
|
|
82
|
-
},
|
|
83
|
-
onJfbShow(options) {
|
|
84
|
-
console.log('event.onJfbShow', options)
|
|
85
|
-
},
|
|
86
|
-
onJfbHide(options) {
|
|
87
|
-
console.log('event.onJfbHide', options)
|
|
88
|
-
},
|
|
89
|
-
onJfbBack(options) {
|
|
90
|
-
console.log('event.onJfbBack', options)
|
|
91
|
-
},
|
|
92
|
-
onJfbUpdate(...data) {
|
|
93
|
-
console.log('event.onJfbUpdate', data)
|
|
94
|
-
},
|
|
95
|
-
onJfbCustomEvent(options) {
|
|
96
|
-
console.log('event.onJfbReachBottom', options)
|
|
97
|
-
},
|
|
98
|
-
}
|
|
99
|
-
}
|
|
104
|
+
},
|
|
105
|
+
watch: {
|
|
106
|
+
container(value, oldValue) {
|
|
107
|
+
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
108
|
+
if (this.$configProject["isPreview"]) this.init(value);
|
|
109
|
+
},
|
|
110
|
+
},
|
|
111
|
+
created() {
|
|
112
|
+
this.init(this.container);
|
|
100
113
|
|
|
114
|
+
//todo
|
|
115
|
+
},
|
|
116
|
+
methods: {
|
|
117
|
+
onJfbLoad(options) {
|
|
118
|
+
this.transfer_auth_code = options.transfer_auth_code;
|
|
119
|
+
jfbRootExec("getReceiveGreetingCard", {
|
|
120
|
+
vm: this,
|
|
121
|
+
data: {
|
|
122
|
+
transfer_auth_code: this.transfer_auth_code,
|
|
123
|
+
},
|
|
124
|
+
})
|
|
125
|
+
.then((res) => {
|
|
126
|
+
this.greeting = res.transfer_record.greeting;
|
|
127
|
+
this.status = res.transfer_record.status;
|
|
128
|
+
})
|
|
129
|
+
.catch((err) => {
|
|
130
|
+
console.log(err, "err");
|
|
131
|
+
});
|
|
132
|
+
},
|
|
133
|
+
init(container) {
|
|
134
|
+
this.btnBg = getContainerPropsValue(container, "content.btnBg", {
|
|
135
|
+
path: "",
|
|
136
|
+
}).path;
|
|
137
|
+
this.contentBg = getContainerPropsValue(container, "content.contentBg", {
|
|
138
|
+
path: "",
|
|
139
|
+
}).path;
|
|
140
|
+
this.canReceiveBg = getContainerPropsValue(
|
|
141
|
+
container,
|
|
142
|
+
"content.canReceiveBg",
|
|
143
|
+
{
|
|
144
|
+
path: "",
|
|
145
|
+
}
|
|
146
|
+
).path;
|
|
147
|
+
this.canReceiveBgColor = getContainerPropsValue(
|
|
148
|
+
container,
|
|
149
|
+
"content.canReceiveBgColor",
|
|
150
|
+
"#000"
|
|
151
|
+
);
|
|
152
|
+
this.cannotReceiveBg = getContainerPropsValue(
|
|
153
|
+
container,
|
|
154
|
+
"content.cannotReceiveBg",
|
|
155
|
+
{
|
|
156
|
+
path: "",
|
|
157
|
+
}
|
|
158
|
+
).path;
|
|
159
|
+
this.cannotReceiveBgColor = getContainerPropsValue(
|
|
160
|
+
container,
|
|
161
|
+
"content.cannotReceiveBgColor",
|
|
162
|
+
"#000"
|
|
163
|
+
);
|
|
164
|
+
this.receive_get_url = getContainerPropsValue(
|
|
165
|
+
container,
|
|
166
|
+
"content.receive_get_url",
|
|
167
|
+
{
|
|
168
|
+
value: "",
|
|
169
|
+
}
|
|
170
|
+
).value;
|
|
171
|
+
this.btnColor = getContainerPropsValue(
|
|
172
|
+
container,
|
|
173
|
+
"content.btnColor",
|
|
174
|
+
"#000"
|
|
175
|
+
);
|
|
176
|
+
},
|
|
177
|
+
handleToReceive() {
|
|
178
|
+
if (this.status === "T") return;
|
|
179
|
+
this.$xdUniHelper.navigateTo({
|
|
180
|
+
url: `${this.receive_get_url}?transfer_auth_code=${this.transfer_auth_code}`,
|
|
181
|
+
});
|
|
182
|
+
},
|
|
183
|
+
},
|
|
184
|
+
};
|
|
101
185
|
</script>
|
|
102
186
|
|
|
103
187
|
<style scoped lang="less">
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
.jfb-base-card-receive-cover {
|
|
107
|
-
&__body{
|
|
188
|
+
@import "./JfbBaseCardReceiveCoverLess.less";
|
|
108
189
|
|
|
190
|
+
.jfb-base-card-receive-cover {
|
|
191
|
+
&__body {
|
|
192
|
+
display: flex;
|
|
193
|
+
flex-direction: column;
|
|
194
|
+
align-items: center;
|
|
195
|
+
justify-content: flex-end;
|
|
196
|
+
.content {
|
|
197
|
+
position: relative;
|
|
198
|
+
min-height: 400rpx;
|
|
199
|
+
min-width: 600rpx;
|
|
200
|
+
display: flex;
|
|
201
|
+
justify-content: center;
|
|
202
|
+
font-size: 40rpx;
|
|
203
|
+
font-weight: 500;
|
|
204
|
+
&-info {
|
|
205
|
+
padding-top: 70rpx;
|
|
206
|
+
width: 300rpx;
|
|
207
|
+
text-align: center;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
.btn {
|
|
211
|
+
margin-top: 50rpx;
|
|
212
|
+
margin-bottom: 100rpx;
|
|
213
|
+
font-size: 36rpx;
|
|
214
|
+
text-align: center;
|
|
109
215
|
}
|
|
110
216
|
}
|
|
217
|
+
}
|
|
111
218
|
</style>
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
|
-
|
|
5
|
-
getCardByIdFilmSquate:{},
|
|
6
|
-
|
|
7
|
-
updateCardFilmPaiqiDate:{},
|
|
8
|
-
|
|
9
|
-
removeCardFilmAddress:{},
|
|
10
|
-
|
|
11
|
-
addCardFilmcart:{},
|
|
12
|
-
|
|
4
|
+
getReceiveGreetingCard:{"card_number":"101001000008098","card_point":99028,"card_type_name":"多余额福卡","end_time":"2025-07-31","card_status":"Y","card_status_name":"开启","unit":"点","main_business_code_name":"蛋糕(勿改)、网络视听(勿改)、体检(勿改)","other_card_point":79222,"is_exchange":"N","exchange_card_type_name":"","exchange_card_point":0,"card_point_type":2,"is_can_unbind":"","business_codes":["movie","market","cake"],"site_entry_settings":[],"transfer_record":{"transfer_auth_code":"aa6ljeQETINBUAJ-9l486","status":"N","status_name":"待领取","transfer_time":"2024-09-09 11:32:11","user_id":5000223,"user_nickname":"金L爽","user_phone_number":"188****4566","greeting":"送给你了"},"request_id":"2646fc69fab35413"},
|
|
13
5
|
}
|
|
@@ -332,95 +332,39 @@ export default {
|
|
|
332
332
|
notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
},
|
|
340
|
-
{
|
|
341
|
-
label: '是否有投影:',
|
|
342
|
-
ele: 'xd-radio',
|
|
335
|
+
label: "主体信息行间距:",
|
|
336
|
+
ele: 'el-input',
|
|
337
|
+
type: 'number',
|
|
338
|
+
valueKey: 'lineHeight',
|
|
343
339
|
groupKey:'style',
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
placeholder: '请选择是否投影',
|
|
347
|
-
multiple: false,
|
|
340
|
+
value: data['lineHeight'] || 20,
|
|
341
|
+
placeholder: '请输入主体信息行间距',
|
|
348
342
|
className: 'input80',
|
|
349
|
-
list: [
|
|
350
|
-
{ label: '是', value: 'Y' },
|
|
351
|
-
{ label: '否', value: 'N' },
|
|
352
|
-
]
|
|
353
|
-
},
|
|
354
|
-
data['is_shadow'] === 'Y' && {
|
|
355
|
-
label: '投影颜色:',
|
|
356
|
-
ele: 'xd-color',
|
|
357
|
-
groupKey:'style',
|
|
358
|
-
valueKey: 'is_shadow_bg',
|
|
359
|
-
value: data['is_shadow_bg'] || '',
|
|
360
|
-
placeholder: '请选择投影颜色',
|
|
361
|
-
classNmae: 'input80',
|
|
362
343
|
},
|
|
363
|
-
|
|
364
|
-
label: '
|
|
365
|
-
ele:
|
|
366
|
-
valueKey:
|
|
344
|
+
{
|
|
345
|
+
label: '投影设置:',
|
|
346
|
+
ele: "xd-shadow",
|
|
347
|
+
valueKey: "sectionShadow",
|
|
348
|
+
value: data.sectionShadow || {},
|
|
367
349
|
groupKey:'style',
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
multiple: false,
|
|
371
|
-
className: 'input80',
|
|
372
|
-
handleCustom({ action, data }) {
|
|
373
|
-
XdBus.getParentApi('getOptionsSettingList')({
|
|
374
|
-
setting_id: 'edtix_style_radius',
|
|
375
|
-
key: Date.now()
|
|
376
|
-
})
|
|
350
|
+
handleCustom({action, data}) {
|
|
351
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
377
352
|
.then(res => {
|
|
378
353
|
data.cb(res.list)
|
|
379
354
|
})
|
|
380
355
|
.catch(error => {
|
|
381
356
|
console.error(error);
|
|
357
|
+
data.cb([])
|
|
382
358
|
});
|
|
383
359
|
},
|
|
384
360
|
},
|
|
385
361
|
{
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
362
|
+
label: "边框设置:",
|
|
363
|
+
ele: "xd-border",
|
|
364
|
+
valueKey: "sectionBorder",
|
|
365
|
+
value: data.sectionBorder || {},
|
|
389
366
|
groupKey:'style',
|
|
390
367
|
},
|
|
391
|
-
{
|
|
392
|
-
label: '是否有边框:',
|
|
393
|
-
ele: 'xd-radio',
|
|
394
|
-
valueKey: 'is_border',
|
|
395
|
-
value: data['is_border'] || 'N',
|
|
396
|
-
groupKey:'style',
|
|
397
|
-
placeholder: '请选择是否有边框',
|
|
398
|
-
multiple: false,
|
|
399
|
-
className: 'input80',
|
|
400
|
-
list: [
|
|
401
|
-
{ label: '是', value: 'Y' },
|
|
402
|
-
{ label: '否', value: 'N' },
|
|
403
|
-
]
|
|
404
|
-
},
|
|
405
|
-
data['is_border'] === 'Y' && {
|
|
406
|
-
label: '边框颜色:',
|
|
407
|
-
ele: 'xd-color',
|
|
408
|
-
groupKey:'style',
|
|
409
|
-
valueKey: 'is_border_c',
|
|
410
|
-
value: data['is_border_c'] || '',
|
|
411
|
-
placeholder: '请选择边框颜色',
|
|
412
|
-
classNmae: 'input80',
|
|
413
|
-
},
|
|
414
|
-
data['is_border'] === 'Y' && {
|
|
415
|
-
label: '边框大小:',
|
|
416
|
-
groupKey:'style',
|
|
417
|
-
ele: 'el-input',
|
|
418
|
-
type: 'number',
|
|
419
|
-
valueKey: 'is_border_w',
|
|
420
|
-
value: data['is_border_w'] || '',
|
|
421
|
-
placeholder: '请输入边框颜色',
|
|
422
|
-
className: 'input80',
|
|
423
|
-
},
|
|
424
368
|
{
|
|
425
369
|
label: '内容圆角设置:',
|
|
426
370
|
ele: 'xd-site-select-list',
|