index.vue 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405
  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. this.getUserInfo();
  134. this.getIntegralList();
  135. }
  136. },
  137. deep: true
  138. }
  139. },
  140. onLoad() {
  141. if (this.isLogin) {
  142. this.getUserInfo();
  143. this.getIntegralList();
  144. } else {
  145. toLogin()
  146. }
  147. },
  148. onShow() {
  149. uni.removeStorageSync('form_type_cart');
  150. },
  151. /**
  152. * 页面上拉触底事件的处理函数
  153. */
  154. onReachBottom: function() {
  155. this.getIntegralList();
  156. },
  157. methods: {
  158. /**
  159. * 授权回调
  160. */
  161. onLoadFun: function() {
  162. this.getUserInfo();
  163. this.getIntegralList();
  164. this.isShowAuth = false;
  165. },
  166. // 授权关闭
  167. authColse: function(e) {
  168. this.isShowAuth = e
  169. },
  170. getUserInfo: function() {
  171. let that = this;
  172. postSignUser({
  173. sign: 1,
  174. integral: 1,
  175. all: 1
  176. }).then(function(res) {
  177. that.$set(that, 'userInfo', res.data);
  178. let clearTime = res.data.clear_time;
  179. let showTime = clearTime-(86400*14);
  180. let timestamp = Date.parse(new Date())/1000;
  181. if(showTime < timestamp){
  182. that.isTime = 1
  183. }else{
  184. that.isTime = 0
  185. }
  186. });
  187. },
  188. /**
  189. * 获取积分明细
  190. */
  191. getIntegralList: function() {
  192. let that = this;
  193. if (that.loading) return;
  194. if (that.loadend) return;
  195. that.loading = true;
  196. that.loadTitle = '';
  197. getIntegralList({
  198. page: that.page,
  199. limit: that.limit
  200. }).then(function(res) {
  201. let list = res.data,
  202. loadend = list.length < that.limit;
  203. that.integralList = that.$util.SplitArray(list, that.integralList);
  204. that.$set(that, 'integralList', that.integralList);
  205. that.page = that.page + 1;
  206. that.loading = false;
  207. that.loadend = loadend;
  208. that.loadTitle = loadend ? '没有更多内容啦~' : "加载更多";
  209. }, function(res) {
  210. this.loading = false;
  211. that.loadTitle = '加载更多';
  212. });
  213. },
  214. nav: function(current) {
  215. this.current = current;
  216. }
  217. }
  218. }
  219. </script>
  220. <style scoped lang="scss">
  221. .integral-details .header {
  222. // background-image: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwkHBgoJCAkLCwoMDxkQDw4ODx4WFxIZJCAmJSMgIyIoLTkwKCo2KyIjMkQyNjs9QEBAJjBGS0U+Sjk/QD3/2wBDAQsLCw8NDx0QEB09KSMpPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT3/wgARCAHMAu4DAREAAhEBAxEB/8QAGQABAQEBAQEAAAAAAAAAAAAAAAECAwQF/8QAGQEBAQEBAQEAAAAAAAAAAAAAAAECAwUH/9oADAMBAAIQAxAAAAD5nh/QwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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IpVun6W3rS9FE9U/SW9W+xPVPxdKUpSmRkUpSlKZFRUVfgN9yeq8HSlL+RWVmTMjJFX29G98kZoyW6ei8BfC16PZ8/0Nt6JtC5/vZenz65cm+jjygtFovTnwTH8f6Hwa24P+tV9oqMkZGRWV9lKXzrSY/jQ/jaI198XVoil/IpfOvgmP42cE1/Pgr56E8DS/5/QhCEIQhCEIQhCEIQhCEIQhNqZGRkZFMjIyMi7YmJiYmJiYmJiYGBgYmJiYmJiQnlmtoTaE2S9La6IRE6EvTp3QXqEJ1JCXqs2S8T//2Q==');
  223. background-repeat: no-repeat;
  224. background-size: 100% 100%;
  225. width: 100%;
  226. height: 460rpx;
  227. font-size: 72rpx;
  228. color: #fff;
  229. padding: 31rpx 0 45rpx 0;
  230. box-sizing: border-box;
  231. text-align: center;
  232. font-family: 'Guildford Pro';
  233. background-color: var(--view-theme);
  234. }
  235. .integral-details .header .currentScore {
  236. font-size: 26rpx;
  237. color: rgba(255, 255, 255, 0.8);
  238. text-align: center;
  239. margin-bottom: 11rpx;
  240. }
  241. .integral-details .header .scoreNum {
  242. font-family: "Guildford Pro";
  243. }
  244. .integral-details .header .line {
  245. width: 60rpx;
  246. height: 3rpx;
  247. background-color: #fff;
  248. margin: 20rpx auto 0 auto;
  249. }
  250. .integral-details .header .nav {
  251. font-size: 22rpx;
  252. color: rgba(255, 255, 255, 0.8);
  253. flex: 1;
  254. margin-top: 35rpx;
  255. }
  256. .integral-details .header .nav .item {
  257. width: 33.33%;
  258. text-align: center;
  259. }
  260. .integral-details .header .nav .item .num {
  261. color: #fff;
  262. font-size: 40rpx;
  263. margin-bottom: 5rpx;
  264. font-family: 'Guildford Pro';
  265. }
  266. .integral-details .wrapper .nav {
  267. flex: 1;
  268. width: 690rpx;
  269. border-radius: 20rpx 20rpx 0 0;
  270. margin: -96rpx auto 0 auto;
  271. background-color: #f7f7f7;
  272. height: 96rpx;
  273. font-size: 30rpx;
  274. color: #bbb;
  275. }
  276. .integral-details .wrapper .nav .item {
  277. text-align: center;
  278. width: 50%;
  279. }
  280. .integral-details .wrapper .nav .item.on {
  281. background-color: #fff;
  282. color: var( --view-theme);
  283. font-weight: bold;
  284. border-radius: 20rpx 0 0 0;
  285. }
  286. .integral-details .wrapper .nav .item:nth-of-type(2).on {
  287. border-radius: 0 20rpx 0 0;
  288. }
  289. .integral-details .wrapper .nav .item .iconfont {
  290. font-size: 38rpx;
  291. margin-right: 10rpx;
  292. }
  293. .integral-details .wrapper .list {
  294. background-color: #fff;
  295. padding: 24rpx 30rpx;
  296. }
  297. .integral-details .wrapper .list .tip {
  298. font-size: 25rpx;
  299. width: 690rpx;
  300. min-height: 60rpx;
  301. border-radius: 50rpx;
  302. background-color: #fff5e2;
  303. border: 1rpx solid #ffeac1;
  304. color: #c8a86b;
  305. padding: 0 20rpx;
  306. box-sizing: border-box;
  307. margin-bottom: 24rpx;
  308. }
  309. .integral-details .wrapper .list .tip .tipCon{
  310. width: 595rpx;
  311. }
  312. .integral-details .wrapper .list .tip .iconfont {
  313. font-size: 35rpx;
  314. margin-right: 15rpx;
  315. }
  316. .integral-details .wrapper .list .item {
  317. height: 124rpx;
  318. border-bottom: 1rpx solid #eee;
  319. font-size: 24rpx;
  320. color: #999;
  321. }
  322. .integral-details .wrapper .list .item .state {
  323. font-size: 28rpx;
  324. color: #282828;
  325. margin-bottom: 8rpx;
  326. }
  327. .integral-details .wrapper .list .item .num {
  328. font-size: 36rpx;
  329. font-family: 'Guildford Pro';
  330. color: #16AC57;
  331. }
  332. .integral-details .wrapper .list .item .num.font-color{
  333. color: #E93323!important;
  334. }
  335. .integral-details .wrapper .list2 {
  336. background-color: #fff;
  337. padding: 24rpx 0;
  338. }
  339. .integral-details .wrapper .list2 .item {
  340. background-image: linear-gradient(to right, #fff7e7 0%, #fffdf9 100%);
  341. width: 690rpx;
  342. height: 180rpx;
  343. position: relative;
  344. border-radius: 10rpx;
  345. margin: 0 auto 20rpx auto;
  346. padding: 0 25rpx 0 180rpx;
  347. box-sizing: border-box;
  348. }
  349. .integral-details .wrapper .list2 .item .pictrue {
  350. width: 90rpx;
  351. height: 150rpx;
  352. position: absolute;
  353. bottom: 0;
  354. left: 45rpx;
  355. }
  356. .integral-details .wrapper .list2 .item .pictrue image {
  357. width: 100%;
  358. height: 100%;
  359. }
  360. .integral-details .wrapper .list2 .item .name {
  361. width: 285rpx;
  362. font-size: 30rpx;
  363. font-weight: bold;
  364. color: #c8a86b;
  365. }
  366. .integral-details .wrapper .list2 .item .earn {
  367. font-size: 26rpx;
  368. color: #c8a86b;
  369. border: 2rpx solid #c8a86b;
  370. text-align: center;
  371. line-height: 52rpx;
  372. height: 52rpx;
  373. width: 160rpx;
  374. border-radius: 50rpx;
  375. }
  376. </style>