component-shipinlv 0.1.16 → 0.1.17
Sign up to get free protection for your applications and to get access to all the features.
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/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