Commit 2061f995 authored by wildfirecode13's avatar wildfirecode13

1

parent 74ca9107
No preview for this file type
This source diff could not be displayed because it is too large. You can view the blob instead.
No preview for this file type
No preview for this file type
...@@ -9,11 +9,15 @@ class Detail2 extends Component { ...@@ -9,11 +9,15 @@ class Detail2 extends Component {
constructor(props) { constructor(props) {
super(props); super(props);
this.state = { this.state = {
resList: resList, resList: resList
}; };
} }
render() { render() {
const arr = [];
for(let i=0; i < 20;i++) {
arr.push(i)
}
return ( return (
<div className="detail2 " uuid="c5abc304-1a0b-4804-956a-d61c1d5b75ed"> <div className="detail2 " uuid="c5abc304-1a0b-4804-956a-d61c1d5b75ed">
<div className="detail2_wrapper" uuid="583667d9-e382-49d8-bfc9-50b6d800c794"> <div className="detail2_wrapper" uuid="583667d9-e382-49d8-bfc9-50b6d800c794">
...@@ -24,8 +28,7 @@ class Detail2 extends Component { ...@@ -24,8 +28,7 @@ class Detail2 extends Component {
/> />
<div className="detail2_item_list" uuid="3804f60d-697f-4d68-98b5-ca8cf2e2d3ba"> <div className="detail2_item_list" uuid="3804f60d-697f-4d68-98b5-ca8cf2e2d3ba">
{ {
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map((i) => { arr.map((i) => (
return (
<div className="detail2_item " uuid="4d8289ea-9464-4a92-a81c-3e24c364e707"> <div className="detail2_item " uuid="4d8289ea-9464-4a92-a81c-3e24c364e707">
<span className="detail2_item_title " uuid="48b63d65-a3d8-4b94-b979-3fcb19c9d89c"> <span className="detail2_item_title " uuid="48b63d65-a3d8-4b94-b979-3fcb19c9d89c">
每日签到{i} 每日签到{i}
...@@ -42,10 +45,9 @@ class Detail2 extends Component { ...@@ -42,10 +45,9 @@ class Detail2 extends Component {
src={this.state.resList['eed0f2f8-74ef-4680-a29c-d5db6818738f'].url} src={this.state.resList['eed0f2f8-74ef-4680-a29c-d5db6818738f'].url}
/> />
</div> </div>
)
})
}
))
}
</div> </div>
</div> </div>
</div> </div>
......
...@@ -9,23 +9,30 @@ ...@@ -9,23 +9,30 @@
.detail2_wrapper { .detail2_wrapper {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow: auto; overflow: hidden;
display: flex;
flex-direction: row;
background-color: transparent;
.detail2_bg { .detail2_bg {
width: 750px; width: 750px;
height: 1624px; height: 1624px;
position: absolute; position: absolute;
left: -2px; left: 0px;
top: 0px; top: 0px;
z-index: -1;
transform-origin: 0 0 0; transform-origin: 0 0 0;
} }
.detail2_item_list { .detail2_item_list {
background-color: red;
width: 100%; width: 100%;
height: auto; // height: 100%;
padding-top: 214px; flex: 1;
.detail2_item { margin-top: 214px;
display: flex; display: flex;
justify-content: center; flex-flow: row wrap;
align-items: center; align-content: flex-start;
overflow-y: scroll;
.detail2_item {
margin-left:63px; margin-left:63px;
position: relative; position: relative;
box-sizing: border-box; box-sizing: border-box;
......
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