easy3wui 1.5.88-beta5 → 1.5.88-beta7
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.
|
@@ -113,6 +113,8 @@ var Easy3wButton = function (_Component) {
|
|
|
113
113
|
// 传入btnType
|
|
114
114
|
if (btnType === 'secondary') {
|
|
115
115
|
typeProps = {};
|
|
116
|
+
} else if (btnType === 'third') {
|
|
117
|
+
typeProps = { classname: (0, _classnames2['default'])(['e3wFootBtn', 'e3wFootBtnThird']) };
|
|
116
118
|
} else {
|
|
117
119
|
typeProps = { type: btnType };
|
|
118
120
|
}
|
|
@@ -125,9 +127,9 @@ var Easy3wButton = function (_Component) {
|
|
|
125
127
|
onClick: function onClick(e) {
|
|
126
128
|
return _this.onClickFunc(e, obj.func);
|
|
127
129
|
},
|
|
128
|
-
loading: obj.loading
|
|
130
|
+
loading: obj.loading,
|
|
131
|
+
className: (0, _classnames2['default'])(['e3wFootBtn'])
|
|
129
132
|
}, typeProps, {
|
|
130
|
-
className: (0, _classnames2['default'])(['e3wFootBtn']),
|
|
131
133
|
key: index
|
|
132
134
|
}),
|
|
133
135
|
obj.cName
|
|
@@ -177,6 +179,8 @@ var Easy3wButton = function (_Component) {
|
|
|
177
179
|
// 传入btnType
|
|
178
180
|
if (btnType === 'secondary') {
|
|
179
181
|
typeProps = {};
|
|
182
|
+
} else if (btnType === 'third') {
|
|
183
|
+
typeProps = { classname: (0, _classnames2['default'])(['e3wFootBtn', 'e3wFootBtnThird']) };
|
|
180
184
|
} else {
|
|
181
185
|
typeProps = { type: btnType };
|
|
182
186
|
}
|
|
@@ -190,7 +194,7 @@ var Easy3wButton = function (_Component) {
|
|
|
190
194
|
}, key: index },
|
|
191
195
|
_react2['default'].createElement(
|
|
192
196
|
_button2['default'],
|
|
193
|
-
(0, _extends3['default'])({
|
|
197
|
+
(0, _extends3['default'])({ className: (0, _classnames2['default'])(['btn', 'e3wFootBtn']) }, typeProps),
|
|
194
198
|
cName
|
|
195
199
|
)
|
|
196
200
|
);
|