hwq 2 years ago
parent
commit
7e505871ec
2 changed files with 332 additions and 84 deletions
  1. 83 83
      manifest.json
  2. 249 1
      pages/user/user.vue

+ 83 - 83
manifest.json

@@ -1,85 +1,85 @@
 {
-    "name" : "基础项目",
-    "appid" : "__UNI__F0EBD91",
-    "description" : "",
-    "versionName" : "1.0.0",
-    "versionCode" : "100",
-    "transformPx" : false,
-    "app-plus" : {
-        /* 5+App特有相关 */
-        "usingComponents" : true,
-        "splashscreen" : {
-            "alwaysShowBeforeRender" : true,
-            "waiting" : true,
-            "autoclose" : true,
-            "delay" : 0
-        },
-        "modules" : {},
-        /* 模块配置 */
-        "distribute" : {
-            /* 应用发布信息 */
-            "android" : {
-                /* android打包配置 */
-                "permissions" : [
-                    "<uses-feature android:name=\"android.hardware.camera\"/>",
-                    "<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
-                    "<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
-                    "<uses-permission android:name=\"android.permission.CAMERA\"/>",
-                    "<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
-                    "<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
-                    "<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
-                    "<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
-                    "<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
-                    "<uses-permission android:name=\"android.permission.VIBRATE\"/>",
-                    "<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
-                    "<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>"
-                ],
-                "abiFilters" : [ "armeabi-v7a", "arm64-v8a", "x86" ]
-            },
-            "ios" : {
-                "idfa" : false
-            },
-            /* ios打包配置 */
-            "sdkConfigs" : {
-                "maps" : {},
-                "oauth" : {
-                    "weixin" : {
-                        "appid" : "",
-                        "appsecret" : "",
-                        "UniversalLinks" : ""
-                    }
-                }
-            }
-        }
-    },
-    /* SDK配置 */
-    "quickapp" : {},
-    /* 快应用特有相关 */
-    "mp-weixin" : {
-        /* 小程序特有相关 */
-        "usingComponents" : true,
-        "appid" : "",
-        "setting" : {
-            "urlCheck" : true
-        }
-    },
-    "h5" : {
-        "title" : "商城",
-        "domain" : "",
-        "router" : {
-            "base" : "/index/",
-            "mode" : "hash"
-        },
-        "devServer" : {
-            "proxy" : {
-                "/api" : {
-                    "target" : "http://heyu.frp.liuniu946.com",
-                    // "changeOrigin": true,
-                    "pathRewrite" : {
-                        "/api" : "" // rewrite path
-                    }
-                }
-            }
-        }
-    }
+	"name": "基础项目",
+	"appid": "__UNI__F0EBD91",
+	"description": "",
+	"versionName": "1.0.0",
+	"versionCode": "100",
+	"transformPx": false,
+	"app-plus": {
+		/* 5+App特有相关 */
+		"usingComponents": true,
+		"splashscreen": {
+			"alwaysShowBeforeRender": true,
+			"waiting": true,
+			"autoclose": true,
+			"delay": 0
+		},
+		"modules": {},
+		/* 模块配置 */
+		"distribute": {
+			/* 应用发布信息 */
+			"android": {
+				/* android打包配置 */
+				"permissions": [
+					"<uses-feature android:name=\"android.hardware.camera\"/>",
+					"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
+					"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
+					"<uses-permission android:name=\"android.permission.CAMERA\"/>",
+					"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
+					"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
+					"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
+					"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
+					"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
+					"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
+					"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
+					"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>"
+				],
+				"abiFilters": ["armeabi-v7a", "arm64-v8a", "x86"]
+			},
+			"ios": {
+				"idfa": false
+			},
+			/* ios打包配置 */
+			"sdkConfigs": {
+				"maps": {},
+				"oauth": {
+					"weixin": {
+						"appid": "",
+						"appsecret": "",
+						"UniversalLinks": ""
+					}
+				}
+			}
+		}
+	},
+	/* SDK配置 */
+	"quickapp": {},
+	/* 快应用特有相关 */
+	"mp-weixin": {
+		/* 小程序特有相关 */
+		"usingComponents": true,
+		"appid": "",
+		"setting": {
+			"urlCheck": true
+		}
+	},
+	"h5": {
+		"title": "商城",
+		"domain": "",
+		"router": {
+			"base": "/index/",
+			"mode": "hash"
+		},
+		"devServer": {
+			"proxy": {
+				"/api": {
+					"target": "http://heyu.frp.liuniu946.com",
+					// "changeOrigin": true,
+					"pathRewrite": {
+						"/api": "/" // rewrite path
+					}
+				}
+			}
+		}
+	}
 }

+ 249 - 1
pages/user/user.vue

@@ -1,5 +1,71 @@
 <template>
-	<view class="content"></view>
+	<view class="content">
+		<view class="allmoneybox">
+			<view class="allmbox_1"><text class="bi bi-eye fcy" style="font-size:22px;" id="eyesid"></text></view>
+			<view class="allmbox_2">
+				<span class="fzmm fch">账户总资产折合(USDT)</span>
+				<i class="bi bi-exclamation-circle" style="font-size:16px;color: #FCD535;" id="showdongbtn"></i>
+			</view>
+			<view class="allmbox_3"><span class="fch zhehebox" style="font-size:24px;" id="allzhehebox">--</span></view>
+
+			<view class="allmbox_btn">
+				<view class="allmbox_btn_1">
+					<view class="allmbox_cbtn btn_active"><span class="fch">充币</span></view>
+					<view class="allmbox_tbtn"><span class="fch">提币</span></view>
+				</view>
+			</view>
+		</view>
+
+		<view class="findbox">
+			<view class="findbox_1">
+				<view class="findbox_2">
+					<view class="findbox_3"><span class="fzmm fch">资产列表</span></view>
+				</view>
+			</view>
+
+			<view class="mlistbox" id="moneylistbox">
+				<scroll-view>
+					<view class="listbox">
+						<view class="listbox_title">
+							<view class="listbox_title_l">
+								<span class="fcc" style="font-size:16px;font-weight:500;"><?php echo strtoupper($vo['name']);?></span>
+							</view>
+							<view class="listbox_title_r"><i class="bi bi-chevron-right fcc" style="font-size:14px;"></i></view>
+						</view>
+						<view style="width:100%;height:60px;">
+							<view style="width:33.33%;height:60px;float:left;">
+								<view style="width:100%;height:30px;line-height:40px;"><span style="color:#cbcbcb;">可用"</span></view>
+								<view style="width:100%;height:30px;line-height:20px;"><span class="fch" id="num_{$vo.name}">0.000000</span></view>
+							</view>
+							<view style="width:33.33%;height:60px;float:left;">
+								<view style="width:100%;height:30px;line-height:40px;"><span style="color:#cbcbcb;">冻结</span></view>
+								<view style="width:100%;height:30px;line-height:20px;"><span class="fch" id="numd_{$vo.name}">0.000000</span></view>
+							</view>
+							<view style="width:33.33%;height:60px;float:left;">
+								<view style="width:100%;height:30px;line-height:40px;text-align:right;"><span style="color:#cbcbcb;">折合(USDT)</span></view>
+								<view style="width:100%;height:30px;line-height:20px;text-align:right;"><span class="fch" id="zhehe_{$vo.name}">0.000000</span></view>
+							</view>
+						</view>
+					</view>
+				</scroll-view>
+			</view>
+		</view>
+
+		<!-- <view class="dongbox" id="dongbox" style="display:none;">
+		    <view class="dongbox_cbox">
+		        <view style="width:100%;height:50px;line-height:50px;text-align:center;">
+		            <i class="bi bi-exclamation-circle-fill fcy" style="font-size:36px;"></i>
+		        </view>
+		        <view style="width:100%;;padding:5px 10px;">
+		            <span class="fzmm fch">{:L('由于资金统计存在延时,账户余额不一定是并非最新余额,如需准确余额请到相关账户页面进行查询')}</span>
+		        </view>
+		        <view class="showbtn" id="hidebtn">
+		            <span class="fzmm fch">{:L('确定')}</span>
+		        </view>
+		    </view>
+		
+		</view> -->
+	</view>
 </template>
 
 <script>
@@ -19,4 +85,186 @@ page,
 	height: auto;
 	min-height: 100%;
 }
+::-webkit-input-placeholder {
+	color: #b5b5b5;
+	font-size: 12px;
+}
+::-moz-placeholder {
+	color: #b5b5b5;
+	font-size: 12px;
+}
+input:focus {
+	background: #fff;
+	outline: 1px solid #fff;
+}
+a:hover,
+a:link,
+a:visited,
+a:active {
+	color: #707a8a;
+	text-decoration: none;
+}
+.no_header {
+	position: fixed;
+	z-index: 9999;
+	padding: 0px 10px;
+	top: 0px;
+	height: 45px;
+	// box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);
+}
+.txtl {
+	line-height: 50px;
+	width: 20%;
+	text-align: center;
+	border-bottom: 3px solid #fcd535;
+}
+.titlebox {
+	width: 100%;
+	height: 120px;
+	background: #fff;
+	margin-top: 55px;
+	border-top-left-radius: 20px;
+	border-top-right-radius: 20px;
+}
+.allmoneybox {
+	width: 100%;
+	height: 150px;
+	background: #f5f5f5;
+	// box-shadow: 0 2px 10px 0 rgb(0 0 0 / 10%);
+	position: fixed;
+	top: 44px;
+}
+.allmbox_1 {
+	width: 100%;
+	height: 40px;
+	line-height: 40px;
+	text-align: right;
+	padding: 0px 15px;
+}
+.allmbox_2 {
+	width: 100%;
+	height: 20px;
+	line-height: 20px;
+	text-align: left;
+	padding: 0px 15px;
+}
+.allmbox_3 {
+	width: 100%;
+	height: 40px;
+	line-height: 40px;
+	text-align: left;
+	padding: 0px 15px;
+}
+.allmbox_btn {
+	width: 100%;
+	height: 35px;
+	line-height: 35px;
+	padding: 0px 10px;
+}
+.allmbox_btn_1 {
+	width: 60%;
+	height: 35px;
+	float: right;
+}
+.allmbox_cbtn {
+	width: 45%;
+	height: 35px;
+	line-height: 35px;
+	text-align: center;
+	float: left;
+	border: 1px solid #fcd535;
+	border-radius: 5px;
+}
+.allmbox_tbtn {
+	width: 45%;
+	height: 35px;
+	line-height: 35px;
+	text-align: center;
+	float: right;
+	border: 1px solid #e6e6e6;
+	border-radius: 5px;
+	background: #e6e6e6;
+}
+.btn_active {
+	background: linear-gradient(to left, #eeb80d, #ffe35b);
+}
+.findbox {
+	width: 100%;
+	background: #fff;
+	margin-top: 160px;
+}
+.findbox_1 {
+	width: 100%;
+	height: 40px;
+	line-height: 40px;
+	padding: 0px 15px;
+	border-bottom: 1px solid #f5f5f5;
+}
+.findbox_2 {
+	width: 60%;
+	height: 40px;
+	line-height: 40px;
+	float: left;
+}
+.findbox_3 {
+	height: 40px;
+	background: #ffffff;
+	border-bottom: 2px solid #fcd535;
+	float: left;
+	text-align: center;
+}
+.mlistbox {
+	width: 100%;
+	padding: 5px 15px;
+}
+.listbox {
+	width: 100%;
+	height: 90px;
+	background: #fff;
+	border-bottom: 1px solid #f5f5f5;
+}
+.listbox_title {
+	width: 100%;
+	height: 30px;
+	line-height: 30px;
+}
+.listbox_title_l {
+	width: 50%;
+	height: 30px;
+	line-height: 40px;
+	float: left;
+	text-align: left;
+}
+.listbox_title_r {
+	width: 50%;
+	height: 30px;
+	line-height: 40px;
+	float: right;
+	text-align: right;
+}
+.dongbox {
+	position: fixed;
+	z-index: 9999999999;
+	display: none;
+	top: 0px;
+	width: 100%;
+	height: 100vh;
+	background: rgba(0, 0, 0, 0.2);
+}
+.dongbox_cbox {
+	width: 75%;
+	background: #fff;
+	margin: 50% auto;
+	border-radius: 15px;
+	padding: 10px;
+}
+.showbtn {
+	width: 100%;
+	height: 40px;
+	line-height: 40px;
+	background: linear-gradient(to left, #eeb80d, #ffe35b);
+	border-radius: 5px;
+	text-align: center;
+	margin-top: 10px;
+}
 </style>