jufubao-base 1.0.238 → 1.0.239-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.
Files changed (128) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseBalance/Api.js +46 -0
  3. package/src/components/JfbBaseBalance/Attr.js +316 -0
  4. package/src/components/JfbBaseBalance/JfbBaseBalance.vue +334 -0
  5. package/src/components/JfbBaseBalance/JfbBaseBalanceLess.less +79 -0
  6. package/src/components/JfbBaseBalance/JfbBaseBalanceMixin.js +30 -0
  7. package/src/components/JfbBaseBalance/Mock.js +9 -0
  8. package/src/components/JfbBaseCodeOpenVip/Api.js +35 -0
  9. package/src/components/JfbBaseCodeOpenVip/Attr.js +281 -0
  10. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVip.vue +251 -0
  11. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipLess.less +79 -0
  12. package/src/components/JfbBaseCodeOpenVip/JfbBaseCodeOpenVipMixin.js +30 -0
  13. package/src/components/JfbBaseCodeOpenVip/Mock.js +13 -0
  14. package/src/components/JfbBaseConsumpCode/Api.js +133 -0
  15. package/src/components/JfbBaseConsumpCode/Attr.js +61 -0
  16. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCode.vue +1048 -0
  17. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeLess.less +79 -0
  18. package/src/components/JfbBaseConsumpCode/JfbBaseConsumpCodeMixin.js +30 -0
  19. package/src/components/JfbBaseConsumpCode/Mock.js +22 -0
  20. package/src/components/JfbBaseFastLink/Attr.js +12 -1
  21. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +66 -0
  22. package/src/components/JfbBaseHeader/Attr.js +82 -0
  23. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +47 -1
  24. package/src/components/JfbBaseHeaderColumn/Attr.js +82 -0
  25. package/src/components/JfbBaseHeaderColumn/JfbBaseHeaderColumn.vue +48 -2
  26. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +11 -0
  27. package/src/components/JfbBaseNoticeDialog/Api.js +1 -1
  28. package/src/components/JfbBaseNoticeDialog/Attr.js +26 -0
  29. package/src/components/JfbBaseNoticeDialog/JfbBaseNoticeDialog.vue +28 -9
  30. package/src/components/JfbBaseNoticeGroup/Api.js +23 -0
  31. package/src/components/JfbBaseNoticeGroup/Attr.js +237 -0
  32. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroup.vue +174 -0
  33. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupLess.less +79 -0
  34. package/src/components/JfbBaseNoticeGroup/JfbBaseNoticeGroupMixin.js +30 -0
  35. package/src/components/JfbBaseNoticeGroup/Mock.js +13 -0
  36. package/src/components/JfbBaseOpenVip/Api.js +39 -0
  37. package/src/components/JfbBaseOpenVip/Attr.js +331 -0
  38. package/src/components/JfbBaseOpenVip/JfbBaseOpenVip.vue +457 -0
  39. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipLess.less +79 -0
  40. package/src/components/JfbBaseOpenVip/JfbBaseOpenVipMixin.js +30 -0
  41. package/src/components/JfbBaseOpenVip/Mock.js +7 -0
  42. package/src/components/JfbBaseOpenVip/XdVipList.vue +131 -0
  43. package/src/components/JfbBaseOpenVipCard/Api.js +58 -0
  44. package/src/components/JfbBaseOpenVipCard/Attr.js +48 -0
  45. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCard.vue +111 -0
  46. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardLess.less +79 -0
  47. package/src/components/JfbBaseOpenVipCard/JfbBaseOpenVipCardMixin.js +30 -0
  48. package/src/components/JfbBaseOpenVipCard/Mock.js +13 -0
  49. package/src/components/JfbBaseOpenVipDetail/Api.js +35 -0
  50. package/src/components/JfbBaseOpenVipDetail/Attr.js +37 -0
  51. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetail.vue +234 -0
  52. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailLess.less +79 -0
  53. package/src/components/JfbBaseOpenVipDetail/JfbBaseOpenVipDetailMixin.js +30 -0
  54. package/src/components/JfbBaseOpenVipDetail/Mock.js +15 -0
  55. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +174 -18
  56. package/src/components/JfbBasePay/Attr.js +52 -0
  57. package/src/components/JfbBasePay/JfbBasePay.vue +30 -6
  58. package/src/components/JfbBasePay/Mock.js +0 -9
  59. package/src/components/JfbBasePersonalData/Api.js +26 -0
  60. package/src/components/JfbBasePersonalData/Attr.js +13 -0
  61. package/src/components/JfbBasePersonalData/JfbBasePersonalData.vue +200 -0
  62. package/src/components/JfbBasePersonalData/JfbBasePersonalDataLess.less +79 -0
  63. package/src/components/JfbBasePersonalData/JfbBasePersonalDataMixin.js +30 -0
  64. package/src/components/JfbBasePersonalData/Mock.js +13 -0
  65. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +11 -1
  66. package/src/components/JfbBasePointsCard/Api.js +18 -0
  67. package/src/components/JfbBasePointsCard/Attr.js +187 -0
  68. package/src/components/JfbBasePointsCard/JfbBasePointsCard.vue +212 -0
  69. package/src/components/JfbBasePointsCard/JfbBasePointsCardLess.less +79 -0
  70. package/src/components/JfbBasePointsCard/JfbBasePointsCardMixin.js +30 -0
  71. package/src/components/JfbBasePointsCard/Mock.js +5 -0
  72. package/src/components/JfbBasePointsDetail/Api.js +48 -0
  73. package/src/components/JfbBasePointsDetail/Attr.js +305 -0
  74. package/src/components/JfbBasePointsDetail/JfbBasePointsDetail.vue +267 -0
  75. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailLess.less +79 -0
  76. package/src/components/JfbBasePointsDetail/JfbBasePointsDetailMixin.js +30 -0
  77. package/src/components/JfbBasePointsDetail/Mock.js +6 -0
  78. package/src/components/JfbBasePoster/Attr.js +1 -1
  79. package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +2 -2
  80. package/src/components/JfbBasePosterGroup/Api.js +22 -0
  81. package/src/components/JfbBasePosterGroup/Attr.js +156 -0
  82. package/src/components/JfbBasePosterGroup/JfbBasePosterGroup.vue +268 -0
  83. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupLess.less +79 -0
  84. package/src/components/JfbBasePosterGroup/JfbBasePosterGroupMixin.js +30 -0
  85. package/src/components/JfbBasePosterGroup/Mock.js +13 -0
  86. package/src/components/JfbBaseSavingDetail/Api.js +41 -0
  87. package/src/components/JfbBaseSavingDetail/Attr.js +70 -0
  88. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetail.vue +710 -0
  89. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailLess.less +79 -0
  90. package/src/components/JfbBaseSavingDetail/JfbBaseSavingDetailMixin.js +30 -0
  91. package/src/components/JfbBaseSavingDetail/Mock.js +10 -0
  92. package/src/components/JfbBaseSavingDetail/components/echarts.min.js +26 -0
  93. package/src/components/JfbBaseSavingDetail/components/echarts.vue +254 -0
  94. package/src/components/JfbBaseSavingDetail/components/wx-canvas.js +105 -0
  95. package/src/components/JfbBaseShare/Api.js +20 -0
  96. package/src/components/JfbBaseShare/Attr.js +59 -0
  97. package/src/components/JfbBaseShare/JfbBaseShare.vue +276 -0
  98. package/src/components/JfbBaseShare/JfbBaseShareLess.less +79 -0
  99. package/src/components/JfbBaseShare/JfbBaseShareMixin.js +30 -0
  100. package/src/components/JfbBaseShare/Mock.js +16 -0
  101. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +7 -2
  102. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +12 -22
  103. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +12 -1
  104. package/src/components/JfbBaseTfkSearch/Mock.js +51 -3
  105. package/src/components/JfbBaseTfkSearch/listMixins.js +2 -1
  106. package/src/components/JfbBaseUserInfo/Attr.js +175 -11
  107. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +337 -115
  108. package/src/components/JfbBaseUserOrder/Attr.js +16 -0
  109. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +11 -2
  110. package/src/components/JfbBaseWithDrawAgain/Api.js +41 -0
  111. package/src/components/JfbBaseWithDrawAgain/Attr.js +92 -0
  112. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgain.vue +354 -0
  113. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainLess.less +79 -0
  114. package/src/components/JfbBaseWithDrawAgain/JfbBaseWithDrawAgainMixin.js +30 -0
  115. package/src/components/JfbBaseWithDrawAgain/Mock.js +10 -0
  116. package/src/components/JfbBaseWithDrawRecord/Api.js +19 -0
  117. package/src/components/JfbBaseWithDrawRecord/Attr.js +79 -0
  118. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecord.vue +233 -0
  119. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordLess.less +79 -0
  120. package/src/components/JfbBaseWithDrawRecord/JfbBaseWithDrawRecordMixin.js +30 -0
  121. package/src/components/JfbBaseWithDrawRecord/Mock.js +7 -0
  122. package/src/components/JfbBaseWithdraw/Api.js +48 -0
  123. package/src/components/JfbBaseWithdraw/Attr.js +328 -0
  124. package/src/components/JfbBaseWithdraw/JfbBaseWithdraw.vue +272 -0
  125. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawLess.less +79 -0
  126. package/src/components/JfbBaseWithdraw/JfbBaseWithdrawMixin.js +30 -0
  127. package/src/components/JfbBaseWithdraw/Mock.js +7 -0
  128. package/src/components/JfbBaseWxAuthorize/JfbBaseWxAuthorize.vue +10 -0
