Commit d49c02e8 by hank

页面圈红

parent 93e08908
...@@ -2,8 +2,7 @@ module.exports = { ...@@ -2,8 +2,7 @@ module.exports = {
env: { env: {
NODE_ENV: '"production"' NODE_ENV: '"production"'
}, },
defineConstants: { defineConstants: {},
},
weapp: {}, weapp: {},
h5: { h5: {
/** /**
......
...@@ -208,7 +208,7 @@ class FilmDetail extends Component { ...@@ -208,7 +208,7 @@ class FilmDetail extends Component {
return ( return (
<View <View
key={index + item.name} key={index + item.name}
className="page-item" className={index === pageIndex ? 'page-item page-item-active' : 'page-item'}
onClick={() => { onClick={() => {
this.changePage(index) this.changePage(index)
}} }}
......
...@@ -19,10 +19,17 @@ ...@@ -19,10 +19,17 @@
.page-container { .page-container {
display: flex; display: flex;
padding: 20px 20px 0 20px; padding: 20px 20px 50px 20px;
.page-item { .page-item {
margin-right: 30px; margin-right: 30px;
box-sizing: border-box;
}
.page-item-active {
image {
border: 1px solid red;
}
} }
.page-thumb { .page-thumb {
......
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 sign in to comment