home.vue 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. <template>
  2. <view class="container">
  3. 平台运维
  4. </view>
  5. </template>
  6. <script setup>
  7. import {
  8. onMounted,
  9. } from "vue";
  10. import {
  11. onShow,
  12. onLoad
  13. } from '@dcloudio/uni-app'
  14. onMounted(() => {
  15. console.log('平台运维')
  16. })
  17. </script>
  18. <style lang="scss" scoped>
  19. @keyframes rotate {
  20. from {
  21. transform: rotate(0deg);
  22. }
  23. to {
  24. transform: rotate(359deg);
  25. }
  26. }
  27. .u-notice-bar {
  28. padding: 9px 12rpx !important;
  29. }
  30. .container {
  31. padding-bottom: 88rpx;
  32. position: relative;
  33. .nav-style {
  34. font-size: 32rpx;
  35. font-weight: bold;
  36. color: #fff;
  37. }
  38. // 统计信息
  39. .total {
  40. width: 724rpx;
  41. margin-left: 14rpx;
  42. overflow: hidden;
  43. border-radius: 14rpx;
  44. background-color: #fff;
  45. margin-top: 10rpx;
  46. .total-sale {
  47. width: 724rpx;
  48. height: 205rpx;
  49. background: url('https://cdn.ossfile.mxrvending.com/assets/xy_merc_mini/images/home/home-bg.png') no-repeat left top;
  50. background-size: 100% 100%;
  51. position: relative;
  52. .sale-item {
  53. margin-top: 46rpx;
  54. padding-left: 30rpx;
  55. .sale-name {
  56. font-size: 26rpx;
  57. font-weight: 500;
  58. color: #EEEDFF;
  59. line-height: 26rpx;
  60. }
  61. .sale-num {
  62. line-height: 50rpx;
  63. font-size: 50rpx;
  64. font-weight: 800;
  65. color: #FFFFFF;
  66. margin-top: 55rpx;
  67. }
  68. }
  69. .sale-more {
  70. font-size: 26rpx;
  71. font-weight: 500;
  72. color: #FFFFFF;
  73. padding-right: 18rpx;
  74. position: absolute;
  75. right: 12rpx;
  76. top: 22rpx;
  77. line-height: 26rpx;
  78. image {
  79. width: 24rpx;
  80. height: 24rpx;
  81. position: absolute;
  82. right: 0;
  83. top: 0;
  84. }
  85. }
  86. .update {
  87. width: 50rpx;
  88. height: 50rpx;
  89. position: absolute;
  90. right: 16rpx;
  91. bottom: 16rpx;
  92. &.load {
  93. animation: rotate 1s linear;
  94. animation-iteration-count: 3;
  95. }
  96. image {
  97. width: 50rpx;
  98. height: 50rpx;
  99. }
  100. }
  101. }
  102. .refund-order {
  103. padding-left: 34rpx;
  104. overflow: hidden;
  105. padding-bottom: 26rpx;
  106. .refund-item {
  107. text-align: center;
  108. color: #2E2E2E;
  109. margin-top: 68rpx;
  110. &:nth-child(1) {
  111. margin-right: 70rpx;
  112. }
  113. .refund-num {
  114. font-size: 36rpx;
  115. font-weight: 800;
  116. line-height: 32rpx;
  117. }
  118. .refund-name {
  119. font-size: 28rpx;
  120. font-weight: 500;
  121. line-height: 28rpx;
  122. margin-top: 27rpx;
  123. }
  124. }
  125. }
  126. .notice {
  127. width: 100%;
  128. position: relative;
  129. // .notice-tips {
  130. // padding: 10rpx;
  131. // color: #fff;
  132. // font-size: 24rpx;
  133. // text-align: center;
  134. // position: absolute;
  135. // right: 56rpx;
  136. // top: 50%;
  137. // transform: translateY(-50%);
  138. // z-index: 999;
  139. // background-color: #fff;
  140. // >view {
  141. // width: 36rpx;
  142. // height: 36rpx;
  143. // background-color: #E60012;
  144. // border-radius: 36rpx;
  145. // line-height: 36rpx;
  146. // }
  147. // }
  148. .notice-tips {
  149. padding: 10rpx;
  150. text-align: center;
  151. position: absolute;
  152. right: 40rpx;
  153. top: 50%;
  154. transform: translateY(-54%);
  155. z-index: 999;
  156. background-color: #fff;
  157. }
  158. }
  159. }
  160. //常用菜单
  161. .useful-menu {
  162. width: 724rpx;
  163. margin-left: 14rpx;
  164. .useful-menu-item {
  165. margin-top: 20rpx;
  166. width: 352rpx;
  167. height: 168rpx;
  168. background: #FFFFFF;
  169. box-shadow: 0px 0px 10px 0px rgba(174, 201, 255, 0.2);
  170. border-radius: 14rpx;
  171. padding: 0 66rpx 0 46rpx;
  172. position: relative;
  173. >.image {
  174. width: 75rpx;
  175. height: 75rpx;
  176. }
  177. >.menu-name {
  178. font-size: 32rpx;
  179. font-weight: 500;
  180. color: #333333;
  181. }
  182. .tips {
  183. // width: 40rpx;
  184. // height: 40rpx;
  185. // background-color: #E60012;
  186. // color: #fff;
  187. // font-size: 24rpx;
  188. // text-align: center;
  189. // line-height: 28rpx;
  190. // border-radius: 40rpx;
  191. // position: absolute;
  192. // right: -8rpx;
  193. // top: -8rpx;
  194. // padding: 6rpx;
  195. width: 40rpx;
  196. height: 40rpx;
  197. position: absolute;
  198. right: -8rpx;
  199. top: -8rpx;
  200. padding: 6rpx;
  201. }
  202. }
  203. }
  204. // 便捷功能
  205. .menu {
  206. width: 724rpx;
  207. margin-left: 14rpx;
  208. background: #FFFFFF;
  209. box-shadow: 0px 0px 10rpx 0px rgba(174, 201, 255, 0.2);
  210. border-radius: 14rpx;
  211. display: flex;
  212. flex-flow: row nowrap;
  213. justify-content: space-around;
  214. margin-top: 20rpx;
  215. position: relative;
  216. padding: 101rpx 36rpx 0rpx;
  217. .menu-title {
  218. font-size: 28rpx;
  219. font-weight: 800;
  220. color: #000;
  221. position: absolute;
  222. left: 28rpx;
  223. top: 28rpx;
  224. }
  225. .menu-item {
  226. margin-bottom: 48rpx;
  227. }
  228. .menu-content {
  229. width: 100%;
  230. flex-flow: row wrap;
  231. }
  232. .menu-item {
  233. text-align: center;
  234. width: 25%;
  235. display: flex;
  236. flex-direction: column;
  237. align-items: center;
  238. >.image {
  239. width: 57rpx;
  240. height: 57rpx;
  241. }
  242. >view {
  243. color: #333;
  244. font-size: 24rpx;
  245. line-height: 24rpx;
  246. font-size: 28rpx;
  247. line-height: 28rpx;
  248. margin-top: 16rpx;
  249. }
  250. }
  251. }
  252. }
  253. </style>