jufubao-base 1.0.233-beta31 → 1.0.233-beta33

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.233-beta31",
3
+ "version": "1.0.233-beta33",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -17,19 +17,9 @@ module.exports = [
17
17
  path: '/card/v1/card-recharge/list-order',
18
18
  isRule: false,
19
19
  params: {
20
- page_size: ['page_size', 'Number', true],
21
- page_token: ['page_token', 'Number', true]
22
- },
23
- isConsole: true,
24
- disabled: true,
25
- }, {
26
- mapFnName: 'getDelayOrderList',
27
- title: '获取卡延期订单列表',
28
- path: '/card/v1/card-delay/list-order',
29
- isRule: false,
30
- params: {
31
- page_size: ['page_size', 'Number', true],
32
- page_token: ['page_token', 'Number', true]
20
+ page_size: ['每页显示记录数量', 'Number', '必选'],
21
+ page_token: ['页码', 'Number', '必选'],
22
+ source: ['来源', 'String', '必选', 'all'],
33
23
  },
34
24
  isConsole: true,
35
25
  disabled: true,
@@ -162,11 +162,7 @@ export default {
162
162
  },
163
163
  computed: {
164
164
  outMargin() {
165
- let str = `${this.checkValue(this.margin.top, 20)}rpx`;
166
- str = `${str} ${this.checkValue(this.margin.right, 20)}rpx`;
167
- str = `${str} ${this.checkValue(this.margin.bottom, 20)}rpx`;
168
- str = `${str} ${this.checkValue(this.margin.left, 20)}rpx`;
169
- return str;
165
+ return this.getMarginAndPadding(this.margin, 20)
170
166
  },
171
167
  shadowBox() {
172
168
  if (this.is_shadow === "Y")
@@ -191,12 +187,7 @@ export default {
191
187
  * @param container {object} 业务组件对象自己
192
188
  */
193
189
  init(container) {
194
- this.margin = getContainerPropsValue(container, "content.margin", {
195
- top: 0,
196
- left: 0,
197
- right: 0,
198
- bottom: 0,
199
- });
190
+ this.margin = getContainerPropsValue(container, "content.margin", {top: 0,left: 0,right: 0,bottom: 0});
200
191
  this.radius = getContainerPropsValue(container, "content.radius", 0);
201
192
  this.backgroundColor = getContainerPropsValue(
202
193
  container,