Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
new_taobao
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wildfirecode13
new_taobao
Commits
f9af7c39
Commit
f9af7c39
authored
Sep 16, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
e9058992
Changes
10
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
3836 additions
and
1 deletion
+3836
-1
.gitignore
project/src/canvas/game/.gitignore
+16
-0
output.js
project/src/canvas/game/output.js
+1723
-0
output.js.map
project/src/canvas/game/output.js.map
+1
-0
output.js
project/src/canvas/game/released/output.js
+1724
-0
assets.js
project/src/canvas/game/released/resource/assets.js
+310
-0
common.png
project/src/canvas/game/released/resource/common/common.png
+0
-0
res.json
project/src/canvas/game/released/resource/res.json
+59
-0
map_bg1.jpg
.../src/canvas/game/released/resource/startScene/map_bg1.jpg
+0
-0
copyJs.js
project/src/canvas/game/scripts/copyJs.js
+2
-1
webpack.dev.js
project/src/canvas/game/webpack.dev.js
+1
-0
No files found.
project/src/canvas/game/.gitignore
0 → 100644
View file @
f9af7c39
.DS_Store
node_modules/
coverage/
dist/
npm-debug.log
selenium-debug.log
.idea
.builds
.project
.vscode
yarn-error.log
.yarn
.package-lock
yarn.lock
.cache
packages/**/package-lock.json
project/src/canvas/game/output.js
0 → 100644
View file @
f9af7c39
This diff is collapsed.
Click to expand it.
project/src/canvas/game/output.js.map
0 → 100644
View file @
f9af7c39
This diff is collapsed.
Click to expand it.
project/src/canvas/game/released/output.js
0 → 100644
View file @
f9af7c39
This diff is collapsed.
Click to expand it.
project/src/canvas/game/released/resource/assets.js
0 → 100644
View file @
f9af7c39
This diff is collapsed.
Click to expand it.
project/src/canvas/game/released/resource/common/common.png
0 → 100644
View file @
f9af7c39
1.08 KB
project/src/canvas/game/released/resource/res.json
0 → 100644
View file @
f9af7c39
{
"groups"
:
[
{
"keys"
:
"comCloseBtn.png,toastBg.png,waitingBg.png,waitingRot.png"
,
"name"
:
"common"
,
"atlas"
:
{
"comCloseBtn.png"
:
{
"x"
:
646
,
"y"
:
60
,
"w"
:
48
,
"h"
:
48
,
"ox"
:
0
,
"oy"
:
0
,
"sw"
:
48
,
"sh"
:
48
,
"ro"
:
false
},
"toastBg.png"
:
{
"x"
:
184
,
"y"
:
2
,
"w"
:
460
,
"h"
:
130
,
"ox"
:
0
,
"oy"
:
0
,
"sw"
:
460
,
"sh"
:
130
,
"ro"
:
false
},
"waitingBg.png"
:
{
"x"
:
2
,
"y"
:
2
,
"w"
:
160
,
"h"
:
180
,
"ox"
:
0
,
"oy"
:
0
,
"sw"
:
160
,
"sh"
:
180
,
"ro"
:
true
},
"waitingRot.png"
:
{
"x"
:
646
,
"y"
:
2
,
"w"
:
56
,
"h"
:
56
,
"ox"
:
0
,
"oy"
:
0
,
"sw"
:
56
,
"sh"
:
56
,
"ro"
:
false
}
}
},
{
"keys"
:
"map_bg1.jpg"
,
"name"
:
"startScene"
}
],
"path"
:
"./resource/"
}
\ No newline at end of file
project/src/canvas/game/released/resource/startScene/map_bg1.jpg
0 → 100644
View file @
f9af7c39
75.5 KB
project/src/canvas/game/scripts/copyJs.js
View file @
f9af7c39
...
...
@@ -6,7 +6,8 @@ var fs = require("fs");
// fs.readFileSync("./output.js")
// )
// var endPath = 'D:/duibaGame/测试项目0527/taobaominiTest/client/pages/index1/';
var
endPath
=
'D:/duibaGame/淘宝项目/babycareXiaoxiaoleTBminiTry/client/pages/index/'
;
var
endPath
=
'/Users/wanghongyuan/new_taobao/project/src/pages/pagecanvas/'
;
var
version
=
Math
.
round
(
new
Date
().
getTime
()
/
1000
);
// fs.writeFileSync(endPath + "output." + version + ".js", fs.readFileSync("./released/output.js"));
fs
.
writeFileSync
(
endPath
+
"output.js"
,
fs
.
readFileSync
(
"./released/output.js"
));
...
...
project/src/canvas/game/webpack.dev.js
View file @
f9af7c39
const
merge
=
require
(
'webpack-merge'
);
console
.
log
(
'merge'
,
merge
)
const
common
=
require
(
'./webpack.common.js'
);
const
webpack
=
require
(
'webpack'
);
const
MockWebpackPlugin
=
require
(
'mock-webpack-plugin'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment