component-shipinlv 0.1.16 → 0.1.18
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/dist/VipList/index.js +3 -2
- package/dist/global.less +4 -3
- package/dist/lib/Tool.d.ts +1 -1
- package/dist/types/VipList.d.ts +1 -0
- package/dist/types/VipPower.d.ts +1 -0
- package/package.json +1 -1
package/dist/VipList/index.js
CHANGED
|
@@ -97,7 +97,8 @@ var VipList = function VipList(_ref) {
|
|
|
97
97
|
result.vipList.forEach(function (item) {
|
|
98
98
|
buyList.push({
|
|
99
99
|
id: item.id,
|
|
100
|
-
price: item.price
|
|
100
|
+
price: item.price,
|
|
101
|
+
canBuy: item.canBuy
|
|
101
102
|
});
|
|
102
103
|
var dataIndex = "vipLevel".concat(item.vipLevel);
|
|
103
104
|
var colorPrimary = ApplyColorDict[item.vipLevel].color || '#722ED1';
|
|
@@ -351,7 +352,7 @@ var VipList = function VipList(_ref) {
|
|
|
351
352
|
index: i,
|
|
352
353
|
children: /*#__PURE__*/_jsx("div", {
|
|
353
354
|
className: "onBuy",
|
|
354
|
-
children: /*#__PURE__*/_jsx(ConfigProvider, {
|
|
355
|
+
children: item.canBuy && /*#__PURE__*/_jsx(ConfigProvider, {
|
|
355
356
|
theme: {
|
|
356
357
|
components: {
|
|
357
358
|
Button: {
|
package/dist/global.less
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
//不要随便加, next 不支持
|
|
2
|
+
//.ant-modal-confirm-btns{
|
|
3
|
+
// display: none !important;
|
|
4
|
+
//}
|
package/dist/lib/Tool.d.ts
CHANGED
|
@@ -163,7 +163,7 @@ declare const Tool: {
|
|
|
163
163
|
setTimeOffset(serverTime: number): void;
|
|
164
164
|
getTime(): number;
|
|
165
165
|
h5Pay(query: Pay.H5PayQuery): void;
|
|
166
|
-
notification(type: "
|
|
166
|
+
notification(type: "success" | "info" | "warning" | "error", message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
|
|
167
167
|
notificationSuccess(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
|
|
168
168
|
notificationError(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
|
|
169
169
|
notificationWarning(message: string, description?: import("react").ReactNode, options?: NotificationOptions): void;
|
package/dist/types/VipList.d.ts
CHANGED
package/dist/types/VipPower.d.ts
CHANGED