[贡献值记录模块调整]

This commit is contained in:
2021-10-19 13:22:17 +08:00
parent 2d7da5d5c6
commit 3aa6fb1882
4 changed files with 80 additions and 168 deletions

View File

@@ -40,7 +40,7 @@
<view class="item-num">{{base.account.token}}</view>
<view class="item-title">原石</view>
</view>
<view class="item" @click="showToast">
<view class="item" @click="$Router.push({name:'Fragment'})">
<view class="item-num">{{base.account.contribution}}</view>
<view class="item-title">当前贡献值</view>
</view>

View File

@@ -29,14 +29,14 @@
<uni-icons type="arrowdown" color="#fff" size="12" />
</view>
</view>
<view class="record-type-right">
<!-- <view class="record-type-right">
<view :class="['pay_type_item',cointype==='all'?'pay_type_item_select':'']" @click="selectCoinType('all')">全部</view>
<view :class="['pay_type_item',cointype==='1'?'pay_type_item_select':'']" @click="selectCoinType('1')">待发放</view>
<view :class="['pay_type_item',cointype==='0'?'pay_type_item_select':'']" @click="selectCoinType('0')">已发放</view>
</view> -->
</view>
</view>
<view class="record-title">当前碎片个数</view>
<view class="record-money">{{score || '0.00'}} <span></span></view>
<view class="record-title">当前贡献值个数</view>
<view class="record-money">{{score || 0}} <span></span></view>
</view>
<!-- 列表 -->
@@ -53,7 +53,7 @@
</view>
</view>
<!-- 无列表 -->
<no-list v-if="lists.length === 0" name='no-record' txt="没有任何碎片记录 ~ " />
<no-list v-if="lists.length === 0" name='no-record' txt="没有任何贡献值记录 ~ " />
<!-- <u-toast ref="uToast" /> -->
<u-toast ref="uToast" />
@@ -108,7 +108,7 @@
frozen:this.cointype
}
userAccoutScores(data).then(res => {
this.score = res.score
this.score = parseInt(res.score)
this.lists = this.lists.concat(res.lists.data)
this.has_next_page = res.lists.page.has_more
}).catch(err => {
@@ -257,13 +257,13 @@
.record-top {
width: calc(100% - 60rpx);
// height: 360rpx;
background-image: linear-gradient(to right, #7c52fc, #976dff);
box-shadow: 0 10rpx 20rpx 0rpx rgba($color: #976dff, $alpha: 0.4);
background-image: linear-gradient(to bottom, #e93340, #e93340);
box-shadow: 0 10rpx 20rpx 0rpx rgba($color: #e93340, $alpha: 0.4);
margin: 0 30rpx;
border-radius: 20rpx;
box-sizing: border-box;
position: relative;
padding: 30rpx 30rpx 50rpx 50rpx;
padding: 10rpx 30rpx 50rpx 50rpx;
z-index: 1;
.record-bg {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long