07 2021 档案
摘要:来自:https://www.cnblogs.com/taohuaya/p/10274993.html#%E5%A6%82%E4%BD%95%E5%9C%A8vue-cli3.0%E4%B8%AD%E4%BD%BF%E7%94%A8postcss-plugin-px2rem%C2%A0%E6%8F%
阅读全文
摘要:来自 https://www.jb51.net/article/174637.htm 侵删 1.cnpm install postcss-pxtorem -D安装postcss-pxtorem,此插件如果你用的是webpack的话只要进行安装即可,不需要另外进行配置,此插件是对px进行转换。 2.新
阅读全文
摘要:let current = this.$router.history.current; this.activeIndex = current.path; if (current.meta.parent) { this.activeIndex = current.meta.parent; }
阅读全文
摘要:<el-carousel trigger="click" class="gwbox-carouselBox left-sub2-carouselBox" :autoplay="false" > <el-carousel-item class="gwbox-carouselBox-child" v-f
阅读全文
摘要:方式一<template> <div v-for="(item,index) in menus :key="index> <img :src="require(`../../assets/images/${item.icon}`)" /> <span>{{item.name}}</span> </d
阅读全文
摘要:mapJson: [ { featureType: "land", elementType: "geometry.fill", stylers: { color: "#08304B", }, }, { featureType: "land", elementType: "geometry.strok
阅读全文