diff --git a/.postcssrc.js b/.postcssrc.js index ae3cdf5..43d1ea8 100644 --- a/.postcssrc.js +++ b/.postcssrc.js @@ -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 // 是否处理横屏情况 + // }, - } - }; + // } + // }; diff --git a/src/components/market/CardList.vue b/src/components/market/CardList.vue index 3fac41c..1ca75b4 100644 --- a/src/components/market/CardList.vue +++ b/src/components/market/CardList.vue @@ -71,11 +71,13 @@ export default class CardList extends Vue { -webkit-column-gap: 1.875em; column-gap: 1.875em; row-gap: 1.125em; + // column-gap: 2.875em; + // row-gap: 4.125em; } .card-list .grid .item { - height: 23.375rem; - width: 16em; + // height: 23.375rem; + // width: 16em; } .spinner { diff --git a/src/components/market/ChipBuyDialog.vue b/src/components/market/ChipBuyDialog.vue index bd2618d..388e087 100644 --- a/src/components/market/ChipBuyDialog.vue +++ b/src/components/market/ChipBuyDialog.vue @@ -122,12 +122,10 @@ export default { closeTip() { // 分发自定义事件(事件名: closeTip) this.$emit("handBuyHide", false); - // console.log("closeTip"); }, init(data) { this.piece = data; - console.log(data, "dfgdg0900,2020-19"); - console.log(this.piece, "this.piece.detail.balance12qrqwerqwer"); + }, }, }; diff --git a/src/components/market/Dundialog.vue b/src/components/market/Dundialog.vue index 0ac9720..05845cb 100644 --- a/src/components/market/Dundialog.vue +++ b/src/components/market/Dundialog.vue @@ -23,7 +23,7 @@