jufubao-base 1.0.232-beta3 → 1.0.233-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.
Files changed (87) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseCard/Attr.js +11 -0
  3. package/src/components/JfbBaseCard/JfbBaseCard.vue +77 -20
  4. package/src/components/JfbBaseCardGive/Api.js +13 -0
  5. package/src/components/JfbBaseCardGive/Attr.js +24 -1
  6. package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +50 -1
  7. package/src/components/JfbBaseCardV2/Attr.js +11 -0
  8. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +58 -20
  9. package/src/components/JfbBaseCardV3/Attr.js +11 -0
  10. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +54 -14
  11. package/src/components/JfbBaseHeader/Mock.js +1 -1
  12. package/src/components/JfbBaseHeaderColumn/Api.js +32 -0
  13. package/src/components/JfbBaseHeaderColumn/Attr.js +453 -0
  14. package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +516 -0
  15. package/src/components/{JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less → JfbBaseHeaderColumn/JfbBaseHeaderColumnLess.less} +2 -2
  16. package/src/components/{JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js → JfbBaseHeaderColumn/JfbBaseHeaderColumnMixin.js} +1 -1
  17. package/src/components/JfbBaseHeaderColumn/Mock.js +17 -0
  18. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +16 -7
  19. package/src/components/JfbBaseNotice/Attr.js +36 -0
  20. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +16 -2
  21. package/src/components/JfbBasePosterType/Attr.js +44 -0
  22. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +5 -13
  23. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +1 -1
  24. package/src/components/JfbBaseCodeOpenVip/Api.js +0 -58
  25. package/src/components/JfbBaseCodeOpenVip/Attr.js +0 -48
  26. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +0 -111
  27. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +0 -79
  28. package/src/components/JfbBaseCodeOpenVip/Mock.js +0 -13
  29. package/src/components/JfbBaseConsumpCode/Api.js +0 -58
  30. package/src/components/JfbBaseConsumpCode/Attr.js +0 -48
  31. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +0 -111
  32. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +0 -79
  33. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +0 -30
  34. package/src/components/JfbBaseConsumpCode/Mock.js +0 -13
  35. package/src/components/JfbBaseOpenVip/Api.js +0 -58
  36. package/src/components/JfbBaseOpenVip/Attr.js +0 -48
  37. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +0 -111
  38. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +0 -79
  39. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +0 -30
  40. package/src/components/JfbBaseOpenVip/Mock.js +0 -13
  41. package/src/components/JfbBaseOpenVipCard/Api.js +0 -58
  42. package/src/components/JfbBaseOpenVipCard/Attr.js +0 -48
  43. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +0 -111
  44. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +0 -30
  45. package/src/components/JfbBaseOpenVipCard/Mock.js +0 -13
  46. package/src/components/JfbBaseOpenVipDetail/Api.js +0 -58
  47. package/src/components/JfbBaseOpenVipDetail/Attr.js +0 -48
  48. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +0 -111
  49. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +0 -79
  50. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +0 -30
  51. package/src/components/JfbBaseOpenVipDetail/Mock.js +0 -13
  52. package/src/components/JfbBasePersonalData/Api.js +0 -58
  53. package/src/components/JfbBasePersonalData/Attr.js +0 -48
  54. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +0 -111
  55. package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +0 -79
  56. package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +0 -30
  57. package/src/components/JfbBasePersonalData/Mock.js +0 -13
  58. package/src/components/JfbBasePointsCard/Api.js +0 -58
  59. package/src/components/JfbBasePointsCard/Attr.js +0 -48
  60. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +0 -111
  61. package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +0 -79
  62. package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +0 -30
  63. package/src/components/JfbBasePointsCard/Mock.js +0 -13
  64. package/src/components/JfbBasePointsDetail/Api.js +0 -58
  65. package/src/components/JfbBasePointsDetail/Attr.js +0 -48
  66. package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +0 -111
  67. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +0 -79
  68. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +0 -30
  69. package/src/components/JfbBasePointsDetail/Mock.js +0 -13
  70. package/src/components/JfbBaseSavingDetail/Api.js +0 -58
  71. package/src/components/JfbBaseSavingDetail/Attr.js +0 -48
  72. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +0 -111
  73. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +0 -79
  74. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +0 -30
  75. package/src/components/JfbBaseSavingDetail/Mock.js +0 -13
  76. package/src/components/JfbBaseShare/Api.js +0 -58
  77. package/src/components/JfbBaseShare/Attr.js +0 -48
  78. package/src/components/JfbBaseShare/JfbBaseShare.vue +0 -111
  79. package/src/components/JfbBaseShare/JfbBaseShareLess.less +0 -79
  80. package/src/components/JfbBaseShare/JfbBaseShareMixin.js +0 -30
  81. package/src/components/JfbBaseShare/Mock.js +0 -13
  82. package/src/components/JfbBaseWithdraw/Api.js +0 -58
  83. package/src/components/JfbBaseWithdraw/Attr.js +0 -48
  84. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +0 -111
  85. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +0 -79
  86. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +0 -30
  87. package/src/components/JfbBaseWithdraw/Mock.js +0 -13
@@ -103,10 +103,14 @@
103
103
  color:textColor,
104
104
  borderRadius: contRadius,
105
105
  padding: paddingUi,
106
- lineHeight: '50rpx'
106
+ lineHeight: '50rpx',
107
107
  }"
108
108
  v-if="content"
109
109
  >
110
+ <image v-if="show_tip_icon==='Y' && staticTipIcon" :src="staticTipIcon"
111
+ :style="{height: tipIconHeight+'rpx'}"
112
+ style="width: auto;margin-right: 12rpx;" mode="heightFix"
113
+ ></image>
110
114
  <xd-content-xss
111
115
  :key="contentKey"
112
116
  :html="content"
@@ -162,6 +166,7 @@
162
166
  import extsMixins from "@/mixins/extsMixins"
163
167
  import XdDownDrawer from "@/components/XdDownDrawer/XdDownDrawer.vue";
164
168
  import { getContainerPropsValue } from "@/utils/xd.base";
169
+ import getServiceUrl from "@/common/getServiceUrl";
165
170
  import storage from "@/common/storage";
166
171
  import Color from "color";
167
172
  const color = require('color');
@@ -219,6 +224,9 @@
219
224
 
220
225
  backgroundColor: '',
221
226
  is_hide_dailog:'N',
227
+ show_tip_icon: "",
228
+ staticTipIcon: "",
229
+ tipIconHeight: 50,
222
230
 
223
231
  isMp:false,
224
232
 
@@ -337,12 +345,16 @@
337
345
  this.btnConfirmWidth = getContainerPropsValue(container, 'content.btnConfirmWidth', '');
338
346
  this.btnConfirmBgColor = getContainerPropsValue(container, 'content.btnConfirmBgColor', '');
339
347
  this.btnConfirmTextColor = getContainerPropsValue(container, 'content.btnConfirmTextColor', '');
348
+ this.show_tip_icon = getContainerPropsValue(container, 'content.show_tip_icon', '');
349
+ let staticTipIcon = getContainerPropsValue(container, 'content.staticTipIcon', '');
350
+ this.staticTipIcon = staticTipIcon ? getServiceUrl(staticTipIcon.url) : '';
351
+ this.tipIconHeight = getContainerPropsValue(container, 'content.tipIconHeight', 50);
340
352
  if (this.fontSize === 20) this.titleFontSize = 28;
341
353
  if (this.fontSize === 26) this.titleFontSize = 36;
342
354
  if (this.fontSize === 36) this.titleFontSize = 44;
343
355
  this.isTitle = getContainerPropsValue(container, 'content.isTitle', false);
344
356
 
345
- console.log("this.btnConfirmTextColor", this.btnConfirmTextColor);
357
+ console.log("this.staticTipIcon", this.staticTipIcon);
346
358
 
