Commit d49c02e8 by hank

页面圈红

parent 93e08908
......@@ -2,8 +2,7 @@ module.exports = {
env: {
NODE_ENV: '"production"'
},
defineConstants: {
},
defineConstants: {},
weapp: {},
h5: {
/**
......
{
"miniprogramRoot": "dist/",
"projectname": "taroDemo",
"description": "",
"appid": "wxc3dfc37466838046",
"setting": {
"urlCheck": false,
"es6": false,
"postcss": false,
"minified": false,
"newFeature": true,
"autoAudits": false,
"checkInvalidKey": true,
"coverView": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
},
"compileType": "miniprogram",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {}
}
\ No newline at end of file
"miniprogramRoot": "dist/",
"projectname": "taroDemo",
"description": "",
"appid": "wxc3dfc37466838046",
"setting": {
"urlCheck": false,
"es6": false,
"postcss": false,
"minified": false,
"newFeature": true,
"autoAudits": false,
"checkInvalidKey": true,
"coverView": true,
"checkSiteMap": true,
"uploadWithSourceMap": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
}
},
"compileType": "miniprogram",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {}
}
......@@ -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