소스 검색

修改bug

huangxiaojing 2 년 전
부모
커밋
1f4790fa8f
1개의 변경된 파일22개의 추가작업 그리고 5개의 파일을 삭제
  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);