jufubao-base 1.0.106-beta1 → 1.0.106-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.106-beta1",
3
+ "version": "1.0.106-beta2",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -380,6 +380,7 @@ export default {
380
380
  list: [
381
381
  {"label": "一行", "value": 1},
382
382
  {"label": "两行", "value": 2},
383
+ {"label": "三行", "value": 3},
383
384
  ]
384
385
  },
385
386
  params['isCarousel']===2 && params['rows'] === 1 && {
@@ -112,7 +112,7 @@
112
112
  getHeight() {
113
113
  let height = this.height * this.config.rows;
114
114
  let padding = 0;
115
- if (this.config.rows === 2) padding = Number(this.config.padding) * this.$rpxNum;
115
+ if (this.config.rows >= 2) padding = Number(this.config.padding) * this.$rpxNum * (this.config.rows -1);
116
116
  return height + padding;
117
117
  },
118
118
  },