pixuireactcomponents 1.1.21 → 1.1.22

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.
Files changed (37) hide show
  1. package/README.md +5 -5
  2. package/index.d.ts +15 -15
  3. package/index.js +16 -16
  4. package/package.json +11 -11
  5. package/tools/EventDispatcherJs.d.ts +10 -10
  6. package/tools/EventDispatcherJs.js +71 -71
  7. package/tools/Logger.d.ts +6 -6
  8. package/tools/Logger.js +138 -138
  9. package/tools/tools.md +21 -21
  10. package/ui/components/button/Button.d.ts +5 -5
  11. package/ui/components/button/Button.js +37 -37
  12. package/ui/components/carousel/Carousel.d.ts +5 -5
  13. package/ui/components/carousel/Carousel.js +219 -219
  14. package/ui/components/dropdown/Dropdown.d.ts +30 -30
  15. package/ui/components/dropdown/Dropdown.js +92 -92
  16. package/ui/components/dropdown/DropdownOptionUI.d.ts +11 -11
  17. package/ui/components/dropdown/DropdownOptionUI.js +28 -28
  18. package/ui/components/dropdown/DropdownSpreadMainUI.d.ts +9 -9
  19. package/ui/components/dropdown/DropdownSpreadMainUI.js +27 -27
  20. package/ui/components/dropdown/DropdownUnspreadMainUI.d.ts +9 -9
  21. package/ui/components/dropdown/DropdownUnspreadMainUI.js +27 -27
  22. package/ui/components/gradient/GradientText.d.ts +63 -63
  23. package/ui/components/gradient/GradientText.js +329 -329
  24. package/ui/components/outlinetext/OutlineText.d.ts +73 -73
  25. package/ui/components/outlinetext/OutlineText.js +157 -157
  26. package/ui/components/progress/Progress.d.ts +34 -34
  27. package/ui/components/progress/Progress.js +142 -142
  28. package/ui/components/slapface/Slapface.d.ts +12 -12
  29. package/ui/components/slapface/Slapface.js +224 -227
  30. package/ui/components/slapface/less/Slapface.less +125 -0
  31. package/ui/components/slider/Slider.d.ts +57 -57
  32. package/ui/components/slider/Slider.js +289 -289
  33. package/ui/components/tab/Tab.d.ts +6 -6
  34. package/ui/components/tab/Tab.js +27 -27
  35. package/ui/components/tab/Tabs.d.ts +12 -12
  36. package/ui/components/tab/Tabs.js +54 -54
  37. package/ui/ui.md +1 -1
