easy3wui 1.5.88-beta4 → 1.5.88-beta6
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/assets/btn.css +3 -0
- package/assets/index.css +3 -0
- package/lib/Easy3wButton/index.js +8 -2
- package/package.json +1 -1
package/assets/btn.css
CHANGED
package/assets/index.css
CHANGED
|
@@ -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
|
}
|
|
@@ -141,6 +143,8 @@ var Easy3wButton = function (_Component) {
|
|
|
141
143
|
// 传入btnType
|
|
142
144
|
if (btnType === 'secondary') {
|
|
143
145
|
typeProps = {};
|
|
146
|
+
} else if (btnType === 'third') {
|
|
147
|
+
typeProps = { classname: (0, _classnames2['default'])(['e3wFootBtn', 'e3wFootBtnThird']) };
|
|
144
148
|
} else {
|
|
145
149
|
typeProps = { type: btnType };
|
|
146
150
|
}
|
|
@@ -156,9 +160,9 @@ var Easy3wButton = function (_Component) {
|
|
|
156
160
|
onClick: function onClick(e) {
|
|
157
161
|
return _this.onClickFunc(e, obj.func);
|
|
158
162
|
},
|
|
159
|
-
loading: obj.loading
|
|
163
|
+
loading: obj.loading,
|
|
164
|
+
className: (0, _classnames2['default'])(['e3wFootBtn'])
|
|
160
165
|
}, typeProps, {
|
|
161
|
-
className: (0, _classnames2['default'])(['e3wFootBtn']),
|
|
162
166
|
key: index
|
|
163
167
|
}),
|
|
164
168
|
obj.cName
|
|
@@ -175,6 +179,8 @@ var Easy3wButton = function (_Component) {
|
|
|
175
179
|
// 传入btnType
|
|
176
180
|
if (btnType === 'secondary') {
|
|
177
181
|
typeProps = {};
|
|
182
|
+
} else if (btnType === 'third') {
|
|
183
|
+
typeProps = { classname: (0, _classnames2['default'])(['e3wFootBtn', 'e3wFootBtnThird']) };
|
|
178
184
|
} else {
|
|
179
185
|
typeProps = { type: btnType };
|
|
180
186
|
}
|