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.
- package/README.md +5 -5
- package/index.d.ts +15 -15
- package/index.js +16 -16
- package/package.json +11 -11
- package/tools/EventDispatcherJs.d.ts +10 -10
- package/tools/EventDispatcherJs.js +71 -71
- package/tools/Logger.d.ts +6 -6
- package/tools/Logger.js +138 -138
- package/tools/tools.md +21 -21
- package/ui/components/button/Button.d.ts +5 -5
- package/ui/components/button/Button.js +37 -37
- package/ui/components/carousel/Carousel.d.ts +5 -5
- package/ui/components/carousel/Carousel.js +219 -219
- package/ui/components/dropdown/Dropdown.d.ts +30 -30
- package/ui/components/dropdown/Dropdown.js +92 -92
- package/ui/components/dropdown/DropdownOptionUI.d.ts +11 -11
- package/ui/components/dropdown/DropdownOptionUI.js +28 -28
- package/ui/components/dropdown/DropdownSpreadMainUI.d.ts +9 -9
- package/ui/components/dropdown/DropdownSpreadMainUI.js +27 -27
- package/ui/components/dropdown/DropdownUnspreadMainUI.d.ts +9 -9
- package/ui/components/dropdown/DropdownUnspreadMainUI.js +27 -27
- package/ui/components/gradient/GradientText.d.ts +63 -63
- package/ui/components/gradient/GradientText.js +329 -329
- package/ui/components/outlinetext/OutlineText.d.ts +73 -73
- package/ui/components/outlinetext/OutlineText.js +157 -157
- package/ui/components/progress/Progress.d.ts +34 -34
- package/ui/components/progress/Progress.js +142 -142
- package/ui/components/slapface/Slapface.d.ts +12 -12
- package/ui/components/slapface/Slapface.js +224 -227
- package/ui/components/slapface/less/Slapface.less +125 -0
- package/ui/components/slider/Slider.d.ts +57 -57
- package/ui/components/slider/Slider.js +289 -289
- package/ui/components/tab/Tab.d.ts +6 -6
- package/ui/components/tab/Tab.js +27 -27
- package/ui/components/tab/Tabs.d.ts +12 -12
- package/ui/components/tab/Tabs.js +54 -54
- 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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
var
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
this.tail =
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
this.tail
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
var
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
_this.
|
|
107
|
-
_this.
|
|
108
|
-
_this.
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
var
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
_this.
|
|
142
|
-
_this.
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
_this
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
this.
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
_this.
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
function
|
|
209
|
-
return
|
|
210
|
-
}
|
|
211
|
-
CloseButton
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
function
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
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
|
+
}
|