@pisell/private-materials 3.4.22 → 3.4.23
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +8 -8
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +7 -7
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +7 -7
- package/es/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/es/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/ConfirmInformation/index.js +27 -3
- package/es/components/appointmentBooking/components/Content/index.js +3 -3
- package/es/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/es/components/appointmentBooking/components/Voucher/index.js +6 -5
- package/es/components/appointmentBooking/hooks.js +4 -2
- package/es/components/appointmentBooking/index.js +10 -0
- package/es/components/booking/components/TabProduct/index.d.ts +1 -0
- package/es/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/es/components/booking/components/voucher/index.js +8 -5
- package/es/components/booking/forms/single/index.d.ts +1 -0
- package/es/components/booking/materiels/contacts/index.d.ts +1 -0
- package/es/components/eftpos/form/index.d.ts +1 -0
- package/es/components/eftpos/hooks.d.ts +1 -0
- package/es/components/eftpos/index.d.ts +1 -0
- package/es/components/eftpos/pos.d.ts +1 -0
- package/es/components/eftposPay/amount.d.ts +1 -0
- package/es/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/es/components/eftposPay/component/fail/index.d.ts +1 -0
- package/es/components/eftposPay/component/fail/network.d.ts +1 -0
- package/es/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/es/components/eftposPay/component/manual/index.d.ts +1 -0
- package/es/components/eftposPay/component/signature/index.d.ts +1 -0
- package/es/components/eftposPay/hooks.d.ts +1 -1
- package/es/components/eftposPay/pay.d.ts +1 -0
- package/es/components/eftposPay/store/index.d.ts +1 -1
- package/es/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +34 -8
- package/es/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/es/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/es/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/es/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/es/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/es/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/es/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/es/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/es/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/es/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/es/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/products/index.d.ts +1 -0
- package/es/components/schedules/resources/index.d.ts +1 -0
- package/es/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/es/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/es/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/es/components/schedules/schedules/index.d.ts +1 -0
- package/es/components/wallet/Detail/index.js +248 -62
- package/es/components/wallet/Detail/locales.d.ts +51 -0
- package/es/components/wallet/Detail/locales.js +57 -3
- package/es/components/wallet/Detail/serve.js +5 -1
- package/es/components/wallet/components/UsageRules/index.d.ts +23 -0
- package/es/components/wallet/components/UsageRules/index.js +147 -0
- package/es/components/wallet/components/UsageRules/index.less +157 -0
- package/es/components/wallet/components/index.d.ts +1 -0
- package/es/components/wallet/components/index.js +2 -1
- package/es/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/Total.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Cart/Item/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/ConfirmInformation/index.js +22 -2
- package/lib/components/appointmentBooking/components/Content/index.js +2 -2
- package/lib/components/appointmentBooking/components/Deposit/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Footer/index.d.ts +1 -0
- package/lib/components/appointmentBooking/components/Voucher/index.js +2 -1
- package/lib/components/appointmentBooking/hooks.js +4 -2
- package/lib/components/appointmentBooking/index.js +6 -0
- package/lib/components/booking/components/TabProduct/index.d.ts +1 -0
- package/lib/components/booking/components/TabProduct/productItem/index.d.ts +1 -0
- package/lib/components/booking/components/voucher/index.js +3 -1
- package/lib/components/booking/forms/single/index.d.ts +1 -0
- package/lib/components/booking/materiels/contacts/index.d.ts +1 -0
- package/lib/components/eftpos/form/index.d.ts +1 -0
- package/lib/components/eftpos/hooks.d.ts +1 -0
- package/lib/components/eftpos/index.d.ts +1 -0
- package/lib/components/eftpos/pos.d.ts +1 -0
- package/lib/components/eftposPay/amount.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/failCustom.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/index.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/network.d.ts +1 -0
- package/lib/components/eftposPay/component/fail/unknow.d.ts +1 -0
- package/lib/components/eftposPay/component/manual/index.d.ts +1 -0
- package/lib/components/eftposPay/component/signature/index.d.ts +1 -0
- package/lib/components/eftposPay/hooks.d.ts +1 -1
- package/lib/components/eftposPay/pay.d.ts +1 -0
- package/lib/components/eftposPay/store/index.d.ts +1 -1
- package/lib/components/eventBooking/components/Provider/Cart/ContinueButton/index.js +30 -8
- package/lib/components/eventBooking/components/Provider/Cart/Deposit/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/Item/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Cart/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Content/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Event/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Footer/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Header/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Information/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/Resource/index.d.ts +1 -0
- package/lib/components/eventBooking/components/Provider/SelectHolderModal.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/BookingOptions.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Resource.d.ts +1 -0
- package/lib/components/eventBooking/components/bookingDetailModal/components/Schedule.d.ts +1 -0
- package/lib/components/eventBooking/components/scheduleCalendar/ProductItem/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/StripeSDK/index.d.ts +1 -0
- package/lib/components/pay/toC/PaymentMethods/StripePay/Stripe/index.d.ts +1 -0
- package/lib/components/pisellSelectCustomerModal/RightPanel/Add/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Actor/index.d.ts +1 -0
- package/lib/components/productExtension/fields/Forms/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/ProductItem/index.d.ts +1 -0
- package/lib/components/productExtension/fields/SelectProducts/index.d.ts +1 -0
- package/lib/components/schedules/components/ScheduleList/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/MaxParticipantsModule/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/ProductDetail/index.d.ts +1 -0
- package/lib/components/schedules/products/ProductDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/products/index.d.ts +1 -0
- package/lib/components/schedules/resources/index.d.ts +1 -0
- package/lib/components/schedules/resources/relationProduct/index.d.ts +1 -0
- package/lib/components/schedules/schedules/AllSchedules/index.d.ts +1 -0
- package/lib/components/schedules/schedules/ScheduleDetailDrawer/index.d.ts +1 -0
- package/lib/components/schedules/schedules/index.d.ts +1 -0
- package/lib/components/wallet/Detail/index.js +125 -6
- package/lib/components/wallet/Detail/locales.d.ts +51 -0
- package/lib/components/wallet/Detail/locales.js +57 -3
- package/lib/components/wallet/Detail/serve.js +6 -1
- package/lib/components/wallet/components/UsageRules/index.d.ts +23 -0
- package/lib/components/wallet/components/UsageRules/index.js +113 -0
- package/lib/components/wallet/components/UsageRules/index.less +157 -0
- package/lib/components/wallet/components/index.d.ts +1 -0
- package/lib/components/wallet/components/index.js +3 -0
- package/lib/components/wallet/hooks/useWalletCard.d.ts +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/wallet/components/UsageRules/index.tsx
|
|
30
|
+
var UsageRules_exports = {};
|
|
31
|
+
__export(UsageRules_exports, {
|
|
32
|
+
default: () => UsageRules_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(UsageRules_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_materials = require("@pisell/materials");
|
|
37
|
+
var import_index = require("./index.less");
|
|
38
|
+
var { Text } = import_materials.Typography;
|
|
39
|
+
function UsageRules({
|
|
40
|
+
className = "",
|
|
41
|
+
style,
|
|
42
|
+
rules,
|
|
43
|
+
personalLimit = {
|
|
44
|
+
total: 5,
|
|
45
|
+
remaining: 3,
|
|
46
|
+
note: "用完后此券将自动失效"
|
|
47
|
+
},
|
|
48
|
+
locales
|
|
49
|
+
}) {
|
|
50
|
+
const interpolateText = (text, variables) => {
|
|
51
|
+
return text.replace(/\{(\w+)\}/g, (match, key) => {
|
|
52
|
+
return variables[key] !== void 0 ? variables[key] : match;
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
const getText = (key, fallback) => {
|
|
56
|
+
return (locales == null ? void 0 : locales.getText(key)) || fallback || key;
|
|
57
|
+
};
|
|
58
|
+
const getRuleDescription = (type, limit) => {
|
|
59
|
+
if (limit === 0 && type === "monthly") {
|
|
60
|
+
return getText("page.wallet.monthlyLimitUnlimited", "无限制");
|
|
61
|
+
}
|
|
62
|
+
const templateKey = `page.wallet.${type}LimitDesc`;
|
|
63
|
+
const template = getText(templateKey, "");
|
|
64
|
+
return interpolateText(template, { limit });
|
|
65
|
+
};
|
|
66
|
+
const getRuleResetTime = (type) => {
|
|
67
|
+
const resetKey = `page.wallet.${type}Reset`;
|
|
68
|
+
return getText(resetKey, "");
|
|
69
|
+
};
|
|
70
|
+
const defaultRules = [
|
|
71
|
+
{
|
|
72
|
+
type: "daily",
|
|
73
|
+
limit: 3,
|
|
74
|
+
description: getRuleDescription("daily", 3),
|
|
75
|
+
resetTime: getRuleResetTime("daily")
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
type: "weekly",
|
|
79
|
+
limit: 15,
|
|
80
|
+
description: getRuleDescription("weekly", 15),
|
|
81
|
+
resetTime: getRuleResetTime("weekly")
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
type: "monthly",
|
|
85
|
+
limit: 60,
|
|
86
|
+
description: getRuleDescription("monthly", 60),
|
|
87
|
+
resetTime: getRuleResetTime("monthly")
|
|
88
|
+
}
|
|
89
|
+
];
|
|
90
|
+
const processedRules = rules ? rules.map((rule) => ({
|
|
91
|
+
...rule,
|
|
92
|
+
description: getRuleDescription(rule.type, rule.limit),
|
|
93
|
+
resetTime: getRuleResetTime(rule.type)
|
|
94
|
+
})) : defaultRules;
|
|
95
|
+
const finalRules = processedRules;
|
|
96
|
+
const getRuleLabel = (type) => {
|
|
97
|
+
switch (type) {
|
|
98
|
+
case "daily":
|
|
99
|
+
return getText("page.wallet.dailyLimit", "每日限制:");
|
|
100
|
+
case "weekly":
|
|
101
|
+
return getText("page.wallet.weeklyLimit", "每周限制:");
|
|
102
|
+
case "monthly":
|
|
103
|
+
return getText("page.wallet.monthlyLimit", "每月限制:");
|
|
104
|
+
default:
|
|
105
|
+
return getText("page.wallet.dailyLimit", "限制:");
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: `usage-rules ${className}`, style }, /* @__PURE__ */ import_react.default.createElement(Text, { className: "usage-rules-title" }, getText("page.wallet.usageRules", "使用规则")), /* @__PURE__ */ import_react.default.createElement(Text, { className: "usage-rules-subtitle" }, getText("page.wallet.usageRulesSubtitle", "请仔细阅读以下使用条件")), /* @__PURE__ */ import_react.default.createElement("div", { className: "usage-rules-section" }, /* @__PURE__ */ import_react.default.createElement(Text, { className: "usage-rules-section-title" }, getText("page.wallet.timeUsageLimits", "时间使用限制")), /* @__PURE__ */ import_react.default.createElement("div", { className: "usage-rules-list" }, finalRules.length > 0 ? finalRules.map((rule, index) => /* @__PURE__ */ import_react.default.createElement("div", { key: index, className: "usage-rules-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "usage-rules-item-content" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "usage-rules-item-main-line" }, /* @__PURE__ */ import_react.default.createElement(Text, { className: "usage-rules-item-label" }, getRuleLabel(rule.type)), /* @__PURE__ */ import_react.default.createElement(Text, { className: "usage-rules-item-description" }, rule.description)), rule.resetTime && /* @__PURE__ */ import_react.default.createElement(Text, { className: "usage-rules-item-reset" }, rule.resetTime)))) : /* @__PURE__ */ import_react.default.createElement("div", { className: "usage-rules-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "usage-rules-item-content" }, /* @__PURE__ */ import_react.default.createElement(Text, { className: "usage-rules-item-description" }, getText("page.wallet.monthlyLimitUnlimited", "无限制")))))), /* @__PURE__ */ import_react.default.createElement("div", { className: "usage-rules-section" }, /* @__PURE__ */ import_react.default.createElement(Text, { className: "usage-rules-section-title" }, getText("page.wallet.totalQuantityControl", "总量控制")), /* @__PURE__ */ import_react.default.createElement("div", { className: "usage-rules-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "usage-rules-item-content" }, personalLimit.total > 0 ? /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement(Text, { className: "usage-rules-item-label" }, getText("page.wallet.personalLimit", "个人限额:")), /* @__PURE__ */ import_react.default.createElement(Text, { className: "usage-rules-item-description" }, interpolateText(
|
|
109
|
+
getText("page.wallet.personalLimitDesc", "您最多可使用此券{total}次(剩余{remaining}次)"),
|
|
110
|
+
{ total: personalLimit.total, remaining: personalLimit.remaining }
|
|
111
|
+
)), /* @__PURE__ */ import_react.default.createElement(Text, { className: "usage-rules-item-note" }, getText("page.wallet.voucherExpireNote", "用完后此券将自动失效"))) : /* @__PURE__ */ import_react.default.createElement(Text, { className: "usage-rules-item-description" }, getText("page.wallet.monthlyLimitUnlimited", "无限制"))))));
|
|
112
|
+
}
|
|
113
|
+
var UsageRules_default = UsageRules;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
.usage-rules {
|
|
2
|
+
padding: 16px;
|
|
3
|
+
background: #ffffff;
|
|
4
|
+
border-radius: 8px;
|
|
5
|
+
border: 1px solid #f0f0f0;
|
|
6
|
+
margin-top: 16px;
|
|
7
|
+
margin-bottom: 20px;
|
|
8
|
+
|
|
9
|
+
// 确保所有Text组件都是块级元素
|
|
10
|
+
.ant-typography {
|
|
11
|
+
display: block !important;
|
|
12
|
+
width: 100% !important;
|
|
13
|
+
margin-bottom: 0 !important;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&-title {
|
|
17
|
+
font-size: 18px;
|
|
18
|
+
font-weight: 600;
|
|
19
|
+
color: #000000;
|
|
20
|
+
line-height: 24px;
|
|
21
|
+
margin-bottom: 8px;
|
|
22
|
+
display: block;
|
|
23
|
+
width: 100%;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&-subtitle {
|
|
27
|
+
font-size: 14px;
|
|
28
|
+
color: #6B7280;
|
|
29
|
+
line-height: 20px;
|
|
30
|
+
margin-bottom: 24px;
|
|
31
|
+
display: block;
|
|
32
|
+
width: 100%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&-section {
|
|
36
|
+
margin-bottom: 24px;
|
|
37
|
+
|
|
38
|
+
&:last-child {
|
|
39
|
+
margin-bottom: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&-title {
|
|
43
|
+
font-size: 16px;
|
|
44
|
+
font-weight: 500;
|
|
45
|
+
color: #6B7280;
|
|
46
|
+
line-height: 20px;
|
|
47
|
+
margin-bottom: 16px;
|
|
48
|
+
display: block;
|
|
49
|
+
width: 100%;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&-list {
|
|
54
|
+
display: flex;
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
gap: 16px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&-item {
|
|
60
|
+
position: relative;
|
|
61
|
+
display: flex;
|
|
62
|
+
align-items: flex-start;
|
|
63
|
+
|
|
64
|
+
&::before {
|
|
65
|
+
content: '•';
|
|
66
|
+
color: #697281;
|
|
67
|
+
font-size: 16px;
|
|
68
|
+
line-height: 20px;
|
|
69
|
+
font-weight: bold;
|
|
70
|
+
margin-right: 8px;
|
|
71
|
+
flex-shrink: 0;
|
|
72
|
+
margin-top: 0;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&-content {
|
|
76
|
+
flex: 1;
|
|
77
|
+
min-width: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
&-main-line {
|
|
81
|
+
margin-bottom: 4px;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&-label {
|
|
85
|
+
font-size: 14px;
|
|
86
|
+
font-weight: 600;
|
|
87
|
+
color: #000000;
|
|
88
|
+
line-height: 20px;
|
|
89
|
+
display: inline;
|
|
90
|
+
margin-right: 4px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&-description {
|
|
94
|
+
font-size: 14px;
|
|
95
|
+
color: #000000;
|
|
96
|
+
line-height: 20px;
|
|
97
|
+
display: inline;
|
|
98
|
+
word-wrap: break-word;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&-reset {
|
|
102
|
+
font-size: 14px;
|
|
103
|
+
color: #000000;
|
|
104
|
+
line-height: 20px;
|
|
105
|
+
display: block;
|
|
106
|
+
width: 100%;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&-note {
|
|
110
|
+
font-size: 14px;
|
|
111
|
+
color: #000000;
|
|
112
|
+
line-height: 20px;
|
|
113
|
+
margin-top: 4px;
|
|
114
|
+
display: block;
|
|
115
|
+
width: 100%;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
// 响应式设计
|
|
122
|
+
@media (max-width: 768px) {
|
|
123
|
+
.usage-rules {
|
|
124
|
+
padding: 12px;
|
|
125
|
+
margin-top: 12px;
|
|
126
|
+
|
|
127
|
+
&-title {
|
|
128
|
+
font-size: 16px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&-subtitle {
|
|
132
|
+
font-size: 13px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&-section {
|
|
136
|
+
margin-bottom: 20px;
|
|
137
|
+
|
|
138
|
+
&-title {
|
|
139
|
+
font-size: 15px;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&-item {
|
|
144
|
+
&::before {
|
|
145
|
+
font-size: 14px;
|
|
146
|
+
margin-right: 6px;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&-label,
|
|
150
|
+
&-description,
|
|
151
|
+
&-reset,
|
|
152
|
+
&-note {
|
|
153
|
+
font-size: 13px;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -30,13 +30,16 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
30
30
|
var components_exports = {};
|
|
31
31
|
__export(components_exports, {
|
|
32
32
|
FooterButtons: () => import_FooterButtons.default,
|
|
33
|
+
UsageRules: () => import_UsageRules.default,
|
|
33
34
|
WalletBar: () => import_WalletBar.default
|
|
34
35
|
});
|
|
35
36
|
module.exports = __toCommonJS(components_exports);
|
|
36
37
|
var import_WalletBar = __toESM(require("./WalletBar"));
|
|
37
38
|
var import_FooterButtons = __toESM(require("./FooterButtons"));
|
|
39
|
+
var import_UsageRules = __toESM(require("./UsageRules"));
|
|
38
40
|
// Annotate the CommonJS export names for ESM import in node:
|
|
39
41
|
0 && (module.exports = {
|
|
40
42
|
FooterButtons,
|
|
43
|
+
UsageRules,
|
|
41
44
|
WalletBar
|
|
42
45
|
});
|