jufubao-base 1.0.167 → 1.0.169-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.
@@ -13,31 +13,343 @@
13
13
  <view class="jfb-base-tfk-card-bind__edit-icon" @click="delEdit">删除</view>
14
14
  </view>
15
15
  <!-- #endif -->
16
- <view class="jfb-base-tfk-card-bind__body">
17
- <view>测试插件( {{containerId}} )</view>
16
+ <view class="jfb-base-tfk-card-bind__body" :style="{
17
+ '--form-border-color': formBorderColor,
18
+ '--form-border-width': formBorderWidth + 'px',
19
+ '--form-input-padding': inputPadding + 'px',
20
+ '--label-font-size': ($rpxNum * parseInt(labelFont.fontSize)) + 'px',
21
+ '--label-font-color': labelFont.color,
22
+ '--label-font-weight': labelFont.fontWeight,
23
+ '--content-font-size': ($rpxNum * parseInt(contentFont.fontSize)) + 'px',
24
+ '--content-font-color': contentFont.color,
25
+ '--content-font-weight': contentFont.fontWeight,
26
+ '--placeholder-font-size': ($rpxNum * parseInt(placeholderFont.fontSize)) + 'px',
27
+ '--placeholder-font-color': placeholderFont.color,
28
+ '--placeholder-font-weight': placeholderFont.fontWeight,
29
+ '--ticket-icon-size': ($rpxNum * parseInt(ticketIcon.fontSize)) + 'px',
30
+ '--password-icon-size': ($rpxNum * parseInt(passwordIcon.fontSize)) + 'px',
31
+ '--valid-icon-size': ($rpxNum * parseInt(validCodeIcon.fontSize)) + 'px',
32
+ '--digital-icon-size': ($rpxNum * parseInt(digitalCodeIcon.fontSize)) + 'px',
33
+ '--digital-border-radius': ($rpxNum * Number(digitalCodeRadius)) + 'px',
34
+ '--digital-border-color': digitalCodeColor
35
+ }">
36
+ <view class="menu_wrap" :style="menuBoxStyle">
37
+ <view class="menu_list">
38
+ <view class="menu_item">
39
+ <view class="menu_inner" :class="menuShowType"
40
+ :style="[menuType == 'ticket' ? menuItemActiveStyle : menuItemStyle, menuItemBoxStyle]">实体券</view>
41
+ </view>
42
+ <view class="menu_item">
43
+ <view class="menu_inner" :class="menuShowType"
44
+ :style="[menuType == 'code' ? menuItemActiveStyle : menuItemStyle, menuItemBoxStyle]">电子码</view>
45
+ </view>
46
+ </view>
47
+ </view>
48
+ <view v-if="menuType === 'ticket'" class="form_wrap" :style="cardFormStyle">
49
+ <template v-if="menuType === 'ticket'">
50
+ <xd-form :label-align="labelAlign"
51
+ :key="formRenderKey"
52
+ :labelPosition="labelPosition"
53
+ :border="true"
54
+ paddingBetween="0"
55
+ >
56
+ <xd-form-item
57
+ class="form-item ticket_item"
58
+ :class="[inputStyle]"
59
+ :label="labelShow ==='N'?'':'票券号码'"
60
+ :labelWidth="labelWidth"
61
+ :leftIcon="ticketIcon.icon"
62
+ :iconColor="ticketIcon.color"
63
+ content-align="left"
64
+ >
65
+ <view class="align-center">
66
+ <xd-form-input
67
+ v-model="form.card_number"
68
+ placeholder="请输入票券号"
69
+ />
70
+ <view>
71
+ <xd-font-icon :icon="scanIcon.icon || 'iconsaoma'"
72
+ :color="scanIcon.color"
73
+ :style="{fontSize: scanIcon.fontSize}"
74
+ ></xd-font-icon>
75
+ </view>
76
+ </view>
77
+ </xd-form-item>
78
+ <xd-form-item
79
+ class="form-item password_item"
80
+ :class="[inputStyle]"
81
+ :label="labelShow ==='N'?'':'票券密码'"
82
+ :labelWidth="labelWidth"
83
+ :leftIcon="passwordIcon.icon"
84
+ :iconColor="passwordIcon.color"
85
+ content-align="left"
86
+ >
87
+ <xd-form-input type="password" placeholder="请输入票券密码" v-model="form.card_password" />
88
+ </xd-form-item>
89
+ <xd-form-item
90
+ class="form-item valid_item"
91
+ :class="[inputStyle]"
92
+ style="border-top: none;"
93
+ :label="labelShow ==='N'?'':'验证号码'"
94
+ :labelWidth="labelWidth"
95
+ :leftIcon="validCodeIcon.icon"
96
+ :iconColor="validCodeIcon.color"
97
+ content-align="left"
98
+ lastBorder
99
+ >
100
+ <view class="align-center">
101
+ <xd-form-input
102
+ v-model="form.valid_code"
103
+ placeholder="请输入验证码"
104
+ />
105
+ <view class="form_valid_code">
106
+ <image
107
+ style="width: 100%;height:100%"
108
+ :src="validImageAPIUrl + '?image_width=160&image_height=50&token='+ valid_token"
109
+ />
110
+ </view>
111
+ </view>
112
+ </xd-form-item>
113
+ </xd-form>
114
+ <view :style="btnWrapStyle">
115
+ <xd-button type="primary"
116
+ :radius="btnRadius + 'rpx'"
117
+ >
118
+ <xd-font-icon :icon="btnIcon.icon"
119
+ style="display: inline-flex;margin-right: 12rpx;"
120
+ :color="btnIcon.color"
121
+ :style="{fontSize: btnIcon.fontSize}"
122
+ ></xd-font-icon>
123
+ 确定
124
+ </xd-button>
125
+ </view>
126
+ </template>
127
+ </view>
128
+ <view v-else class="form_wrap" :style="digitalFormStyle">
129
+ <xd-form :key="formRenderKey"
130
+ label-align="left"
131
+ labelPosition="left"
132
+ :border="true"
133
+ paddingBetween="0"
134
+ >
135
+ <xd-form-item class="form-item digital_item"
136
+ label=""
137
+ :labelWidth="digitalCodeLabelWidth"
138
+ :leftIcon="digitalCodeIcon.icon"
139
+ :iconColor="digitalCodeIcon.color"
140
+ content-align="left"
141
+ >
142
+ <xd-form-input placeholder="请输入票券号" v-model="form.code" />
143
+ </xd-form-item>
144
+ </xd-form>
145
+ <view :style="digitalBtnWrapStyle">
146
+ <xd-button type="primary"
147
+ :radius="btnRadius + 'rpx'"
148
+ >
149
+ <xd-font-icon :icon="btnIcon.icon"
150
+ style="display: inline-flex;margin-right: 12rpx;"
151
+ :color="btnIcon.color"
152
+ :style="{fontSize: btnIcon.fontSize}"
153
+ ></xd-font-icon>
154
+ 确定
155
+ </xd-button>
156
+ </view>
157
+ </view>
158
+ <view :style="tipBoxStyle" v-html="tips"></view>
18
159
  </view>
