123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569 |
- <template>
- <!-- 积分详情 -->
- <view class="pageTop">
- <view class='integral-details' :style="colorStyle">
- <view class='header'>
- <view class='nav acea-row'>
- <!-- <view class='item'>
- <view class='num'>{{userInfo.action_integral}}</view>
- <view>贡献分</view>
- </view> -->
- <view class='item'>
- <view class='num'>{{userMoney}}</view>
- <view v-if="modelType==2">总参考分</view>
- <view v-else>当前余额</view>
- </view>
- </view>
- <navigator url="/pages/users/user_payment/integral" v-if="modelType==3">
- <view class="target">
- 消费分转账
- </view>
- </navigator>
- </view>
- <view class='wrapper'>
- <view class='nav acea-row'>
- <template v-for="(item,index) in navList">
- <view v-if="(modelType==3||modelType==2)&&index==0" class='item acea-row row-center-wrapper'
- :class='current==index?"on":""' :key='index' @click='nav(index)'><text class='iconfont'
- :class="item.icon"></text>{{item.name}}</view>
- </template>
- </view>
- <view class='list'>
- <view class='item acea-row row-between-wrapper'
- v-for="(item,index) in navList[current].integralList" :key="index">
- <view>
- <view class='state'>{{item.mark}}</view>
- <view v-if="modelType==2">
- 释放 {{(item.sent_day)}}/{{item.send_day}}天 释放值 {{item.day_send+item.computedNum}}
- </view>
- <view v-if="modelType==2">
- 提取 {{item.extracted_num}}/{{item.sent_num}} 复投 {{item.reorder_count}}次
- </view>
- <view v-if="modelType==2">{{item.add_time|dateFormat}}</view>
- <view v-else>{{item.add_time}}</view>
- </view>
- <view class='num font-color' style="flex-shrink: 0;">
- <view class="modelType" v-if="modelType==2">{{item.num}}</view>
- <view v-else>{{item.num}}</view>
- <!-- <view class='buttom' @click='out(item)'
- v-if="item.status==0&&modelType==2&&item.extract_num>0">立即提取</view> -->
- </view>
- </view>
- <view class='loadingicon acea-row row-center-wrapper' v-if="navList[current].integralList.length>0">
- <text class='loading iconfont icon-jiazai'
- :hidden='navList[current].loading==false'></text>{{navList[current].loadTitle}}
- </view>
- <view v-if="navList[current].integralList.length == 0">
- <emptyPage title="暂无记录哦~"></emptyPage>
- </view>
- </view>
- </view>
- </view>
- <home v-if="navigation"></home>
- <!-- #ifdef MP -->
- <!-- <authorize v-if="isShowAuth" @authColse="authColse" @onLoadFun="onLoadFun"></authorize> -->
- <!-- #endif -->
- </view>
- </template>
- <script>
- import home from '@/components/home';
- import {
- getUserInfo,
- getIntegralListAction,
- getIntegralListActionOut,
- getIntegralList,
- } from '@/api/user.js';
- import dayjs from '@/plugin/dayjs/dayjs.min.js';
- import {
- toLogin
- } from '@/libs/login.js';
- import {
- mapGetters
- } from "vuex";
- import emptyPage from '@/components/emptyPage.vue';
- import colors from '@/mixins/color'
- export default {
- components: {
- emptyPage,
- home
- },
- filters: {
- dateFormat: function(value) {
- return dayjs(value * 1000).format('YYYY-MM-DD hh:mm:ss');
- }
- },
- mixins: [colors],
- data() {
- return {
- modelType: 0,
- numType: '',
- navList: [{
- 'name': '全部',
- page: 1,
- limit: 10,
- integralList: [],
- loadend: false,
- loading: false,
- loadTitle: '加载更多',
- },
- {
- 'name': '收入',
- page: 1,
- limit: 10,
- integralList: [],
- loadend: false,
- loading: false,
- loadTitle: '加载更多',
- },
- {
- 'name': '支出',
- page: 1,
- limit: 10,
- integralList: [],
- loadend: false,
- loading: false,
- loadTitle: '加载更多',
- }
- ],
- current: 0,
- userInfo: {},
- isAuto: false, //没有授权的不会自动授权
- isShowAuth: false, //是否隐藏授权
- isTime: 0
- };
- },
- computed: {
- ...mapGetters(['isLogin']),
- userMoney() {
- if (this.numType) {
- return this.userInfo[this.numType]
- } else {
- return 0
- }
- }
- },
- watch: {
- isLogin: {
- handler: function(newV, oldV) {
- if (newV) {
- this.getUserInfo();
- this.getIntegralList();
- }
- },
- deep: true
- }
- },
- onLoad(option) {
- if (this.isLogin) {
- this.getUserInfo();
- if (option.type == 2) {
- uni.setNavigationBarTitle({
- title: "参考分"
- })
- }
- if (option.type == 3) {
- uni.setNavigationBarTitle({
- title: "消费分"
- })
- }
- if (option.type) {
- this.modelType = option.type;
- }
- if (option.numType) {
- this.numType = option.numType;
- }
- this.loadList();
- } else {
- toLogin()
- }
- },
- onShow() {
- uni.removeStorageSync('form_type_cart');
- },
- /**
- * 页面上拉触底事件的处理函数
- */
- onReachBottom: function() {
- this.loadList();
- },
- methods: {
- loadList() {
- if (this.modelType == 2) {
- this.getIntegralListAction();
- }
- if (this.modelType == 3) {
- this.getIntegralList();
- }
- },
- /**
- * 授权回调
- */
- onLoadFun: function() {
- this.getUserInfo();
- this.getIntegralList();
- this.isShowAuth = false;
- },
- // 授权关闭
- authColse: function(e) {
- this.isShowAuth = e
- },
- // 立即出局
- out(item) {
- const that = this;
- uni.showModal({
- title: '提示',
- content: `是否立即提取${item.extract_num
- }参考分`,
- success: res => {
- if (res.confirm) {
- uni.showModal({
- title: '请输入登录密码确认',
- editable: true,
- success: res => {
- if (res.confirm) {
- getIntegralListActionOut({
- id: item.id,
- password: res.content,
- num: item.extract_num
- }).then((res) => {
- that.getIntegralListAction();
- uni.showToast({
- title: res.msg,
- });
- }).catch((err) => {
- uni.showToast({
- title: err,
- icon: 'error'
- });
- })
- }
- },
- });
- }
- },
- fail: () => {},
- complete: () => {}
- });
- },
- getUserInfo: function() {
- let that = this;
- getUserInfo({}).then(function(res) {
- console.log(res.data);
- res.data.integral_price = (+res.data.integral_price).toFixed(2);
- res.data.static_integral = (+res.data.static_integral).toFixed(2);
- res.data.action_integral = (+res.data.action_integral).toFixed(2);
- that.$set(that, 'userInfo', res.data);
- });
- },
- // 消费分记录
- getIntegralListAction: function() {
- let that = this.navList[this.current];
- const thatt = this;
- if (that.loading) return;
- if (that.loadend) return;
- that.loading = true;
- that.loadTitle = '';
- getIntegralListAction({
- page: that.page,
- limit: that.limit,
- type: this.current
- }).then(function(res) {
- let list = res.data.list.map((e) => {
- e.up_speed = +e.up_speed;
- e.day_send = +e.day_send;
- e.extract_num = +e.extract_num;
- e.sent_num = +e.sent_num;
- e.num = +e.num;
- e.extracted_num = +e.extracted_num;
- e.computedNum = 0;
- if (e.up_speed > 0) {
- if (e.send_day > e.sent_day) {
- e.computedNum = ((e.up_speed - e.up_speed_used) / (e.send_day - e
- .sent_day)).toFixed(2) * 1
- }
- }
- return e
- })
- thatt.addArray(that, list);
- }, function(res) {
- that.loading = false;
- that.loadTitle = '加载更多';
- });
- },
- /**
- * 获取积分明细
- */
- getIntegralList: function() {
- let that = this.navList[this.current];
- const thatt = this;
- if (that.loading) return;
- if (that.loadend) return;
- that.loading = true;
- that.loadTitle = '';
- getIntegralList({
- page: that.page,
- limit: that.limit,
- type: this.current
- }).then(function(res) {
- let list = res.data;
- thatt.addArray(that, list)
- }, function(res) {
- that.loading = false;
- that.loadTitle = '加载更多';
- });
- },
- addArray(that, list) {
- const SplitArray = this.$util.SplitArray;
- try {
- let loadend = list.length < that.limit;
- that.integralList = SplitArray(list, that.integralList);
- that.page = that.page + 1;
- that.loading = false;
- that.loadend = loadend;
- that.loadTitle = loadend ? '没有更多内容啦~' : "加载更多";
- } catch (e) {
- console.log(e);
- //TODO handle the exception
- }
- console.log(that.integralList, 'that.integralList')
- },
- nav: function(current) {
- this.current = current;
- this.getIntegralList();
- }
- }
- }
- </script>
- <style scoped lang="scss">
- .pageTop {}
- .integral-details {
- .header {
- // background-image: url('data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAoHBwkHBgoJCAkLCwoMDxkQDw4ODx4WFxIZJCAmJSMgIyIoLTkwKCo2KyIjMkQyNjs9QEBAJjBGS0U+Sjk/QD3/2wBDAQsLCw8NDx0QEB09KSMpPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT3/wgARCAHMAu4DAREAAhEBAxEB/8QAGQABAQEBAQEAAAAAAAAAAAAAAAECAwQF/8QAGQEBAQEBAQEAAAAAAAAAAAAAAAECAwUH/9oADAMBAAIQAxAAAAD5nh/QwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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height: 460rpx;
- font-size: 72rpx;
- color: #fff;
- padding: 31rpx 0 45rpx 0;
- box-sizing: border-box;
- text-align: center;
- font-family: 'Guildford Pro';
- // background-color: var(--view-theme);
- background-image: linear-gradient(45deg, rgb(255, 242, 232) 10%, #fff0f2 35%, rgb(255, 234, 247) 45%, #ffcdd3 75%, #ffb0b3);
- position: relative;
- padding-top: calc(var(--status-bar-height) + 50rpx);
- .currentScore {
- font-size: 26rpx;
- color: rgba(255, 255, 255, 0.8);
- text-align: center;
- margin-bottom: 11rpx;
- }
- .scoreNum {
- font-family: "Guildford Pro";
- }
- .line {
- width: 60rpx;
- height: 3rpx;
- background-color: #fff;
- margin: 20rpx auto 0 auto;
- }
- .nav {
- font-size: 22rpx;
- color: rgba(255, 255, 255, 0.8);
- flex: 1;
- margin-top: 94rpx;
- overflow: hidden;
- .item {
- width: 100%;
- text-align: center;
- font-weight: bold;
- font-size: 28rpx;
- color: #FFFFFF;
- .num {
- font-weight: 800;
- font-size: 63rpx;
- }
- }
- }
- }
- }
- .integral-details {
- .wrapper {
- position: relative;
- .nav {
- flex: 1;
- width: 690rpx;
- border-radius: 20rpx 20rpx 0 0;
- margin: -96rpx auto 0 auto;
- background-color: #f7f7f7;
- height: 96rpx;
- font-size: 30rpx;
- color: #bbb;
- overflow: hidden;
- .item {
- text-align: center;
- width: 33%;
- flex-grow: 1;
- &.on {
- background-color: #fff;
- color: var(--view-theme);
- font-weight: bold;
- }
- .iconfont {
- font-size: 38rpx;
- margin-right: 10rpx;
- }
- }
- .item:nth-of-type(1).on {
- border-radius: 20rpx 0 0 0;
- }
- .item:nth-of-type(3).on {
- border-radius: 0 20rpx 0 0;
- }
- }
- .list {
- background-color: #fff;
- padding: 24rpx 30rpx;
- .tip {
- font-size: 25rpx;
- width: 690rpx;
- min-height: 60rpx;
- border-radius: 50rpx;
- background-color: #fff5e2;
- border: 1rpx solid #ffeac1;
- color: #c8a86b;
- padding: 0 20rpx;
- box-sizing: border-box;
- margin-bottom: 24rpx;
- .tipCon {
- width: 595rpx;
- }
- .iconfont {
- font-size: 35rpx;
- margin-right: 15rpx;
- }
- }
- .item {
- min-height: 124rpx;
- border-bottom: 1rpx solid #eee;
- font-size: 24rpx;
- color: #999;
- padding: 20rpx 0;
- .state {
- font-size: 28rpx;
- color: #282828;
- margin-bottom: 8rpx;
- }
- .num {
- font-size: 36rpx;
- font-family: 'Guildford Pro';
- color: #16AC57;
- display: flex;
- flex-direction: column;
- align-items: flex-end;
- &.font-color {
- color: #E93323 !important;
- }
- .buttom {
- font-size: 24rpx;
- border-radius: 20rpx;
- line-height: 1;
- padding: 10rpx 20rpx;
- background-color: var(--view-theme);
- color: #FFF;
- }
- }
- }
- }
- }
- }
- .integral-details .wrapper .list2 {
- background-color: #fff;
- padding: 24rpx 0;
- }
- .integral-details .wrapper .list2 .item {
- background-image: linear-gradient(to right, #fff7e7 0%, #fffdf9 100%);
- width: 690rpx;
- height: 180rpx;
- position: relative;
- border-radius: 10rpx;
- margin: 0 auto 20rpx auto;
- padding: 0 25rpx 0 180rpx;
- box-sizing: border-box;
- }
- .integral-details .wrapper .list2 .item .pictrue {
- width: 90rpx;
- height: 150rpx;
- position: absolute;
- bottom: 0;
- left: 45rpx;
- }
- .integral-details .wrapper .list2 .item .pictrue image {
- width: 100%;
- height: 100%;
- }
- .integral-details .wrapper .list2 .item .name {
- width: 285rpx;
- font-size: 30rpx;
- font-weight: bold;
- color: #c8a86b;
- }
- .integral-details .wrapper .list2 .item .earn {
- font-size: 26rpx;
- color: #c8a86b;
- border: 2rpx solid #c8a86b;
- text-align: center;
- line-height: 52rpx;
- height: 52rpx;
- width: 160rpx;
- border-radius: 50rpx;
- }
- .target {
- position: absolute;
- bottom: 130rpx;
- right: 0rpx;
- padding: 6rpx 30rpx;
- border: 1px solid #FFF;
- border-right: none;
- font-size: 30rpx;
- border-bottom-left-radius: 100rpx;
- border-top-left-radius: 100rpx;
- }
- </style>
|