fix
This commit is contained in:
parent
9f5fc678cd
commit
e81c84deeb
@ -1,22 +1,22 @@
|
||||
|
||||
// module.exports = {
|
||||
// plugins: {
|
||||
// autoprefixer: {}, // 用来给不同的浏览器自动添加相应前缀,如-webkit-,-moz-等等
|
||||
// "postcss-px-to-viewport": {
|
||||
// unitToConvert: "px", // 要转化的单位
|
||||
// viewportWidth: 1080, // UI设计稿的宽度
|
||||
// unitPrecision: 6, // 转换后的精度,即小数点位数
|
||||
// propList: ["*"], // 指定转换的css属性的单位,*代表全部css属性的单位都进行转换
|
||||
// viewportUnit: "vw", // 指定需要转换成的视窗单位,默认vw
|
||||
// fontViewportUnit: "vw", // 指定字体需要转换成的视窗单位,默认vw
|
||||
// selectorBlackList: ["wrap"], // 指定不转换为视窗单位的类名,
|
||||
// minPixelValue: 1, // 默认值1,小于或等于1px则不进行转换
|
||||
// mediaQuery: true, // 是否在媒体查询的css代码中也进行转换,默认false
|
||||
// replace: true, // 是否转换后直接更换属性值
|
||||
// exclude: [/\/src\/views\/desktop\//], // 设置忽略文件,用正则做目录名匹配
|
||||
// landscape: false // 是否处理横屏情况
|
||||
// },
|
||||
module.exports = {
|
||||
plugins: {
|
||||
autoprefixer: {}, // 用来给不同的浏览器自动添加相应前缀,如-webkit-,-moz-等等
|
||||
"postcss-px-to-viewport": {
|
||||
unitToConvert: "px", // 要转化的单位
|
||||
viewportWidth: 1080, // UI设计稿的宽度
|
||||
unitPrecision: 6, // 转换后的精度,即小数点位数
|
||||
propList: ["*"], // 指定转换的css属性的单位,*代表全部css属性的单位都进行转换
|
||||
viewportUnit: "vw", // 指定需要转换成的视窗单位,默认vw
|
||||
fontViewportUnit: "vw", // 指定字体需要转换成的视窗单位,默认vw
|
||||
selectorBlackList: ["wrap"], // 指定不转换为视窗单位的类名,
|
||||
minPixelValue: 1, // 默认值1,小于或等于1px则不进行转换
|
||||
mediaQuery: true, // 是否在媒体查询的css代码中也进行转换,默认false
|
||||
replace: true, // 是否转换后直接更换属性值
|
||||
exclude: [/\/src\/views\/desktop\//], // 设置忽略文件,用正则做目录名匹配
|
||||
landscape: false // 是否处理横屏情况
|
||||
},
|
||||
|
||||
// }
|
||||
// };
|
||||
}
|
||||
};
|
||||
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 125 KiB |
Binary file not shown.
Before Width: | Height: | Size: 289 KiB After Width: | Height: | Size: 125 KiB |
Binary file not shown.
Before Width: | Height: | Size: 348 KiB After Width: | Height: | Size: 229 KiB |
@ -98,7 +98,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import HeroModal from "./HeroModal.vue";
|
||||
import HeroModal from "../market/HeroModal.vue";
|
||||
export default {
|
||||
components: {
|
||||
HeroModal,
|
||||
|
@ -74,7 +74,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import WeaponModal from "./WeaponModal.vue";
|
||||
import WeaponModal from "../market/WeaponModal.vue";
|
||||
export default {
|
||||
components:{
|
||||
WeaponModal
|
||||
|
@ -63,8 +63,8 @@ import MobileFooter from "../../components/mobile/main/MobileFooter.vue";
|
||||
import HeroList from "../../components/mobile/main/HeroList.vue";
|
||||
import WeaponList from "../../components/mobile/main/WeaponList";
|
||||
import ChipList from "../../components/mobile/main/ChipList";
|
||||
import Herofilter from "../../components/mobile/main/Herofilter.vue";
|
||||
import MySlider from "@/components/mobile/main/Slider.vue";
|
||||
import Herofilter from "../../components/mobile/market/Herofilter.vue";
|
||||
import MySlider from "@/components/mobile/market/Slider.vue";
|
||||
export default {
|
||||
components: {
|
||||
mobileHeader,
|
||||
|
Loading…
x
Reference in New Issue
Block a user