江西小程序管理端
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.

206 lines
4.0 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. <template>
  2. <view class="content pageBg">
  3. <view class="userInfo">
  4. <view class="tit">Hi,大乔教练</view>
  5. <view class="flex userRow">
  6. <view class="schoolIcon">
  7. <image src="@/static/images/index/ic_jiaxiao.png" mode=""></image>
  8. </view>
  9. <view class="schoolName oneRowText">翔力驾校</view>
  10. <view class="tag">合作教练</view>
  11. </view>
  12. </view>
  13. <view class="card priceBox">
  14. <view class="blueLab">今日已结算金额</view>
  15. <view class="price">36333.66</view>
  16. <view class="flex-b">
  17. <view class="data">截止2023/08/08 11:00:00</view>
  18. <view class="refresh">
  19. <view class="text">刷新</view>
  20. <view class="icon">
  21. <image src="@/static/images/index/ic_shuaxin.png" mode=""></image>
  22. </view>
  23. </view>
  24. </view>
  25. </view>
  26. <view class="h1">结算统计</view>
  27. <view class="tabs">
  28. <view class="tab">按日</view>
  29. <view class="tab">按月</view>
  30. <view class="tab">按年</view>
  31. <view class="tab long">自定义日期</view>
  32. </view>
  33. <view class="card">
  34. <view class="chart">
  35. 图表到时候一起调
  36. </view>
  37. </view>
  38. <view class="flex-b">
  39. <view class="h1">结算明细</view>
  40. <moreRight text="更多"/>
  41. </view>
  42. <view class="record">
  43. <view class="card" v-for="(item,index) in 10" :key="index">
  44. <stage/>
  45. </view>
  46. </view>
  47. <view class="moreBtn" @click="$goPage('/pages/indexEntry/settlement/settlement')">查看更多</view>
  48. <!-- <UserTab selectedIndex ='2'></UserTab> -->
  49. </view>
  50. </template>
  51. <script>
  52. import stage from './comp/stage'
  53. export default {
  54. components: { stage },
  55. data() {
  56. return {
  57. }
  58. },
  59. onLoad() {
  60. console.log('我的页面')
  61. },
  62. onShow() {
  63. // uni.hideTabBar();
  64. },
  65. methods: {
  66. goPage() {}
  67. }
  68. }
  69. </script>
  70. <style lang="scss" scoped>
  71. .content {
  72. width: 100%;
  73. background: url('http://192.168.1.20:81/zhili/image/20230824/30073140957f4349b6579cb0ff00d4b1.png') #F6F6F6 no-repeat;
  74. background-size: 100% 492rpx;
  75. padding: 0 28rpx;
  76. padding-top: 142rpx;
  77. .userInfo {
  78. .tit {
  79. font-size: 48rpx;
  80. color: #fff;
  81. font-weight: 500;
  82. }
  83. .userRow {
  84. align-items: center;
  85. margin-bottom: 20rpx;
  86. .schoolIcon {
  87. width: 28rpx;
  88. height: 28rpx;
  89. }
  90. .schoolName {
  91. font-size: 28rpx;
  92. padding: 20rpx;
  93. max-width: 220rpx;
  94. color: #fff;
  95. }
  96. .tag {
  97. width: 112rpx;
  98. height: 44rpx;
  99. background: #82AFDD;
  100. border-radius: 22rpx;
  101. font-size: 20rpx;
  102. color: #fff;
  103. line-height: 44rpx;
  104. text-align: center;
  105. }
  106. }
  107. }
  108. .priceBox {
  109. padding: 32rpx;
  110. color: $themC;
  111. .blueLab {
  112. font-weight: 500;
  113. font-size: 28rpx;
  114. }
  115. .price {
  116. font-size: 56rpx;
  117. font-weight: 600;
  118. padding: 12rpx 0 24rpx 0;
  119. }
  120. .flex-b {
  121. .data {
  122. font-size: 24rpx;
  123. color: #363A44;
  124. }
  125. .refresh {
  126. width: 130rpx;
  127. height: 60rpx;
  128. background: rgba(25,137,250,0.1);
  129. border-radius: 8rpx;
  130. border: 2rpx solid #1989FA;
  131. line-height: 60rpx;
  132. display: flex;
  133. align-items: center;
  134. justify-content: center;
  135. .text {
  136. font-size: 28rpx;
  137. }
  138. .icon {
  139. width: 24rpx;
  140. height: 24rpx;
  141. margin-left: 6rpx;
  142. }
  143. }
  144. }
  145. }
  146. .h1 {
  147. margin: 32rpx 0 24rpx 0;
  148. }
  149. .tabs {
  150. display: flex;
  151. justify-content: space-between;
  152. padding-bottom: 24rpx;
  153. .tab {
  154. width: 96rpx;
  155. height: 60rpx;
  156. background: rgba(25,137,250,0.1);
  157. border-radius: 8rpx;
  158. border: 2rpx solid #1989FA;
  159. font-size: 28rpx;
  160. text-align: center;
  161. line-height: 60rpx;
  162. color: $themC;
  163. &.active {
  164. color: #fff;
  165. background-color: $themC;
  166. }
  167. &.long {
  168. width: 336rpx;
  169. }
  170. }
  171. }
  172. .card {
  173. margin-bottom: 20rpx;
  174. .chart {
  175. }
  176. }
  177. .moreBtn {
  178. width: 200rpx;
  179. height: 60rpx;
  180. background: #FFFFFF;
  181. border-radius: 8rpx;
  182. border: 2rpx solid #E8E9EC;
  183. color: #ADADAD;
  184. text-align: center;
  185. line-height: 60rpx;
  186. margin: 32rpx auto 8rpx auto;
  187. }
  188. }
  189. </style>