index.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  1. <template>
  2. <view :style="viewColor">
  3. <view class='integral-details'>
  4. <view class='header'>
  5. <view class='currentScore'>当前积分 <text @click="showProtocol=true" class="iconfont wenhao">?</text></view>
  6. <view class="scoreNum">{{userInfo.integral ? userInfo.integral : 0}}</view>
  7. <view class='line'></view>
  8. <view class='nav acea-row'>
  9. <view class='item'>
  10. <view class='num'>{{userInfo.totalGainIntegral || 0}}</view>
  11. <view>累计积分</view>
  12. </view>
  13. <view class='item'>
  14. <view class='num'>{{userInfo.deductionIntegral || 0}}</view>
  15. <view>累计消费</view>
  16. </view>
  17. <view class='item'>
  18. <view class='num'>{{userInfo.lockIntegral || 0}}</view>
  19. <view>冻结积分</view>
  20. </view>
  21. </view>
  22. </view>
  23. <view class='wrapper'>
  24. <view class='nav acea-row'>
  25. <view class='item acea-row row-center-wrapper' :class='current==index?"on":""' v-for="(item,index) in navList" :key='index'
  26. @click='nav(index)'><text class='iconfont' :class="item.icon"></text>{{item.name}}</view>
  27. </view>
  28. <view class='list' :hidden='current != 0' >
  29. <view class='tip' v-if="userInfo.clear && userInfo.clear.status && userInfo.clear.nextClearIntegral > 0"><text class='iconfont icon-shuoming'></text>
  30. <text class="tip-text">提示:您有部分积分将于{{userInfo.clear.nextClearDay}}过期,请尽快使用!</text>
  31. </view>
  32. <view class='item acea-row row-between-wrapper' v-for="(item,index) in integralList" :key="index">
  33. <view>
  34. <view class='state'>{{item.mark}}</view>
  35. <view>{{item.create_time}}</view>
  36. </view>
  37. <view class='num p-color' v-if="item.pm">+{{item.number}}</view>
  38. <view class='num' v-else>-{{item.number}}</view>
  39. </view>
  40. <view class='loadingicon acea-row row-center-wrapper' v-if="integralList.length>0">
  41. <text class='loading iconfont icon-jiazai' :hidden='loading==false'></text>{{loadTitle}}
  42. </view>
  43. <view v-if="integralList.length == 0">
  44. <emptyPage title="暂无积分记录哦~"></emptyPage>
  45. </view>
  46. </view>
  47. <view v-if="integral_status" class='list2' :hidden='current!=1'>
  48. <navigator class='item acea-row row-between-wrapper' open-type='switchTab' hover-class='none' url='/pages/index/index'>
  49. <view class='pictrue'>
  50. <image src='../../../static/images/score.png'></image>
  51. </view>
  52. <view class='name'>购买商品可获得积分奖励</view>
  53. <view class='earn'>赚积分</view>
  54. </navigator>
  55. <navigator class='item acea-row row-between-wrapper' hover-class='none' url='/pages/users/user_sgin/index'>
  56. <view class='pictrue'>
  57. <image src='../../../static/images/score.png'></image>
  58. </view>
  59. <view class='name'>每日签到可获得积分奖励</view>
  60. <view class='earn'>赚积分</view>
  61. </navigator>
  62. <view class='item acea-row row-between-wrapper' @click="shareIntegral">
  63. <view class='pictrue'>
  64. <image src='../../../static/images/score.png'></image>
  65. </view>
  66. <view class='name'>邀请好友可获得积分奖励</view>
  67. <view class='earn'>赚积分</view>
  68. </view>
  69. </view>
  70. </view>
  71. </view>
  72. <view class="instructions" v-if="showProtocol">
  73. <view class="setAgCount">
  74. <i class="icon iconfont icon-cha" @click="showProtocol = false"></i>
  75. <div class="title">积分说明</div>
  76. <view class="content">
  77. <jyf-parser :html="protocol" ref="article" :tag-style="tagStyle"></jyf-parser>
  78. </view>
  79. </view>
  80. </view>
  81. <authorize @onLoadFun="onLoadFun" :isAuto="isAuto" :isShowAuth="isShowAuth" @authColse="authColse"></authorize>
  82. </view>
  83. </template>
  84. <script>
  85. // +----------------------------------------------------------------------
  86. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  87. // +----------------------------------------------------------------------
  88. // | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
  89. // +----------------------------------------------------------------------
  90. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  91. // +----------------------------------------------------------------------
  92. // | Author: CRMEB Team <admin@crmeb.com>
  93. // +----------------------------------------------------------------------
  94. import { getIntegralInfo, getIntegralList, getAgreementApi } from '@/api/user.js';
  95. import {
  96. mapGetters
  97. } from "vuex";
  98. import authorize from '@/components/Authorize';
  99. import emptyPage from '@/components/emptyPage.vue';
  100. import parser from "@/components/jyf-parser/jyf-parser";
  101. const app = getApp();
  102. export default {
  103. components: {
  104. authorize,
  105. emptyPage,
  106. "jyf-parser": parser,
  107. },
  108. data() {
  109. return {
  110. navList: [{
  111. 'name': '分值明细',
  112. 'icon': 'icon-mingxi'
  113. },
  114. {
  115. 'name': '分值提升',
  116. 'icon': 'icon-tishengfenzhi'
  117. }
  118. ],
  119. current: 0,
  120. page: 1,
  121. limit: 10,
  122. integralList: [],
  123. userInfo:{},
  124. loadend: false,
  125. loading: false,
  126. loadTitle: '加载更多',
  127. isAuto: false, //没有授权的不会自动授权
  128. isShowAuth: false,//是否隐藏授权
  129. showProtocol: false,
  130. protocol: '',
  131. tagStyle: {
  132. img: 'width:100%;display:block;',
  133. video: 'width:100%;'
  134. },
  135. integral_status: true,
  136. };
  137. },
  138. computed: mapGetters(['isLogin','viewColor']),
  139. onLoad() {
  140. if (this.isLogin) {
  141. this.getUserInfo();
  142. } else {
  143. this.isAuto = true;
  144. this.isShowAuth = true
  145. }
  146. this.getAgreement();
  147. },
  148. /**
  149. * 页面上拉触底事件的处理函数
  150. */
  151. onReachBottom: function () {
  152. this.getIntegralList();
  153. },
  154. methods: {
  155. /**
  156. * 授权回调
  157. */
  158. onLoadFun: function() {
  159. this.isShowAuth = false;
  160. this.getUserInfo();
  161. },
  162. // 授权关闭
  163. authColse: function(e) {
  164. this.isShowAuth = e
  165. },
  166. getUserInfo: function() {
  167. let that = this;
  168. getIntegralInfo().then(function(res) {
  169. that.$set(that,'userInfo',res.data);
  170. that.getIntegralList()
  171. }).catch(res => {
  172. this.integral_status = false
  173. return that.$util.Tips({
  174. title: res
  175. });
  176. });
  177. },
  178. /*获取积分说明*/
  179. getAgreement() {
  180. let that = this
  181. getAgreementApi('sys_integral_rule').then(res => {
  182. that.protocol = res.data.sys_integral_rule
  183. })
  184. },
  185. /**
  186. * 获取积分明细
  187. */
  188. getIntegralList: function() {
  189. let that = this;
  190. if (that.loading) return;
  191. if (that.loadend) return;
  192. that.loading = true;
  193. that.loadTitle = '';
  194. getIntegralList({
  195. page: that.page,
  196. limit: that.limit
  197. }).then(function(res) {
  198. let list = res.data.list,
  199. loadend = list.length < that.limit;
  200. that.integralList = that.$util.SplitArray(list, that.integralList);
  201. that.$set(that,'integralList',that.integralList);
  202. that.page = that.page + 1;
  203. that.loading = false;
  204. that.loadend = loadend;
  205. that.loadTitle = loadend ? '哼~😕我也是有底线的~' : "加载更多";
  206. }, function(res) {
  207. this.loading = false;
  208. that.loadTitle = '加载更多';
  209. });
  210. },
  211. shareIntegral(){
  212. uni.setStorageSync('isIntegral',true)
  213. uni.switchTab({
  214. url: '/pages/index/index'
  215. });
  216. },
  217. nav: function(current) {
  218. this.current = current;
  219. }
  220. }
  221. }
  222. </script>
  223. <style scoped lang="scss">
  224. page{
  225. background-color: #fff;
  226. }
  227. .integral-details .header {
  228. background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu4AAADdBAMAAAAWQurTAAAAFVBMVEX+/v5HcEz7+/v9/f3+/v7////////mhpnIAAAAB3RSTlMOAAgSFyI9KYj6FAAADqZJREFUeNrsnct2qzgWhreRM4+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2II/MbBMY4bwEu0Xv+BS5bxU8iMnm97Oa5iruCDpyGUc+sA/nTSPBC35A7oFvxF2fu5/u11Pkvlnwwi/Yc3k3kRHmjod6j+er2wUv9c4byXpC7FLr8vZUBvlT5L5d8ErH4ooitdVi5NVLBHRT77F/Zofgld7lTYFQqft8U2Gpcrve88h9x0lr69uog0/aexggpK6uI/U+8PePS+S+o5em1ztSlx1pb4yEQfmLdmEYjXweue8RfO/vos9AkEat1Kf1jk6XyH1102rNZ9TpqGhildTRpL+79Fm9GW/K7HrHrbPY9a7nMyiP3LfsqT2fWa735BK570viB/nMIn9Hbn1Sj8a1s3v5jF3vWj6D88h9r8VvyWdOl8h9b06zIZ/5uETuuy1+Qz7zv3bO4AZAGIaBJRuYCUr2HxIEDx4g0og8ksobRKfIvUp1Qe7/I97vMxu5B0S822cWkHvAxnt9Jh/2eu8jm99nBOQecm/1+YyA3GOkxuUzAnIPi5pxnxGQe9zhOuwzAnKPtxrTZzaQe/TN1fYZSYu9bs+m2z4jicev229Sw2dy/5xWuFe29i+f0eROBpQm/+4zqSOmPvczbZ4+k33XZ+B+LL32du97Ey0x9SS94avIWujHgh0Xpnp2ycqJawAAAABJRU5ErkJggg==');
  229. background-color: var(--view-theme);
  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. }
  240. .integral-details .header .currentScore {
  241. font-size: 26rpx;
  242. color: rgba(255, 255, 255, 0.8);
  243. text-align: center;
  244. margin-bottom: 11rpx;
  245. }
  246. .currentScore .wenhao{
  247. display: inline-block;
  248. width: 32rpx;
  249. height: 32rpx;
  250. line-height: 32rpx;
  251. text-align: center;
  252. // font-size: 20rpx;
  253. border-radius: 100%;
  254. background-color: rgba(255,255,255,.8);
  255. color: var(--view-theme);
  256. margin-left: 4rpx;
  257. }
  258. .wenhao{
  259. margin-top: -10rpx;
  260. }
  261. .integral-details .header .line {
  262. width: 60rpx;
  263. height: 3rpx;
  264. background-color: #fff;
  265. margin: 20rpx auto 0 auto;
  266. }
  267. .integral-details .header .nav {
  268. font-size: 22rpx;
  269. color: rgba(255, 255, 255, 0.8);
  270. flex: 1;
  271. margin-top: 35rpx;
  272. }
  273. .integral-details .header .nav .item {
  274. width: 33.33%;
  275. text-align: center;
  276. }
  277. .integral-details .header .nav .item .num {
  278. color: #fff;
  279. font-size: 40rpx;
  280. margin-bottom: 5rpx;
  281. }
  282. .integral-details .wrapper .nav {
  283. flex: 1;
  284. width: 690rpx;
  285. border-radius: 20rpx 20rpx 0 0;
  286. margin: -96rpx auto 0 auto;
  287. background-color: #f7f7f7;
  288. height: 96rpx;
  289. font-size: 30rpx;
  290. color: #bbb;
  291. }
  292. .integral-details .wrapper .nav .item {
  293. text-align: center;
  294. width: 50%;
  295. }
  296. .integral-details .wrapper .nav .item.on {
  297. background-color: #fff;
  298. color: var(--view-theme);
  299. font-weight: bold;
  300. border-radius: 20rpx 0 0 0;
  301. }
  302. .p-color {
  303. color: var(--view-priceColor);
  304. }
  305. .integral-details .wrapper .nav .item:nth-of-type(2).on {
  306. border-radius: 0 20rpx 0 0;
  307. }
  308. .integral-details .wrapper .nav .item .iconfont {
  309. font-size: 38rpx;
  310. margin-right: 10rpx;
  311. }
  312. .integral-details .wrapper .list {
  313. background-color: #fff;
  314. padding: 24rpx 30rpx;
  315. }
  316. .integral-details .wrapper .list .tip {
  317. font-size: 25rpx;
  318. width: 690rpx;
  319. border-radius: 50rpx;
  320. background-color: #fff5e2;
  321. border: 1rpx solid #ffeac1;
  322. color: #c8a86b;
  323. padding: 10rpx 20rpx 10rpx 55rpx;
  324. box-sizing: border-box;
  325. margin-bottom: 24rpx;
  326. position: relative;
  327. }
  328. .integral-details .wrapper .list .tip .iconfont {
  329. font-size: 35rpx;
  330. margin-right: 15rpx;
  331. position: absolute;
  332. top: 10rpx;
  333. left: 16rpx;
  334. }
  335. .integral-details .wrapper .list .item {
  336. height: 124rpx;
  337. border-bottom: 1rpx solid #eee;
  338. font-size: 24rpx;
  339. color: #999;
  340. }
  341. .integral-details .wrapper .list .item .state {
  342. font-size: 28rpx;
  343. color: #282828;
  344. margin-bottom: 8rpx;
  345. }
  346. .integral-details .wrapper .list .item .num {
  347. font-size: 36rpx;
  348. }
  349. .integral-details .wrapper .list2 {
  350. background-color: #fff;
  351. padding: 24rpx 0;
  352. }
  353. .integral-details .wrapper .list2 .item {
  354. background-image: linear-gradient(to right, #fff7e7 0%, #fffdf9 100%);
  355. width: 690rpx;
  356. height: 180rpx;
  357. position: relative;
  358. border-radius: 10rpx;
  359. margin: 0 auto 20rpx auto;
  360. padding: 0 25rpx 0 180rpx;
  361. box-sizing: border-box;
  362. }
  363. .integral-details .wrapper .list2 .item .pictrue {
  364. width: 90rpx;
  365. height: 150rpx;
  366. position: absolute;
  367. bottom: 0;
  368. left: 45rpx;
  369. }
  370. .integral-details .wrapper .list2 .item .pictrue image {
  371. width: 100%;
  372. height: 100%;
  373. }
  374. .integral-details .wrapper .list2 .item .name {
  375. width: 285rpx;
  376. font-size: 30rpx;
  377. font-weight: bold;
  378. color: #c8a86b;
  379. }
  380. .integral-details .wrapper .list2 .item .earn {
  381. font-size: 26rpx;
  382. color: #c8a86b;
  383. border: 2rpx solid #c8a86b;
  384. text-align: center;
  385. line-height: 52rpx;
  386. height: 52rpx;
  387. width: 160rpx;
  388. border-radius: 50rpx;
  389. }
  390. .instructions{
  391. width: 100%;
  392. height: 100%;
  393. position: fixed;
  394. top: 0;
  395. left: 0;
  396. background: rgba(0, 0, 0, .5);
  397. z-index: 10;
  398. }
  399. .instructions .setAgCount {
  400. background: #fff;
  401. width: 656rpx;
  402. height: 458px;
  403. position: absolute;
  404. top: 50%;
  405. left: 50%;
  406. border-radius: 12rpx;
  407. -webkit-border-radius: 12rpx;
  408. padding: 52rpx;
  409. -webkit-transform: translate(-50%, -50%);
  410. -moz-transform: translate(-50%, -50%);
  411. transform: translate(-50%, -50%);
  412. overflow: hidden;
  413. .content {
  414. height: 900rpx;
  415. overflow-y: scroll;
  416. /deep/ p {
  417. font-size: 13px;
  418. line-height: 22px;
  419. }
  420. /deep/ img {
  421. max-width: 100%;
  422. }
  423. }
  424. }
  425. .instructions .setAgCount .icon {
  426. font-size: 42rpx;
  427. color: #b4b1b4;
  428. position: absolute;
  429. top: 15rpx;
  430. right: 15rpx;
  431. }
  432. .instructions .setAgCount .title {
  433. color: #333;
  434. font-size: 32rpx;
  435. text-align: center;
  436. font-weight: bold;
  437. }
  438. .instructions .setAgCount .content {
  439. margin-top: 32rpx;
  440. color: #333;
  441. font-size: 26rpx;
  442. line-height: 22px;
  443. text-align: justify;
  444. text-justify: distribute-all-lines;
  445. height: 756rpx;
  446. overflow-y: scroll;
  447. }
  448. </style>