Commit 734492a0 authored by Tt's avatar Tt

控件ui更换完毕

parent 44a8fae4
......@@ -84,22 +84,22 @@
"__id__": 151
},
{
"__id__": 181
"__id__": 183
},
{
"__id__": 201
"__id__": 203
}
],
"_active": true,
"_components": [
{
"__id__": 203
"__id__": 205
},
{
"__id__": 204
"__id__": 206
},
{
"__id__": 205
"__id__": 207
}
],
"_prefab": null,
......@@ -5554,22 +5554,22 @@
"__id__": 152
},
{
"__id__": 158
"__id__": 160
},
{
"__id__": 162
"__id__": 164
}
],
"_active": true,
"_components": [
{
"__id__": 178
"__id__": 180
},
{
"__id__": 179
"__id__": 181
},
{
"__id__": 180
"__id__": 182
}
],
"_prefab": null,
......@@ -5630,18 +5630,21 @@
"_children": [
{
"__id__": 153
},
{
"__id__": 155
}
],
"_active": true,
"_components": [
{
"__id__": 155
"__id__": 157
},
{
"__id__": 156
"__id__": 158
},
{
"__id__": 157
"__id__": 159
}
],
"_prefab": null,
......@@ -5655,8 +5658,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 180,
"height": 180
"width": 90,
"height": 90
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5667,8 +5670,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-840,
-400,
-833.906,
-458.762,
0,
0,
0,
......@@ -5717,8 +5720,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 180,
"height": 180
"width": 44,
"height": 52
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -5752,7 +5755,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "6ck/9SMhxH+LsrVNCS7Y63"
"_id": "8bHT1nlx5DNaX2mAKeeOgj"
},
{
"__type__": "cc.Sprite",
......@@ -5770,7 +5773,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "fd424e5d-3c81-48a8-ad3a-da73d317554e"
"__uuid__": "727d5c88-6ea7-45d0-a80e-2d7710ba95de"
},
"_type": 0,
"_sizeMode": 1,
......@@ -5784,14 +5787,76 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "83WT2/xfNHLonWY8cW++NM"
"_id": "79hOR4VZVGPIPyK//Kk7in"
},
{
"__type__": "cc.Node",
"_name": "play",
"_objFlags": 0,
"_parent": {
"__id__": 152
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 156
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 57,
"height": 69
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "48lCgApe5DdpKY7LOmC2dN"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
"__id__": 155
},
"_enabled": true,
"_materials": [
......@@ -5802,7 +5867,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6173cb60-eda6-4d76-866f-e15500700d0c"
"__uuid__": "8873f3b1-e9c5-4d2d-9951-fb34b5e4275d"
},
"_type": 0,
"_sizeMode": 1,
......@@ -5816,6 +5881,38 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "6a25yOMPtIHLazAjifgIn3"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 152
},
"_enabled": false,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6173cb60-eda6-4d76-866f-e15500700d0c"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "642vxS1V5HT4xGmbZiZ55s"
},
{
......@@ -5829,10 +5926,10 @@
"alignMode": 1,
"_target": null,
"_alignFlags": 12,
"_left": 50,
"_left": 101.09400000000005,
"_right": 0,
"_top": 0,
"_bottom": 50,
"_bottom": 36.238,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
......@@ -5922,13 +6019,13 @@
},
"_children": [
{
"__id__": 159
"__id__": 161
}
],
"_active": false,
"_components": [
{
"__id__": 161
"__id__": 163
}
],
"_prefab": null,
......@@ -5984,13 +6081,13 @@
"_name": "stop",
"_objFlags": 0,
"_parent": {
"__id__": 158
"__id__": 160
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 160
"__id__": 162
}
],
"_prefab": null,
......@@ -6046,7 +6143,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 159
"__id__": 161
},
"_enabled": true,
"_materials": [
......@@ -6078,7 +6175,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 158
"__id__": 160
},
"_enabled": true,
"_materials": [
......@@ -6113,9 +6210,6 @@
"__id__": 151
},
"_children": [
{
"__id__": 163
},
{
"__id__": 165
},
......@@ -6123,22 +6217,25 @@
"__id__": 167
},
{
"__id__": 171
"__id__": 169
},
{
"__id__": 173
},
{
"__id__": 175
}
],
"_active": true,
"_components": [
{
"__id__": 175
"__id__": 177
},
{
"__id__": 176
"__id__": 178
},
{
"__id__": 177
"__id__": 179
}
],
"_prefab": null,
......@@ -6152,7 +6249,7 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 1124,
"width": 1388,
"height": 12
},
"_anchorPoint": {
......@@ -6164,8 +6261,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-562,
-384,
-749.402,
-465.695,
0,
0,
0,
......@@ -6194,13 +6291,13 @@
"_name": "Background",
"_objFlags": 0,
"_parent": {
"__id__": 162
"__id__": 164
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 164
"__id__": 166
}
],
"_prefab": null,
......@@ -6256,7 +6353,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 163
"__id__": 165
},
"_enabled": true,
"_materials": [
......@@ -6288,13 +6385,13 @@
"_name": "bar",
"_objFlags": 0,
"_parent": {
"__id__": 162
"__id__": 164
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 166
"__id__": 168
}
],
"_prefab": null,
......@@ -6350,7 +6447,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 165
"__id__": 167
},
"_enabled": true,
"_materials": [
......@@ -6382,17 +6479,17 @@
"_name": "Handle",
"_objFlags": 0,
"_parent": {
"__id__": 162
"__id__": 164
},
"_children": [
{
"__id__": 168
"__id__": 170
}
],
"_active": true,
"_components": [
{
"__id__": 170
"__id__": 172
}
],
"_prefab": null,
......@@ -6448,13 +6545,13 @@
"_name": "Handle copy",
"_objFlags": 0,
"_parent": {
"__id__": 167
"__id__": 169
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 169
"__id__": 171
}
],
"_prefab": null,
......@@ -6468,8 +6565,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 84,
"height": 84
"width": 56,
"height": 56
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -6481,7 +6578,7 @@
"ctor": "Float64Array",
"array": [
0,
-8.334,
0.145,
0,
0,
0,
......@@ -6510,7 +6607,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 168
"__id__": 170
},
"_enabled": true,
"_materials": [
......@@ -6521,7 +6618,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "a6134d05-8bf8-4016-8203-c1ca575777b4"
"__uuid__": "8a399ec0-aa9c-4fe5-b990-a4355ddc9caf"
},
"_type": 1,
"_sizeMode": 2,
......@@ -6542,7 +6639,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 167
"__id__": 169
},
"_enabled": true,
"_normalMaterial": {
......@@ -6617,7 +6714,7 @@
"__uuid__": "29158224-f8dd-4661-a796-1ffab537140e"
},
"_N$target": {
"__id__": 167
"__id__": 169
},
"_id": "b6AurW2UZMu6klj5I0iivx"
},
......@@ -6626,13 +6723,13 @@
"_name": "lb_time1",
"_objFlags": 0,
"_parent": {
"__id__": 162
"__id__": 164
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 172
"__id__": 174
}
],
"_prefab": null,
......@@ -6658,8 +6755,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-93.204,
0,
1469.179,
7.559,
0,
0,
0,
......@@ -6688,7 +6785,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 171
"__id__": 173
},
"_enabled": true,
"_materials": [
......@@ -6721,13 +6818,13 @@
"_name": "lb_time2",
"_objFlags": 0,
"_parent": {
"__id__": 162
"__id__": 164
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 174
"__id__": 176
}
],
"_prefab": null,
......@@ -6753,8 +6850,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
1253.551,
0,
1468.23,
-38.165,
0,
0,
0,
......@@ -6783,7 +6880,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 173
"__id__": 175
},
"_enabled": true,
"_materials": [
......@@ -6816,13 +6913,13 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 162
"__id__": 164
},
"_enabled": true,
"direction": 0,
"slideEvents": [],
"_N$handle": {
"__id__": 170
"__id__": 172
},
"_N$progress": 0.2,
"_id": "94vlNB86NGBo0zzT7ycqox"
......@@ -6832,7 +6929,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 162
"__id__": 164
},
"_enabled": true,
"_materials": [
......@@ -6843,7 +6940,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "6efc57c6-7ec8-4726-abb4-3ffe18ed7454"
"__uuid__": "667a35fb-fe5c-44cf-b101-6623785e1786"
},
"_type": 0,
"_sizeMode": 1,
......@@ -6864,7 +6961,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 162
"__id__": 164
},
"_enabled": true,
"alignMode": 1,
......@@ -6873,9 +6970,9 @@
"_left": 454.086,
"_right": 0,
"_top": 0,
"_bottom": 150,
"_bottom": 68.305,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_horizontalCenter": -55.402000000000044,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
......@@ -6925,19 +7022,19 @@
"__id__": 152
},
"vidoStateIcon": {
"__id__": 158
"__id__": 160
},
"vidoSlider": {
"__id__": 175
"__id__": 177
},
"playbar": {
"__id__": 165
"__id__": 167
},
"nowTime": {
"__id__": 172
"__id__": 174
},
"totalTime": {
"__id__": 174
"__id__": 176
},
"_id": "40uKOXbmdKqIs73UDwwRGu"
},
......@@ -6960,13 +7057,13 @@
},
"_children": [
{
"__id__": 182
"__id__": 184
},
{
"__id__": 187
"__id__": 189
},
{
"__id__": 188
"__id__": 190
}
],
"_active": true,
......@@ -7024,14 +7121,14 @@
"_name": "font",
"_objFlags": 0,
"_parent": {
"__id__": 181
"__id__": 183
},
"_children": [
{
"__id__": 183
"__id__": 185
},
{
"__id__": 185
"__id__": 187
}
],
"_active": true,
......@@ -7089,13 +7186,13 @@
"_name": "BRLNSDB",
"_objFlags": 0,
"_parent": {
"__id__": 182
"__id__": 184
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 184
"__id__": 186
}
],
"_prefab": null,
......@@ -7151,7 +7248,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 183
"__id__": 185
},
"_enabled": true,
"_materials": [
......@@ -7186,13 +7283,13 @@
"_name": "MuliBold",
"_objFlags": 0,
"_parent": {
"__id__": 182
"__id__": 184
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 186
"__id__": 188
}
],
"_prefab": null,
......@@ -7248,7 +7345,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 185
"__id__": 187
},
"_enabled": true,
"_materials": [
......@@ -7283,7 +7380,7 @@
"_name": "img",
"_objFlags": 0,
"_parent": {
"__id__": 181
"__id__": 183
},
"_children": [],
"_active": true,
......@@ -7341,12 +7438,9 @@
"_name": "audio",
"_objFlags": 0,
"_parent": {
"__id__": 181
"__id__": 183
},
"_children": [
{
"__id__": 189
},
{
"__id__": 191
},
......@@ -7361,6 +7455,9 @@
},
{
"__id__": 199
},
{
"__id__": 201
}
],
"_active": true,
......@@ -7418,13 +7515,13 @@
"_name": "dispear",
"_objFlags": 0,
"_parent": {
"__id__": 188
"__id__": 190
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 190
"__id__": 192
}
],
"_prefab": null,
......@@ -7480,7 +7577,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 189
"__id__": 191
},
"_enabled": true,
"_clip": {
......@@ -7499,13 +7596,13 @@
"_name": "right",
"_objFlags": 0,
"_parent": {
"__id__": 188
"__id__": 190
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 192
"__id__": 194
}
],
"_prefab": null,
......@@ -7561,7 +7658,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 191
"__id__": 193
},
"_enabled": true,
"_clip": {
......@@ -7580,13 +7677,13 @@
"_name": "wrong",
"_objFlags": 0,
"_parent": {
"__id__": 188
"__id__": 190
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 194
"__id__": 196
}
],
"_prefab": null,
......@@ -7642,7 +7739,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 193
"__id__": 195
},
"_enabled": true,
"_clip": {
......@@ -7661,13 +7758,13 @@
"_name": "lose",
"_objFlags": 0,
"_parent": {
"__id__": 188
"__id__": 190
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 196
"__id__": 198
}
],
"_prefab": null,
......@@ -7723,7 +7820,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 195
"__id__": 197
},
"_enabled": true,
"_clip": {
......@@ -7742,13 +7839,13 @@
"_name": "win",
"_objFlags": 0,
"_parent": {
"__id__": 188
"__id__": 190
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 198
"__id__": 200
}
],
"_prefab": null,
......@@ -7804,7 +7901,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 197
"__id__": 199
},
"_enabled": true,
"_clip": {
......@@ -7823,13 +7920,13 @@
"_name": "btn",
"_objFlags": 0,
"_parent": {
"__id__": 188
"__id__": 190
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 200
"__id__": 202
}
],
"_prefab": null,
......@@ -7885,7 +7982,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 199
"__id__": 201
},
"_enabled": true,
"_clip": {
......@@ -7910,7 +8007,7 @@
"_active": true,
"_components": [
{
"__id__": 202
"__id__": 204
}
],
"_prefab": null,
......@@ -7966,7 +8063,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 201
"__id__": 203
},
"_enabled": true,
"alignMode": 1,
......@@ -8051,7 +8148,7 @@
"__id__": 151
},
"touchlayer": {
"__id__": 201
"__id__": 203
},
"root_game": {
"__id__": 143
......
......@@ -71,11 +71,13 @@ export default class videoCtrl extends cc.Component {
setCanPlay() {
this.btn_vido.getChildByName("stop").active = false;
this.btn_vido.getChildByName("play").active = true;
this.vidoStateIcon.getChildByName("stop").active = false;
}
setCanStop() {
this.btn_vido.getChildByName("stop").active = true
this.btn_vido.getChildByName("play").active = false;
this.vidoStateIcon.getChildByName("stop").active = true;
}
onClickBtn() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment