Commit d49c02e8 by hank

页面圈红

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