19
160
  </view>
20
161
  </template>
21
162
 
22
163
  <script>
164
+ import XdButton from "@/components/XdButton/XdButton";
165
+ import XdFormCheckbox from "@/components/XdFormCheckbox/XdFormCheckbox";
166
+ import XdFormInput from "@/components/XdFormInput/XdFormInput";
167
+ import XdForm from "@/components/XdForm/XdForm";
168
+ import XdFormItem from "@/components/XdFormItem/XdFormItem";
23
169
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
24
170
  import { jfbRootExec } from "@/utils/xd.event";
25
171
  import JfbBaseTfkCardBindMixin from "./JfbBaseTfkCardBindMixin";
26
172
  import { getContainerPropsValue } from "@/utils/xd.base";
27
173
  import componentsMixins from "@/mixins/componentsMixins";
28
174
  import extsMixins from "@/mixins/extsMixins";
175
+ import { mapState } from "vuex";
29
176
  export default {
30
177
  name: "JfbBaseTfkCardBind",
31
178
  components: {
32
- XdFontIcon
179
+ XdFontIcon,
180
+ XdButton,
181
+ XdFormCheckbox,
182
+ XdFormInput,
183
+ XdFormItem,
184
+ XdForm,
33
185
  },
34
186
  mixins: [
35
187
  componentsMixins, extsMixins, JfbBaseTfkCardBindMixin
36
188
  ],
37
189
  data() {
38
190
  return {
39
-
191
+ menuType: "ticket", //ticket,code
192
+ form: {},
193
+ validImageAPIUrl: "",
194
+ valid_token: "",
195
+ formRenderKey: "formRenderKey",
196
+
40
197
  //todo
198
+ tips: "",
199
+ labelWidth: 180,
200
+ labelAlign: "left",
201
+ labelPosition: "left",
202
+ inputStyle: "linear", //输入框样式 linear:线性 face: 面性
203
+ formBorderColor: "#F9F9F9", //
204
+ formBorderWidth: 1, //表单边框宽度
205
+
206
+ formPadding: {
207
+ top: 0,
208
+ left: 0,
209
+ right: 0,
210
+ bottom: 0
211
+ },
212
+ digitalFormMargin: {},
213
+ menuPadding: {
214
+ top: 0,
215
+ left: 0,
216
+ right: 0,
217
+ bottom: 0
218
+ },
219
+ menuBtnPadding: {},
220
+
221
+ passwordIcon: {},
222
+ validCodeIcon: {},
223
+ btnMargin: {},
224
+ btnRadius: 0,
225
+ tipBgColor: "",
226
+ tipPadding: {},
227
+ menuTabColor: {},
228
+ menuShowType: "text",
229
+ menuBorderWidth: 1,
230
+ labelShow: "Y",
231
+ inputPadding: "20",
232
+ labelFont: { //表单label字体
233
+ color: "#333",
234
+ fontSize: "24rpx",
235
+ fontWeight: "normal",
236
+ },
237
+ contentFont: { //表单内容字体
238
+ color: "#333",
239
+ fontSize: "24rpx",
240
+ fontWeight: "normal",
241
+ },
242
+ placeholderFont: {
243
+ color: "#d4d4d4",
244
+ fontSize: "24rpx",
245
+ fontWeight: "normal",
246
+ },
247
+ scanIcon: {},
248
+ ticketIcon: {},
249
+ btnIcon: {},
250
+ digitalCodeIcon: {},
251
+ digitalBtnMargin: {},
252
+ digitalCodeLabelWidth: "",
253
+ digitalCodeRadius: 0,
254
+ digitalCodeColor: "",
255
+ }
256
+ },
257
+ computed: {
258
+ ...mapState({
259
+ brandInfo: state => state.brandInfo
260
+ }),
261
+ cardFormStyle(){
262
+ let padding = `${this.checkValue(this.formPadding.top, 20)}rpx`;
263
+ padding = `${padding} ${this.checkValue(this.formPadding.right, 20)}rpx`;
264
+ padding = `${padding} ${this.checkValue(this.formPadding.bottom, 20)}rpx`;
265
+ padding = `${padding} ${this.checkValue(this.formPadding.left, 20)}rpx`;
266
+
267
+ return this.styleObjectToString({
268
+ // background: this.formBgColor,
269
+ padding: padding,
270
+ })
271
+ },
272
+ digitalFormStyle(){
273
+ let padding = `${this.checkValue(this.digitalFormMargin.top, 20)}rpx`;
274
+ padding = `${padding} ${this.checkValue(this.digitalFormMargin.right, 20)}rpx`;
275
+ padding = `${padding} ${this.checkValue(this.digitalFormMargin.bottom, 20)}rpx`;
276
+ padding = `${padding} ${this.checkValue(this.digitalFormMargin.left, 20)}rpx`;
277
+
278
+ return this.styleObjectToString({
279
+ padding: padding,
280
+ })
281
+ },
282
+ menuBoxStyle(){
283
+ let padding = `${this.checkValue(this.menuPadding.top, 20)}rpx`;
284
+ padding = `${padding} ${this.checkValue(this.menuPadding.right, 20)}rpx`;
285
+ padding = `${padding} ${this.checkValue(this.menuPadding.bottom, 20)}rpx`;
286
+ padding = `${padding} ${this.checkValue(this.menuPadding.left, 20)}rpx`;
287
+
288
+ return this.styleObjectToString({
289
+ // background: this.formBgColor,
290
+ padding: padding,
291
+ })
292
+ },
293
+ btnWrapStyle(){
294
+ let padding = `${this.checkValue(this.btnMargin.top, 20)}rpx`;
295
+ padding = `${padding} ${this.checkValue(this.btnMargin.right, 20)}rpx`;
296
+ padding = `${padding} ${this.checkValue(this.btnMargin.bottom, 20)}rpx`;
297
+ padding = `${padding} ${this.checkValue(this.btnMargin.left, 20)}rpx`;
298
+ return this.styleObjectToString({
299
+ padding: padding,
300
+ })
301
+ },
302
+ digitalBtnWrapStyle(){
303
+ let padding = `${this.checkValue(this.digitalBtnMargin.top, 20)}rpx`;
304
+ padding = `${padding} ${this.checkValue(this.digitalBtnMargin.right, 20)}rpx`;
305
+ padding = `${padding} ${this.checkValue(this.digitalBtnMargin.bottom, 20)}rpx`;
306
+ padding = `${padding} ${this.checkValue(this.digitalBtnMargin.left, 20)}rpx`;
307
+ return this.styleObjectToString({
308
+ padding: padding,
309
+ })
310
+ },
311
+ tipBoxStyle(){
312
+ let padding = `${this.checkValue(this.tipPadding.top, 20)}rpx`;
313
+ padding = `${padding} ${this.checkValue(this.tipPadding.right, 20)}rpx`;
314
+ padding = `${padding} ${this.checkValue(this.tipPadding.bottom, 20)}rpx`;
315
+ padding = `${padding} ${this.checkValue(this.tipPadding.left, 20)}rpx`;
316
+ return this.styleObjectToString({
317
+ background: this.tipBgColor,
318
+ padding: padding,
319
+ })
320
+ },
321
+ menuItemBoxStyle(){
322
+ let padding = `${this.checkValue(this.menuBtnPadding.top, 20)}rpx`;
323
+ padding = `${padding} ${this.checkValue(this.menuBtnPadding.right, 20)}rpx`;
324
+ padding = `${padding} ${this.checkValue(this.menuBtnPadding.bottom, 20)}rpx`;
325
+ padding = `${padding} ${this.checkValue(this.menuBtnPadding.left, 20)}rpx`;
326
+ return this.styleObjectToString({
327
+ padding
328
+ })
329
+ },
330
+ menuItemStyle(){
331
+ let styleObj = {
332
+ color: this.menuTabColor['color'] || '#333',
333
+ background: this.menuTabColor['bgColor'] || '#fff',
334
+ fontSize: this.menuTabColor['fontSize'] || '30rpx',
335
+ fontWeight: this.menuTabColor['fontWeight'] || 'normal',
336
+ }
337
+
338
+ return this.styleObjectToString(styleObj)
339
+ },
340
+ menuItemActiveStyle(){
341
+ let defaultTextColor = '#ff5a39';
342
+ let styleActiveObj = {
343
+ color: this.menuTabColor['actColor'] || defaultTextColor,
344
+ background: this.menuTabColor['actBgColor'] || '#fff',
345
+ fontSize: this.menuTabColor['actFontSize'] || '30rpx',
346
+ fontWeight: this.menuTabColor['actFontWeight'] || 'normal',
347
+ }
348
+ if(this.menuShowType === 'text'){
349
+ styleActiveObj['borderBottom'] = `${this.menuBorderWidth}px solid ${this.menuTabColor['actColor'] || defaultTextColor}`;
350
+ }else{
351
+ }
352
+ return this.styleObjectToString(styleActiveObj)
41
353
  }
42
354
  },
43
355
  watch: {
@@ -48,32 +360,66 @@
48
360
  },
49
361
  created() {
50
362
  this.init(this.container);
51
-
363
+ this.validImageAPIUrl = this.brandInfo['api_host'] + '/common/v1/valid_code/image/show'
364
+ this.valid_token = this.$xdUniHelper.randomChar(20);
52
365
  //todo
53
366
  },
54
367
  methods: {
55
368
  onJfbLoad(options) {
56
369
 
57
- // jfbRootExec('baiduUserLogin', {
58
-
59
- // vm: this,// data: {
60
-
61
- // account: 'gaoshiyong',// password: '123456789',// type: 3,// ...options
62
-
63
- // }
64
-
65
- // }).then().catch()
66
370
  },
67
371
  /**
68
372
  * @description 监听事件变化
69
373
  * @param container {object} 业务组件对象自己
70
374
  */
71
- init(container) {
375
+ init(value) {
376
+ this.previewCurrent = getContainerPropsValue(value, "content.previewCurrent", 'ticket');
377
+ this.tips = getContainerPropsValue(value, "content.tips", '');
378
+ this.formPadding = getContainerPropsValue(value, "content.formPadding", {top: 20, left: 20, right: 20, bottom: 20});
379
+ this.digitalFormMargin = getContainerPropsValue(value, "content.digitalFormMargin", {top: 20, left: 20, right: 20, bottom: 20});
380
+ this.menuPadding = getContainerPropsValue(value, "content.menuPadding", {top: 20, left: 20, right: 20, bottom: 20});
381
+ this.menuBtnPadding = getContainerPropsValue(value, "content.menuBtnPadding", {top: 20, left: 20, right: 20, bottom: 20});
382
+ this.labelAlign = getContainerPropsValue(value, "content.labelAlign", 'left');
383
+ this.labelPosition = getContainerPropsValue(value, "content.labelPosition", 'left');
384
+ this.labelWidth = getContainerPropsValue(value, "content.labelWidth", '180');
385
+ this.ticketIcon = getContainerPropsValue(value, "content.ticketIcon", {});
386
+ this.passwordIcon = getContainerPropsValue(value, "content.passwordIcon", {});
387
+ this.validCodeIcon = getContainerPropsValue(value, "content.validCodeIcon", {});
388
+ this.btnMargin = getContainerPropsValue(value, "content.btnMargin", {});
389
+ this.btnRadius = getContainerPropsValue(value, "content.btnRadius", 0);
390
+ this.tipBgColor = getContainerPropsValue(value, "content.tipBgColor", '#fff');
391
+ this.tipPadding = getContainerPropsValue(value, "content.tipPadding", {top: 20, left: 20, right: 20, bottom: 20});
392
+ this.menuTabColor = getContainerPropsValue(value, "content.menuTabColor", {});
393
+ this.menuShowType = getContainerPropsValue(value, "content.menuShowType", 'text');
394
+ this.menuBorderWidth = getContainerPropsValue(value, "content.menuBorderWidth", 1);
395
+ this.inputStyle = getContainerPropsValue(value, "content.inputStyle", 'linear');
396
+ this.formBorderColor = getContainerPropsValue(value, "content.formBorderColor", '#F9F9F9');
397
+ this.formBorderWidth = getContainerPropsValue(value, "content.formBorderWidth", '1');
398
+ this.labelShow = getContainerPropsValue(value, "content.labelShow", true);
399
+ this.inputPadding = getContainerPropsValue(value, "content.inputPadding", 20);
400
+ this.labelFont = getContainerPropsValue(value, "content.labelFont", {});
401
+ this.contentFont = getContainerPropsValue(value, "content.contentFont", {});
402
+ this.placeholderFont = getContainerPropsValue(value, "content.placeholderFont", {});
403
+ this.scanIcon = getContainerPropsValue(value, "content.scanIcon", {});
404
+ this.btnIcon = getContainerPropsValue(value, "content.btnIcon", {});
405
+ this.digitalCodeIcon = getContainerPropsValue(value, "content.digitalCodeIcon", {});
406
+ this.digitalBtnMargin = getContainerPropsValue(value, "content.digitalBtnMargin", {});
407
+ this.digitalCodeLabelWidth = getContainerPropsValue(value, "content.digitalCodeLabelWidth", '100');
408
+ this.digitalCodeRadius = getContainerPropsValue(value, "content.digitalCodeRadius", '0');
409
+ this.digitalCodeColor = getContainerPropsValue(value, "content.digitalCodeColor", '#dddddd');
72
410
 
73
- //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
411
+ console.log(this.digitalCodeRadius, "digitalCodeRadius");
74
412
 
75
- //this.height = getContainerPropsValue(container, 'content.height', 10);
413
+ if(this.inputStyle === 'face'){
414
+ this.labelPosition = 'left';
415
+ this.labelAlign = 'left';
416
+ }
417
+ if(this.$configProject.isPreview){
418
+ this.menuType = this.previewCurrent;
419
+ this.formRenderKey = Date.now();
420
+ }
76
421
  },
422
+
77
423
  onJfbScroll(options) {
78
424
  console.log('event.onJfbScroll', options)
79
425
  },
@@ -102,10 +448,99 @@
102
448
 
103
449
  <style scoped lang="less">
104
450
  @import "./JfbBaseTfkCardBindLess.less";
451
+ .align-center{
452
+ display: flex;
453
+ align-items: center;
454
+ }
105
455
 
106
456
  .jfb-base-tfk-card-bind {
107
457
  &__body{
108
-
458
+ .form-item {
459
+ ::v-deep &.uni-forms-item {
460
+ .uni-input-input{
461
+ font-size: var(--content-font-size);
462
+ color: var(--content-font-color);
463
+ font-weight: var(--content-font-weight);
464
+ }
465
+ .label-text {
466
+ font-size: var(--label-font-size);
467
+ color: var(--label-font-color);
468
+ font-weight: var(--label-font-weight);
469
+ }
470
+ .uni-easyinput__placeholder-class{
471
+ font-size: var(--placeholder-font-size);
472
+ color: var(--placeholder-font-color);
473
+ font-weight: var(--placeholder-font-weight);
474
+ }
475
+ }
476
+ ::v-deep &.uni-forms-item--border{
477
+ padding: var(--form-input-padding) 0;
478
+ }
479
+ &.linear{
480
+ ::v-deep &.uni-forms-item--border{
481
+ border-color: var(--form-border-color) !important;
482
+ border-width: var(--form-border-width) !important;
483
+ }
484
+ }
485
+ &.face{
486
+ ::v-deep .uni-forms-item__box{
487
+ background: #F7F7F7;
488
+ border-radius: 16rpx;
489
+ padding-right: 20rpx;
490
+ }
491
+ ::v-deep &.uni-forms-item--border{
492
+ border: none;
493
+ }
494
+ }
495
+ &.ticket_item{
496
+ ::v-deep .label-icon{
497
+ font-size: var(--ticket-icon-size) !important;
498
+ }
499
+ }
500
+ &.password_item{
501
+ ::v-deep .label-icon{
502
+ font-size: var(--password-icon-size) !important;
503
+ }
504
+ }
505
+ &.valid_item{
506
+ ::v-deep .label-icon{
507
+ font-size: var(--valid-icon-size) !important;
508
+ }
509
+ }
510
+ &.digital_item{
511
+ ::v-deep .label-icon{
512
+ font-size: var(--digital-icon-size) !important;
513
+ }
514
+ ::v-deep .uni-forms-item__inner{
515
+ padding-bottom: 0% !important;
516
+ border: 1px solid var(--digital-border-color);
517
+ border-radius: var(--digital-border-radius);
518
+ }
519
+ }
520
+ }
521
+ .menu_wrap{
522
+ .menu_list{
523
+ display: flex;
524
+ .menu_item{
525
+ flex: 1;
526
+ text-align: center;
527
+
528
+ .menu_inner{
529
+ display: inline-block;
530
+ &.button{
531
+ border-radius: 50rpx;
532
+ }
533
+ }
534
+ }
535
+ }
536
+ }
537
+ .form_valid_code{
538
+ width: 160rpx;
539
+ height: 50rpx;
540
+ background: #DDD;
541
+ border-radius: 8rpx;
542
+ overflow: hidden;
543
+ }
109
544
  }
110
545
  }
111
546
  </style>
@@ -6,53 +6,14 @@
6
6
  */
7
7
  module.exports = [
8
8
  {
9
- //设置方法名字当别忘记加上【模块名字】:Tfk
10
- mapFnName: 'getTfkByIdFilmSquate',
11
- title: '获取电影广场列表',
12
- path: '/api/account/film/list-film-square',
9
+ mapFnName: 'getTfkCardDetail',
13
10
  isRule: false,
11
+ title: '获得绑定的卡详情',
12
+ prefix: 'detal',
13
+ path: '/card/v1/card-bind/get-bind-card',
14
14
  params: {
15
- last_key: ['当前页', 'Number', '必选'],
16
- page_size: ['每页数量', 'Number', '必选'],
15
+ card_number: ['卡号', 'String', '必选'],
17
16
  },
18
- isConsole: true,
19
- disabled: true,
20
- },
21
- {
22
- //设置方法名字当别忘记加上【模块名字】:Tfk
23
- mapFnName: 'updateTfkFilmPaiqiDate',
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
- //设置方法名字当别忘记加上【模块名字】:Tfk
36
- mapFnName: 'removeTfkFilmAddress',
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
- //设置方法名字当别忘记加上【模块名字】:Tfk
48
- mapFnName: 'addTfkFilmcart',
49
- title: '添加购物车',
50
- path: '/api/account/film/paiqi-date',
51
- isRule: false,
52
- params: {
53
- film_id: ['电影id', 'Number', '必选'],
54
- },
55
- isConsole: true,
56
17
  disabled: true,
57
18
  },
58
19
  ];