详情小程序
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.

117 lines
2.2 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  1. <template>
  2. <view style="padding: 30rpx 32rpx;">
  3. <!-- <view class="content"> -->
  4. <!-- float 方案 -->
  5. <!-- <view class="item" :class="{'max-item': item == 0}" v-for="item in 6">{{ item + 1 }}</view> -->
  6. <!-- flex 方案 -->
  7. <!-- <view class="lf-flex-wrap">
  8. <view class="flex"
  9. :style="{order: item + 1}"
  10. :class="{'flex-max': item == 0}"
  11. v-for="item in 6"
  12. >{{ item + 1 }}</view>
  13. </view> -->
  14. <!-- </view> -->
  15. <!-- <div class="box-wrapper">
  16. <div style="margin-top:0px" class="box"></div>
  17. <div class="box spe"></div>
  18. <div class="box spe"></div>
  19. <div class="box spe"></div>
  20. <div class="box spe"></div>
  21. <div class="box"></div>
  22. <div class="box"></div>
  23. <div class="box spe"></div>
  24. <div class="box spe"></div>
  25. </div> -->
  26. <lf-upload-image></lf-upload-image>
  27. <view style="height: 100rpx;"></view>
  28. <!-- <drag /> -->
  29. <!-- <view>111111</view> -->
  30. </view>
  31. </template>
  32. <style>
  33. page{
  34. background-color: #F6F6F6;
  35. }
  36. </style>
  37. <script>
  38. import lfUploadImage from "@/components/lf-uploadImage/lf-uploadImage.vue"
  39. import drag from './drag.vue';
  40. export default {
  41. components: { lfUploadImage, drag },
  42. data(){
  43. return {
  44. }
  45. },
  46. onLoad(){
  47. },
  48. methods: {
  49. }
  50. }
  51. </script>
  52. <style lang="scss" scoped="scoped">
  53. .box{
  54. height: 123px;
  55. padding: 1em;
  56. margin-top: 1em;
  57. -moz-page-break-inside: avoid;
  58. -webkit-column-break-inside: avoid;
  59. break-inside: avoid;
  60. border: 1px solid #000;
  61. background: #909090;
  62. }
  63. .spe{
  64. height: 225px;
  65. }
  66. .box-wrapper{
  67. -moz-column-count:4; /* Firefox */
  68. -webkit-column-count:4; /* Safari 和 Chrome */
  69. column-count:4;
  70. -moz-column-gap: 1em;
  71. -webkit-column-gap: 1em;
  72. column-gap: 1em;
  73. }
  74. .content{
  75. width: 750rpx;
  76. height: max-content;
  77. background-color: #FFFFFF;
  78. box-sizing: border-box;
  79. padding: 27rpx;
  80. overflow: hidden;
  81. .flex{
  82. width: 222rpx;
  83. height: 222rpx;
  84. background-color: #DD6161;
  85. margin: 5rpx;
  86. }
  87. .flex-max{
  88. width: 454rpx;
  89. height: 454rpx;
  90. }
  91. /* float
  92. .item{
  93. width: 222rpx;
  94. height: 222rpx;
  95. background-color: #DD6161;
  96. float: left;
  97. margin: 5rpx;
  98. }
  99. .max-item{
  100. width: 454rpx;
  101. height: 453rpx;
  102. }
  103. */
  104. }
  105. </style>