详情小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
672 B

5 years ago
  1. <template>
  2. <view class="content">
  3. <view class="item" :class="{'max-item': item == 0}" v-for="item in 6"></view>
  4. </view>
  5. </template>
  6. <style>
  7. page{
  8. background-color: #F6F6F6;
  9. }
  10. </style>
  11. <script>
  12. export default {
  13. data(){
  14. return {
  15. }
  16. },
  17. onLoad(){
  18. },
  19. methods: {
  20. }
  21. }
  22. </script>
  23. <style lang="scss" scoped="scoped">
  24. .content{
  25. width: 750rpx;
  26. height: max-content;
  27. background-color: #FFFFFF;
  28. box-sizing: border-box;
  29. padding: 27rpx;
  30. overflow: hidden;
  31. .item{
  32. width: 222rpx;
  33. height: 222rpx;
  34. background-color: #DD6161;
  35. float: left;
  36. margin: 5rpx;
  37. }
  38. .max-item{
  39. width: 454rpx;
  40. height: 454rpx;
  41. }
  42. }
  43. </style>