Commit 7108c116 authored by 李维's avatar 李维

修改加载页设计

parent 40a19edc
......@@ -54,19 +54,16 @@ cc.Class({
},
setProgress(progress) {
setTimeout(() => {
if (!this.barSf) {
return;
}
const w = this.barBaseW * progress;
const rect = this.barSf.getRect();
rect.width = w;
// const rect = this.barSf.getRect();
// rect.width = w;
this.bar.width = w;
this.barSpr.spriteFrame.setRect(rect);
// this.barSpr.spriteFrame.setRect(rect);
}, 1);
},
// update (dt) {},
});
{
"ver": "2.3.5",
"uuid": "698f4e75-4b92-48eb-9058-811032a42347",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1161,
"height": 81,
"platformSettings": {},
"subMetas": {
"dg_bg_progress": {
"ver": "1.0.4",
"uuid": "863771ab-1fe7-442b-90a5-2ddada7dcd8f",
"rawTextureUuid": "698f4e75-4b92-48eb-9058-811032a42347",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1161,
"height": 81,
"rawWidth": 1161,
"rawHeight": 81,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "a655a8d9-db58-4d3b-8362-dab087360507",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1148,
"height": 70,
"platformSettings": {},
"subMetas": {
"dg_progress": {
"ver": "1.0.4",
"uuid": "2efad969-f259-40fc-bbfe-7d6f3cc610aa",
"rawTextureUuid": "a655a8d9-db58-4d3b-8362-dab087360507",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1148,
"height": 70,
"rawWidth": 1148,
"rawHeight": 70,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 39,
"borderRight": 53,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d07b9085-9fd8-4731-ac90-43bd545118f4",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 1920,
"height": 1080,
"platformSettings": {},
"subMetas": {
"dige_bg": {
"ver": "1.0.4",
"uuid": "4dc12c19-1fc3-47ba-b2b4-70db9d7117fa",
"rawTextureUuid": "d07b9085-9fd8-4731-ac90-43bd545118f4",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1920,
"height": 1080,
"rawWidth": 1920,
"rawHeight": 1080,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "7ac5d82a-f9bb-4fc2-be2a-0f47c7846f04",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 466,
"height": 292,
"platformSettings": {},
"subMetas": {
"logo": {
"ver": "1.0.4",
"uuid": "c1b69609-010b-4b03-a828-a5151d20deaf",
"rawTextureUuid": "7ac5d82a-f9bb-4fc2-be2a-0f47c7846f04",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 466,
"height": 292,
"rawWidth": 466,
"rawHeight": 292,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
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