347
359
  if(this.style === '2') {
348
360
  this.num = getContainerPropsValue(container, 'content.num', 1);
@@ -520,6 +532,8 @@
520
532
 
521
533
  &-content {
522
534
  padding: unit(8, rpx) unit(10, rpx);
535
+ display: flex;
536
+ align-items: center;
523
537
  }
524
538
  }
525
539
 
@@ -34,6 +34,33 @@ export default {
34
34
  if(params['textColor']) fontColor = params['textColor']
35
35
  if(params.titleStyle && params.titleStyle.color) fontColor = params.titleStyle.color;
36
36
 
37
+ //图片高度= 上下内边距 + 单个内容高度*行数 + 指示器高度
38
+ //图片宽度= 750 - 左右外边距
39
+ let outWidth = 750;
40
+ let marginLeft = params.margin.left || 0;
41
+ let marginRight = params.margin.right || 0;
42
+ let paddingLeft = params.contentPadding.left || 0;
43
+ let paddingRight = params.contentPadding.right || 0;
44
+ let paddingTop = params.contentPadding.top || 0;
45
+ let paddingBottom = params.contentPadding.bottom || 0;
46
+ let columnSpacing = params.columnSpacing || 0;
47
+ let columnSpacings = columnSpacing * (params.cells-1);
48
+ let textHeight = 40;
49
+ if(params.titleStyle && params.titleStyle.lineHeight) textHeight = parseInt(params.titleStyle.lineHeight);
50
+
51
+ let itemWidth = (outWidth - (marginLeft + marginRight + paddingLeft + paddingRight + columnSpacings))/ params.cells;
52
+ let itemHeight = textHeight + itemWidth;
53
+ let indicatorHeight = 0;
54
+
55
+ if(params.dot_type){
56
+ if(['indexes', 'nav'].includes(params['dot_type'])) indicatorHeight = 60;
57
+ else indicatorHeight = params.dot_type === 'normal'?0:48;
58
+ }
59
+ let bgImgHeight = params.jdRows * itemHeight + paddingTop + paddingBottom + indicatorHeight;
60
+ let bgImgWidth = 750 - (marginLeft + marginRight);
61
+ // console.log("itemHeight", bgImgHeight, bgImgWidth, params['dot_type'])
62
+
63
+
37
64
  return [
38
65
  {
39
66
  label: '导航配置:',
@@ -512,6 +539,23 @@ export default {
512
539
  showAlpha: true
513
540
  },
514
541
  },
542
+ {
543
+ label: "背景图片:",
544
+ ele: 'xd-upload',
545
+ valueKey: 'bgImage',
546
+ groupKey: 'style',
547
+ value: params.bgImage || null,
548
+ defaultValue: params.bgImage || null,
549
+ slot: true,
550
+ tipsformet: `上传文件格式:@imageType@,不超过@size@MB.,建议尺寸:${bgImgWidth}*${bgImgHeight}像素`,
551
+ type: ['jpg', 'png', 'jpeg'],
552
+ styleType: 'one',
553
+ oneWidth: bgImgWidth/2,
554
+ oneHeight: bgImgHeight/2,
555
+ uploadType: 'aliyun',
556
+ size: 5, //5M
557
+ action: 'aliyun',
558
+ },
515
559
  {
516
560
  label: "圆角设置:",
517
561
  groupKey: 'style',
@@ -28,7 +28,7 @@
28
28
  </view>
29
29
  <view class="prodcut-content-btn" v-if="isBtn">
30
30
  <view :class="{onePrice: cell === 1}">
31
- <!-- <view v-if="productConfig.isPrice === 'Y'">
31
+ <view v-if="productConfig.isPrice === 'Y'">
32
32
  <xd-unit
33
33
  :price="(item['promo_price'] || item['sale_price'])"
34
34
  :isOld="false"
@@ -46,13 +46,7 @@
46
46
  delete-line
47
47
  is-gray
48
48
  />
49
- </view> -->
50
- <CusPrice
51
- v-if="productConfig.isPrice === 'Y'"
52
- type="two"
53
- :showPrice="item['showPrice']"
54
- :isVip="true">
55
- </CusPrice>
49
+ </view>
56
50
  </view>
57
51
  <view>
58
52
  <view @click.stop="handleDetail()" v-if="productConfig.isAddCart === 'Y'">
@@ -74,15 +68,13 @@ import getServiceUrl from "@/common/getServiceUrl";
74
68
  import XdFontIcon from "@/components/XdFontIcon/XdFontIcon.vue";
75
69
  import XdProductStatus from "@/components/XdProductStatus/XdProductStatus";
76
70
  import XdUnit from "@/components/XdUnit/XdUnit.vue";
77
- import CusPrice from "@/components/CusPrice/CusPrice";
78
71
 
79
72
  export default {
80
73
  name: "ContentProduct",
81
74
  components:{
82
75
  XdFontIcon,
83
76
  XdUnit,
84
- XdProductStatus,
85
- CusPrice
77
+ XdProductStatus
86
78
  },
87
79
  props:{
88
80
  keyword:{
@@ -258,10 +250,10 @@ export default {
258
250
  & > view:first-child {
259
251
  flex: 1;
260
252
  & > view:first-child {
253
+ height: 40rpx;
261
254
  display: flex;
262
- flex-direction: column;
263
255
  justify-content: flex-start;
264
- align-items: flex-start;
256
+ align-items: center;
265
257
  overflow: hidden;
266
258
  }
267
259
  & > view:nth-child(2) {
@@ -86,7 +86,7 @@
86
86
  CustomList,
87
87
  XdFontIcon,
88
88
  AllList,
89
- XdSearchHistory,
89
+ XdSearchHistory
90
90
  },
91
91
  mixins: [
92
92
  componentsMixins, extsMixins, JfbBaseTfkSearchMixin,listMixins
@@ -1,58 +0,0 @@
1
- 'use strict';
2
- /**
3
- * @description 接口配置,
4
- * 在设置方法名字当时候,别忘记加上【模块名字】:Code
5
- * @type {*[]}
6
- */
7
- module.exports = [
8
- {
9
- //设置方法名字当别忘记加上【模块名字】:Code
10
- mapFnName: 'getCodeByIdFilmSquate',
11
- title: '获取电影广场列表',
12
- path: '/api/account/film/list-film-square',
13
- isRule: false,
14
- params: {
15
- last_key: ['当前页', 'Number', '必选'],
16
- page_size: ['每页数量', 'Number', '必选'],
17
- },
18
- isConsole: true,
19
- disabled: true,
20
- },
21
- {
22
- //设置方法名字当别忘记加上【模块名字】:Code
23
- mapFnName: 'updateCodeFilmPaiqiDate',
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
- //设置方法名字当别忘记加上【模块名字】:Code
36
- mapFnName: 'removeCodeFilmAddress',
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
- //设置方法名字当别忘记加上【模块名字】:Code
48
- mapFnName: 'addCodeFilmcart',
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
- },
58
- ];
@@ -1,48 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @description 当表单组件中有联动操作时候,使用方法进行返回
5
- */
6
- export default {
7
- style: [],
8
- content: (data) => {
9
- return [
10
- {
11
- label: '背景颜色:',
12
- ele: 'xd-color',
13
- valueKey: 'bgColor',
14
- value: data.bgColor || '',
15
- placeholder: '请输入占位框背景颜色',
16
- groupKey:'content',
17
- },
18
- {
19
- label: '选中路径:',
20
- groupKey:'advanced',
21
- className: 'input100',
22
- ele: 'xd-select-pages-path',
23
- valueKey: 'select-pages-path',
24
- value: data['select-pages-path'] || null,
25
- setting: {
26
- router: XdBus.getParentApi('getPagesTree')
27
- },
28
- },
29
- data.bgColor && {
30
- label: '高度:',
31
- ele: 'el-input',
32
- groupKey:'style',
33
- type: 'number',
34
- valueKey: 'height',
35
- value: data.height || 100,
36
- placeholder: '请输入占位框高度,单位像素,默认:10px',
37
- className: 'input60',
38
- },
39
- {
40
- label: '', //label
41
- groupKey:'advanced',
42
- ele: 'slot', //package 名称
43
- slot: 'is_reference',
44
- },
45
- ].filter(i=>i)
46
- },
47
- advanced: [],
48
- };
@@ -1,111 +0,0 @@
1
- <template>
2
- <view
3
- class="jfb-base-code-open-vip"
4
- @click="handleEditxSelect"
5
- :class="{ editx : isEditx && active }"
6
- >
7
- <!--#ifdef H5-->
8
- <view
9
- class="jfb-base-code-open-vip__edit"
10
- :class="{ editx : isEditx && active }"
11
- v-if="isEditx && active"
12
- >
13
- <view class="jfb-base-code-open-vip__edit-icon" @click="delEdit">删除</view>
14
- </view>
15
- <!-- #endif -->
16
- <view class="jfb-base-code-open-vip__body">
17
- <view>测试插件( {{containerId}} )</view>
18
- </view>
19
- </view>
20
- </template>
21
-
22
- <script>
23
- import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
24
- import { jfbRootExec } from "@/utils/xd.event";
25
- import JfbBaseCodeOpenVipMixin from "./JfbBaseCodeOpenVipMixin";
26
- import { getContainerPropsValue } from "@/utils/xd.base";
27
- import componentsMixins from "@/mixins/componentsMixins";
28
- import extsMixins from "@/mixins/extsMixins";
29
- export default {
30
- name: "JfbBaseCodeOpenVip",
31
- components: {
32
- XdFontIcon
33
- },
34
- mixins: [
35
- componentsMixins, extsMixins, JfbBaseCodeOpenVipMixin
36
- ],
37
- data() {
38
- return {
39
-
40
- //todo
41
- }
42
- },
43
- watch: {
44
- container(value, oldValue) {
45
- if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
46
- if (this.$configProject['isPreview']) this.init(value)
47
- },
48
- },
49
- created() {
50
- this.init(this.container);
51
-
52
- //todo
53
- },
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
-
101
- </script>
102
-
103
- <style scoped lang="less">
104
- @import "./JfbBaseCodeOpenVipLess.less";
105
-
106
- .jfb-base-code-open-vip {
107
- &__body{
108
-
109
- }
110
- }
111
- </style>
@@ -1,79 +0,0 @@
1
- /**
2
- * @desc 获取绝对路径完整地址
3
- * @param @path
4
- **/
5
- //例如:https://image.jufubao.cn/20220501010108/image/bg/default_gonghui_bg.png
6
- @basePath: 'business/';
7
- @doMain: '//sandbox-img.jufubao.cn/';
8
-
9
- .getBusinessImageUrl(@path, @size: 'size8') {
10
- @url: "@{doMain}@{basePath}@{path}?x-oss-process=style/@{size}";
11
- background-image: url(@url);
12
- }
13
-
14
- //start
15
- .jfb-base-code-open-vip {
16
- box-sizing: border-box;
17
-
18
- &__body{
19
- position: relative;
20
- overflow: hidden;
21
- z-index: 2
22
- }
23
-
24
- &.editx,&.editx:hover {
25
- position: relative;
26
- min-height: unit(100, rpx);
27
- z-index: 3;
28
- &::after {
29
- border: 2rpx dashed blue;
30
- content: " ";
31
- position: absolute;
32
- top:0;
33
- left:0;
34
- bottom:0;
35
- right:0;
36
- z-index: 4;
37
- cursor: pointer;
38
- }
39
-
40
- }
41
-
42
-
43
- &__edit {
44
- cursor: pointer;
45
- position: absolute;
46
- right: unit(0, rpx);
47
- top: unit(-52, rpx);
48
- height: unit(50, rpx);
49
- line-height: unit(50, rpx);
50
- display: flex;
51
- justify-content: center;
52
- align-items: center;
53
- background: rgba(0, 0, 0, .6);
54
- border-radius: unit(10, rpx);
55
- box-shadow: 0 0 10px rbga(0, 0, 0, 0.3);
56
- color: #fff;
57
- font-size: unit(22, rpx);
58
-
59
- &-icon{
60
- padding: 0 unit(20, rpx);
61
- }
62
-
63
- &.editx {
64
- box-sizing: border-box;
65
-
66
- }
67
- }
68
- }
69
- //end
70
-
71
-
72
- /**notPreview**/
73
- .jfb-base-code-open-vip {
74
- //&:before {
75
- //content: " ";
76
- //display: table;
77
- //}
78
- }
79
- /**endNotPreview**/
@@ -1,13 +0,0 @@
1
- 'use strict';
2
-
3
- module.exports = {
4
-
5
- getCodeByIdFilmSquate:{},
6
-
7
- updateCodeFilmPaiqiDate:{},
8
-
9
- removeCodeFilmAddress:{},
10
-
11
- addCodeFilmcart:{},
12
-
13
- }
@@ -1,58 +0,0 @@
1
- 'use strict';
2
- /**
3
- * @description 接口配置,
4
- * 在设置方法名字当时候,别忘记加上【模块名字】:Consump
5
- * @type {*[]}
6
- */
7
- module.exports = [
8
- {
9
- //设置方法名字当别忘记加上【模块名字】:Consump
10
- mapFnName: 'getConsumpByIdFilmSquate',
11
- title: '获取电影广场列表',
12
- path: '/api/account/film/list-film-square',
13
- isRule: false,
14
- params: {
15
- last_key: ['当前页', 'Number', '必选'],
16
- page_size: ['每页数量', 'Number', '必选'],
17
- },
18
- isConsole: true,
19
- disabled: true,
20
- },
21
- {
22
- //设置方法名字当别忘记加上【模块名字】:Consump
23
- mapFnName: 'updateConsumpFilmPaiqiDate',
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
- //设置方法名字当别忘记加上【模块名字】:Consump
36
- mapFnName: 'removeConsumpFilmAddress',
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
- //设置方法名字当别忘记加上【模块名字】:Consump
48
- mapFnName: 'addConsumpFilmcart',
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
- },
58
- ];
@@ -1,48 +0,0 @@
1
- 'use strict';
2
-
3
- /**
4
- * @description 当表单组件中有联动操作时候,使用方法进行返回
5
- */
6
- export default {
7
- style: [],
8
- content: (data) => {
9
- return [
10
- {
11
- label: '背景颜色:',
12
- ele: 'xd-color',
13
- valueKey: 'bgColor',
14
- value: data.bgColor || '',
15
- placeholder: '请输入占位框背景颜色',
16
- groupKey:'content',
17
- },
18
- {
19
- label: '选中路径:',
20
- groupKey:'advanced',
21
- className: 'input100',
22
- ele: 'xd-select-pages-path',
23
- valueKey: 'select-pages-path',
24
- value: data['select-pages-path'] || null,
25
- setting: {
26
- router: XdBus.getParentApi('getPagesTree')
27
- },
28
- },
29
- data.bgColor && {
30
- label: '高度:',
31
- ele: 'el-input',
32
- groupKey:'style',
33
- type: 'number',
34
- valueKey: 'height',
35
- value: data.height || 100,
36
- placeholder: '请输入占位框高度,单位像素,默认:10px',
37
- className: 'input60',
38
- },
39
- {
40
- label: '', //label
41
- groupKey:'advanced',
42
- ele: 'slot', //package 名称
43
- slot: 'is_reference',
44
- },
45
- ].filter(i=>i)
46
- },
47
- advanced: [],
48
- };