huangxiaojing hace 2 años
padre
commit
1f4790fa8f
Se han modificado 1 ficheros con 22 adiciones y 5 borrados
  1. 22 5
      pages/activity/lottery/pc.vue

+ 22 - 5
pages/activity/lottery/pc.vue

@@ -542,9 +542,26 @@ export default {
 };
 </script>
 
-<style>
-.lottery-container .van-grid-item__content {
-  padding: 0 !important;
+<style lang="scss">
+@media (min-width: 0px) {
+  .lottery-container {
+    & .van-grid-item__content {
+      padding: 0 !important;
+    }
+    & .van-icon__image {
+      width: 30px;
+      height: 30px;
+    }
+    & .van-grid-item__text {
+      color: #333;
+      font-size: 11px;
+      line-height: 1.5;
+      word-break: break-all;
+    }
+    & .van-grid-item__icon+.van-grid-item__text {
+      margin-top: 8px;
+    }
+  }
 }
 </style>
 <style lang="scss" scoped>
@@ -600,7 +617,7 @@ export default {
     font-size: 30px;
     position: absolute;
     top: 18.5px;
-    right: 26px;
+    right: 0px;
   }
   .close1 {
     font-size: 30px;
@@ -716,7 +733,7 @@ export default {
     margin: 0 auto;
   }
   .lottery-swipe {
-    max-width: 400px;
+    width: 100%;
     margin: 0 auto;
     height: 25px;
     background: rgba($color: #000000, $alpha: 0.24);