Skip to content

Commit

Permalink
postcss-px2rem bug 修复
Browse files Browse the repository at this point in the history
  • Loading branch information
18166454052 committed Jul 28, 2019
1 parent ebe165a commit b7602fe
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .postcssrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
rootValue: 75,
unitPrecision: 5, // 最小精度,小数点位数
propList: ['*'], // !不匹配属性(这里是字体相关属性不转换)
selectorBlackList: ['.mu-'],
selectorBlackList: [],// 过滤
minPixelValue:2 // 替换的最小像素值
}
}
Expand Down
2 changes: 1 addition & 1 deletion config/dev.env.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
ENV_CONFIG: '"dev"',
BASE_API: '"http://127.0.0.1:7002/"',
BASE_API: '"http://127.0.0.1:7001/"',
publicPath: 'http://127.0.0.1:80/',
})
12 changes: 6 additions & 6 deletions src/assets/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ img[lazy=loading] {
*/
.loadMore{
margin-bottom:30px;
margin-bottom:40px;
background:rgb(243, 241, 241);
}
/**
Expand All @@ -212,9 +212,9 @@ tabs
max-width:1550px;
}
.tabs .mu-tab-wrapper{
min-height:25px;
font-size:15px;
line-height:25px;
min-height:40px;
font-size:28px;
line-height:40px;
}
/* @media (max-width:1024px) {
.tabs .mu-tab-wrapper{
Expand Down Expand Up @@ -348,14 +348,14 @@ tv-list
padding: 0 16px;
line-height: 30px;
font-family:PingFangSC-Regular;
font-size: 32px;
font-size: 28px;
color:#333 !important;
}
.category-list .current{
color: #ff5c38;
font-weight: 700;
}
.category-list .title{
font-size:24px;
font-size:28px;
margin:15px 0;
}
2 changes: 1 addition & 1 deletion src/component/searchBtn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export default {
.btn{
height:72px;
background:#fff;
font-size:24px;
font-size:28px;
line-height: 72px;
color:#999;
}
Expand Down

0 comments on commit b7602fe

Please sign in to comment.