帧视界壹通告,付费看视频的微信小程序
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.

118 lines
2.3 KiB

11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
  1. <template>
  2. <view class="promotionRecordList">
  3. <view class="item" v-for="(item, index) in list"
  4. @click="$utils.navigateTo('/publish/postDetail?id=123')"
  5. :key="index">
  6. <image src="/static/image/center/1.png" style="width: 40%"></image>
  7. <view class="text">
  8. <view>
  9. <view class="title">
  10. {{ item.title }}
  11. </view>
  12. <view class="createBy">
  13. <view class="">
  14. 推广时效{{ item.createBy }}
  15. </view>
  16. </view>
  17. </view>
  18. <view>
  19. <view class="isPay">
  20. <view class="">
  21. 价格{{ item.isPay }}
  22. </view>
  23. </view>
  24. <view class="createTime">
  25. 推广时间{{ item.createTime }}
  26. </view>
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. </template>
  32. <script>
  33. export default {
  34. name: "promotionRecordList",
  35. props: ['list'],
  36. data() {
  37. return {};
  38. }
  39. }
  40. </script>
  41. <style lang="scss" scoped>
  42. .promotionRecordList {
  43. width: 90%;
  44. .item {
  45. height: 220rpx;
  46. width: 100%;
  47. background-color: #fff;
  48. overflow: hidden;
  49. border-radius: 10rpx;
  50. color: #777;
  51. display: flex;
  52. font-size: 24rpx;
  53. margin: 30rpx 0;
  54. /* 为第一个.item设置不同的上边距 */
  55. &.first-item {
  56. margin-top: 0; /* 可以根据需要调整数值 */
  57. }
  58. image {
  59. width: 50%;
  60. height: 100%;
  61. }
  62. .text {
  63. display: flex;
  64. flex-direction: column;
  65. justify-content: space-around;
  66. padding: 10rpx 0 10rpx 16rpx;
  67. width: 52%;
  68. .title {
  69. font-size: 30rpx;
  70. font-weight: 600;
  71. color: #000;
  72. }
  73. .createBy {
  74. display: flex;
  75. justify-content: space-between;
  76. & > view {
  77. display: flex;
  78. align-items: center;
  79. justify-content: center;
  80. }
  81. }
  82. .isPay {
  83. display: flex;
  84. color: #7395f4;
  85. justify-content: space-between;
  86. & > view {
  87. display: flex;
  88. align-items: center;
  89. justify-content: center;
  90. }
  91. }
  92. .createTime {
  93. display: flex;
  94. justify-content: space-between;
  95. & > view {
  96. display: flex;
  97. align-items: center;
  98. justify-content: center;
  99. }
  100. }
  101. }
  102. }
  103. }
  104. </style>