@@ -0,0 +1,268 @@
1
+ <template>
2
+ <view class="jfb-base-poster-group" @click="handleEditxSelect" :class="{ editx : isEditx && active }">
3
+ <!--#ifdef H5-->
4
+ <view class="jfb-base-poster-group__edit" :class="{ editx : isEditx && active }" v-if="isEditx && active">
5
+ <view class="jfb-base-poster-group__edit-icon" @click="delEdit">删除</view>
6
+ </view>
7
+ <!-- #endif -->
8
+ <view class="jfb-base-poster-group__body" :style="[bodyStyleComp]">
9
+ <view class="jfb-base-poster-group__body-header">
10
+ <view class="jfb-base-poster-group__body-header-title">
11
+ <XdContentXss :html="title"></XdContentXss>
12
+ <view @click="handleToMore" v-if="is_show_more==='Y'" class="jfb-base-poster-group__body-header-title-more">
13
+ 更多
14
+ <XdFontIcon size="20" icon="iconxiangyou_xian"></XdFontIcon>
15
+ </view>
16
+ </view>
17
+ <view class="jfb-base-poster-group__body-header-subtitle">
18
+ {{subtitle}}
19
+ </view>
20
+ </view>
21
+ <view class="jfb-base-poster-group__body-content">
22
+ <view class="jfb-base-poster-group__body-content-tabs">
23
+ <view @click="handleChangeTab(item)" :style="[tab===item.random?activeStyleComp:normalStyleComp]"
24
+ class="jfb-base-poster-group__body-content-tabs-item" v-for="(item, index) in posterGroup.group"
25
+ :key="index">
26
+ {{item.title}}
27
+ </view>
28
+ </view>
29
+ <view v-if="imageGroup&&imageGroup.length>0" class="jfb-base-poster-group__body-content-images">
30
+ <image :style="{width: imageWidth,height:imageWidth}" @click="handleClick(item)"
31
+ v-for="(item,index) in imageGroup" :key="index" :src="item.image_url">
32
+ </image>
33
+ </view>
34
+ </view>
35
+ </view>
36
+ </view>
37
+ </template>
38
+
39
+ <script>
40
+ import XdFontIcon from "@/components/XdFontIcon/XdFontIcon";
41
+ import XdContentXss from '@/components/XdContentXss/XdContentXss';
42
+ import { jfbRootExec } from "@/utils/xd.event";
43
+ import JfbBasePosterGroupMixin from "./JfbBasePosterGroupMixin";
44
+ import { getContainerPropsValue } from "@/utils/xd.base";
45
+ import getServiceUrl from "@/common/getServiceUrl";
46
+ import componentsMixins from "@/mixins/componentsMixins";
47
+ import posterMixins from "@/mixins/posterMixins";
48
+ import extsMixins from "@/mixins/extsMixins";
49
+ export default {
50
+ name: "JfbBasePosterGroup",
51
+ components: {
52
+ XdFontIcon,
53
+ XdContentXss
54
+ },
55
+ mixins: [
56
+ componentsMixins, extsMixins, JfbBasePosterGroupMixin, posterMixins
57
+ ],
58
+ data() {
59
+ return {
60
+ posterGroup: {},
61
+ morePath: '',
62
+ is_show_more: 'Y',
63
+ backgroundImage: '',
64
+ title: '',
65
+ subtitle: '',
66
+ imageGroup: [],
67
+ tab: '',
68
+ radius: 0,
69
+ margin: {},
70
+ padding: {},
71
+ bgColor: ''
72
+ }
73
+ },
74
+ watch: {
75
+ container(value, oldValue) {
76
+ if (JSON.stringify(value) === JSON.stringify(oldValue)) return;
77
+ if (this.$configProject['isPreview']) this.init(value)
78
+ },
79
+ },
80
+ computed: {
81
+ bodyStyleComp() {
82
+ return {
83
+ backgroundColor: this.bgColor,
84
+ backgroundImage: `url(${this.backgroundImage})`,
85
+ backgroundSize: '100% 100%',
86
+ backgroundPosition: 'center',
87
+ backgroundRepeat: 'no-repeat',
88
+ borderRadius: `${this.radius}rpx`,
89
+ margin: this.getMarginAndPadding(this.margin, 20),
90
+ padding: this.getMarginAndPadding(this.padding, 20),
91
+ }
92
+ },
93
+ activeStyleComp() {
94
+ return {
95
+ color: '#6D4604',
96
+ background: '#FDDC83',
97
+ border: '1px solid #FDDC83',
98
+ borderRadius: '40rpx'
99
+ }
100
+ },
101
+ normalStyleComp() {
102
+ return {
103
+ color: '#F5DC9E',
104
+ border: '1px solid #F5DC9E',
105
+ borderRadius: '40rpx'
106
+ }
107
+ },
108
+ imageWidth() {
109
+ let width = 750
110
+ let paddingLeft = this.checkValue(this.padding.left,20)
111
+ let paddingRight = this.checkValue(this.padding.right,20)
112
+ let marginLeft = this.checkValue(this.margin.left,20)
113
+ let marginRight = this.checkValue(this.margin.right,20)
114
+ width = width - paddingLeft - paddingRight - marginLeft - marginRight
115
+ width = width - 60 //减去右边距
116
+ return `${width / 4}rpx`
117
+ }
118
+ },
119
+ created() {
120
+ this.init(this.container);
121
+ },
122
+ methods: {
123
+ onJfbLoad(options) {
124
+ this.getPosterGroup(this.posterGroup.group[0])
125
+ },
126
+ getPosterGroup(item) {
127
+ this.tab = item.random;
128
+ jfbRootExec('getListPosterGroupContent', {
129
+ vm: this,
130
+ data: {
131
+ page_id: this.pageAttr["page_id"], //页面ID
132
+ container_id: this.containerId + item.random, //组件ID
133
+ page_size: 200
134
+ }
135
+ }).then(res => {
136
+ this.imageGroup = res.list.map(item => {
137
+ return {
138
+ ...item,
139
+ image_url: getServiceUrl(item.image_url)
140
+ }
141
+ })
142
+ }).catch()
143
+ },
144
+ /**
145
+ * @description 监听事件变化
146
+ * @param container {object} 业务组件对象自己
147
+ */
148
+ init(container) {
149
+ this.posterGroup = getContainerPropsValue(container, 'content.posterGroup', {});
150
+ this.morePath = getContainerPropsValue(container, 'content.morePath', { value: "" }).value;
151
+ this.is_show_more = getContainerPropsValue(container, 'content.is_show_more', 'Y');
152
+ this.backgroundImage = getServiceUrl(getContainerPropsValue(container, 'content.backgroundImage', { url: "" }).url);
153
+ this.bgColor = getContainerPropsValue(container, "content.bgColor", "#FFFFFF");
154
+ this.title = getContainerPropsValue(container, 'content.title', '<p style="font-weight:bold;font-size:16px"><span style="color: #FFF">全球大牌,会员低至</span><span style="color: #F2D894">8折</span></p>');
155
+ this.subtitle = getContainerPropsValue(container, 'content.subtitle', '超300+品牌商品');
156
+ this.radius = getContainerPropsValue(container, 'content.radius', 20);
157
+ this.margin = getContainerPropsValue(container, 'content.bodyMargin', {});
158
+ this.padding = getContainerPropsValue(container, 'content.bodyPadding', {});
159
+ },
160
+ checkValue(value, dValue = 0) {
161
+ if (value === undefined || value === '' || value === null) return dValue;
162
+ return Number(value || 0);
163
+ },
164
+ handleClick(item) {
165
+ if (this.isPreview) return;
166
+ this.handlePosterClick(item)
167
+ },
168
+ handleToMore() {
169
+ this.$xdUniHelper.navigateTo({
170
+ url: this.morePath,
171
+ });
172
+ },
173
+ handleChangeTab(item) {
174
+ this.getPosterGroup(item)
175
+ },
176
+ onJfbScroll(options) {
177
+ console.log('event.onJfbScroll', options)
178
+ },
179
+ onJfbReachBottom(options) {
180
+ console.log('event.onJfbReachBottom', options)
181
+ },
182
+ onJfbShow(options) {
183
+ console.log('event.onJfbShow', options)
184
+ },
185
+ onJfbHide(options) {
186
+ console.log('event.onJfbHide', options)
187
+ },
188
+ onJfbBack(options) {
189
+ console.log('event.onJfbBack', options)
190
+ },
191
+ onJfbUpdate(...data) {
192
+ console.log('event.onJfbUpdate', data)
193
+ },
194
+ onJfbCustomEvent(options) {
195
+ console.log('event.onJfbReachBottom', options)
196
+ },
197
+ }
198
+ }
199
+
200
+ </script>
201
+
202
+ <style scoped lang="less">
203
+ @import "./JfbBasePosterGroupLess.less";
204
+
205
+ .jfb-base-poster-group {
206
+ &__body {
207
+ padding: 24rpx;
208
+ margin: 20rpx;
209
+ border-radius: 30rpx;
210
+
211
+ &-header {
212
+ &-title {
213
+ display: flex;
214
+ align-items: center;
215
+ justify-content: space-between;
216
+ margin-bottom: 10rpx;
217
+
218
+ &-more {
219
+ display: flex;
220
+ align-items: center;
221
+ color: #FFFFFF;
222
+ font-size: 24rpx;
223
+ }
224
+ }
225
+
226
+ &-subtitle {
227
+ color: #FFFFFF;
228
+ font-size: 24rpx;
229
+ }
230
+ }
231
+
232
+ &-content {
233
+ &-tabs {
234
+ display: flex;
235
+ flex-wrap: wrap;
236
+
237
+ &-item {
238
+ margin-top: 20rpx;
239
+ margin-right: 20rpx;
240
+ padding: 11rpx 25rpx;
241
+ font-size: 25rpx;
242
+ }
243
+ }
244
+
245
+ &-images {
246
+ display: flex;
247
+ flex-wrap: wrap;
248
+ align-content: flex-start;
249
+
250
+ &>image {
251
+ display: flex;
252
+ justify-content: center;
253
+ align-items: center;
254
+ margin-top: 20rpx;
255
+ margin-right: 20rpx;
256
+ width: 145rpx;
257
+ height: 145rpx;
258
+ border-radius: 14rpx;
259
+ }
260
+
261
+ &>image:nth-child(4n) {
262
+ margin-right: 0;
263
+ }
264
+ }
265
+ }
266
+ }
267
+ }
268
+ </style>
@@ -0,0 +1,79 @@
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-poster-group {
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-poster-group {
74
+ //&:before {
75
+ //content: " ";
76
+ //display: table;
77
+ //}
78
+ }
79
+ /**endNotPreview**/
@@ -0,0 +1,30 @@
1
+ 'use strict';
2
+
3
+
4
+ //@AttrImport
5
+ import Attr from "./Attr";
6
+ //@EndAttrImport
7
+
8
+
9
+ export default {
10
+ data() {
11
+ return {
12
+ //#ifdef H5
13
+
14
+ //@AttrData
15
+ Attr:{}, //对外开发编辑属性
16
+ //@EndAttrData
17
+
18
+ // #endif
19
+ cssRoot: 'jfb-base-poster-group'
20
+ }
21
+ },
22
+ created() {
23
+
24
+ //@AttrDataCreated
25
+ this.Attr = this.$xdUniHelper.customClone(Attr);
26
+ //@EndAttrDataCreated
27
+
28
+
29
+ },
30
+ }
@@ -0,0 +1,13 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+
5
+ getPosterByIdFilmSquate:{},
6
+
7
+ updatePosterFilmPaiqiDate:{},
8
+
9
+ removePosterFilmAddress:{},
10
+
11
+ addPosterFilmcart:{},
12
+
13
+ }
@@ -0,0 +1,41 @@
1
+ 'use strict';
2
+ /**
3
+ * @description 接口配置,
4
+ * 在设置方法名字当时候,别忘记加上【模块名字】:Saving
5
+ * @type {*[]}
6
+ */
7
+ module.exports = [
8
+ {
9
+ mapFnName: 'getMonthSavingDetail',
10
+ title: '省钱明细-月度',
11
+ path: '/member/v1/money-saving-record/month',
12
+ isRule: false,
13
+ params: {
14
+ year: ['年', 'Number', true],
15
+ month: ['月', 'Number', true],
16
+ },
17
+ isConsole: true,
18
+ disabled: true,
19
+ },
20
+ {
21
+ mapFnName: 'getTotalSavingDetail',
22
+ title: '省钱明细-累计',
23
+ path: '/member/v1/money-saving-record/total',
24
+ isRule: false,
25
+ params: {
26
+ },
27
+ isConsole: true,
28
+ disabled: true,
29
+ },
30
+ {
31
+ mapFnName: 'getYearSavingDetail',
32
+ title: '省钱明细-年度',
33
+ path: '/member/v1/money-saving-record/year',
34
+ isRule: false,
35
+ params: {
36
+ year: ['年', 'Number', true],
37
+ },
38
+ isConsole: true,
39
+ disabled: true,
40
+ },
41
+ ];
@@ -0,0 +1,70 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * @description 当表单组件中有联动操作时候,使用方法进行返回
5
+ */
6
+ export default {
7
+ style: [],
8
+ content: (data) => {
9
+ return [
10
+ {
11
+ ele: 'title',
12
+ label: '切换标签设置',
13
+ size: 'small',
14
+ groupKey: 'style',
15
+ },
16
+ {
17
+ label: '背景颜色:',
18
+ ele: 'xd-color',
19
+ valueKey: 'titleBgc',
20
+ groupKey: 'style',
21
+ value: data['titleBgc'] || '',
22
+ placeholder: '请选择背景颜色',
23
+ classNmae: 'input80',
24
+ },
25
+ {
26
+ label: '外填充:',
27
+ ele: 'xd-margin-padding',
28
+ valueKey: 'tabPadding',
29
+ groupKey: 'style',
30
+ value: data['tabPadding'] || null,
31
+ setting: {
32
+ type: 'padding',
33
+ },
34
+ placeholder: '请设置外填充',
35
+ inline: false,
36
+ notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">上下20,左右0</span>像素',
37
+ },
38
+ {
39
+ label: '切换标签与内容之间间距:',
40
+ ele: 'el-input',
41
+ type: 'text',
42
+ groupKey: 'style',
43
+ valueKey: 'titlePadding',
44
+ value: data['titlePadding'] || '',
45
+ className: 'input60',
46
+ inline: false,
47
+ notice:'设置切换标签与内容之间间距,默认值:<span style="color:red">0</span>像素'
48
+ },
49
+ {
50
+ label: '未选中文字颜色:',
51
+ ele: 'xd-color',
52
+ valueKey: 'titleColor',
53
+ value: data['titleColor'] || '',
54
+ groupKey: 'style',
55
+ placeholder: '请选择未选中文字颜色',
56
+ classNmae: 'input80',
57
+ },
58
+ {
59
+ label: '选中文字颜色:',
60
+ ele: 'xd-color',
61
+ valueKey: 'titleActColor',
62
+ value: data['titleActColor'] || '',
63
+ groupKey: 'style',
64
+ placeholder: '请选择选中文字颜色',
65
+ classNmae: 'input80',
66
+ },
67
+ ].filter(i=>i)
68
+ },
69
+ advanced: [],
70
+ };