index.vue 15 KB

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