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: {
/** /**
......
{ {
"miniprogramRoot": "dist/", "miniprogramRoot": "dist/",
"projectname": "taroDemo", "projectname": "taroDemo",
"description": "", "description": "",
"appid": "wxc3dfc37466838046", "appid": "wxc3dfc37466838046",
"setting": { "setting": {
"urlCheck": false, "urlCheck": false,
"es6": false, "es6": false,
"postcss": false, "postcss": false,
"minified": false, "minified": false,
"newFeature": true, "newFeature": true,
"autoAudits": false, "autoAudits": false,
"checkInvalidKey": true, "checkInvalidKey": true,
"coverView": true, "coverView": true,
"checkSiteMap": true, "checkSiteMap": true,
"uploadWithSourceMap": true, "uploadWithSourceMap": true,
"babelSetting": { "babelSetting": {
"ignore": [], "ignore": [],
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
} }
}, },
"compileType": "miniprogram", "compileType": "miniprogram",
"simulatorType": "wechat", "simulatorType": "wechat",
"simulatorPluginLibVersion": {}, "simulatorPluginLibVersion": {},
"condition": {} "condition": {}
} }
\ No newline at end of file
...@@ -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