glpb-components-rn
Advanced tools
Comparing version
{ | ||
"name": "glpb-components-rn", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "React Native components interface for page builder", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -59,7 +59,8 @@ /** | ||
this.$content.css({ | ||
marginTop, marginBottom, height: parseInt(height) + parseInt(paddingTop) + parseInt(paddingBottom) + 'px', | ||
paddingTop, paddingBottom, marginTop, marginBottom, | ||
height: parseInt(height) + parseInt(paddingTop) + parseInt(paddingBottom) + 'px', | ||
}); | ||
this.$content.find('button').css({ | ||
width, backgroundColor, color, fontSize, borderRadius, paddingTop, paddingBottom, | ||
width, backgroundColor, color, fontSize, borderRadius, | ||
}); | ||
@@ -66,0 +67,0 @@ }, |
@@ -29,29 +29,23 @@ /** | ||
{ | ||
'code_$$comment': '产品代码', | ||
'code_$$comment': '产品代码,必填', | ||
code: '', | ||
'type_$$comment': '产品类型(fund, fof)', | ||
'type_$$comment': '产品类型(fund, fof),必填', | ||
type: 'fund', | ||
'title_$$comment': '产品标题', | ||
'trend_type_$$comment': '涨跌幅类型(1, 3, 6, 12),必填', | ||
trend_type: 1, | ||
'title_$$comment': '产品标题,必填', | ||
title: '', | ||
'name_$$comment': '产品名称,不填写将会从服务端获取', | ||
'name_$$comment': '产品名称,默认从服务端获取', | ||
name: '', | ||
'detail_href_$$comment': '信息卡跳转界面,填入false为不跳转,默认跳转到详情界面', | ||
detail_href: false, | ||
detail_href: '', | ||
'button_href_$$comment': '按钮跳转界面,填入false为不跳转,默认跳转到详情界面', | ||
button_href: false, | ||
button_href: '', | ||
'trend_type_$$comment': '涨跌幅类型(1, 3, 6, 12)', | ||
trend_type: 1, | ||
'trend_text_$$comment': '涨跌幅文案,不填写将会根据配置中的trend_text和类型获取', | ||
trend_text: '', | ||
'trend_per_$$comment': '涨跌幅百分比,填false将根据code和type查询得到', | ||
trend_per: false, | ||
'event_click_detail_$$comment': '点击信息卡的采样事件', | ||
@@ -62,2 +56,8 @@ event_click_detail: '', | ||
event_click_button: '', | ||
'trend_text_$$comment': '涨跌幅文案,不填写将会根据配置中的trend_text和类型获取', | ||
trend_text: '', | ||
'trend_per_$$comment': '涨跌幅百分比,默认从后端获取', | ||
trend_per: '', | ||
} | ||
@@ -71,2 +71,3 @@ ], | ||
6: '半年收益', | ||
12: '一年收益', | ||
}, | ||
@@ -73,0 +74,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
43581
0.13%1079
0.19%0
-100%