greed.vue 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. <template>
  2. <!-- 积分详情 -->
  3. <view>
  4. <view class='integral-details' :style="colorStyle">
  5. <view class='header'>
  6. <view class="headerBox">
  7. <view>
  8. <view class='currentScore'>当前绿积分</view>
  9. <view class="scoreNum">{{userInfo.green_integral||0}}</view>
  10. </view>
  11. </view>
  12. <view class='line'></view>
  13. <navigator url="./greedTarget">
  14. <view class="rightGm">
  15. <image class="navIcon" src="../../../static/images/greedIcon.png" mode="scaleToFill"></image>
  16. <view>
  17. 转账
  18. </view>
  19. </view>
  20. </navigator>
  21. </view>
  22. <view class='wrapper'>
  23. <view class='nav acea-row'>
  24. <view class='item acea-row row-center-wrapper' :class='current==index?"on":""'
  25. v-for="(item,index) in navList" :key='index' @click='nav(index)'>
  26. {{item.name}}
  27. </view>
  28. </view>
  29. <view class='list'>
  30. <view class='item' v-for="(item,index) in navList[current].list" :key="index">
  31. <view style="flex-grow: 1;">
  32. <view class='state'>{{item.title}}</view>
  33. <view>{{item.add_time}}</view>
  34. </view>
  35. <view class="numbox">
  36. <view class='num font-color' v-if="item.pm">+{{item.number}}</view>
  37. <view class='num' v-else>-{{item.number}}</view>
  38. <view class="detail">
  39. 余额:{{item.balance}}
  40. </view>
  41. </view>
  42. </view>
  43. <view class='loadingicon acea-row row-center-wrapper' v-if="navList[current].list.length>0">
  44. <text class='loading iconfont icon-jiazai' :hidden='navList[current].loading==false'></text>{{navList[current].loadTitle}}
  45. </view>
  46. <view v-if="navList[current].list.length == 0">
  47. <emptyPage title="暂无积分记录哦~"></emptyPage>
  48. </view>
  49. </view>
  50. </view>
  51. </view>
  52. <home v-if="navigation"></home>
  53. <!-- #ifdef MP -->
  54. <authorize v-if="isShowAuth" @authColse="authColse" @onLoadFun="onLoadFun"></authorize>
  55. <!-- #endif -->
  56. </view>
  57. </template>
  58. <script>
  59. import home from '@/components/home';
  60. import {
  61. getUserInfo,
  62. getGreedIntegralList,
  63. setGreedIntegralList
  64. } from '@/api/user.js';
  65. import dayjs from '@/plugin/dayjs/dayjs.min.js';
  66. import {
  67. toLogin
  68. } from '@/libs/login.js';
  69. import {
  70. mapGetters
  71. } from "vuex";
  72. import emptyPage from '@/components/emptyPage.vue';
  73. import colors from '@/mixins/color'
  74. export default {
  75. components: {
  76. emptyPage,
  77. home
  78. },
  79. filters: {
  80. dateFormat: function(value) {
  81. return dayjs(value * 1000).format('YYYY-MM-DD');
  82. }
  83. },
  84. mixins: [colors],
  85. data() {
  86. return {
  87. navList: [{
  88. 'name': '全部',
  89. 'icon': 'icon-mingxi',
  90. pm: '',
  91. list: [],
  92. page: 1,
  93. limit: 10,
  94. loadTitle: '加载更多',
  95. loadend: false,
  96. },
  97. {
  98. 'name': '收入',
  99. 'icon': 'icon-tishengfenzhi',
  100. pm: 1,
  101. page: 1,
  102. limit: 10,
  103. loadTitle: '加载更多',
  104. loadend: false,
  105. list: [],
  106. },
  107. {
  108. 'name': '支出',
  109. 'icon': 'icon-tishengfenzhi',
  110. pm: 0,
  111. page: 1,
  112. limit: 10,
  113. loadTitle: '加载更多',
  114. loadend: false,
  115. list: [],
  116. }
  117. ],
  118. loading: false,
  119. current: 0,
  120. userInfo: {},
  121. isShowAuth: false, //是否隐藏授权
  122. changeID: '',
  123. changeMoney: '',
  124. checkedType: 1
  125. };
  126. },
  127. computed: mapGetters(['isLogin']),
  128. watch: {
  129. isLogin: {
  130. handler: function(newV, oldV) {
  131. if (newV) {
  132. // #ifdef H5 || APP-PLUS
  133. this.getUserInfo();
  134. this.getIntegralList();
  135. // #endif
  136. }
  137. },
  138. deep: true
  139. }
  140. },
  141. onLoad() {
  142. if (this.isLogin) {
  143. this.getUserInfo();
  144. this.getIntegralList();
  145. } else {
  146. // #ifdef H5 || APP-PLUS
  147. toLogin()
  148. // #endif
  149. // #ifdef MP
  150. this.isShowAuth = true;
  151. // #endif
  152. }
  153. },
  154. onShow() {
  155. uni.removeStorageSync('form_type_cart');
  156. },
  157. /**
  158. * 页面上拉触底事件的处理函数
  159. */
  160. onReachBottom: function() {
  161. this.getIntegralList();
  162. },
  163. methods: {
  164. /**
  165. * 授权回调
  166. */
  167. onLoadFun: function() {
  168. this.getUserInfo();
  169. this.getIntegralList();
  170. this.isShowAuth = false;
  171. },
  172. // 授权关闭
  173. authColse: function(e) {
  174. this.isShowAuth = e
  175. },
  176. getUserInfo: function() {
  177. let that = this;
  178. getUserInfo({}).then(function(res) {
  179. that.$set(that, 'userInfo', res.data);
  180. });
  181. },
  182. /**
  183. * 获取积分明细
  184. */
  185. getIntegralList: function() {
  186. let that = this.navList[this.current];
  187. if (that.loading) return;
  188. if (that.loadend) return;
  189. that.loading = true;
  190. that.loadTitle = '';
  191. getGreedIntegralList({
  192. page: that.page,
  193. limit: that.limit,
  194. pm:that.pm
  195. }).then((res)=>{
  196. let list = res.data,
  197. loadend = list.length < that.limit;
  198. that.list = this.$util.SplitArray(list, that.list);
  199. console.log(that.list,'that.list')
  200. that.page = that.page + 1;
  201. that.loading = false;
  202. that.loadend = loadend;
  203. that.loadTitle = loadend ? '没有更多内容啦~' : "加载更多";
  204. }, function(res) {
  205. that.loading = false;
  206. that.loadTitle = '加载更多';
  207. });
  208. },
  209. nav: function(current) {
  210. this.current = current;
  211. this.getIntegralList();
  212. }
  213. }
  214. }
  215. </script>
  216. <style scoped lang="scss">
  217. .headerBox {
  218. width: 100%;
  219. display: flex;
  220. justify-content: space-around;
  221. align-items: center;
  222. }
  223. .integral-details {
  224. .header {
  225. // background-image: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwkHBgoJCAkLCwoMDxkQDw4ODx4WFxIZJCAmJSMgIyIoLTkwKCo2KyIjMkQyNjs9QEBAJjBGS0U+Sjk/QD3/2wBDAQsLCw8NDx0QEB09KSMpPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT3/wgARCAHMAu4DAREAAhEBAxEB/8QAGQABAQEBAQEAAAAAAAAAAAAAAAECAwQF/8QAGQEBAQEBAQEAAAAAAAAAAAAAAAECAwUH/9oADAMBAAIQAxAAAAD5nh/QwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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background-repeat: no-repeat;
  227. background-size: 100% 100%;
  228. width: 100%;
  229. height: 380rpx;
  230. font-size: 72rpx;
  231. color: #fff;
  232. padding: 31rpx 0 45rpx 0;
  233. box-sizing: border-box;
  234. text-align: center;
  235. font-family: 'Guildford Pro';
  236. background-color: var(--view-theme);
  237. padding-top: 100rpx;
  238. .currentScore {
  239. font-size: 26rpx;
  240. color: rgba(255, 255, 255, 0.8);
  241. text-align: center;
  242. margin-bottom: 11rpx;
  243. }
  244. .scoreNum {
  245. font-family: "Guildford Pro";
  246. }
  247. .line {
  248. width: 60rpx;
  249. height: 3rpx;
  250. background-color: #fff;
  251. margin: 20rpx auto 0 auto;
  252. }
  253. }
  254. .wrapper {
  255. .nav {
  256. flex: 1;
  257. width: 690rpx;
  258. border-radius: 20rpx 20rpx 0 0;
  259. background-color: #f7f7f7;
  260. margin: 0 30rpx;
  261. height: 96rpx;
  262. font-size: 30rpx;
  263. color: #bbb;
  264. .item {
  265. text-align: center;
  266. margin-right: 30rpx;
  267. &.on {
  268. color: var(--view-theme);
  269. font-weight: bold;
  270. border-radius: 20rpx 0 0 0;
  271. font-size: 36rpx;
  272. }
  273. .iconfont {
  274. font-size: 30rpx;
  275. margin-right: 10rpx;
  276. }
  277. }
  278. }
  279. .list {
  280. background-color: #fff;
  281. padding: 24rpx 30rpx;
  282. margin: 30rpx;
  283. margin-top: 0;
  284. border-radius: 20rpx;
  285. .tip {
  286. font-size: 25rpx;
  287. width: 690rpx;
  288. min-height: 60rpx;
  289. border-radius: 50rpx;
  290. background-color: #fff5e2;
  291. border: 1rpx solid #ffeac1;
  292. color: #c8a86b;
  293. padding: 0 20rpx;
  294. box-sizing: border-box;
  295. margin-bottom: 24rpx;
  296. .tipCon {
  297. width: 595rpx;
  298. }
  299. .iconfont {
  300. font-size: 35rpx;
  301. margin-right: 15rpx;
  302. }
  303. }
  304. .item {
  305. border-bottom: 1rpx solid #eee;
  306. font-size: 24rpx;
  307. color: #999;
  308. min-width: 100%;
  309. display: flex;
  310. justify-content: space-between;
  311. align-items: center;
  312. padding: 20rpx 0;
  313. .state {
  314. width: 100%;
  315. font-size: 32rpx;
  316. color: #282828;
  317. padding-bottom: 8rpx;
  318. }
  319. .num {
  320. font-size: 36rpx;
  321. font-family: 'Guildford Pro';
  322. padding-left: 10rpx;
  323. color: #16AC57;
  324. flex-shrink: 0;
  325. &.font-color {
  326. color: #E93323 !important;
  327. }
  328. }
  329. }
  330. }
  331. .list2 {
  332. background-color: #fff;
  333. padding: 24rpx 0;
  334. // background-image: linear-gradient(to right, #fff7e7 0%, #fffdf9 100%);
  335. // height: 180rpx;
  336. position: relative;
  337. border-radius: 10rpx;
  338. padding: 20rpx 30rpx;
  339. box-sizing: border-box;
  340. border-bottom: 1px solid #e9e9e9;
  341. .keepBnt {
  342. width: 690rpx;
  343. height: 86rpx;
  344. border-radius: 50rpx;
  345. text-align: center;
  346. line-height: 86rpx;
  347. margin: 50rpx auto;
  348. font-size: 32rpx;
  349. color: #fff;
  350. }
  351. .item {
  352. // background-image: linear-gradient(to right, #fff7e7 0%, #fffdf9 100%);
  353. // height: 180rpx;
  354. position: relative;
  355. border-radius: 10rpx;
  356. padding: 20rpx 0;
  357. box-sizing: border-box;
  358. border-bottom: 1px solid #e9e9e9;
  359. .input {
  360. flex-grow: 1;
  361. display: flex;
  362. .radio {
  363. display: flex;
  364. line-height: 1;
  365. align-items: center;
  366. color: #bbb;
  367. }
  368. }
  369. .item-title {
  370. width: 150rpx;
  371. }
  372. .pictrue {
  373. width: 90rpx;
  374. height: 150rpx;
  375. position: absolute;
  376. bottom: 0;
  377. left: 45rpx;
  378. }
  379. .pictrue {
  380. image {
  381. width: 100%;
  382. height: 100%;
  383. }
  384. }
  385. }
  386. }
  387. }
  388. }
  389. .rightGm {
  390. font-size: 26rpx;
  391. position: absolute;
  392. right: 0rpx;
  393. top: 150px;
  394. padding: 10rpx 30rpx;
  395. display: flex;
  396. .navIcon {
  397. width: 46rpx;
  398. height: 35rpx;
  399. margin-right: 10rpx;
  400. }
  401. }
  402. </style>