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

126 lines
2.7 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
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. <lf-time-picker v-model="timeShow">
  31. <view @click="timeShow = true">点击此处打开时间选择组件</view>
  32. </lf-time-picker>
  33. <view style="height: 100rpx;">
  34. <text class="le lf-icon-xingxing-kong"></text>
  35. </view>
  36. <lf-rate allowHalf="true" :isFill="false"></lf-rate>
  37. </view>
  38. </template>
  39. <style>
  40. page{
  41. background-color: #F6F6F6;
  42. }
  43. </style>
  44. <script>
  45. import lfUploadImage from "@/components/lf-uploadImage/lf-uploadImage.vue"
  46. import lfTimePicker from '@/components/lf-timePicker/lf-timePicker.vue'
  47. import lfRate from '@/components/lf-rate/lf-rate.vue'
  48. import drag from './drag.vue';
  49. export default {
  50. components: { lfUploadImage, drag, lfTimePicker, lfRate },
  51. data(){
  52. return {
  53. timeShow: false
  54. }
  55. },
  56. onLoad(){
  57. },
  58. methods: {
  59. }
  60. }
  61. </script>
  62. <style lang="scss" scoped="scoped">
  63. .box{
  64. height: 123px;
  65. padding: 1em;
  66. margin-top: 1em;
  67. -moz-page-break-inside: avoid;
  68. -webkit-column-break-inside: avoid;
  69. break-inside: avoid;
  70. border: 1px solid #000;
  71. background: #909090;
  72. }
  73. .spe{
  74. height: 225px;
  75. }
  76. .box-wrapper{
  77. -moz-column-count:4; /* Firefox */
  78. -webkit-column-count:4; /* Safari 和 Chrome */
  79. column-count:4;
  80. -moz-column-gap: 1em;
  81. -webkit-column-gap: 1em;
  82. column-gap: 1em;
  83. }
  84. .content{
  85. width: 750rpx;
  86. height: max-content;
  87. background-color: #FFFFFF;
  88. box-sizing: border-box;
  89. padding: 27rpx;
  90. overflow: hidden;
  91. .flex{
  92. width: 222rpx;
  93. height: 222rpx;
  94. background-color: #DD6161;
  95. margin: 5rpx;
  96. }
  97. .flex-max{
  98. width: 454rpx;
  99. height: 454rpx;
  100. }
  101. /* float
  102. .item{
  103. width: 222rpx;
  104. height: 222rpx;
  105. background-color: #DD6161;
  106. float: left;
  107. margin: 5rpx;
  108. }
  109. .max-item{
  110. width: 454rpx;
  111. height: 453rpx;
  112. }
  113. */
  114. }
  115. </style>