feat:签名功能
This commit is contained in:
@@ -4,36 +4,38 @@
|
||||
left-path="/pages/mine_package/mine_purse/mine_purse" />
|
||||
|
||||
<view class="info_warp">
|
||||
<view class="info_title_warp">
|
||||
<view :class="selInfo === item.key ? 'info_title_item_warp info_title_item_sel_warp' : 'info_title_item_warp'"
|
||||
v-for="item in infoList" :key="item.key" @click="selectInfo(item)">
|
||||
<text>{{ item.name }}</text>
|
||||
<view class="info_title_item_sel_but_warp" v-if="selInfo === item.key"></view>
|
||||
<view v-if="form.category === 'raffle' || form.category === 'vcoin'">
|
||||
<view class="info_title_warp">
|
||||
<view :class="selInfo === item.key ? 'info_title_item_warp info_title_item_sel_warp' : 'info_title_item_warp'"
|
||||
v-for="item in infoList" :key="item.key" @click="selectInfo(item)">
|
||||
<text>{{ item.name }}</text>
|
||||
<view class="info_title_item_sel_but_warp" v-if="selInfo === item.key"></view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="line"></view>
|
||||
</view>
|
||||
|
||||
<view class="line"></view>
|
||||
|
||||
<view class="info_center_warp">
|
||||
<view class="info_center_warp-item">
|
||||
<view class="info_center_warp-item-top">21</view>
|
||||
<view class="info_center_warp-item-bottom">商城总挖矿数量</view>
|
||||
</view>
|
||||
<view class="info_center_warp-item">
|
||||
<view class="info_center_warp-item-top">231</view>
|
||||
<view class="info_center_warp-item-bottom">已兑换数量</view>
|
||||
|
||||
<view v-if="form.category === 'vcoin' || form.category === 'bonus' || form.category === 'expend'">
|
||||
<view class="info_center_warp">
|
||||
<view class="info_center_warp-item" v-for="item in source">
|
||||
<view class="info_center_warp-item-top">21</view>
|
||||
<view class="info_center_warp-item-bottom">{{ item.name }}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="line"></view>
|
||||
</view>
|
||||
|
||||
<view class="line"></view>
|
||||
|
||||
<view class="info_list_warp">
|
||||
|
||||
<view class="info_list_warp-mine">
|
||||
<scroll-view scroll-y="true" @scrolltolower="loadMore(selInfo)" style="height:calc(100vh - 300rpx)">
|
||||
<view v-for="item in orderList" :key="item.id" class="purse_info_item"
|
||||
<view v-for="item in orderList" :key="item.id" class="purse_info_item-mine"
|
||||
v-if="orderList && orderList.length !== 0">
|
||||
<view class="purse_info_left">
|
||||
<!-- <up-image :src="item.type === 1? '/static/mine/purse_sf.png' : '/static/mine/purse_xf.png'" width="40" height="40" bgColor="#f1f6ff00"></up-image> -->
|
||||
<up-image src="/static/mine/purse_sf.png" width="40" height="40" bgColor="#f1f6ff00"></up-image>
|
||||
<up-image src="/static/mine/purse_sf.png" width="32" height="32" bgColor="#f1f6ff00"></up-image>
|
||||
<view class="purse_data_warp">
|
||||
<view class="purse_info_name">{{ getValue(BALANCE_TYPE, item.type) }}</view>
|
||||
<view class="purse_info_value">{{ formatDate(item.ctdate) }}</view>
|
||||
@@ -81,6 +83,7 @@ export default {
|
||||
key: "lock"
|
||||
},
|
||||
],
|
||||
source: [],
|
||||
selInfo: "cur",
|
||||
form: {
|
||||
id: 0,
|
||||
@@ -100,6 +103,68 @@ export default {
|
||||
}
|
||||
const lockId = option.lockId;
|
||||
const curId = option.curId;
|
||||
|
||||
// 分红金额
|
||||
if (category === 'bonus') {
|
||||
this.source = [
|
||||
{
|
||||
name: "今日分红数量",
|
||||
key: "cur"
|
||||
},
|
||||
{
|
||||
name: "总分红数量",
|
||||
key: "lock"
|
||||
},
|
||||
{
|
||||
name: "平台总分红",
|
||||
key: "lock"
|
||||
},
|
||||
{
|
||||
name: "分红资金池剩余",
|
||||
key: "lock"
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
// TBC
|
||||
if (category === 'vcoin') {
|
||||
this.source = [
|
||||
{
|
||||
name: "商城总挖矿数量",
|
||||
key: "cur"
|
||||
},
|
||||
{
|
||||
name: "已兑换数量",
|
||||
key: "lock"
|
||||
},
|
||||
];
|
||||
|
||||
}
|
||||
// 贡献值 expend
|
||||
if (category === 'expend') {
|
||||
this.source = [
|
||||
{
|
||||
name: "今日贡献值",
|
||||
key: "cur"
|
||||
},
|
||||
{
|
||||
name: "总贡献值",
|
||||
key: "lock"
|
||||
},
|
||||
{
|
||||
name: "今日商城贡献值",
|
||||
key: "lock"
|
||||
},
|
||||
{
|
||||
name: "我的占比",
|
||||
key: "lock"
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
if (lockId && lockId !== 'null') {
|
||||
this.lockId = lockId;
|
||||
// this.selectInfo(this.infoList[1]);
|
||||
@@ -223,7 +288,7 @@ export default {
|
||||
.info_center_warp {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 32rpx 100rpx;
|
||||
padding: 32rpx;
|
||||
|
||||
.info_center_warp-item {
|
||||
.info_center_warp-item-top {
|
||||
@@ -242,15 +307,49 @@ export default {
|
||||
}
|
||||
}
|
||||
|
||||
.info_list_warp-mine {
|
||||
padding: 44rpx 32rpx;
|
||||
|
||||
.purse_info_item-mine {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border: 0;
|
||||
height: 128rpx;
|
||||
margin-bottom: 0;
|
||||
padding: 0;
|
||||
|
||||
.purse_data_warp {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin-left: 20rpx;
|
||||
|
||||
.purse_info_name {
|
||||
font-size: 28rpx;
|
||||
color: #333333;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.purse_info_value {
|
||||
font-size: 24rpx;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.purse_info_title {
|
||||
font-weight: bold;
|
||||
font-size: 32px;
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.info_list_warp {
|
||||
margin-top: 30rpx;
|
||||
// height: calc(100vh - 500rpx);
|
||||
// overflow-y: auto;
|
||||
.purse_info_left .ipurse_nfo_right {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user