lhl 3 anos atrás
pai
commit
73974efe38

+ 28 - 0
components/top/top.vue

@@ -0,0 +1,28 @@
+<template>
+	<view class="center">
+		<view class="box-top">
+			<view class="bg3"><image src="../../static/index/img14.png" mode=""></image></view>
+			<view class="bg3 two"><image src="../../static/index/img08.png" mode=""></image></view>
+		</view>
+	</view>
+</template>
+
+<script></script>
+
+<style lang="less">
+.box-top {
+	display: flex;
+	padding: 36rpx 41rpx 72rpx 41rpx;
+}
+image {
+	width: 100%;
+	height: 100%;
+}
+.bg3 {
+	width: 56rpx;
+	height: 62rpx;
+}
+.two {
+	margin-left: 36rpx;
+}
+</style>

+ 1 - 1
manifest.json

@@ -1,5 +1,5 @@
 {
-    "name" : "流量王",
+    "name" : "恒星币",
     "appid" : "__UNI__F3A92A0",
     "description" : "",
     "versionName" : "1.0.0",

+ 18 - 0
pages.json

@@ -11,6 +11,24 @@
 				// "navigationStyle": "custom",
 				"navigationBarTitleText":"恒星币"
 			}
+		},
+		{
+			"path": "pages/index/Expect",
+			"style": {
+				"navigationBarTextStyle": "black",
+				"navigationBarBackgroundColor": "#FFFFFF",
+				// "navigationStyle": "custom",
+				"navigationBarTitleText":"恒星币"
+			}
+		},
+		{
+			"path": "pages/private/private",
+			"style": {
+				"navigationBarTextStyle": "black",
+				"navigationBarBackgroundColor": "#FFFFFF",
+				// "navigationStyle": "custom",
+				"navigationBarTitleText":"恒星币"
+			}
 		},
 		{
 			"path": "pages/index/share",

+ 12 - 1
pages/index/Expect.vue

@@ -1,12 +1,23 @@
 <template>
 	<view class="content">
+		<top></top>
 		<view class="jqqd"><image src="../../static/img/xwjl.png" mode=""></image></view>
 		<view class="font">功能开发中,敬请期待</view>
 		<view class="bottom"><image src="../../static/img/bottom.png" mode=""></image></view>
 	</view>
 </template>
 
-<script></script>
+<script>
+import top from '@/components/top/top.vue';
+export default {
+	comments: {
+		top
+	},
+	data() {
+		return {};
+	}
+};
+</script>
 
 <style lang="scss">
 page,

+ 5 - 20
pages/index/index.vue

@@ -6,14 +6,7 @@
 		<view class="bg1">
 			<image src="../../static/index/bg03.png" mode=""></image>
 		</view>
-		<view class="box-top">
-			<view class="bg3">
-				<image src="../../static/index/img14.png" mode=""></image>
-			</view>
-			<view class="bg3 two">
-				<image src="../../static/index/img08.png" mode=""></image>
-			</view>
-		</view>
+		<top></top>
 		<view class="bg5">
 			<image src="../../static/index/img09.png" mode=""></image>
 		</view>
@@ -51,7 +44,11 @@
 </template>
 
 <script>
+	import top from '@/components/top/top.vue'
 	export default {
+		comments: {
+			top
+		},
 		data() {
 			return {
 
@@ -77,23 +74,11 @@
 		width: 750rpx;
 		height: 3117rpx;
 	}
-	.box-top{
-		display: flex;
-		padding: 36rpx 41rpx 72rpx 41rpx;
-	}
-	
 	.bg1 {
 		position: absolute;
 		width: 750rpx;
 		height: 629rpx;
 	}
-	.bg3{
-		width: 56rpx;
-		height: 62rpx;
-	}
-	.two{
-		margin-left: 36rpx;
-	}
 	.bg4{
 		display: flex;
 		margin: 0 auto;

+ 27 - 85
pages/index/share.vue

@@ -21,7 +21,7 @@
 				<text>业</text>
 				<text>绩</text>
 			</view>
-			<view class="tj-qr">
+			<!-- <view class="tj-qr">
 				<tki-qrcode
 					:cid="cid"
 					ref="qrcode"
@@ -38,7 +38,7 @@
 					:usingComponents="usingComponents"
 					@result="qrR"
 				/>
-			</view>
+			</view> -->
 			<view class="tj-lj-tit">
 				【链接地址】
 			</view>
@@ -125,79 +125,34 @@
 	export default {
 		data() {
 			return {
-				cid: 'tki-qrcode-canvas', //canvasId,页面存在多个二维码组件时需设置不同的ID
-				size: 378, //生成的二维码大小
-				unit: 'upx', //大小单位尺寸
-				show: true,//默认使用组件中的image标签显示二维码
-				val: '强儿、岚儿都是我儿', //要生成的内容
-				background: '#ffffff', //二维码背景色
-				foreground: '#333333', //二维码前景色
-				pdground: '#333333', //二维码角标色
-				icon: '', //二维码图标URL(必须是本地图片,网络图需要先下载至本地)
-				iconSize: 40, //二维码图标大小
-				lv: 3, //容错级别
-				onval: true, //监听val值变化自动重新生成二维码
-				loadMake: true, //组件初始化完成后自动生成二维码,val需要有值
-				usingComponents: false, //是否使用了自定义组件模式(主要是为了修复非自定义组件模式时 v-if 无法生成二维码的问题)
-				showLoading: false, //是否显示loading
-				loadingText: '二维码生成中', //loading文字
-				src: '', // 二维码生成后的图片地址或base64
-				ratio: 1, //页面比例用于计算
-				ctxSrc: '', //要显示的图片
-				loading: true,//是否载入图片中
-				canHeight: '',//画布高度
-				canWeidth: '',//画布宽度
+				// cid: 'tki-qrcode-canvas', //canvasId,页面存在多个二维码组件时需设置不同的ID
+				// size: 378, //生成的二维码大小
+				// unit: 'upx', //大小单位尺寸
+				// show: true,//默认使用组件中的image标签显示二维码
+				// val: '强儿、岚儿都是我儿', //要生成的内容
+				// background: '#ffffff', //二维码背景色
+				// foreground: '#333333', //二维码前景色
+				// pdground: '#333333', //二维码角标色
+				// icon: '', //二维码图标URL(必须是本地图片,网络图需要先下载至本地)
+				// iconSize: 40, //二维码图标大小
+				// lv: 3, //容错级别
+				// onval: true, //监听val值变化自动重新生成二维码
+				// loadMake: true, //组件初始化完成后自动生成二维码,val需要有值
+				// usingComponents: false, //是否使用了自定义组件模式(主要是为了修复非自定义组件模式时 v-if 无法生成二维码的问题)
+				// showLoading: false, //是否显示loading
+				// loadingText: '二维码生成中', //loading文字
+				// src: '', // 二维码生成后的图片地址或base64
+				// ratio: 1, //页面比例用于计算
+				// ctxSrc: '', //要显示的图片
+				// loading: true,//是否载入图片中
+				// canHeight: '',//画布高度
+				// canWeidth: '',//画布宽度
 				navList: [
 					{
 						name: '直推业绩',
 						page: 1,
 						limit: 8,
-						list: [
-							{
-								time: 2020-1-10,
-								val: 100
-							},
-							{
-								time: 2020-1-10,
-								val: 100
-							},
-							{
-								time: 2020-1-10,
-								val: 100
-							},
-							{
-								time: 2020-1-10,
-								val: 100
-							},
-							{
-								time: 2020-1-10,
-								val: 100
-							},
-							{
-								time: 2020-1-10,
-								val: 100
-							},
-							{
-								time: 2020-1-10,
-								val: 100
-							},
-							{
-								time: 2020-1-10,
-								val: 100
-							},
-							{
-								time: 2020-1-10,
-								val: 100
-							},
-							{
-								time: 2020-1-10,
-								val: 100
-							},
-							{
-								time: 2020-1-10,
-								val: 100
-							}
-						],
+						list: [],
 						loaded: false,
 						loadingType: 'more'
 					},
@@ -205,20 +160,7 @@
 						name: '间推业绩',
 						page: 1,
 						limit: 8,
-						list: [
-							{
-								time: 2020-1-10,
-								val: 200
-							},
-							{
-								time: 2020-1-10,
-								val: 200
-							},
-							{
-								time: 2020-1-10,
-								val: 200
-							}
-						],
+						list: [],
 						loaded: false,
 						loadingType: 'more'
 					}
@@ -344,7 +286,7 @@
 			color: #FFFFFF;
 			line-height: 103px;
 			position: absolute;
-			top: 550rpx;
+			top: 560rpx;
 		}
 		.tj-lj {
 			width: 636rpx;

+ 376 - 0
pages/private/private.vue

@@ -0,0 +1,376 @@
+<template>
+	<view class="content">
+		<top></top>
+		<view class="main">
+			<view class="record" @click="openRecord()">
+				记
+				<br />
+				录
+			</view>
+			<image class="main-bg" src="../../static/img/sm-bg.png" mode=""></image>
+			<view class="title">恒星私募</view>
+			<view class="font">私募单价</view>
+			<view class="num">0.5USDT</view>
+			<view class="tip-title">【私募相关】</view>
+			<view class="tip">
+				恒星是一个集“元宇宙+NFT卡牌+DeFi+养成/经营/竞技”的加密链上游戏,是一款基于Solidity语言开发的去中心化GameFi应用,首发BSC链,基于银河系元宇宙原型,打造了一个集抽取盲盒开卡牌,NFT交易,LP质押获得收益的链上元宇宙游戏,
+				结合区块链的游戏内容,铸成有价值的TCG游戏。
+			</view>
+		</view>
+		<view class="bottom">
+			<image class="bottom-bg" src="../../static/img/bottom.png" mode=""></image>
+			<view class="btn" @click="nav()">私募认购</view>
+		</view>
+		<uni-popup ref="popup" type="center">
+			<view class="popup-record">
+				<view class="record-title">私募记录</view>
+				<view class="xian"><image src="../../static/img/xian.png" mode=""></image></view>
+				<view class="record-main-title flex">
+					<view class="item">认购金额</view>
+					<view class="item">认购数量</view>
+					<view class="item">认购时间</view>
+				</view>
+				<view class="record-main flex" v-for="(item, index) in 10">
+					<view class="item">0.5USDT</view>
+					<view class="item">1HXB</view>
+					<view class="item">2022.02.10</view>
+				</view>
+			</view>
+			<view class="popup-x" @click="closeRecord()"><image src="../../static/img/x.png" mode=""></image></view>
+		</uni-popup>
+		<uni-popup ref="popup1" type="center">
+			<view class="popup-buy">
+				<view class="record-title ">私募认购</view>
+				<view class="xian"><image src="../../static/img/xian.png" mode=""></image></view>
+				<view class="buy-num">
+					<view class="shu"></view>
+					<view class="num-font">
+						私募单价:
+						<text>0.5USDT</text>
+					</view>
+				</view>
+				<view class="buy-num ren-num">
+					<view class="shu"></view>
+					<view class="num-font">认购金额</view>
+				</view>
+				<view class="buy-input">
+					<input type="text" class="input" placeholder="请输入认购金额" placeholder-class="inputPlace" v-model="num" value="" />
+					<view class="unit">USDT</view>
+				</view>
+				<view class="buy-tip">可用</view>
+				<view class="buy-num ren-num">
+					<view class="shu"></view>
+					<view class="num-font">认购数量</view>
+				</view>
+				<view class="buy-input" style="padding-bottom: 18rpx;">
+					<view class="input" style="color: #08EDE7;">
+						0
+					</view>
+					<view class="unit">HXB</view>
+				</view>
+				<view class="btn-box">
+					<view class="btn-left" @click="close()">
+						取消
+					</view>
+					<view class="btn-right ">
+						购买
+					</view>
+				</view>
+			</view>
+		</uni-popup>
+	</view>
+</template>
+
+<script>
+import top from '@/components/top/top.vue';
+import uniPopup from '@/components/uni-popup/uni-popup.vue';
+export default {
+	comments: {
+		top,
+		uniPopup
+	},
+	data() {
+		return {
+			num: ''
+		};
+	},
+	methods: {
+		nav() {
+			this.$refs.popup1.open();
+		},
+		close() {
+			this.$refs.popup1.close();
+		},
+		openRecord() {
+			this.$refs.popup.open();
+		},
+		closeRecord() {
+			this.$refs.popup.close();
+		}
+	}
+};
+</script>
+
+<style lang="less">
+page,
+.content {
+	height: 100%;
+	background: #000;
+}
+.main {
+	position: relative;
+	width: 680rpx;
+	height: 962rpx;
+	margin: 0 auto 0;
+	.main-bg {
+		position: absolute;
+		top: 0;
+		left: 0;
+		right: 0;
+		width: 100%;
+		height: 100%;
+	}
+}
+.title {
+	position: relative;
+	z-index: 2;
+	text-align: center;
+	font-size: 44rpx;
+	font-family: zihun100hao-fangfangxianfengti;
+	font-weight: 400;
+	color: #08ede7;
+	line-height: 100rpx;
+}
+.record {
+	position: absolute;
+	z-index: 2;
+	top: 160rpx;
+	right: 0;
+	background: #08ede7;
+	padding: 20rpx 10rpx 20rpx 20rpx;
+	border-radius: 10rpx 0px 0px 10rpx;
+	font-size: 32rpx;
+	font-family: PingFang SC;
+	font-weight: bold;
+	color: #001337;
+	line-height: 40rpx;
+}
+.font {
+	position: relative;
+	z-index: 2;
+	margin-top: 280rpx;
+	text-align: center;
+	font-size: 30rpx;
+	font-family: PingFang SC;
+	font-weight: bold;
+	color: #ffffff;
+}
+.num {
+	position: relative;
+	z-index: 2;
+	margin: 22rpx auto 0;
+	width: 394rpx;
+	height: 80rpx;
+	background: linear-gradient(90deg, rgba(8, 237, 231, 0), #08ede7, #08ede7, rgba(8, 237, 231, 0));
+	font-size: 42rpx;
+	font-family: PingFang SC;
+	font-weight: bold;
+	color: #001337;
+	text-align: center;
+	line-height: 80rpx;
+}
+.tip-title {
+	position: relative;
+	z-index: 2;
+	margin-top: 34rpx;
+	text-align: center;
+	font-size: 32rpx;
+	font-family: PingFang SC;
+	font-weight: bold;
+	color: #ffffff;
+}
+.tip {
+	position: relative;
+	z-index: 2;
+	margin: 30rpx auto 0;
+	width: 570rpx;
+	font-size: 26rpx;
+	font-family: PingFang SC;
+	font-weight: bold;
+	color: #ffffff;
+	line-height: 38rpx;
+}
+.bottom {
+	padding-top: 182rpx;
+	position: relative;
+	width: 750rpx;
+	height: 434rpx;
+	margin-top: -118rpx;
+	.bottom-bg {
+		position: absolute;
+		top: 0;
+		left: 0;
+		right: 0;
+		height: 100%;
+		width: 100%;
+	}
+	.btn {
+		position: relative;
+		z-index: 3;
+		margin: 0 auto;
+		width: 450rpx;
+		height: 76rpx;
+		background: linear-gradient(0deg, #ff7206, #ffdd7e);
+		box-shadow: 0px 2px 8px 0px rgba(207, 126, 57, 0.7);
+		border-radius: 38rpx;
+		text-align: center;
+		line-height: 76rpx;
+		font-size: 36rpx;
+		font-family: zihun164hao-fangyuehei;
+		font-weight: 400;
+		color: #ffffff;
+	}
+}
+.record-title {
+	text-align: center;
+	font-size: 46rpx;
+	font-family: zihun100hao-fangfangxianfengti;
+	font-weight: 400;
+	color: #ffffff;
+}
+.xian {
+	margin: 14rpx auto 0;
+	width: 326rpx;
+	height: 16rpx;
+	image {
+		width: 100%;
+		height: 100%;
+	}
+}
+.popup-record {
+	width: 680rpx;
+	height: 854rpx;
+	background: linear-gradient(180deg, #254fab 0%, #230a8e 100%);
+	border-radius: 20rpx;
+	padding: 62rpx 34rpx 0;
+
+	.record-main-title {
+		margin-top: 60rpx;
+	}
+	.record-main {
+		margin-top: 10rpx;
+	}
+	.item {
+		font-size: 28rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #ffffff;
+		opacity: 0.8;
+	}
+}
+.popup-x {
+	margin: 62rpx auto 0;
+	width: 66rpx;
+	height: 66rpx;
+	image {
+		width: 100%;
+		height: 100%;
+	}
+}
+.popup-buy {
+	width: 630rpx;
+	background: linear-gradient(180deg, #254fab 0%, #230a8e 100%);
+	border-radius: 20rpx;
+	padding: 68rpx 74rpx 74rpx;
+	.buy-num {
+		display: flex;
+		justify-content: flex-start;
+		align-items: center;
+		margin-top: 62rpx;
+		.shu {
+			width: 10rpx;
+			height: 30rpx;
+			background: #08ede7;
+			border-radius: 5rpx;
+		}
+		.num-font {
+			margin-left: 10rpx;
+			font-size: 32rpx;
+			font-family: PingFang SC;
+			font-weight: bold;
+			color: #ffffff;
+			text {
+				color: #08ede7;
+			}
+		}
+	}
+	.ren-num {
+		margin-top: 40rpx;
+	}
+	.buy-input {
+		display: flex;
+		margin-top: 32rpx;
+		justify-content: space-between;
+		align-items: flex-end;
+		width: 100%;
+		border-bottom: 1px solid #ffffff;
+		padding-bottom: 12rpx;
+		.input {
+			width: 90%;
+			height: 40rpx;
+			color: #ffffff;
+			font-size: 40rpx;
+		}
+		.inputPlace {
+			font-size: 40rpx;
+			font-family: PingFang SC;
+			font-weight: bold;
+			color: #ffffff;
+			line-height: 38px;
+			opacity: 0.35;
+		}
+		.unit {
+			font-size: 27rpx;
+			font-family: PingFang SC;
+			font-weight: bold;
+			color: #ffffff;
+		}
+	}
+	.buy-tip {
+		margin-top: 10rpx;
+		font-size: 26rpx;
+		font-family: PingFang SC;
+		font-weight: bold;
+		color: #ffffff;
+	}
+	.btn-box {
+		display: flex;
+		justify-content: space-between;
+		margin-top: 62rpx;
+		.btn-left {
+			width: 230rpx;
+			height: 66rpx;
+			background: #E8E8E8;
+			border-radius: 10rpx;
+			text-align: center;
+			line-height: 66rpx;
+			font-size: 28rpx;
+			font-family: PingFang SC;
+			font-weight: bold;
+			color: #001337;
+		}
+		.btn-right {
+			width: 230rpx;
+			height: 66rpx;
+			background: #08EDE7;
+			border-radius: 10rpx;
+			text-align: center;
+			line-height: 66rpx;
+			font-size: 28rpx;
+			font-family: PingFang SC;
+			font-weight: bold;
+			color: #001337;
+		}
+	}
+}
+</style>

BIN
static/img/sm-bg.png


BIN
static/img/tj-bg.png


BIN
static/img/x.png


BIN
static/img/xian.png