No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 

237 líneas
4.7 KiB

  1. <template>
  2. <view class="pages">
  3. <!-- 导航栏 -->
  4. <view class="nav-header">
  5. <u-navbar title="数智工牌日报" titles="05.02"></u-navbar>
  6. </view>
  7. <!-- 日报内容部分 -->
  8. <view class="container">
  9. <!-- 头部日报卡 -->
  10. <view class="c-head-card">
  11. <view class="c-title-text">
  12. 桃源避暑山庄新型项目数智工牌日报
  13. <text class="date">01月27日</text>
  14. </view>
  15. <view class="creative-time">
  16. 生成时间:2022-01-27 22:00
  17. </view>
  18. </view>
  19. <!-- 循环渲染的数据 -->
  20. <view class="dateList">
  21. <!-- -->
  22. <view class="arrs">
  23. <block v-for="(data, index) in 11" :key="index">
  24. <view class="arrs-items">
  25. <view class="left">
  26. {{ index+1 }}
  27. </view>
  28. <view class="right">
  29. <view class="r-title">
  30. <text>接待量:</text>
  31. <text class="num">879次</text>
  32. </view>
  33. <view class="r-box">
  34. <view class="r-box-item">
  35. <text>接待量</text><text>100</text>
  36. </view>
  37. <view class="r-box-item">
  38. <text>有效接待</text><text>100</text>
  39. </view>
  40. <view class="r-box-item-lang">
  41. <view>有效接待率<text>80%</text></view>
  42. <view class="contrast">对比昨天<text class="down">-5%</text></view>
  43. </view>
  44. </view>
  45. <view class="ranking">
  46. <block v-for="(rank, rankIndex) in 3" :key="rankIndex">
  47. <view class="ranking-item">
  48. <view class="serial">
  49. {{ rankIndex+1 }}
  50. </view>
  51. <view class="lside">
  52. 产品设计
  53. </view>
  54. <view class="rside">
  55. (100%)
  56. </view>
  57. </view>
  58. </block>
  59. </view>
  60. </view>
  61. </view>
  62. </block>
  63. </view>
  64. </view>
  65. </view>
  66. </view>
  67. </template>
  68. <script>
  69. </script>
  70. <style lang="scss" scoped>
  71. .pages {
  72. width: 100vw;
  73. min-height: 100vh;
  74. display: flex;
  75. flex-direction: column;
  76. .nav-header {
  77. flex-shrink: 0;
  78. }
  79. .container {
  80. padding: 30rpx 30rpx 0;
  81. flex-grow: 1;
  82. display: flex;
  83. flex-direction: column;
  84. .c-head-card {
  85. padding: 30rpx;
  86. width: 100%;
  87. height: 252rpx;
  88. border: 2rpx solid #000000;
  89. border-radius: 12rpx;
  90. box-shadow: 10rpx 10rpx #2671E2;
  91. display: flex;
  92. flex-direction: column;
  93. .c-title-text {
  94. position: relative;
  95. flex-grow: 1;
  96. font-size: 48rpx;
  97. color: #303030;
  98. .date {
  99. position: absolute;
  100. right: 0;
  101. bottom: 6rpx;
  102. font-size: 30rpx;
  103. color: #303030;
  104. }
  105. }
  106. .creative-time {
  107. margin: 20rpx 0 0 0;
  108. flex-shrink: 0;
  109. }
  110. }
  111. .dateList {
  112. width: 100%;
  113. .arrs {
  114. width: 100%;
  115. .arrs-items {
  116. margin: 40rpx 0 0 0;
  117. display: flex;
  118. .left {
  119. flex-shrink: 0;
  120. margin-right: 12rpx;
  121. width: 48rpx;
  122. height: 44rpx;
  123. display: flex;
  124. justify-content: center;
  125. border-radius: 8rpx;
  126. border: 1rpx solid #999999;
  127. font-size: 32rpx;
  128. }
  129. .right {
  130. flex-grow: 1;
  131. .r-title {
  132. font-size: 32rpx;
  133. height: 44rpx;
  134. display: flex;
  135. align-items: center;
  136. .num {
  137. font-size: 34rpx;
  138. }
  139. }
  140. .r-box {
  141. padding: 21rpx 0 0 0;
  142. display: flex;
  143. flex-wrap: wrap;
  144. .r-box-item {
  145. margin-right: 24rpx;
  146. }
  147. .r-box-item-lang {
  148. margin-top: 19rpx;
  149. width: 100%;
  150. display: flex;
  151. align-items: center;
  152. .contrast {
  153. margin: 0 0 0 24rpx;
  154. display: flex;
  155. align-items: center;
  156. }
  157. .down {
  158. color: #43CD80;
  159. font-size: 34rpx;
  160. }
  161. .up {
  162. font-size: 34rpx;
  163. color: #E7483C;
  164. }
  165. }
  166. }
  167. .ranking {
  168. padding: 21rpx 0 0 0;
  169. display: flex;
  170. flex-direction: column;
  171. .ranking-item {
  172. margin-bottom: 22rpx;
  173. display: flex;
  174. align-items: center;
  175. font-size: 30rpx;
  176. .serial {
  177. flex-shrink: 0;
  178. width: 42rpx;
  179. height: 42rpx;
  180. background: #2671E2;
  181. border-radius: 50%;
  182. display: flex;
  183. justify-content: center;
  184. align-items: center;
  185. color: #fff;
  186. }
  187. .lside {
  188. margin: 0 20rpx;
  189. color: #505050;
  190. }
  191. .rside {
  192. flex-shrink: 0;
  193. font-size: 32rpx;
  194. }
  195. }
  196. }
  197. }
  198. }
  199. }
  200. }
  201. }
  202. }
  203. </style>