2312970463@qq.com %!s(int64=4) %!d(string=hai) anos
pai
achega
c94708fa7c

+ 2 - 2
manifest.json

@@ -4,8 +4,8 @@
     // __UNI__6FC8B70
     // "appid" : "__UNI__6FC8B70",
     "description" : "",
-    "versionName" : "1.2.0",
-    "versionCode" : 120,
+    "versionName" : "1.2.1",
+    "versionCode" : 121,
     "transformPx" : false,
     "app-plus" : {
         /* 5+App特有相关 */

+ 12 - 0
pages.json

@@ -215,6 +215,18 @@
 				"navigationBarTitleText": "设置"
 			}
 		},
+		{
+			"path": "pages/user/revenue",
+			"style": {
+				"navigationBarTitleText": "算力收益"
+			}
+		},
+		{
+			"path": "pages/user/sharerevenue",
+			"style": {
+				"navigationBarTitleText": "邀请算力收益"
+			}
+		},
 		{
 			"path": "pages/public/wxLogin",
 			"style": {

+ 326 - 1
pages/index/index.vue

@@ -35,7 +35,7 @@
 		</view>
 		<!-- <image class="logo-img" @click="navTo('/pages/index/information')" src="../../static/img/img44.png"></image> -->
 		<view class="notice-box">
-			<view class="notice-title flex_item">
+			<!-- <view class="notice-title flex_item">
 				<image src="../../static/img/img32.png"></image>
 				<view class="title">行情</view>
 			</view>
@@ -50,6 +50,207 @@
 						<view class="tip grenn" v-if="ls.up == 0 || ls.up < 0">{{ls.up * 100}}%</view>
 					</view>
 				</view>
+			</view> -->
+			<view class="title">
+				六牛云储运营数据
+			</view>
+			<view class="info-box">
+				<view class="top">
+					<view class="top-left">Filcoin</view>
+					<view class="top-right">
+						<view class="top-right-top">
+							全网算力
+						</view>
+						<view class="top-right-bottom">
+							7.255 EiB
+						</view>
+					</view>
+				</view>
+				<view class="middle">
+					<view class="middle-item">
+						<view class="item-name">
+							今日新增算力
+						</view>
+						<view class="item-val">
+							285.77 TiB
+						</view>
+					</view>
+					<view class="middle-item">
+						<view class="item-name text-right">
+							平台总算力
+						</view>
+						<view class="item-val text-right">
+							25.770 PiB
+						</view>
+					</view>
+				</view>
+				<view class="bottom">
+					<view class="bottom-item">
+						<view class="item-name" style="color: #FB3A2F;">
+							今日单T产量>>>
+						</view>
+						<view class="item-val">
+							0.0255 FIL
+						</view>
+					</view>
+					<view class="bottom-item">
+						<view class="item-name text-right">
+							FIL/USDT
+						</view>
+						<view class="item-val text-right">
+							$53.800
+						</view>
+					</view>
+				</view>
+			</view>
+			<view class="title" style="padding-top: 24rpx;">
+				Swarm资讯
+			</view>
+			<view class="info-box">
+				<view class="top">
+					<view class="top-left">Bzz</view>
+					<view class="top-right">
+						<view class="top-right-top">
+							
+						</view>
+						<view class="top-right-bottom">
+							
+						</view>
+					</view>
+				</view>
+				<view class="middle">
+					<view class="middle-item">
+						<view class="item-name">
+							可达节点数量
+						</view>
+						<view class="item-val">
+							9789.00
+						</view>
+					</view>
+					<view class="middle-item">
+						<view class="item-name text-right">
+							活跃节点总数
+						</view>
+						<view class="item-val text-right">
+							258125
+						</view>
+					</view>
+				</view>
+				<view class="bottom">
+					<view class="bottom-item">
+						<view class="item-name">
+							不可达节点数量
+						</view>
+						<view class="item-val">
+							254562.00
+						</view>
+					</view>
+					<view class="bottom-item">
+						<view class="item-name text-right">
+							已兑换总额
+						</view>
+						<view class="item-val text-right">
+							1.9565 gbzz
+						</view>
+					</view>
+				</view>
+			</view>
+			<view class="title" style="padding-top: 24rpx;">
+				活动中心
+			</view>
+			<image src="../../static/img/ad.png" mode="" class="ad"></image>
+			<view class="tit">
+				六牛云储FIL节点
+			</view>
+			<view class="kg-item">
+				<view class="item-na">
+					矿工号:<text>f073844</text>
+				</view>
+				<view class="item-info">
+					<view class="item-name">账户余额</view>
+					<view class="item-val">152415.2 FIL</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">可用余额</view>
+					<view class="item-val">1725.123 FIL</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">扇区抵押</view>
+					<view class="item-val">100961.12 FIL</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">挖矿锁仓</view>
+					<view class="item-val">15996.266 FIL</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">全网占比</view>
+					<view class="item-val">0.15%</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">全网排名</view>
+					<view class="item-val">142</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">原值算力</view>
+					<view class="item-val">10.23 PiiB</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">累计出块份数</view>
+					<view class="item-val">5554</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">累计出块奖励</view>
+					<view class="item-val">125236.08 FIL</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">扇区大小</view>
+					<view class="item-val">32.0GiB</view>
+				</view>
+			</view>
+			<view class="kg-item">
+				<view class="item-na">
+					矿工号:<text>f020742</text>
+				</view>
+				<view class="item-info">
+					<view class="item-name">账户余额</view>
+					<view class="item-val">152415.2 FIL</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">可用余额</view>
+					<view class="item-val">1725.123 FIL</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">扇区抵押</view>
+					<view class="item-val">100961.12 FIL</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">挖矿锁仓</view>
+					<view class="item-val">15996.266 FIL</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">全网占比</view>
+					<view class="item-val">0.15%</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">全网排名</view>
+					<view class="item-val">142</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">原值算力</view>
+					<view class="item-val">10.23 PiiB</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">累计出块份数</view>
+					<view class="item-val">5554</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">累计出块奖励</view>
+					<view class="item-val">125236.08 FIL</view>
+				</view>
+				<view class="item-info">
+					<view class="item-name">扇区大小</view>
+					<view class="item-val">32.0GiB</view>
+				</view>
 			</view>
 		</view>
 		<view class="list-box flex">
@@ -208,7 +409,131 @@ page {
 	}
 }
 .notice-box{
+	.text-right {
+		text-align: right;
+	}
 	padding: 40rpx 0rpx;
+	.title {
+		font-size: 28rpx;
+		padding-bottom: 19rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #000000;
+		position: relative;
+		left: -13rpx;
+	}
+	.info-box {
+		width: 678rpx;
+		height: 282rpx;
+		margin: 0 auto;
+		background: #FFFFFF;
+		border: 2px solid #5771DF;
+		border-radius: 5rpx;
+		padding: 15rpx 22rpx 25rpx;
+		font-size: 22rpx;
+		font-family: PingFang SC;
+		font-weight: 500;
+		color: #333333;
+		// line-height: 1;
+		display: flex;
+		flex-direction: column;
+		justify-content: space-between;
+		// justify-content: ;
+		.top {
+			display: flex;
+			align-items: center;
+			justify-content: space-between;
+			.top-left {
+				font-size: 63rpx;
+				font-family: PingFang SC;
+				font-weight: bold;
+				color: #5771DF;
+			}
+			.top-right {
+				text-align: right;
+				.top-right-bottom {
+					font-size: 30rpx;
+					font-family: PingFang SC;
+					font-weight: bold;
+					color: #5771DF;
+				}
+			}
+		}
+		.middle {
+			display: flex;
+			justify-content: space-between;
+			.middle-item {
+				display: flex;
+				flex-direction: column;
+				.item-val {
+					font-size: 30rpx;
+					font-family: PingFang SC;
+					font-weight: bold;
+					color: #5771DF;
+				}
+			}
+		}
+		.bottom {
+			display: flex;
+			justify-content: space-between;
+			.item-val {
+				display: flex;
+				// justify-content: ;
+				font-size: 30rpx;
+				font-family: PingFang SC;
+				font-weight: bold;
+				color: #5771DF;
+			}
+		}
+	}
+	.ad {
+		display: block;
+		margin: 0 auto;
+		width: 678rpx;
+		height: 162rpx;
+	}
+	.tit {
+		margin: 0 auto;
+		margin-top: 31rpx;
+		width: 678rpx;
+		height: 59rpx;
+		background: #5771DF;
+		border-radius: 5rpx;
+		text-align: center;
+		font-size: 28rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #FFFFFF;
+		line-height: 59rpx;
+	}
+	.kg-item {
+		height: 100%;
+		height: 610rpx;
+		border-bottom: 1px solid #F3F4F6;
+		padding: 40rpx 17rpx 0;
+		line-height: 1;
+		font-size: 28rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #333333;
+		.item-na {
+			padding-bottom: 39rpx;
+			text {
+				color:#FB3A2F;
+			}
+		}
+		.item-info {
+			padding-left: 16rpx;
+			font-size: 24rpx;
+			font-family: PingFang SC;
+			font-weight: bold;
+			color: #333333;
+			line-height: 1;
+			padding-bottom: 24rpx;
+			display: flex;
+			justify-content: space-between;
+		}
+	}
 	.notice-title{
 		padding-bottom: 30rpx;
 		image{

+ 271 - 0
pages/user/revenue.vue

@@ -0,0 +1,271 @@
+<template>
+	<view class="revenue">
+		<view class="top-jg">
+			
+		</view>
+		<view class="nav-wrapper">
+			<view class="nav-item" v-for="(item, index) in navList" :key="index" :class="{ active: currentIndex === index }" @click="navClick(index)">{{ item.title }}</view>
+		</view>
+		<view class="all-num">
+			<view class="">
+				<view class="title">总收益</view>
+				<view class="num">{{allIncome}}{{navList[currentIndex].unit}}</view>
+			</view>
+			<view class="">
+				<view class="title">累计释放</view>
+				<view class="num">{{ljIncome}}{{navList[currentIndex].unit}}</view>
+			</view>
+			<view class="">
+				<view class="title">待释放</view>
+				<view class="num">{{wait}}{{navList[currentIndex].unit}}</view>
+			</view>
+		</view>
+		<view class="tip">
+			<view class="line"></view>
+			<view class="title">每日收益记录</view>
+			<view class="line"></view>
+		</view>
+		<scroll-view :style="{ height: height }" class="days" scroll-y>
+			<empty v-if="navList[currentIndex].loaded === true && navList[currentIndex].list.length === 0"></empty>
+			<view class="day-item" v-for="(item,index) in navList[currentIndex].list" :key="index">
+				<view class="item">
+					<view class="item-title">结算日期:</view>
+					<view class="item-value">2021-07-04</view>
+				</view>
+				<view class="item">
+					<view class="item-title">今日可用<text>25%</text></view>
+					<view class="item-value">0.09{{navList[currentIndex].unit}}</view>
+				</view>
+				<view class="item">
+					<view class="item-title">今日冻结<text>25%</text></view>
+					<view class="item-value">0.09{{navList[currentIndex].unit}}</view>
+				</view>
+				<view class="item">
+					<view class="item-title">今日释放<text>1/150</text></view>
+					<view class="item-value">0.09{{navList[currentIndex].unit}}</view>
+				</view>
+				<uni-load-more :status="item.loadingType"></uni-load-more>
+			</view>
+			
+		</scroll-view>
+	</view>
+</template>
+
+<script>
+import empty from '@/components/empty';
+import uniLoadMore from '@/components/uni-load-more/uni-load-more.vue';
+export default {
+	components:{
+		empty,
+		uniLoadMore
+	},
+	data() {
+		return {
+			navList: [
+				{
+					title: 'Fil',
+					unit: 'FIL',
+					list: [],
+					page: 1,
+					limit: 10,
+					loadingType: 'more',
+				},
+				{
+					title: 'Chia',
+					unit: 'XCH',
+					list: [],
+					page: 1,
+					limit: 10,
+					loadingType: 'more',
+				},
+				{
+					title: 'Bzz',
+					unit: 'BZZ',
+					list: [],
+					page: 1,
+					limit: 10,
+					loadingType: 'more',
+				}
+			],
+			currentIndex: 0,
+			height: 0,
+			allIncome: 0,//总收益
+			ljIncome: 0,//累计收益
+			wait: 0//待释放
+		};
+	},
+	onReady(res) {
+		var _this = this;
+		uni.getSystemInfo({
+			success: resu => {
+				const query = uni.createSelectorQuery();
+				query.select('.days').boundingClientRect();
+				query.exec(function(res) {
+					console.log(res, 'ddddddddddddd');
+					_this.height = resu.windowHeight - res[0].top + 'px';
+					console.log('打印页面的剩余高度', _this.height);
+				});
+			},
+			fail: res => {}
+		});
+	},
+	onLoad() {
+		this.loadData();
+	},
+	methods: {
+		//切换币种
+		navClick(index) {
+			this.currentIndex = index;
+			this.loadData('tabChange')
+		},
+		loadData(source) {
+			//这里是将list挂载到nav列表下
+			let index = this.currentIndex;
+			let navItem = this.navList[index];
+			// let state = navItem.state;
+			if (source === 'tabChange' && navItem.loaded === true) {
+				//tab切换只有第一次需要加载数据
+				return;
+			}
+			if (navItem.loadingType === 'loading') {
+				//防止重复加载
+				return;
+			}
+			if (navItem.loadingType === 'noMore') {
+				//防止重复加载
+				return;
+			}
+			// 修改当前对象状态为加载中
+			navItem.loadingType = 'loading';
+
+			// orderList({
+			// 	type: state,
+			// 	page: navItem.page,
+			// 	limit: navItem.limit
+			// })
+			// 	.then(({ data }) => {
+			// 		let arr = data.map(e => {
+			// 			return e;
+			// 		});
+			// 		navItem.list = navItem.list.concat(arr);
+			// 		// console.log(navItem.orderList);
+			// 		navItem.page++;
+			// 		if (navItem.limit == data.length) {
+			// 			//判断是否还有数据, 有改为 more, 没有改为noMore
+			// 			navItem.loadingType = 'more';
+			// 			return;
+			// 		} else {
+			// 			//判断是否还有数据, 有改为 more, 没有改为noMore
+			// 			navItem.loadingType = 'noMore';
+			// 		}
+			// 		this.$set(navItem, 'loaded', true);
+			// 	})
+			// 	.catch(e => {
+			// 		console.log(e);
+			// 	});
+			//假数据
+			let arr = []
+			navItem.list = navItem.list.concat(arr)
+			navItem.page++
+			navItem.loadingType = 'noMore'
+			this.$set(navItem, 'loaded', true)
+			console.log(this.navList)
+		}
+	}
+};
+</script>
+
+<style lang="scss" scoped>
+page {
+	width: 100%;
+}
+.top-jg {
+	height: 55rpx;
+}
+.nav-wrapper {
+	margin: 0rpx auto 61rpx;
+	width: 627rpx;
+	height: 60rpx;
+	border: 2px solid #5771df;
+	border-radius: 5rpx;
+	display: flex;
+	.nav-item {
+		width: 209rpx;
+		text-align: center;
+		line-height: 60rpx;
+		font-size: 28rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #5771df;
+	}
+	.active {
+		background: #5771df;
+		color: #fff;
+	}
+}
+.all-num {
+	width: 627rpx;
+	margin: 0 auto;
+	display: flex;
+	justify-content: space-between;
+	font-size: 30rpx;
+	font-family: PingFang SC;
+	font-weight: bold;
+	color: #333333;
+	view {
+		display: flex;
+		flex-direction: column;
+		justify-content: center;
+		align-items: center;
+		.title {
+			padding-bottom: 20rpx;
+		}
+		.num {
+			font-weight: 500;
+		}
+	}
+}
+.tip {
+	width: 627rpx;
+	margin: 80rpx auto 70rpx;
+	display: flex;
+	justify-content: space-between;
+	align-items: center;
+	.line {
+		width: 193rpx;
+		height: 2rpx;
+		background: #5771df;
+	}
+	.title {
+		font-size: 28rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #5771df;
+	}
+}
+.days {
+	// background-color: red;
+	padding: 0 65rpx;
+	.day-item {
+		height: 230rpx;
+		border-bottom: 1px solid #F3F4F6;
+		background-color: #fff;
+		font-size: 24rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #333333;
+		display: flex;
+		flex-direction: column;
+		justify-content: space-around;
+		padding: 20rpx 0;
+		.item {
+			display: flex;
+			justify-content: space-between;
+			text {
+				display: inline-block;
+				margin-left: 10rpx;
+			}
+		}
+	}
+}
+</style>

+ 296 - 0
pages/user/sharerevenue.vue

@@ -0,0 +1,296 @@
+<template>
+	<view class="sharerevenue">
+		<view class="top-jg"></view>
+		<view class="nav-wrapper">邀请算力收益 3%</view>
+		<view class="all-num">
+			<view class="">
+				<view class="title">总收益</view>
+				<view class="num">{{ allIncome }}FIL</view>
+			</view>
+			<view class="">
+				<view class="title">累计释放</view>
+				<view class="num">{{ ljIncome }}FIL</view>
+			</view>
+			<view class="">
+				<view class="title">待释放</view>
+				<view class="num">{{ wait }}FIL</view>
+			</view>
+		</view>
+		<view class="tip">
+			<view class="line"></view>
+			<view class="title">每日收益记录</view>
+			<view class="line"></view>
+		</view>
+		<scroll-view :style="{ height: height }" class="days" scroll-y>
+			<empty v-if="navList[currentIndex].loaded === true && navList[currentIndex].list.length === 0"></empty>
+			<view class="day-item" v-for="(item,index) in navList[currentIndex].list" :key="index">
+				<view class="item-time">2021-05-02</view>
+				<view class="item-wrap">
+					<view class="item">
+						<view class="item-title">
+							今日可用
+							<text>25%</text>
+						</view>
+						<view class="item-value">0.09FIL</view>
+					</view>
+					<view class="item">
+						<view class="item-title">
+							今日冻结
+							<text>25%</text>
+						</view>
+						<view class="item-value">0.09FIL</view>
+					</view>
+					<view class="item">
+						<view class="item-title">
+							今日释放
+							<text>1/150</text>
+						</view>
+						<view class="item-value">0.09FIL</view>
+					</view>
+				</view>
+				<uni-load-more :status="tabItem.loadingType"></uni-load-more>
+			</view>
+			
+		</scroll-view>
+	</view>
+</template>
+
+<script>
+import empty from '@/components/empty';
+import uniLoadMore from '@/components/uni-load-more/uni-load-more.vue';
+export default {
+	components: {
+		empty,
+		uniLoadMore
+	},
+	data() {
+		return {
+			navList: [
+				{
+					title: 'Fil',
+					list: [],
+					page: 1,
+					limit: 10,
+					loadingType: 'more'
+				},
+				// {
+				// 	title: 'Chia',
+				// 	list: [],
+				// 	page: 1,
+				// 	limit: 10,
+				// 	loadingType: 'more'
+				// },
+				// {
+				// 	title: 'Bzz',
+				// 	list: [],
+				// 	page: 1,
+				// 	limit: 10,
+				// 	loadingType: 'more'
+				// }
+			],
+			currentIndex: 0,
+			height: 0,
+			allIncome: 0, //总收益
+			ljIncome: 0, //累计收益
+			wait: 0 //待释放
+		};
+	},
+	onReady(res) {
+		var _this = this;
+		uni.getSystemInfo({
+			success: resu => {
+				const query = uni.createSelectorQuery();
+				query.select('.days').boundingClientRect();
+				query.exec(function(res) {
+					console.log(res, 'ddddddddddddd');
+					_this.height = resu.windowHeight - res[0].top + 'px';
+					console.log('打印页面的剩余高度', _this.height);
+				});
+			},
+			fail: res => {}
+		});
+	},
+	onLoad() {
+		this.loadData();
+	},
+	methods: {
+		//切换币种
+		navClick(index) {
+			this.currentIndex = index;
+			this.loadData('tabChange');
+		},
+		loadData(source) {
+			//这里是将list挂载到nav列表下
+			let index = this.currentIndex;
+			let navItem = this.navList[index];
+			// let state = navItem.state;
+			if (source === 'tabChange' && navItem.loaded === true) {
+				//tab切换只有第一次需要加载数据
+				return;
+			}
+			if (navItem.loadingType === 'loading') {
+				//防止重复加载
+				return;
+			}
+			if (navItem.loadingType === 'noMore') {
+				//防止重复加载
+				return;
+			}
+			// 修改当前对象状态为加载中
+			navItem.loadingType = 'loading';
+
+			// orderList({
+			// 	type: state,
+			// 	page: navItem.page,
+			// 	limit: navItem.limit
+			// })
+			// 	.then(({ data }) => {
+			// 		let arr = data.map(e => {
+			// 			return e;
+			// 		});
+			// 		navItem.list = navItem.list.concat(arr);
+			// 		// console.log(navItem.orderList);
+			// 		navItem.page++;
+			// 		if (navItem.limit == data.length) {
+			// 			//判断是否还有数据, 有改为 more, 没有改为noMore
+			// 			navItem.loadingType = 'more';
+			// 			return;
+			// 		} else {
+			// 			//判断是否还有数据, 有改为 more, 没有改为noMore
+			// 			navItem.loadingType = 'noMore';
+			// 		}
+			// 		this.$set(navItem, 'loaded', true);
+			// 	})
+			// 	.catch(e => {
+			// 		console.log(e);
+			// 	});
+			let arr = []
+			navItem.list = navItem.list.concat(arr)
+			navItem.page++
+			navItem.loadingType = 'noMore'
+			this.$set(navItem, 'loaded', true)
+			console.log(this.navList)
+		}
+	}
+};
+</script>
+
+<style lang="scss" scoped>
+page {
+	width: 100%;
+}
+.top-jg {
+	height: 55rpx;
+}
+.nav-wrapper {
+	margin: 0rpx auto 61rpx;
+	width: 627rpx;
+	height: 60rpx;
+	line-height: 60rpx;
+	// border: 2px solid #5771df;
+	border-radius: 5rpx;
+	text-align: center;
+	background-color: #5771df;
+	font-size: 28rpx;
+	font-family: PingFang SC;
+	font-weight: bold;
+	color: #ffffff;
+}
+.all-num {
+	width: 627rpx;
+	margin: 0 auto;
+	display: flex;
+	justify-content: space-between;
+	font-size: 30rpx;
+	font-family: PingFang SC;
+	font-weight: bold;
+	color: #333333;
+	view {
+		display: flex;
+		flex-direction: column;
+		justify-content: center;
+		align-items: center;
+		.title {
+			padding-bottom: 20rpx;
+		}
+		.num {
+			font-weight: 500;
+		}
+	}
+}
+.tip {
+	width: 627rpx;
+	margin: 80rpx auto 70rpx;
+	display: flex;
+	justify-content: space-between;
+	align-items: center;
+	.line {
+		width: 193rpx;
+		height: 2rpx;
+		background: #5771df;
+	}
+	.title {
+		font-size: 28rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #5771df;
+	}
+}
+.days {
+	// background-color: red;
+	padding: 0 65rpx;
+	.day-item {
+		height: 198rpx;
+		border-bottom: 1px solid #f3f4f6;
+		background-color: #fff;
+		font-size: 24rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #333333;
+		display: flex;
+		flex-direction: column;
+		justify-content: space-around;
+		padding: 20rpx 0;
+		.item {
+			display: flex;
+			justify-content: space-between;
+			text {
+				display: inline-block;
+				margin-left: 10rpx;
+			}
+		}
+		.item-time {
+			font-size: 32rpx;
+			font-family: PingFang SC;
+			font-weight: bold;
+			color: #333333;
+			padding-bottom: 20rpx;
+		}
+		.item-wrap {
+			display: flex;
+			justify-content: space-between;
+			.item {
+				display: flex;
+				flex-direction: column;
+				justify-content: space-around;
+				align-items: center;
+				.item-title {
+					font-size: 30rpx;
+					font-family: PingFang SC;
+					font-weight: bold;
+					color: #333333;
+					line-height: 1;
+					padding-bottom: 23rpx;
+				}
+				.item-value {
+					line-height: 1;
+					font-size: 29rpx;
+					font-family: PingFang SC;
+					font-weight: 500;
+					color: #fb3a2f;
+				}
+			}
+		}
+	}
+}
+</style>

+ 14 - 0
pages/user/user.vue

@@ -21,6 +21,20 @@
 				</view>
 				<image src="../../static/img/img23.png"></image>
 			</view>
+			<view class="list-cell flex" @click="navTo('/pages/user/revenue')">
+				<view class="cell-info flex_item">
+					<image src="../../static/img/img54.png" style="width: 40rpx; height: 40rpx;"></image>
+					<view class="cell-name">算力收益</view>
+				</view>
+				<image src="../../static/img/img23.png"></image>
+			</view>
+			<view class="list-cell flex" @click="navTo('/pages/user/sharerevenue')">
+				<view class="cell-info flex_item">
+					<image src="../../static/img/img53.png" style="width: 40rpx; height: 40rpx;"></image>
+					<view class="cell-name">邀请算力收益</view>
+				</view>
+				<image src="../../static/img/img23.png"></image>
+			</view>
 			<view class="list-cell flex" @click="navTo('/pages/user/myTeam')">
 				<view class="cell-info flex_item">
 					<image src="../../static/img/img17.png"></image>

BIN=BIN
static/img/ad.png


BIN=BIN
static/img/img53.png


BIN=BIN
static/img/img54.png


BIN=BIN
unpackage/cache/apk/__UNI__9723C0B_cm.apk


+ 1 - 1
unpackage/cache/apk/apkurl

@@ -1 +1 @@
-https://service.dcloud.net.cn/build/download/f78a25f0-ce82-11eb-bca1-dfcb64112a55
+https://service.dcloud.net.cn/build/download/96c84010-e0a8-11eb-831c-a5ed677c0e9c

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
unpackage/cache/apk/cmManifestCache.json


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
unpackage/cache/wgt/__UNI__9723C0B/app-config-service.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
unpackage/cache/wgt/__UNI__9723C0B/app-service.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
unpackage/cache/wgt/__UNI__9723C0B/app-view.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
unpackage/cache/wgt/__UNI__9723C0B/manifest.json


BIN=BIN
unpackage/cache/wgt/__UNI__9723C0B/static/img/ad.png


BIN=BIN
unpackage/cache/wgt/__UNI__9723C0B/static/img/img53.png


BIN=BIN
unpackage/cache/wgt/__UNI__9723C0B/static/img/img54.png


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
unpackage/dist/build/app-plus/app-config-service.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
unpackage/dist/build/app-plus/app-service.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
unpackage/dist/build/app-plus/app-view.js


A diferenza do arquivo foi suprimida porque é demasiado grande
+ 0 - 0
unpackage/dist/build/app-plus/manifest.json


BIN=BIN
unpackage/dist/build/app-plus/static/img/ad.png


BIN=BIN
unpackage/dist/build/app-plus/static/img/img53.png


BIN=BIN
unpackage/dist/build/app-plus/static/img/img54.png


BIN=BIN
unpackage/release/apk/__UNI__9723C0B__20210709192705.apk


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio