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/Dundialog.vue b/src/components/market/Dundialog.vue index 4b1ff72..850d997 100644 --- a/src/components/market/Dundialog.vue +++ b/src/components/market/Dundialog.vue @@ -23,7 +23,8 @@
- {{ data.c_name ? data.c_name : data.detail.gun_name }}Name + {{ data.c_name ? data.c_name : data.detail.gun_name + }}Name
- -
-
Sell
- +
+
+
+
Sell
+
@@ -509,7 +511,7 @@ export default { margin-bottom: 13px; } .hero-item-def { - margin-bottom: 13px; + margin-bottom: 13px; } .hero-item-cri { margin-bottom: 13px; @@ -518,13 +520,13 @@ export default { margin-bottom: 13px; } .hero-item-dodge { - margin-bottom: 13px; + margin-bottom: 13px; } .hero-item-reduces { - margin-bottom: 13px; + margin-bottom: 13px; } .hero-item-speed { - margin-bottom: 13px; + margin-bottom: 13px; } .hp-bottom { width: 435px; @@ -588,19 +590,19 @@ export default { height: 100px; margin-right: 30px; } - .for-rent-btn { + .for-rent-btn { display: flex; .adjust { width: 384px; height: 89px; - cursor: pointer; + cursor: pointer; background: url("../../assets/market/hero/adjust.png") no-repeat; background-size: 100% 100%; } .remove { width: 384px; height: 89px; - cursor: pointer; + cursor: pointer; margin-left: 14px; background: url("../../assets/market/hero/remove.png") no-repeat; background-size: 100% 100%; diff --git a/src/components/market/Herodialog.vue b/src/components/market/Herodialog.vue index a4b7330..556e45e 100644 --- a/src/components/market/Herodialog.vue +++ b/src/components/market/Herodialog.vue @@ -53,7 +53,10 @@
#{{ hero.detail.token_id }}
-
{{hero.c_name ? hero.c_name : hero.detail.hero_name}}Name
+
+ {{ hero.c_name ? hero.c_name : hero.detail.hero_name + }}Name +
- -
-
Sell
+
+
+
+
Sell
+
@@ -630,14 +635,14 @@ export default { .adjust { width: 384px; height: 89px; - cursor: pointer; + cursor: pointer; background: url("../../assets/market/hero/adjust.png") no-repeat; background-size: 100% 100%; } .remove { width: 384px; height: 89px; - cursor: pointer; + cursor: pointer; margin-left: 14px; background: url("../../assets/market/hero/remove.png") no-repeat; background-size: 100% 100%; @@ -652,7 +657,7 @@ export default { .hero-tab { width: 306px; height: 80px; - cursor: pointer; + cursor: pointer; font-size: 63px; font-family: "SairaStencilOne"; font-weight: 400; diff --git a/src/components/market/Piecedialog.vue b/src/components/market/Piecedialog.vue index 8778504..f258901 100644 --- a/src/components/market/Piecedialog.vue +++ b/src/components/market/Piecedialog.vue @@ -73,12 +73,14 @@
- -
-
Sell
+
+
+
+
Sell
+
diff --git a/src/components/market/nft/Chip.vue b/src/components/market/nft/Chip.vue index 95b5d3b..91aeb27 100644 --- a/src/components/market/nft/Chip.vue +++ b/src/components/market/nft/Chip.vue @@ -1,12 +1,12 @@