Skip to content

Commit

Permalink
添加图片素材
Browse files Browse the repository at this point in the history
  • Loading branch information
wusuopu committed Mar 20, 2021
1 parent e4e9d28 commit 6bafdf9
Show file tree
Hide file tree
Showing 39 changed files with 15 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@


目前经过测试可支持《死亡阴影》的普通版本和HD版本的修改。

![](screenshots/image01.jpg)
Binary file added screenshots/image01.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions static/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ ul.header .tab.active {
}
.resource-item {
flex: 25%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}

.hero-info .info-list {
Expand All @@ -48,6 +52,7 @@ ul.header .tab.active {
}
.hero-info .info-list .info-item {
width: 25%;
display: flex;
}
.col-8 {
width: 12% !important;
Expand Down
Binary file added static/image/resources/0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/resources/1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/resources/2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/resources/3.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/resources/4.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/resources/5.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/resources/6.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/0.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/1.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/10.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/11.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/12.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/13.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/14.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/15.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/16.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/17.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/18.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/19.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/20.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/21.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/22.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/23.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/image/skills/24.gif
Binary file added static/image/skills/25.gif
Binary file added static/image/skills/26.gif
Binary file added static/image/skills/27.gif
Binary file added static/image/skills/3.gif
Binary file added static/image/skills/4.gif
Binary file added static/image/skills/5.gif
Binary file added static/image/skills/6.gif
Binary file added static/image/skills/7.gif
Binary file added static/image/skills/8.gif
Binary file added static/image/skills/9.gif
13 changes: 8 additions & 5 deletions static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -487,21 +487,24 @@ class ResourceTab extends React.Component {
const resoueces = (this.state.resources[this.state.player] || {}).data || []
const eles = _.map(RESOURCE_NAMES, (name, index) => {
return (
<span className="resource-item" key={index}>
<div className="resource-item" key={index}>
<label>{name}</label>
<img src={`/static/image/resources/${index}.gif`} className="icon" />
<input
value={resoueces[index]}
onChange={(ev) => this.handleValueChange(ev.target.value, index)}
type="number"
max={0x7fffffff}
/>
</span>
</div>
)
})
return (
<div className="resource-list">
{eles}
<button className="resource-item" onClick={this.handleModify}>修改资源</button>
<div className="resource-item">
<button onClick={this.handleModify}>修改资源</button>
</div>
</div>
)
}
Expand Down Expand Up @@ -646,8 +649,8 @@ class HeroTab extends React.Component {

const eles = _.map(skillFields, (field, index) => {
return (
<li className="info-item" key={index}>
<label>{field}</label>
<li className="info-item col-7" key={index}>
<img src={`/static/image/skills/${index}.gif`} />
<select value={info[field]} onChange={(ev) => {
let value = Number(ev.nativeEvent.target.value)
let values = [value]
Expand Down

0 comments on commit 6bafdf9

Please sign in to comment.