Commit 779b12b9 authored by 俞嘉婷's avatar 俞嘉婷

feat: loading页

parent 5ada8e7b
...@@ -57,18 +57,6 @@ export class Start extends Component { ...@@ -57,18 +57,6 @@ export class Start extends Component {
await store.updateFrontVariable(); await store.updateFrontVariable();
// @ts-ignore
MFS.initNav({
"title": "美好财趣节",
"leftButton": {
"handler": "cqjGoIndex"
},
});
window['cqjGoIndex'] = () => {
window.location.href = "https://wechat.urcb.com/store/index"
// window.location.href = "https://wxyhtst.urcb.com/store/index"
}
await initWx(); await initWx();
ShareCenter.ins.doShare('main'); ShareCenter.ins.doShare('main');
} }
...@@ -78,7 +66,7 @@ export class Start extends Component { ...@@ -78,7 +66,7 @@ export class Start extends Component {
setProgress = (progress: number) => { setProgress = (progress: number) => {
this.progressBar.progress = progress; this.progressBar.progress = progress;
this.progressTxt.string = `加载中(${Math.round(progress * 100)}%)…`; // this.progressTxt.string = `加载中(${Math.round(progress * 100)}%)…`;
} }
loadZipBundle(from: number, to: number) { loadZipBundle(from: number, to: number) {
...@@ -97,7 +85,7 @@ export class Start extends Component { ...@@ -97,7 +85,7 @@ export class Start extends Component {
async start() { async start() {
this.setProgress(0.05); this.setProgress(0.05);
// await this.loadZipBundle(0.05, 0.3); await this.loadZipBundle(0.05, 0.3);
const pkg = [ const pkg = [
{ {
......
...@@ -46,10 +46,10 @@ ...@@ -46,10 +46,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 526, "width": 576,
"height": 45, "height": 32,
"rawWidth": 526, "rawWidth": 576,
"rawHeight": 45, "rawHeight": 32,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
...@@ -61,17 +61,17 @@ ...@@ -61,17 +61,17 @@
"meshType": 0, "meshType": 0,
"vertices": { "vertices": {
"rawPosition": [ "rawPosition": [
-263, -288,
-22.5, -16,
0, 0,
263, 288,
-22.5, -16,
0, 0,
-263, -288,
22.5, 16,
0, 0,
263, 288,
22.5, 16,
0 0
], ],
"indexes": [ "indexes": [
...@@ -84,12 +84,12 @@ ...@@ -84,12 +84,12 @@
], ],
"uv": [ "uv": [
0, 0,
45, 32,
526, 576,
45, 32,
0, 0,
0, 0,
526, 576,
0 0
], ],
"nuv": [ "nuv": [
...@@ -103,13 +103,13 @@ ...@@ -103,13 +103,13 @@
1 1
], ],
"minPos": [ "minPos": [
-263, -288,
-22.5, -16,
0 0
], ],
"maxPos": [ "maxPos": [
263, 288,
22.5, 16,
0 0
] ]
}, },
......
...@@ -46,10 +46,10 @@ ...@@ -46,10 +46,10 @@
"offsetY": 0, "offsetY": 0,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 526, "width": 576,
"height": 45, "height": 32,
"rawWidth": 526, "rawWidth": 576,
"rawHeight": 45, "rawHeight": 32,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
...@@ -61,17 +61,17 @@ ...@@ -61,17 +61,17 @@
"meshType": 0, "meshType": 0,
"vertices": { "vertices": {
"rawPosition": [ "rawPosition": [
-263, -288,
-22.5, -16,
0, 0,
263, 288,
-22.5, -16,
0, 0,
-263, -288,
22.5, 16,
0, 0,
263, 288,
22.5, 16,
0 0
], ],
"indexes": [ "indexes": [
...@@ -84,12 +84,12 @@ ...@@ -84,12 +84,12 @@
], ],
"uv": [ "uv": [
0, 0,
45, 32,
526, 576,
45, 32,
0, 0,
0, 0,
526, 576,
0 0
], ],
"nuv": [ "nuv": [
...@@ -103,13 +103,13 @@ ...@@ -103,13 +103,13 @@
1 1
], ],
"minPos": [ "minPos": [
-263, -288,
-22.5, -16,
0 0
], ],
"maxPos": [ "maxPos": [
263, 288,
22.5, 16,
0 0
] ]
}, },
......
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "73218e84-be95-41f4-82ea-9c79402c3266",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "73218e84-be95-41f4-82ea-9c79402c3266@6c48a",
"displayName": "title",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "73218e84-be95-41f4-82ea-9c79402c3266",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "73218e84-be95-41f4-82ea-9c79402c3266@f9941",
"displayName": "title",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 552,
"height": 76,
"rawWidth": 552,
"rawHeight": 76,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-276,
-38,
0,
276,
-38,
0,
-276,
38,
0,
276,
38,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
76,
552,
76,
0,
0,
552,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-276,
-38,
0
],
"maxPos": [
276,
38,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "73218e84-be95-41f4-82ea-9c79402c3266@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "73218e84-be95-41f4-82ea-9c79402c3266@6c48a"
}
}
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"ver": "1.0.27", "ver": "1.0.27",
"importer": "image", "importer": "image",
"imported": true, "imported": true,
"uuid": "7a64ebca-eb97-4995-b2c0-ec96c66467a6", "uuid": "7ffdc5b4-3718-4a7d-afee-b57559d4ce50",
"files": [ "files": [
".json", ".json",
".png" ".png"
...@@ -10,14 +10,14 @@ ...@@ -10,14 +10,14 @@
"subMetas": { "subMetas": {
"6c48a": { "6c48a": {
"importer": "texture", "importer": "texture",
"uuid": "7a64ebca-eb97-4995-b2c0-ec96c66467a6@6c48a", "uuid": "7ffdc5b4-3718-4a7d-afee-b57559d4ce50@6c48a",
"displayName": "logo", "displayName": "tree",
"id": "6c48a", "id": "6c48a",
"name": "texture", "name": "texture",
"userData": { "userData": {
"wrapModeS": "clamp-to-edge", "wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge", "wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "7a64ebca-eb97-4995-b2c0-ec96c66467a6", "imageUuidOrDatabaseUri": "7ffdc5b4-3718-4a7d-afee-b57559d4ce50",
"isUuid": true, "isUuid": true,
"visible": false, "visible": false,
"minfilter": "linear", "minfilter": "linear",
...@@ -34,22 +34,22 @@ ...@@ -34,22 +34,22 @@
}, },
"f9941": { "f9941": {
"importer": "sprite-frame", "importer": "sprite-frame",
"uuid": "7a64ebca-eb97-4995-b2c0-ec96c66467a6@f9941", "uuid": "7ffdc5b4-3718-4a7d-afee-b57559d4ce50@f9941",
"displayName": "logo", "displayName": "tree",
"id": "f9941", "id": "f9941",
"name": "spriteFrame", "name": "spriteFrame",
"userData": { "userData": {
"trimType": "auto", "trimType": "auto",
"trimThreshold": 1, "trimThreshold": 1,
"rotated": false, "rotated": false,
"offsetX": 0, "offsetX": -12,
"offsetY": 0, "offsetY": 236.5,
"trimX": 0, "trimX": 0,
"trimY": 0, "trimY": 0,
"width": 204, "width": 726,
"height": 59, "height": 690,
"rawWidth": 204, "rawWidth": 750,
"rawHeight": 59, "rawHeight": 1163,
"borderTop": 0, "borderTop": 0,
"borderBottom": 0, "borderBottom": 0,
"borderLeft": 0, "borderLeft": 0,
...@@ -61,17 +61,17 @@ ...@@ -61,17 +61,17 @@
"meshType": 0, "meshType": 0,
"vertices": { "vertices": {
"rawPosition": [ "rawPosition": [
-102, -363,
-29.5, -345,
0, 0,
102, 363,
-29.5, -345,
0, 0,
-102, -363,
29.5, 345,
0, 0,
102, 363,
29.5, 345,
0 0
], ],
"indexes": [ "indexes": [
...@@ -84,37 +84,37 @@ ...@@ -84,37 +84,37 @@
], ],
"uv": [ "uv": [
0, 0,
59, 1163,
204, 726,
59, 1163,
0, 0,
0, 473,
204, 726,
0 473
], ],
"nuv": [ "nuv": [
0, 0,
0.4067067927773001,
0.968,
0.4067067927773001,
0, 0,
1, 1,
0, 0.968,
0,
1,
1,
1 1
], ],
"minPos": [ "minPos": [
-102, -363,
-29.5, -345,
0 0
], ],
"maxPos": [ "maxPos": [
102, 363,
29.5, 345,
0 0
] ]
}, },
"isUuid": true, "isUuid": true,
"imageUuidOrDatabaseUri": "7a64ebca-eb97-4995-b2c0-ec96c66467a6@6c48a", "imageUuidOrDatabaseUri": "7ffdc5b4-3718-4a7d-afee-b57559d4ce50@6c48a",
"atlasUuid": "" "atlasUuid": ""
}, },
"ver": "1.0.12", "ver": "1.0.12",
...@@ -129,6 +129,6 @@ ...@@ -129,6 +129,6 @@
"type": "sprite-frame", "type": "sprite-frame",
"hasAlpha": true, "hasAlpha": true,
"fixAlphaTransparencyArtifacts": false, "fixAlphaTransparencyArtifacts": false,
"redirect": "7a64ebca-eb97-4995-b2c0-ec96c66467a6@6c48a" "redirect": "7ffdc5b4-3718-4a7d-afee-b57559d4ce50@6c48a"
} }
} }
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