jufubao-base 1.0.183 → 1.0.184-beta1
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/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 +42 -0
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +40 -7
- package/src/components/JfbBasePay/Attr.js +12 -0
- package/src/components/JfbBasePay/JfbBasePay.vue +14 -8
- package/src/components/JfbBasePhoneCollect/Attr.js +945 -411
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +307 -27
- package/src/components/JfbBasePhoneLogin/Attr.js +893 -405
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +609 -253
- 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
|
@@ -8,51 +8,21 @@ export default {
|
|
|
8
8
|
content: (data) => {
|
|
9
9
|
return [
|
|
10
10
|
{
|
|
11
|
-
label: '
|
|
12
|
-
ele: 'xd-color',
|
|
13
|
-
valueKey: 'bgcolor',
|
|
14
|
-
value: data.bgcolor || '',
|
|
15
|
-
placeholder: '请输入占位框背景颜色',
|
|
16
|
-
classNmae: 'input80',
|
|
17
|
-
rules: [
|
|
18
|
-
{
|
|
19
|
-
required: true,
|
|
20
|
-
message: '请输入占位框背景颜色',
|
|
21
|
-
trigger: 'blur'
|
|
22
|
-
},
|
|
23
|
-
]
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
label: '选中路径:',
|
|
11
|
+
label: '使用地址:',
|
|
27
12
|
ele: 'xd-select-pages-path',
|
|
28
|
-
valueKey: '
|
|
29
|
-
|
|
13
|
+
valueKey: 'use_url',
|
|
14
|
+
groupKey: 'advanced',
|
|
15
|
+
placeholder: '请选择使用地址',
|
|
16
|
+
value: data['use_url'] || null,
|
|
30
17
|
setting: {
|
|
31
|
-
router: XdBus.getParentApi('getPagesTree')
|
|
18
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
32
19
|
},
|
|
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',
|
|
20
|
+
inline: false,
|
|
42
21
|
rules: [
|
|
43
|
-
{
|
|
44
|
-
required: true,
|
|
45
|
-
message: '请输入占位框高度',
|
|
46
|
-
trigger: 'blur'
|
|
47
|
-
},
|
|
22
|
+
{ required: true, message: '请选择领取地址', trigger: ['blur', 'change'] },
|
|
48
23
|
]
|
|
49
24
|
},
|
|
50
|
-
|
|
51
|
-
label: '', //label
|
|
52
|
-
ele: 'slot', //package 名称
|
|
53
|
-
slot: 'is_reference',
|
|
54
|
-
},
|
|
55
|
-
].filter(i=>i)
|
|
25
|
+
].filter(i => i)
|
|
56
26
|
},
|
|
57
27
|
advanced: [],
|
|
58
28
|
};
|
|
@@ -2,110 +2,433 @@
|
|
|
2
2
|
<view
|
|
3
3
|
class="jfb-base-card-receive"
|
|
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__edit"
|
|
10
|
-
:class="{ editx
|
|
10
|
+
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-card-receive__edit-icon" @click="delEdit"
|
|
13
|
+
<view class="jfb-base-card-receive__edit-icon" @click="delEdit"
|
|
14
|
+
>删除</view
|
|
15
|
+
>
|
|
14
16
|
</view>
|
|
15
17
|
<!-- #endif -->
|
|
16
|
-
<view class="jfb-base-card-receive__body">
|
|
17
|
-
<view
|
|
18
|
+
<view class="jfb-base-card-receive__body" v-if="info !== null">
|
|
19
|
+
<view
|
|
20
|
+
class="qrcode_card"
|
|
21
|
+
:style="{ background: info['theme']['color'], backgroundSize: '100%' }"
|
|
22
|
+
>
|
|
23
|
+
<view
|
|
24
|
+
:style="{ backgroundImage: 'url(' + info['theme']['image'] + ')' }"
|
|
25
|
+
>
|
|
26
|
+
<view class="card-title"
|
|
27
|
+
><view>{{ info["card_type_name"] }}</view></view
|
|
28
|
+
>
|
|
29
|
+
<view class="card_info">
|
|
30
|
+
<view class="card_type">券号:{{ info.card_number }}</view>
|
|
31
|
+
<view class="card_sec">有效期:{{ info.end_time }}</view>
|
|
32
|
+
<view class="card_sec"
|
|
33
|
+
>余额:{{ info.card_point }}{{ info.unit }}</view
|
|
34
|
+
>
|
|
35
|
+
<view
|
|
36
|
+
class="card_other"
|
|
37
|
+
v-if="info.other_card_point && info.card_point_type === 2"
|
|
38
|
+
>
|
|
39
|
+
<text>购买其他物品可抵:</text
|
|
40
|
+
><text>{{ info.other_card_point }} {{ info.unit }}</text>
|
|
41
|
+
</view>
|
|
42
|
+
</view>
|
|
43
|
+
</view>
|
|
44
|
+
</view>
|
|
45
|
+
|
|
46
|
+
<view class="jfb-base-card-receive__body-status">
|
|
47
|
+
<view
|
|
48
|
+
style="margin-bottom: 32rpx"
|
|
49
|
+
class="jfb-base-card-receive__body-status-item"
|
|
50
|
+
>
|
|
51
|
+
<view>领取状态:</view>
|
|
52
|
+
<view
|
|
53
|
+
:style="{
|
|
54
|
+
color:
|
|
55
|
+
info.transfer_record.status === 'Y' ? '#29CB97' : mainColor,
|
|
56
|
+
}"
|
|
57
|
+
>{{ info.transfer_record.status_name }}</view
|
|
58
|
+
>
|
|
59
|
+
</view>
|
|
60
|
+
<view class="jfb-base-card-receive__body-status-item">
|
|
61
|
+
<view>赠送时间:</view>
|
|
62
|
+
<view>{{ info.transfer_record.transfer_time }}</view>
|
|
63
|
+
</view>
|
|
64
|
+
</view>
|
|
65
|
+
|
|
66
|
+
<view
|
|
67
|
+
v-if="info.site_entry_settings && info.site_entry_settings.length > 0"
|
|
68
|
+
class="jfb-base-card-receive__body-business"
|
|
69
|
+
>
|
|
70
|
+
<view class="jfb-base-card-receive__body-business-title"
|
|
71
|
+
>支持业务板块</view
|
|
72
|
+
>
|
|
73
|
+
<view
|
|
74
|
+
style="
|
|
75
|
+
display: flex;
|
|
76
|
+
align-content: center;
|
|
77
|
+
justify-content: flex-start;
|
|
78
|
+
"
|
|
79
|
+
>
|
|
80
|
+
<view class="jfb-base-card-receive__body-business-content">
|
|
81
|
+
<view
|
|
82
|
+
class="jfb-base-card-receive__body-business-content-item"
|
|
83
|
+
v-for="(item, index) in info.site_entry_settings"
|
|
84
|
+
:key="index"
|
|
85
|
+
>
|
|
86
|
+
<view><image :src="item.image_url"></image></view>
|
|
87
|
+
<view>{{ item.entry_name }}</view>
|
|
88
|
+
</view>
|
|
89
|
+
</view>
|
|
90
|
+
</view>
|
|
91
|
+
</view>
|
|
92
|
+
<view
|
|
93
|
+
v-if="info.transfer_record.status === 'N'"
|
|
94
|
+
style="height: 110rpx"
|
|
95
|
+
></view>
|
|
96
|
+
<view
|
|
97
|
+
v-if="info.transfer_record.status === 'N'"
|
|
98
|
+
class="jfb-base-card-receive__body-footer"
|
|
99
|
+
:style="prod_bottom"
|
|
100
|
+
>
|
|
101
|
+
<xd-button width="670rpx" type="primary" @click="handleReceive"
|
|
102
|
+
>立即领取</xd-button
|
|
103
|
+
>
|
|
104
|
+
</view>
|
|
105
|
+
<xd-dailog
|
|
106
|
+
title="领取失败"
|
|
107
|
+
:cancel="false"
|
|
108
|
+
:confirm="false"
|
|
109
|
+
:show.sync="dialogShow"
|
|
110
|
+
>
|
|
111
|
+
<view class="dialog">
|
|
112
|
+
<view class="dialog-content">{{ errMsg }}</view>
|
|
113
|
+
<xd-button @click="handleClose" width="360rpx" type="primary"
|
|
114
|
+
>确定</xd-button
|
|
115
|
+
>
|
|
116
|
+
</view>
|
|
117
|
+
</xd-dailog>
|
|
118
|
+
<xd-dailog
|
|
119
|
+
title="领取成功"
|
|
120
|
+
:cancel="false"
|
|
121
|
+
:confirm="false"
|
|
122
|
+
:show.sync="resultDialog"
|
|
123
|
+
>
|
|
124
|
+
<view class="dialog">
|
|
125
|
+
<view class="dialog-content">恭喜您领取成功</view>
|
|
126
|
+
<view class="dialog-notice">票券已放入您的票券列表中</view>
|
|
127
|
+
<!-- <button open-type="share">通知微信好友</button> -->
|
|
128
|
+
<xd-button @click="toUse" width="360rpx" type="primary"
|
|
129
|
+
>去使用</xd-button
|
|
130
|
+
>
|
|
131
|
+
</view>
|
|
132
|
+
</xd-dailog>
|
|
18
133
|
</view>
|
|
19
134
|
</view>
|
|
20
135
|
</template>
|
|
21
136
|
|
|
22
137
|
<script>
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
},
|
|
34
|
-
mixins: [
|
|
35
|
-
componentsMixins, extsMixins, JfbBaseCardReceiveMixin
|
|
36
|
-
],
|
|
37
|
-
data() {
|
|
38
|
-
return {
|
|
138
|
+
import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
|
|
139
|
+
import XdButton from "@/components/XdButton/XdButton";
|
|
140
|
+
import XdDailog from "@/components/XdDailog/XdDailog";
|
|
141
|
+
import { jfbRootExec } from "@/utils/xd.event";
|
|
142
|
+
import JfbBaseCardReceiveMixin from "./JfbBaseCardReceiveMixin";
|
|
143
|
+
import { getContainerPropsValue } from "@/utils/xd.base";
|
|
144
|
+
import componentsMixins from "@/mixins/componentsMixins";
|
|
145
|
+
import extsMixins from "@/mixins/extsMixins";
|
|
146
|
+
import getServiceUrl from "@/common/getServiceUrl";
|
|
147
|
+
import colorCardMixins from "@/mixins/colorCardMixins";
|
|
39
148
|
|
|
40
|
-
|
|
41
|
-
|
|
149
|
+
export default {
|
|
150
|
+
name: "JfbBaseCardReceive",
|
|
151
|
+
components: {
|
|
152
|
+
XdFontIcon,
|
|
153
|
+
XdButton,
|
|
154
|
+
XdDailog,
|
|
155
|
+
},
|
|
156
|
+
mixins: [
|
|
157
|
+
componentsMixins,
|
|
158
|
+
extsMixins,
|
|
159
|
+
JfbBaseCardReceiveMixin,
|
|
160
|
+
colorCardMixins,
|
|
161
|
+
],
|
|
162
|
+
data() {
|
|
163
|
+
return {
|
|
164
|
+
info: null,
|
|
165
|
+
transfer_auth_code: null,
|
|
166
|
+
dialogShow: false,
|
|
167
|
+
resultDialog: false,
|
|
168
|
+
isPreview: false,
|
|
169
|
+
errMsg: "",
|
|
170
|
+
};
|
|
171
|
+
},
|
|
172
|
+
computed: {
|
|
173
|
+
prod_bottom() {
|
|
174
|
+
return this.fixedStyle({ height: 0, zIndex: 111 });
|
|
42
175
|
},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
176
|
+
},
|
|
177
|
+
watch: {
|
|
178
|
+
container(value, oldValue) {
|
|
179
|
+
if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
|
|
180
|
+
if (this.$configProject["isPreview"]) this.init(value);
|
|
48
181
|
},
|
|
49
|
-
|
|
50
|
-
|
|
182
|
+
},
|
|
183
|
+
created() {
|
|
184
|
+
this.init(this.container);
|
|
185
|
+
console.log(this.layoutInfo, "apapap");
|
|
51
186
|
|
|
52
|
-
|
|
187
|
+
//todo
|
|
188
|
+
},
|
|
189
|
+
methods: {
|
|
190
|
+
onJfbLoad(options) {
|
|
191
|
+
this.transfer_auth_code = options.transfer_auth_code;
|
|
192
|
+
this.getDetail();
|
|
193
|
+
},
|
|
194
|
+
getDetail() {
|
|
195
|
+
jfbRootExec("getReceiveDetailCard", {
|
|
196
|
+
vm: this,
|
|
197
|
+
data: {
|
|
198
|
+
transfer_auth_code: this.transfer_auth_code,
|
|
199
|
+
is_show_entry_settings: "Y",
|
|
200
|
+
},
|
|
201
|
+
})
|
|
202
|
+
.then((res) => {
|
|
203
|
+
this.info = res;
|
|
204
|
+
this.info.card_point = this.$xdUniHelper.divisionFloatNumber(
|
|
205
|
+
this.info.card_point,
|
|
206
|
+
100
|
|
207
|
+
);
|
|
208
|
+
this.info.other_card_point = this.$xdUniHelper.divisionFloatNumber(
|
|
209
|
+
this.info.other_card_point,
|
|
210
|
+
100
|
|
211
|
+
);
|
|
212
|
+
this.info["theme"] = this.getCardThemes(this.info["card_type_name"]);
|
|
213
|
+
if (
|
|
214
|
+
this.info &&
|
|
215
|
+
this.info.site_entry_settings &&
|
|
216
|
+
this.info.site_entry_settings.length > 0
|
|
217
|
+
) {
|
|
218
|
+
this.info.site_entry_settings =
|
|
219
|
+
this.info.site_entry_settings.filter((item) => {
|
|
220
|
+
item["image_url"] = getServiceUrl(item["image_url"]);
|
|
221
|
+
return this.info.business_codes.includes(item.business_code);
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
})
|
|
225
|
+
.catch((err) => {
|
|
226
|
+
console.log(err, "err");
|
|
227
|
+
});
|
|
228
|
+
},
|
|
229
|
+
handleReceive() {
|
|
230
|
+
this.$xdShowLoading({});
|
|
231
|
+
jfbRootExec("receiveCard", {
|
|
232
|
+
vm: this,
|
|
233
|
+
data: {
|
|
234
|
+
transfer_auth_code: this.transfer_auth_code,
|
|
235
|
+
},
|
|
236
|
+
})
|
|
237
|
+
.then((res) => {
|
|
238
|
+
if (res.error_code) {
|
|
239
|
+
this.dialogShow = true;
|
|
240
|
+
this.errMsg = res.error_msg;
|
|
241
|
+
} else {
|
|
242
|
+
this.resultDialog = true;
|
|
243
|
+
this.getDetail();
|
|
244
|
+
}
|
|
245
|
+
this.$xdHideLoading({});
|
|
246
|
+
})
|
|
247
|
+
.catch((err) => {
|
|
248
|
+
this.$xdHideLoading({});
|
|
249
|
+
console.log(err, "err");
|
|
250
|
+
});
|
|
251
|
+
},
|
|
252
|
+
handleClose() {
|
|
253
|
+
this.dialogShow = false;
|
|
254
|
+
this.getDetail();
|
|
53
255
|
},
|
|
54
|
-
methods: {
|
|
55
|
-
onJfbLoad(options) {
|
|
56
|
-
|
|
57
|
-
// jfbRootExec('baiduUserLogin', {
|
|
58
|
-
|
|
59
|
-
// vm: this,// data: {
|
|
60
|
-
|
|
61
|
-
// account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
|
|
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
|
-
}
|
|
100
256
|
|
|
257
|
+
toUse() {
|
|
258
|
+
console.log(this.use_url,'this.use_url');
|
|
259
|
+
|
|
260
|
+
this.$xdUniHelper.navigateTo({
|
|
261
|
+
url: `${this.use_url}`,
|
|
262
|
+
});
|
|
263
|
+
},
|
|
264
|
+
/**
|
|
265
|
+
* @description 监听事件变化
|
|
266
|
+
* @param container {object} 业务组件对象自己
|
|
267
|
+
*/
|
|
268
|
+
init(container) {
|
|
269
|
+
this.use_url = getContainerPropsValue(container, "content.use_url", {
|
|
270
|
+
value: "",
|
|
271
|
+
}).value;
|
|
272
|
+
},
|
|
273
|
+
},
|
|
274
|
+
};
|
|
101
275
|
</script>
|
|
102
276
|
|
|
103
277
|
<style scoped lang="less">
|
|
104
|
-
|
|
278
|
+
@import "./JfbBaseCardReceiveLess.less";
|
|
279
|
+
|
|
280
|
+
.jfb-base-card-receive {
|
|
281
|
+
&__body {
|
|
282
|
+
padding: 28rpx;
|
|
283
|
+
color: #333;
|
|
284
|
+
.qrcode_card {
|
|
285
|
+
position: relative;
|
|
286
|
+
border-radius: unit(16, rpx);
|
|
287
|
+
&-title {
|
|
288
|
+
display: flex;
|
|
289
|
+
font-size: 32rpx;
|
|
290
|
+
}
|
|
291
|
+
.card-title {
|
|
292
|
+
height: unit(56, rpx);
|
|
293
|
+
display: flex;
|
|
294
|
+
justify-content: flex-start;
|
|
295
|
+
align-items: center;
|
|
105
296
|
|
|
106
|
-
|
|
107
|
-
|
|
297
|
+
& > view {
|
|
298
|
+
padding: 0 unit(50, rpx);
|
|
299
|
+
font-size: unit(24, rpx);
|
|
300
|
+
line-height: unit(56, rpx);
|
|
301
|
+
background: rgba(102, 102, 102, 0.4);
|
|
302
|
+
color: #fff;
|
|
303
|
+
border-radius: unit(16, rpx) 0 unit(16, rpx) 0;
|
|
304
|
+
display: flex;
|
|
305
|
+
align-items: center;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
.card_info {
|
|
309
|
+
color: #ffffff;
|
|
310
|
+
font-size: 28rpx;
|
|
311
|
+
padding-left: 40rpx;
|
|
312
|
+
background-size: 100%;
|
|
313
|
+
min-height: unit(200, rpx);
|
|
108
314
|
|
|
315
|
+
.card_type {
|
|
316
|
+
font-size: 40rpx;
|
|
317
|
+
font-weight: 600;
|
|
318
|
+
margin-top: 20rpx;
|
|
319
|
+
}
|
|
320
|
+
.card_sec {
|
|
321
|
+
margin: 12rpx 0;
|
|
322
|
+
}
|
|
323
|
+
.card_other {
|
|
324
|
+
background-color: rgba(255, 255, 255, 0.2);
|
|
325
|
+
border-radius: 8rpx;
|
|
326
|
+
padding: 8rpx 20rpx;
|
|
327
|
+
display: inline-block;
|
|
328
|
+
margin-bottom: 30rpx;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
.dialog {
|
|
333
|
+
.dialog-title {
|
|
334
|
+
font-size: 40rpx;
|
|
335
|
+
font-weight: 500;
|
|
336
|
+
text-align: center;
|
|
337
|
+
}
|
|
338
|
+
.dialog-content {
|
|
339
|
+
font-size: 36rpx;
|
|
340
|
+
margin: 40rpx 0;
|
|
341
|
+
text-align: center;
|
|
342
|
+
}
|
|
343
|
+
.dialog-notice {
|
|
344
|
+
font-size: 24rpx;
|
|
345
|
+
color: rgba(255, 87, 51, 1);
|
|
346
|
+
text-align: center;
|
|
347
|
+
margin-bottom: 40rpx;
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
&-footer {
|
|
351
|
+
position: fixed;
|
|
352
|
+
left: 0;
|
|
353
|
+
right: 0;
|
|
354
|
+
height: unit(100, rpx);
|
|
355
|
+
display: flex;
|
|
356
|
+
justify-content: center;
|
|
357
|
+
align-items: center;
|
|
358
|
+
background: #fff;
|
|
359
|
+
}
|
|
360
|
+
&-status {
|
|
361
|
+
background: #fff;
|
|
362
|
+
border-radius: unit(16, rpx);
|
|
363
|
+
margin-top: unit(24, rpx);
|
|
364
|
+
padding: 40rpx;
|
|
365
|
+
font-size: 26rpx;
|
|
366
|
+
&-item {
|
|
367
|
+
display: flex;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
&-business {
|
|
371
|
+
background: #fff;
|
|
372
|
+
border-radius: unit(16, rpx);
|
|
373
|
+
margin-top: unit(24, rpx);
|
|
374
|
+
|
|
375
|
+
&-title {
|
|
376
|
+
font-size: unit(28, rpx);
|
|
377
|
+
font-weight: 500;
|
|
378
|
+
text-align: center;
|
|
379
|
+
padding: unit(28, rpx);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
&-content {
|
|
383
|
+
display: flex;
|
|
384
|
+
justify-content: flex-start;
|
|
385
|
+
align-items: center;
|
|
386
|
+
flex-flow: wrap;
|
|
387
|
+
padding-left: unit(30, rpx);
|
|
388
|
+
|
|
389
|
+
& > view {
|
|
390
|
+
width: unit(120, rpx);
|
|
391
|
+
margin-right: unit(10, rpx);
|
|
392
|
+
flex-shrink: 0;
|
|
393
|
+
display: flex;
|
|
394
|
+
justify-content: center;
|
|
395
|
+
flex-direction: column;
|
|
396
|
+
align-items: center;
|
|
397
|
+
|
|
398
|
+
& > view:first-child {
|
|
399
|
+
width: unit(76, rpx);
|
|
400
|
+
height: unit(76, rpx);
|
|
401
|
+
overflow: hidden;
|
|
402
|
+
|
|
403
|
+
& > image {
|
|
404
|
+
height: 100%;
|
|
405
|
+
width: 100%;
|
|
406
|
+
}
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
& > view:nth-child(2) {
|
|
410
|
+
margin-top: unit(10, rpx);
|
|
411
|
+
font-size: unit(24, rpx);
|
|
412
|
+
line-height: unit(36, rpx);
|
|
413
|
+
margin-bottom: unit(10, rpx);
|
|
414
|
+
.uni-cut(1,36);
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
& > view:nth-child(3) {
|
|
418
|
+
display: flex;
|
|
419
|
+
justify-content: flex-start;
|
|
420
|
+
align-items: center;
|
|
421
|
+
flex-shrink: 0;
|
|
422
|
+
font-size: unit(20, rpx);
|
|
423
|
+
color: #999;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
&:last-child {
|
|
427
|
+
margin-right: 0;
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
}
|
|
109
431
|
}
|
|
110
432
|
}
|
|
433
|
+
}
|
|
111
434
|
</style>
|
|
@@ -2,12 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
module.exports = {
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
updateCardFilmPaiqiDate:{},
|
|
8
|
-
|
|
9
|
-
removeCardFilmAddress:{},
|
|
10
|
-
|
|
11
|
-
addCardFilmcart:{},
|
|
5
|
+
getReceiveDetailCard:{"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":[{"id":94,"business_code":"market","entry_name":"商城","image_url":"\/uploads\/20240903\/a36f36087bfd8f8c389a279cd08c066b.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-02.jufubao.cn\",\"path\":\"\\\/main\\\/mall\\\/index\",\"appType\":\"h5\",\"site_id\":\"1efce09784b33c4a\",\"site_url\":\"https:\\\/\\\/sandbox-website-02.jufubao.cn\\\/apply\\\/main\\\/mall\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/mall\\\/index\",\"fixed_business_code\":\"\"}","custom_redirect_data":"\"\"","redirect_type":"INN","group_id":"default"},{"id":92,"business_code":"cake","entry_name":"蛋糕","image_url":"\/uploads\/20240820\/85a60857ccd5176d4e40d8fe95ebd0dc.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-02.jufubao.cn\",\"path\":\"\\\/main\\\/cake\\\/index\",\"appType\":\"h5\",\"site_id\":\"1efce09784b33c4a\",\"site_url\":\"https:\\\/\\\/sandbox-website-02.jufubao.cn\\\/apply\\\/main\\\/cake\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/cake\\\/index\",\"fixed_business_code\":\"\"}","custom_redirect_data":"\"\"","redirect_type":"INN","group_id":"default"},{"id":93,"business_code":"movie","entry_name":"电影","image_url":"\/uploads\/20240820\/e1600b21059da005f446ce32388ee712.png","redirect_data":"{\"dir\":\"apply\",\"host\":\"sandbox-website-02.jufubao.cn\",\"path\":\"\\\/main\\\/movie\\\/index\",\"appType\":\"h5\",\"site_id\":\"1efce09784b33c4a\",\"site_url\":\"https:\\\/\\\/sandbox-website-02.jufubao.cn\\\/apply\\\/main\\\/movie\\\/index\",\"frontPath\":\"\\\/apply\\\/main\\\/movie\\\/index\",\"fixed_business_code\":\"\"}","custom_redirect_data":"\"\"","redirect_type":"INN","group_id":"default"}],"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":"1a93ea5b639d9f60"},
|
|
12
6
|
|
|
13
7
|
}
|
|
@@ -7,52 +7,14 @@
|
|
|
7
7
|
module.exports = [
|
|
8
8
|
{
|
|
9
9
|
//设置方法名字当别忘记加上【模块名字】:Card
|
|
10
|
-
mapFnName: '
|
|
11
|
-
title: '
|
|
12
|
-
path: '/
|
|
10
|
+
mapFnName: 'getReceiveGreetingCard',
|
|
11
|
+
title: '获取祝福语',
|
|
12
|
+
path: '/card/v1/card-transfer/get-record',
|
|
13
13
|
isRule: false,
|
|
14
14
|
params: {
|
|
15
|
-
|
|
16
|
-
page_size: ['每页数量', 'Number', '必选'],
|
|
15
|
+
transfer_auth_code: ['转增授权码', 'Number', '必选'],
|
|
17
16
|
},
|
|
18
17
|
isConsole: true,
|
|
19
18
|
disabled: true,
|
|
20
|
-
}
|
|
21
|
-
{
|
|
22
|
-
//设置方法名字当别忘记加上【模块名字】:Card
|
|
23
|
-
mapFnName: 'updateCardFilmPaiqiDate',
|
|
24
|
-
title: '更新排期',
|
|
25
|
-
path: '/api/account/film/paiqi-date',
|
|
26
|
-
isRule: false,
|
|
27
|
-
params: {
|
|
28
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
29
|
-
cinema_id: ['影院id', 'Number', '必选'],
|
|
30
|
-
},
|
|
31
|
-
isConsole: true,
|
|
32
|
-
disabled: true,
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
//设置方法名字当别忘记加上【模块名字】:Card
|
|
36
|
-
mapFnName: 'removeCardFilmAddress',
|
|
37
|
-
title: '删除我的配送地址',
|
|
38
|
-
path: '/api/account/film/paiqi-date',
|
|
39
|
-
isRule: false,
|
|
40
|
-
params: {
|
|
41
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
42
|
-
},
|
|
43
|
-
isConsole: true,
|
|
44
|
-
disabled: true,
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
//设置方法名字当别忘记加上【模块名字】:Card
|
|
48
|
-
mapFnName: 'addCardFilmcart',
|
|
49
|
-
title: '添加购物车',
|
|
50
|
-
path: '/api/account/film/paiqi-date',
|
|
51
|
-
isRule: false,
|
|
52
|
-
params: {
|
|
53
|
-
film_id: ['电影id', 'Number', '必选'],
|
|
54
|
-
},
|
|
55
|
-
isConsole: true,
|
|
56
|
-
disabled: true,
|
|
57
|
-
},
|
|
19
|
+
}
|
|
58
20
|
];
|