@@ -1,227 +1,224 @@
1
- var __extends = (this && this.__extends) || (function () {
2
- var extendStatics = function (d, b) {
3
- extendStatics = Object.setPrototypeOf ||
4
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
- return extendStatics(d, b);
7
- };
8
- return function (d, b) {
9
- if (typeof b !== "function" && b !== null)
10
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11
- extendStatics(d, b);
12
- function __() { this.constructor = d; }
13
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
- };
15
- })();
16
- var __assign = (this && this.__assign) || function () {
17
- __assign = Object.assign || function(t) {
18
- for (var s, i = 1, n = arguments.length; i < n; i++) {
19
- s = arguments[i];
20
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
21
- t[p] = s[p];
22
- }
23
- return t;
24
- };
25
- return __assign.apply(this, arguments);
26
- };
27
- import { h, Component } from "preact";
28
- // @ts-ignore
29
- import SlapfaceLess from "./less/Slapface.less";
30
- // @ts-ignore
31
- import btn_close from "src/pixUIReactComponents/ui/sample/asset/btn_close.png";
32
- //默认配置项
33
- var settingsitems = {
34
- ani_switch_type: 1,
35
- is_mask: false
36
- };
37
- //默认无跳转按钮
38
- var jumpButton = {
39
- pic_changtai: '',
40
- pic_yaxia: '',
41
- pic_xuanfu: ''
42
- };
43
- var node = /** @class */ (function () {
44
- function node(par_index) {
45
- if (par_index == undefined)
46
- this.index = -1;
47
- else
48
- this.index = par_index;
49
- this.next = null;
50
- }
51
- return node;
52
- }());
53
- var nodeList = /** @class */ (function () {
54
- function nodeList(groupArr) {
55
- this.head = new node();
56
- var cur = this.head;
57
- this.size = 0;
58
- if (groupArr) {
59
- for (var i = 0; i < groupArr.length; i++) {
60
- cur.next = new node(i);
61
- cur = cur.next;
62
- }
63
- this.groupArr = groupArr;
64
- this.size += groupArr.length;
65
- }
66
- this.tail = cur;
67
- }
68
- nodeList.prototype.Add = function (index, next) {
69
- this.tail.next = new node(index);
70
- this.tail = this.tail.next;
71
- ++this.size;
72
- return this.tail;
73
- };
74
- nodeList.prototype.DeleteNext = function (curParam) {
75
- if (curParam.next == null)
76
- return;
77
- else {
78
- curParam.next = curParam.next.next;
79
- }
80
- --this.size;
81
- };
82
- nodeList.prototype.CheckReady = function () {
83
- var cur = this.head;
84
- while (cur.next != null) {
85
- if (this.groupArr[cur.next.index].isLoadDone) {
86
- cur = cur.next;
87
- }
88
- else {
89
- var retIndex = cur.next.index;
90
- this.DeleteNext(cur);
91
- return retIndex;
92
- }
93
- }
94
- return -1;
95
- };
96
- return nodeList;
97
- }());
98
- var Slapface = /** @class */ (function (_super) {
99
- __extends(Slapface, _super);
100
- function Slapface(props) {
101
- var _this = _super.call(this, props) || this;
102
- _this.closeAct = function () {
103
- _this.actDisplay = "none";
104
- _this.forceUpdate();
105
- };
106
- _this.LoadGroup = _this.props.LoadGroup;
107
- _this.jumpButton = _this.props.jumpButton ? _this.props.jumpButton : jumpButton;
108
- _this.settingsitems = _this.props.settingsitems ? _this.props.settingsitems : settingsitems;
109
- _this.btn_closeButton = _this.props.btn_closeButton ? _this.props.btn_closeButton : btn_close;
110
- _this.pic_loading = _this.props.pic_loading;
111
- _this.actDisplay = "flex";
112
- return _this;
113
- }
114
- Slapface.prototype.render = function () {
115
- var slapfaceinfo = {
116
- LoadGroup: this.LoadGroup,
117
- jumpButton: this.jumpButton,
118
- settingsitems: this.settingsitems,
119
- btn_closeButton: this.btn_closeButton,
120
- pic_loading: this.pic_loading
121
- };
122
- return (h("div", { className: SlapfaceLess.maininterface, style: { display: this.actDisplay } },
123
- h("div", { style: { flexDirection: 'row', flexWrap: 'nowrap' } }),
124
- h("div", { style: { width: '100%', height: '100%', backgroundColor: "rgba(0,0,0,0.5)" } }, h(Group, __assign({}, slapfaceinfo, { closeAct: this.closeAct })))));
125
- };
126
- return Slapface;
127
- }(Component));
128
- export { Slapface };
129
- var Group = /** @class */ (function (_super) {
130
- __extends(Group, _super);
131
- function Group(props) {
132
- var _this = _super.call(this, props) || this;
133
- var emptyGroup = [
134
- {
135
- isLoadDone: false,
136
- picture: "",
137
- width: 0,
138
- height: 0
139
- }
140
- ];
141
- _this.groupArr = emptyGroup.concat(_this.props.LoadGroup);
142
- _this.groupIndexList = new nodeList(_this.groupArr);
143
- _this.loadDisplay = "hidden";
144
- _this.elseDisplay = "visible";
145
- _this.state = {
146
- curIndex: _this.groupIndexList.CheckReady()
147
- };
148
- return _this;
149
- }
150
- Group.prototype.componentDidMount = function () {
151
- var _this = this;
152
- if (this.picBack.style.visibility == 'hidden') {
153
- setTimeout(function () {
154
- _this.picBack.style.visibility = 'visible';
155
- _this.closeClick();
156
- }, 600);
157
- }
158
- };
159
- Group.prototype.componentDidUpdate = function () {
160
- var _this = this;
161
- var curIndex = this.state.curIndex;
162
- setTimeout(function () {
163
- if (!_this.groupArr[curIndex].isLoadDone) {
164
- _this.groupArr[curIndex].isLoadDone = true;
165
- _this.closeClick();
166
- }
167
- }, 1000);
168
- };
169
- Group.prototype.closeClick = function (e) {
170
- var _this = this;
171
- e === null || e === void 0 ? void 0 : e.stopPropagation();
172
- var nextIndex = this.groupIndexList.CheckReady();
173
- setTimeout(function () { _this.loadDisplay = "visible"; }, 1000);
174
- this.elseDisplay = "hidden";
175
- if (nextIndex != -1) {
176
- if (this.props.settingsitems.ani_switch_type == 2) {
177
- this.picBack.className = SlapfaceLess.groupBack;
178
- }
179
- this.setState({ curIndex: nextIndex });
180
- }
181
- else {
182
- this.props.closeAct();
183
- }
184
- };
185
- Group.prototype.render = function () {
186
- var _this = this;
187
- if (this.state.curIndex == -1) {
188
- this.setState({ curIndex: this.groupIndexList.CheckReady() });
189
- }
190
- return (h("div", { ref: function (div) { _this.picBack = div; }, style: { width: '100%', height: '100%', alignItems: 'center', justifyContent: 'center', position: 'absolute', visibility: 'hidden' }, onAnimationEnd: function () { _this.picBack.className = SlapfaceLess.groupBackReverse; } },
191
- h("div", { onClick: function () { if (_this.props.settingsitems.is_mask == false)
192
- return; _this.closeClick(); }, style: { position: "absolute", width: "100%", height: "100%" } }),
193
- h("div", null,
194
- h("img", { src: this.groupArr[this.state.curIndex].picture, style: { visibility: this.elseDisplay, width: this.groupArr[this.state.curIndex].width, height: this.groupArr[this.state.curIndex].height }, onLoad: function () { var curIndex = _this.state.curIndex; if (!_this.groupArr[curIndex].isLoadDone) {
195
- _this.groupArr[curIndex].isLoadDone = true;
196
- _this.loadDisplay = "hidden";
197
- _this.elseDisplay = "visible";
198
- _this.forceUpdate();
199
- } } }),
200
- h("div", { ref: function (div) { _this.loadPic = div; }, className: SlapfaceLess.loading_anim, style: { backgroundImage: "url(".concat(this.props.pic_loading, ")"), width: this.groupArr[this.state.curIndex].width, height: this.groupArr[this.state.curIndex].height, position: "absolute", visibility: this.loadDisplay } }, " "),
201
- h(CloseButton, { btn_closeButton: this.props.btn_closeButton, elseDisplay: this.elseDisplay, onClick: function (e) { _this.closeClick(e); } }),
202
- h(JumpButton, { elseDisplay: this.elseDisplay, jumpButton: this.props.jumpButton }))));
203
- };
204
- return Group;
205
- }(Component));
206
- var CloseButton = /** @class */ (function (_super) {
207
- __extends(CloseButton, _super);
208
- function CloseButton() {
209
- return _super !== null && _super.apply(this, arguments) || this;
210
- }
211
- CloseButton.prototype.render = function () {
212
- return (h("button", { className: SlapfaceLess.closeButton, style: { visibility: this.props.elseDisplay, backgroundImage: "url(".concat(this.props.btn_closeButton, ")") }, onClick: this.props.onClick }));
213
- };
214
- return CloseButton;
215
- }(Component));
216
- var JumpButton = /** @class */ (function (_super) {
217
- __extends(JumpButton, _super);
218
- function JumpButton() {
219
- return _super !== null && _super.apply(this, arguments) || this;
220
- }
221
- JumpButton.prototype.render = function () {
222
- var _this = this;
223
- return (h("div", { className: SlapfaceLess.jumpButton, style: { visibility: this.props.elseDisplay }, onMouseDown: function () { _this.jumpbtnImg.src = _this.props.jumpButton.pic_yaxia; }, onMouseUp: function () { _this.jumpbtnImg.src = _this.props.jumpButton.pic_xuanfu; }, onMouseOver: function () { _this.jumpbtnImg.src = _this.props.jumpButton.pic_xuanfu; }, onMouseOut: function () { _this.jumpbtnImg.src = _this.props.jumpButton.pic_changtai; } },
224
- h("img", { ref: function (img) { _this.jumpbtnImg = img; }, src: this.props.jumpButton.pic_changtai })));
225
- };
226
- return JumpButton;
227
- }(Component));
1
+ var __extends = (this && this.__extends) || (function () {
2
+ var extendStatics = function (d, b) {
3
+ extendStatics = Object.setPrototypeOf ||
4
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
5
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
6
+ return extendStatics(d, b);
7
+ };
8
+ return function (d, b) {
9
+ if (typeof b !== "function" && b !== null)
10
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
11
+ extendStatics(d, b);
12
+ function __() { this.constructor = d; }
13
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
14
+ };
15
+ })();
16
+ var __assign = (this && this.__assign) || function () {
17
+ __assign = Object.assign || function(t) {
18
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
19
+ s = arguments[i];
20
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
21
+ t[p] = s[p];
22
+ }
23
+ return t;
24
+ };
25
+ return __assign.apply(this, arguments);
26
+ };
27
+ import { h, Component } from "preact";
28
+ import SlapfaceLess from "./less/Slapface.less";
29
+ //默认配置项
30
+ var settingsitems = {
31
+ ani_switch_type: 1,
32
+ is_mask: false
33
+ };
34
+ //默认无跳转按钮
35
+ var jumpButton = {
36
+ pic_changtai: '',
37
+ pic_yaxia: '',
38
+ pic_xuanfu: ''
39
+ };
40
+ var node = /** @class */ (function () {
41
+ function node(par_index) {
42
+ if (par_index == undefined)
43
+ this.index = -1;
44
+ else
45
+ this.index = par_index;
46
+ this.next = null;
47
+ }
48
+ return node;
49
+ }());
50
+ var nodeList = /** @class */ (function () {
51
+ function nodeList(groupArr) {
52
+ this.head = new node();
53
+ var cur = this.head;
54
+ this.size = 0;
55
+ if (groupArr) {
56
+ for (var i = 0; i < groupArr.length; i++) {
57
+ cur.next = new node(i);
58
+ cur = cur.next;
59
+ }
60
+ this.groupArr = groupArr;
61
+ this.size += groupArr.length;
62
+ }
63
+ this.tail = cur;
64
+ }
65
+ nodeList.prototype.Add = function (index, next) {
66
+ this.tail.next = new node(index);
67
+ this.tail = this.tail.next;
68
+ ++this.size;
69
+ return this.tail;
70
+ };
71
+ nodeList.prototype.DeleteNext = function (curParam) {
72
+ if (curParam.next == null)
73
+ return;
74
+ else {
75
+ curParam.next = curParam.next.next;
76
+ }
77
+ --this.size;
78
+ };
79
+ nodeList.prototype.CheckReady = function () {
80
+ var cur = this.head;
81
+ while (cur.next != null) {
82
+ if (this.groupArr[cur.next.index].isLoadDone) {
83
+ cur = cur.next;
84
+ }
85
+ else {
86
+ var retIndex = cur.next.index;
87
+ this.DeleteNext(cur);
88
+ return retIndex;
89
+ }
90
+ }
91
+ return -1;
92
+ };
93
+ return nodeList;
94
+ }());
95
+ var Slapface = /** @class */ (function (_super) {
96
+ __extends(Slapface, _super);
97
+ function Slapface(props) {
98
+ var _this = _super.call(this, props) || this;
99
+ _this.closeAct = function () {
100
+ _this.actDisplay = "none";
101
+ _this.forceUpdate();
102
+ };
103
+ _this.LoadGroup = _this.props.LoadGroup;
104
+ _this.jumpButton = _this.props.jumpButton ? _this.props.jumpButton : jumpButton;
105
+ _this.settingsitems = _this.props.settingsitems ? _this.props.settingsitems : settingsitems;
106
+ _this.btn_closeButton = _this.props.btn_closeButton ? _this.props.btn_closeButton : '';
107
+ _this.pic_loading = _this.props.pic_loading;
108
+ _this.actDisplay = "flex";
109
+ return _this;
110
+ }
111
+ Slapface.prototype.render = function () {
112
+ var slapfaceinfo = {
113
+ LoadGroup: this.LoadGroup,
114
+ jumpButton: this.jumpButton,
115
+ settingsitems: this.settingsitems,
116
+ btn_closeButton: this.btn_closeButton,
117
+ pic_loading: this.pic_loading
118
+ };
119
+ return (h("div", { className: SlapfaceLess.maininterface, style: { display: this.actDisplay } },
120
+ h("div", { style: { flexDirection: 'row', flexWrap: 'nowrap' } }),
121
+ h("div", { style: { width: '100%', height: '100%', backgroundColor: "rgba(0,0,0,0.5)" } }, h(Group, __assign({}, slapfaceinfo, { closeAct: this.closeAct })))));
122
+ };
123
+ return Slapface;
124
+ }(Component));
125
+ export { Slapface };
126
+ var Group = /** @class */ (function (_super) {
127
+ __extends(Group, _super);
128
+ function Group(props) {
129
+ var _this = _super.call(this, props) || this;
130
+ var emptyGroup = [
131
+ {
132
+ isLoadDone: false,
133
+ picture: "",
134
+ width: 0,
135
+ height: 0
136
+ }
137
+ ];
138
+ _this.groupArr = emptyGroup.concat(_this.props.LoadGroup);
139
+ _this.groupIndexList = new nodeList(_this.groupArr);
140
+ _this.loadDisplay = "hidden";
141
+ _this.elseDisplay = "visible";
142
+ _this.state = {
143
+ curIndex: _this.groupIndexList.CheckReady()
144
+ };
145
+ return _this;
146
+ }
147
+ Group.prototype.componentDidMount = function () {
148
+ var _this = this;
149
+ if (this.picBack.style.visibility == 'hidden') {
150
+ setTimeout(function () {
151
+ _this.picBack.style.visibility = 'visible';
152
+ _this.closeClick();
153
+ }, 600);
154
+ }
155
+ };
156
+ Group.prototype.componentDidUpdate = function () {
157
+ var _this = this;
158
+ var curIndex = this.state.curIndex;
159
+ setTimeout(function () {
160
+ if (!_this.groupArr[curIndex].isLoadDone) {
161
+ _this.groupArr[curIndex].isLoadDone = true;
162
+ _this.closeClick();
163
+ }
164
+ }, 1000);
165
+ };
166
+ Group.prototype.closeClick = function (e) {
167
+ var _this = this;
168
+ e === null || e === void 0 ? void 0 : e.stopPropagation();
169
+ var nextIndex = this.groupIndexList.CheckReady();
170
+ setTimeout(function () { _this.loadDisplay = "visible"; }, 1000);
171
+ this.elseDisplay = "hidden";
172
+ if (nextIndex != -1) {
173
+ if (this.props.settingsitems.ani_switch_type == 2) {
174
+ this.picBack.className = SlapfaceLess.groupBack;
175
+ }
176
+ this.setState({ curIndex: nextIndex });
177
+ }
178
+ else {
179
+ this.props.closeAct();
180
+ }
181
+ };
182
+ Group.prototype.render = function () {
183
+ var _this = this;
184
+ if (this.state.curIndex == -1) {
185
+ this.setState({ curIndex: this.groupIndexList.CheckReady() });
186
+ }
187
+ return (h("div", { ref: function (div) { _this.picBack = div; }, style: { width: '100%', height: '100%', alignItems: 'center', justifyContent: 'center', position: 'absolute', visibility: 'hidden' }, onAnimationEnd: function () { _this.picBack.className = SlapfaceLess.groupBackReverse; } },
188
+ h("div", { onClick: function () { if (_this.props.settingsitems.is_mask == false)
189
+ return; _this.closeClick(); }, style: { position: "absolute", width: "100%", height: "100%" } }),
190
+ h("div", null,
191
+ h("img", { src: this.groupArr[this.state.curIndex].picture, style: { visibility: this.elseDisplay, width: this.groupArr[this.state.curIndex].width, height: this.groupArr[this.state.curIndex].height }, onLoad: function () { var curIndex = _this.state.curIndex; if (!_this.groupArr[curIndex].isLoadDone) {
192
+ _this.groupArr[curIndex].isLoadDone = true;
193
+ _this.loadDisplay = "hidden";
194
+ _this.elseDisplay = "visible";
195
+ _this.forceUpdate();
196
+ } } }),
197
+ h("div", { ref: function (div) { _this.loadPic = div; }, className: SlapfaceLess.loading_anim, style: { backgroundImage: "url(".concat(this.props.pic_loading, ")"), width: this.groupArr[this.state.curIndex].width, height: this.groupArr[this.state.curIndex].height, position: "absolute", visibility: this.loadDisplay } }, " "),
198
+ h(CloseButton, { btn_closeButton: this.props.btn_closeButton, elseDisplay: this.elseDisplay, onClick: function (e) { _this.closeClick(e); } }),
199
+ h(JumpButton, { elseDisplay: this.elseDisplay, jumpButton: this.props.jumpButton }))));
200
+ };
201
+ return Group;
202
+ }(Component));
203
+ var CloseButton = /** @class */ (function (_super) {
204
+ __extends(CloseButton, _super);
205
+ function CloseButton() {
206
+ return _super !== null && _super.apply(this, arguments) || this;
207
+ }
208
+ CloseButton.prototype.render = function () {
209
+ return (h("button", { className: SlapfaceLess.closeButton, style: { visibility: this.props.elseDisplay, backgroundImage: "url(".concat(this.props.btn_closeButton, ")") }, onClick: this.props.onClick }));
210
+ };
211
+ return CloseButton;
212
+ }(Component));
213
+ var JumpButton = /** @class */ (function (_super) {
214
+ __extends(JumpButton, _super);
215
+ function JumpButton() {
216
+ return _super !== null && _super.apply(this, arguments) || this;
217
+ }
218
+ JumpButton.prototype.render = function () {
219
+ var _this = this;
220
+ return (h("div", { className: SlapfaceLess.jumpButton, style: { visibility: this.props.elseDisplay }, onMouseDown: function () { _this.jumpbtnImg.src = _this.props.jumpButton.pic_yaxia; }, onMouseUp: function () { _this.jumpbtnImg.src = _this.props.jumpButton.pic_xuanfu; }, onMouseOver: function () { _this.jumpbtnImg.src = _this.props.jumpButton.pic_xuanfu; }, onMouseOut: function () { _this.jumpbtnImg.src = _this.props.jumpButton.pic_changtai; } },
221
+ h("img", { ref: function (img) { _this.jumpbtnImg = img; }, src: this.props.jumpButton.pic_changtai })));
222
+ };
223
+ return JumpButton;
224
+ }(Component));
@@ -0,0 +1,125 @@
1
+ .maininterface{
2
+ width:1200px;
3
+ height:682px;
4
+ /* width:100%;
5
+ height:100%; */
6
+ margin: auto;
7
+ /* padding: 0px 36px 36px 36px; */
8
+ /* background-color: grey; */
9
+ flex-direction: column;
10
+ position: relative;
11
+ }
12
+
13
+ .closeButton{
14
+ width:36px;
15
+ height:36px;
16
+ background-size: contain;
17
+ /* float: left; */
18
+ position: absolute;
19
+ right:0px;
20
+ top:0px;
21
+ }
22
+
23
+ @keyframes zoom{
24
+ from{
25
+ transform: scale(0)
26
+ }
27
+ 80%{
28
+ transform: scale(1.1);
29
+ }
30
+ to{
31
+ transform: scale(1);
32
+ }
33
+ }
34
+
35
+ @keyframes zoomReverse{
36
+ from{
37
+ transform: scale(0)
38
+ }
39
+ to{
40
+ transform: scale(0);
41
+ }
42
+ }
43
+
44
+ .groupBack{
45
+ animation-name:zoom;
46
+ animation-timing-function:ease-in-out;
47
+ animation-iteration-count:1;
48
+ animation-duration: 1s;
49
+ }
50
+
51
+ .groupBackReverse{
52
+ animation-name:zoomReverse;
53
+ animation-timing-function:'';
54
+ animation-iteration-count:'';
55
+ animation-duration:'';
56
+ }
57
+
58
+ .isShowToday{
59
+ width:36px;
60
+ height:31px;
61
+ background-size: contain;
62
+ position: absolute;
63
+ right:0px;
64
+ bottom:0px;
65
+ }
66
+
67
+ .jumpButton{
68
+ position: absolute;
69
+ right:50%;
70
+ bottom:10%;
71
+ /* top:80%; */
72
+ transform: translate(50%, -50%);
73
+ }
74
+ .slapImage{
75
+ box-sizing: content-box;
76
+ /* border-width: 5px;
77
+ border-color: black;
78
+ border-style: solid; */
79
+ position: absolute;
80
+ left:50%;
81
+ top:50%;
82
+ transform:translate(-50%,-50%);
83
+ }
84
+ .frame {
85
+ border: 12px solid rgb(60, 65, 71);
86
+ display: flex;
87
+ /* flex-direction: row; */
88
+ /* flex-basis: content; */
89
+ /* justify-content: space-around; */
90
+ width: 1128px;
91
+ height: 604px;
92
+ position: relative;
93
+ top:-12px;
94
+ background-color: rgb(60, 65, 71);
95
+ }
96
+
97
+ .mask{
98
+ // background:url(images/coupon-logo.gif) no-repeat;
99
+ height:100px;background-color:#fff;
100
+ opacity:0.6;
101
+ }
102
+
103
+ @keyframes rotate_by_myself{
104
+ from {
105
+ transform: rotate(0deg);
106
+ }
107
+
108
+ 50% {
109
+ transform: rotate(180deg);
110
+ }
111
+
112
+ to {
113
+ transform: rotate(360deg);
114
+ }
115
+ }
116
+
117
+ .loading_anim{
118
+ animation-name: rotate_by_myself;
119
+ animation-duration: 1.5s;
120
+ animation-timing-function: linear;
121
+ animation-iteration-count: infinite;
122
+ background-position: center;
123
+ background-repeat: no-repeat;
124
+ background-size: 50%;
125
+ }