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

feat: loading页

parent 5ada8e7b
......@@ -57,18 +57,6 @@ export class Start extends Component {
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();
ShareCenter.ins.doShare('main');
}
......@@ -78,7 +66,7 @@ export class Start extends Component {
setProgress = (progress: number) => {
this.progressBar.progress = progress;
this.progressTxt.string = `加载中(${Math.round(progress * 100)}%)…`;
// this.progressTxt.string = `加载中(${Math.round(progress * 100)}%)…`;
}
loadZipBundle(from: number, to: number) {
......@@ -97,7 +85,7 @@ export class Start extends Component {
async start() {
this.setProgress(0.05);
// await this.loadZipBundle(0.05, 0.3);
await this.loadZipBundle(0.05, 0.3);
const pkg = [
{
......
......@@ -46,10 +46,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 526,
"height": 45,
"rawWidth": 526,
"rawHeight": 45,
"width": 576,
"height": 32,
"rawWidth": 576,
"rawHeight": 32,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......@@ -61,17 +61,17 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-263,
-22.5,
-288,
-16,
0,
263,
-22.5,
288,
-16,
0,
-263,
22.5,
-288,
16,
0,
263,
22.5,
288,
16,
0
],
"indexes": [
......@@ -84,12 +84,12 @@
],
"uv": [
0,
45,
526,
45,
32,
576,
32,
0,
0,
526,
576,
0
],
"nuv": [
......@@ -103,13 +103,13 @@
1
],
"minPos": [
-263,
-22.5,
-288,
-16,
0
],
"maxPos": [
263,
22.5,
288,
16,
0
]
},
......
......@@ -46,10 +46,10 @@
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 526,
"height": 45,
"rawWidth": 526,
"rawHeight": 45,
"width": 576,
"height": 32,
"rawWidth": 576,
"rawHeight": 32,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......@@ -61,17 +61,17 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-263,
-22.5,
-288,
-16,
0,
263,
-22.5,
288,
-16,
0,
-263,
22.5,
-288,
16,
0,
263,
22.5,
288,
16,
0
],
"indexes": [
......@@ -84,12 +84,12 @@
],
"uv": [
0,
45,
526,
45,
32,
576,
32,
0,
0,
526,
576,
0
],
"nuv": [
......@@ -103,13 +103,13 @@
1
],
"minPos": [
-263,
-22.5,
-288,
-16,
0
],
"maxPos": [
263,
22.5,
288,
16,
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 @@
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "7a64ebca-eb97-4995-b2c0-ec96c66467a6",
"uuid": "7ffdc5b4-3718-4a7d-afee-b57559d4ce50",
"files": [
".json",
".png"
......@@ -10,14 +10,14 @@
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "7a64ebca-eb97-4995-b2c0-ec96c66467a6@6c48a",
"displayName": "logo",
"uuid": "7ffdc5b4-3718-4a7d-afee-b57559d4ce50@6c48a",
"displayName": "tree",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "7a64ebca-eb97-4995-b2c0-ec96c66467a6",
"imageUuidOrDatabaseUri": "7ffdc5b4-3718-4a7d-afee-b57559d4ce50",
"isUuid": true,
"visible": false,
"minfilter": "linear",
......@@ -34,22 +34,22 @@
},
"f9941": {
"importer": "sprite-frame",
"uuid": "7a64ebca-eb97-4995-b2c0-ec96c66467a6@f9941",
"displayName": "logo",
"uuid": "7ffdc5b4-3718-4a7d-afee-b57559d4ce50@f9941",
"displayName": "tree",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"offsetX": -12,
"offsetY": 236.5,
"trimX": 0,
"trimY": 0,
"width": 204,
"height": 59,
"rawWidth": 204,
"rawHeight": 59,
"width": 726,
"height": 690,
"rawWidth": 750,
"rawHeight": 1163,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......@@ -61,17 +61,17 @@
"meshType": 0,
"vertices": {
"rawPosition": [
-102,
-29.5,
-363,
-345,
0,
102,
-29.5,
363,
-345,
0,
-102,
29.5,
-363,
345,
0,
102,
29.5,
363,
345,
0
],
"indexes": [
......@@ -84,37 +84,37 @@
],
"uv": [
0,
59,
204,
59,
1163,
726,
1163,
0,
0,
204,
0
473,
726,
473
],
"nuv": [
0,
0.4067067927773001,
0.968,
0.4067067927773001,
0,
1,
0,
0,
1,
1,
0.968,
1
],
"minPos": [
-102,
-29.5,
-363,
-345,
0
],
"maxPos": [
102,
29.5,
363,
345,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "7a64ebca-eb97-4995-b2c0-ec96c66467a6@6c48a",
"imageUuidOrDatabaseUri": "7ffdc5b4-3718-4a7d-afee-b57559d4ce50@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
......@@ -129,6 +129,6 @@
"type": "sprite-frame",
"hasAlpha": true,
"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