Selaa lähdekoodia

颜选美学v1.3线上优化

yuwenjun1997 2 vuotta sitten
vanhempi
commit
4131fd4566

+ 1 - 1
pages/views/goods/components/goods-coupon-list/goods-coupon-list.vue

@@ -39,7 +39,7 @@ export default {
             border-radius: 4rpx;
             border-radius: 4rpx;
             color: #ff457b;
             color: #ff457b;
             font-size: 22rpx;
             font-size: 22rpx;
-            width: 250rpx;
+            max-width: 250rpx;
             overflow: hidden;
             overflow: hidden;
             text-overflow: ellipsis;
             text-overflow: ellipsis;
             white-space: nowrap;
             white-space: nowrap;

+ 1 - 1
pages/views/goods/components/goods-coupon-section/goods-coupon-section.vue

@@ -51,7 +51,7 @@ export default {
                 border-radius: 4rpx;
                 border-radius: 4rpx;
                 color: #ff457b;
                 color: #ff457b;
                 font-size: 22rpx;
                 font-size: 22rpx;
-                width: 250rpx;
+                max-width: 250rpx;
                 overflow: hidden;
                 overflow: hidden;
                 text-overflow: ellipsis;
                 text-overflow: ellipsis;
                 white-space: nowrap;
                 white-space: nowrap;

+ 8 - 0
pages/views/goods/goods-detail.vue

@@ -465,6 +465,14 @@ export default {
 }
 }
 </script>
 </script>
 
 
+<style lang="scss">
+.section.detail {
+    image {
+        display: block;
+    }
+}
+</style>
+
 <style lang="scss" scoped>
 <style lang="scss" scoped>
 .product-detail {
 .product-detail {
     min-height: 100vh;
     min-height: 100vh;