details.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <template>
  2. <view class="safeArea">
  3. <view class="detailsWrap">
  4. <view class="detailsItem" v-for="(item,index) in 3" :key="index">
  5. <view class="head">
  6. <view class="tap">录播</view>
  7. <view class="title">这是一个节标这是一个节标题这是一个节标题这是一个节标题这是一个节标题题</view>
  8. </view>
  9. <u-line color="#EEEEEE" />
  10. <view class="info">
  11. <view class="item" v-for="item in 7">
  12. <view class="imgbox"><image src="@/static/wd_bg.png" style="width:100%" mode="heightFix"></image></view>
  13. <view class="time">2021/10/25 14:25:20</view>
  14. </view>
  15. </view>
  16. <u-line color="#EEEEEE" />
  17. <view class="reason">
  18. <view class="label">原因:</view>
  19. <view class="val">拍照异常/时间异常</view>
  20. </view>
  21. </view>
  22. </view>
  23. <view class="btn">确认重学</view>
  24. </view>
  25. </template>
  26. <script>
  27. import { mapGetters } from 'vuex';
  28. export default {
  29. components: {
  30. },
  31. data() {
  32. return {
  33. };
  34. },
  35. onShow() {
  36. },
  37. methods: {
  38. },
  39. onReachBottom() {},
  40. computed: { ...mapGetters(['userInfo']) }
  41. };
  42. </script>
  43. <style >
  44. page {
  45. background: #EAEEF1;
  46. }
  47. </style>
  48. <style scoped lang="scss">
  49. .detailsWrap{
  50. padding:8rpx 8rpx 140rpx;
  51. }
  52. .detailsItem{
  53. background: #FFFFFF;
  54. border-radius: 16rpx;
  55. margin-bottom: 16rpx;
  56. .head{
  57. padding: 26rpx 24rpx;
  58. display: flex;
  59. font-size: 30rpx;
  60. font-family: PingFang SC;
  61. font-weight: bold;
  62. color: #666666;
  63. .tap{
  64. width: 56rpx;
  65. height: 28rpx;
  66. line-height: 26rpx;
  67. text-align: center;
  68. border: 2rpx solid #666666;
  69. border-radius: 8rpx;
  70. font-size: 20rpx;
  71. font-family: PingFang SC;
  72. font-weight: 400;
  73. color: #666666;
  74. margin-right: 8rpx;
  75. flex-shrink: 0;
  76. position: relative;
  77. top: 6rpx;
  78. }
  79. }
  80. .info{
  81. padding: 17rpx 24rpx;
  82. display: flex;
  83. flex-wrap: wrap;
  84. .item{
  85. width: 160rpx;
  86. font-size: 20rpx;
  87. font-family: PingFang SC;
  88. font-weight: 500;
  89. color: #666666;
  90. margin: 0 8rpx 16rpx 0;
  91. .imgbox{
  92. width:160rpx;
  93. height: 160rpx;
  94. border-radius: 8px;
  95. overflow: hidden;
  96. margin-bottom: 7rpx;
  97. }
  98. }
  99. }
  100. .reason{
  101. display: flex;
  102. padding: 21rpx 24rpx;
  103. font-size: 30rpx;
  104. font-family: PingFang SC;
  105. font-weight: 500;
  106. color: #333333;
  107. .label{
  108. color: #666666;
  109. }
  110. }
  111. }
  112. .btn{
  113. width: 526rpx;
  114. height: 80rpx;
  115. background: #007AFF;
  116. border-radius: 40rpx;
  117. font-size: 30rpx;
  118. font-family: PingFang SC;
  119. font-weight: bold;
  120. color: #FFFFFF;
  121. display: flex;
  122. justify-content: center;
  123. align-items: center;
  124. position: fixed;
  125. left: 50%;
  126. margin-left: -263rpx;
  127. bottom: 50rpx;
  128. }
  129. </style>