diff --git a/.gitignore b/.gitignore
index c13f13b..23abc22 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,7 @@
+unpackage
+dist
+node_modules
node_modules/**/*
unpackage/
unpackage/**/*
diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json
new file mode 100644
index 0000000..582561b
--- /dev/null
+++ b/.hbuilderx/launch.json
@@ -0,0 +1,16 @@
+{ // launch.json 配置了启动调试时相关设置,configurations下节点名称可为 app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
+ // launchtype项可配置值为local或remote, local代表前端连本地云函数,remote代表前端连云端云函数
+ "version": "0.0",
+ "configurations": [{
+ "app-plus" :
+ {
+ "launchtype" : "local"
+ },
+ "default" :
+ {
+ "launchtype" : "local"
+ },
+ "type" : "uniCloud"
+ }
+ ]
+}
diff --git a/App.vue b/App.vue
index 6d5f849..2e1968a 100644
--- a/App.vue
+++ b/App.vue
@@ -24,8 +24,8 @@ export default {
/deep/body {
// max-width: 828rpx; //最大宽度自己可以调整
// margin: auto !important;
- background: url(./static/public/BG.png) no-repeat fixed;
- background-size: cover;
+
+ background-color: #15141F;
height: auto;
margin: 0;
}
diff --git a/components/KeyValueRow/KeyValueRow.vue b/components/KeyValueRow/KeyValueRow.vue
new file mode 100644
index 0000000..592e824
--- /dev/null
+++ b/components/KeyValueRow/KeyValueRow.vue
@@ -0,0 +1,92 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/cardHeader/cardHeader.vue b/components/cardHeader/cardHeader.vue
new file mode 100644
index 0000000..0be8e76
--- /dev/null
+++ b/components/cardHeader/cardHeader.vue
@@ -0,0 +1,111 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/navigation/navigation.vue b/components/navigation/navigation.vue
index 959cc17..21c790b 100644
--- a/components/navigation/navigation.vue
+++ b/components/navigation/navigation.vue
@@ -1,5 +1,5 @@
-
+
@@ -13,12 +13,18 @@ const COMPONENT_NAME = 'navigation'
export default {
name: COMPONENT_NAME,
props: {
- showBack: {
+ showBack: { // 是否显示返回按钮
type: Boolean,
default() {
return true
}
},
+ bgTransparent: { // 背景是否透明
+ type: Boolean,
+ default() {
+ return false
+ }
+ },
bgnum: {
type: Boolean,
default() {
@@ -62,7 +68,7 @@ export default {
.nav-head {
overflow: hidden;
- position: relative;
+ position: fixed;
top: 0rpx;
height: 112rpx;
// background-color: #fafafa;
@@ -72,14 +78,19 @@ export default {
font-size: 36rpx;
color: #fff;
// padding: 40rpx 16rpx;
- margin-top: 88rpx;
+ padding-top: 88rpx;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
+ background-color: #15141F;
z-index: 8;
border-bottom: 4rpx solid #323045;
+ &.tp {
+ background-color: transparent;
+ border: none;
+ }
}
.back {
@@ -87,7 +98,5 @@ export default {
height: 80rpx;
position: absolute;
left: 36rpx;
- top: 50%;
- transform: translateY(-50%);
}
diff --git a/components/tabBar/tabBar.vue b/components/tabBar/tabBar.vue
index 8375a02..80b139a 100644
--- a/components/tabBar/tabBar.vue
+++ b/components/tabBar/tabBar.vue
@@ -15,7 +15,7 @@
-
@@ -26,7 +26,7 @@
-
@@ -37,7 +37,7 @@
-
@@ -48,7 +48,7 @@
-
@@ -111,7 +111,7 @@ export default {
break;
}
uni.reLaunch({
- url: '/pages/menu/profile/index'
+ url,
})
}
@@ -163,6 +163,10 @@ export default {
cursor: pointer;
}
+.index-header {
+ z-index: 8;
+}
+
.con {
width: 100%;
@@ -173,7 +177,7 @@ export default {
left: 0;
padding-top: 22rpx;
display: flex;
- z-index: 998;
+ z-index: 8;
box-sizing: border-box;
&::after {
diff --git a/package-lock.json b/package-lock.json
index 7c02663..9533a0e 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -78,6 +78,15 @@
"resolved": "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="
},
+ "echarts": {
+ "version": "5.3.3",
+ "resolved": "https://registry.npmmirror.com/echarts/-/echarts-5.3.3.tgz",
+ "integrity": "sha512-BRw2serInRwO5SIwRviZ6Xgm5Lb7irgz+sLiFMmy/HOaf4SQ+7oYqxKzRHAKp4xHQ05AuHw1xvoQWJjDQq/FGw==",
+ "requires": {
+ "tslib": "2.3.0",
+ "zrender": "5.3.2"
+ }
+ },
"follow-redirects": {
"version": "1.15.1",
"resolved": "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.1.tgz",
@@ -116,6 +125,11 @@
"resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
},
+ "tslib": {
+ "version": "2.3.0",
+ "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.3.0.tgz",
+ "integrity": "sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg=="
+ },
"uview-ui": {
"version": "2.0.33",
"resolved": "https://registry.npmmirror.com/uview-ui/-/uview-ui-2.0.33.tgz",
@@ -131,6 +145,14 @@
"@intlify/vue-devtools": "9.2.2",
"@vue/devtools-api": "^6.2.1"
}
+ },
+ "zrender": {
+ "version": "5.3.2",
+ "resolved": "https://registry.npmmirror.com/zrender/-/zrender-5.3.2.tgz",
+ "integrity": "sha512-8IiYdfwHj2rx0UeIGZGGU4WEVSDEdeVCaIg/fomejg1Xu6OifAL1GVzIPHg2D+MyUkbNgPWji90t0a8IDk+39w==",
+ "requires": {
+ "tslib": "2.3.0"
+ }
}
}
}
diff --git a/package.json b/package.json
index a8c8d62..f062dfe 100644
--- a/package.json
+++ b/package.json
@@ -11,6 +11,7 @@
"license": "ISC",
"dependencies": {
"axios": "^0.27.2",
+ "echarts": "^5.3.3",
"js-md5": "^0.7.3",
"uview-ui": "^2.0.33",
"vue-i18n": "^9.2.2"
diff --git a/pages.json b/pages.json
index 34075ab..1a30061 100644
--- a/pages.json
+++ b/pages.json
@@ -9,9 +9,7 @@
"navigationStyle": "custom"
}
},
-
-
-
+ // 登陆部分
{
"path": "pages/login/index",
"style": {
@@ -31,11 +29,57 @@
"navigationStyle": "custom"
}
},
+
+ // 首页部分
{
"path": "pages/index/index",
"style": {
"navigationStyle": "custom"
}
+ },
+
+ // markets
+ {
+ "path": "pages/markets/index",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+
+ // charity
+ {
+ "path": "pages/charity/index",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/charity/details",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+
+ //subscription
+ {
+ "path": "pages/subscription/index",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "pages/subscription/details",
+ "style": {
+ "navigationStyle": "custom"
+ }
+ },
+
+ // me
+ {
+ "path": "pages/me/index",
+ "style": {
+ "navigationStyle": "custom"
+ }
}
],
diff --git a/pages/charity/details.vue b/pages/charity/details.vue
new file mode 100644
index 0000000..04587e5
--- /dev/null
+++ b/pages/charity/details.vue
@@ -0,0 +1,419 @@
+
+
+
+ {{ i18n.CharityDetails }}
+
+
+
+
+
+ New Balance Raff Simons Bright
+
+
+
+ {{ i18n.About }}
+
+ Minimum deposit amount: 10 USDT. Deposit less than the minimum amount will not be
+ posted
+ and cannot be returned
+ This address is your latest deposit address. When the system receives deposit, it will be
+ automatically
+ credited to the account。The transfer needs to be confirmed by the entire blockchain network. When it
+ reaches 10 network confirmations, your USDT will be automatically deposit into the account。
+ Minimum deposit amount: 10 USDT. Deposit less than the minimum amount will not be posted and cannot
+ be
+ returned
+ This address is your latest deposit address. When the system receives deposit, it will be
+ automatically
+ credited to the account。The transfer needs to be confirmed by the entire blockchain network. When it
+ reaches 10 network confirmations, your USDT will be automatically deposit into the account。Minimum
+ deposit amount: 10 USDT. Deposit less than the minimum amount will not be posted and cannot be
+ returned
+ This address is your latest deposit address. When the
+
+
+ {{ i18n.Participants }}
+
+
+
+
+ 50%
+
+
+
+
+
+
+
+ {{
+ i18n.DonateNow
+ }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/charity/index.vue b/pages/charity/index.vue
new file mode 100644
index 0000000..0d8da85
--- /dev/null
+++ b/pages/charity/index.vue
@@ -0,0 +1,118 @@
+
+
+
+
+
+
+ New Balance Raff Simons Bright Bright
+ Target: $1309348
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/index/index.vue b/pages/index/index.vue
index d57965a..378ee42 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -1,53 +1,76 @@
+
{{ i18n.HOME }}
{{ i18n.customerService }}
-
+
-
+
+
{{ i18n.homeMessage }}
+
+ height="144rpx">
{{ i18n.Recharge }}
+ height="144rpx">
{{ i18n.Mine }}
+ height="144rpx">
{{ i18n.Subcription }}
+
{{ i18n.TodaySteps }}
+
{{ i18n.ReceiveEarnings }}
-
+
+
+ :poster="item.poster" :title="item.title" controls @play="stopOtherVideoPlay" :key="index">
+
+
+
-
diff --git a/pages/me/index.vue b/pages/me/index.vue
new file mode 100644
index 0000000..f9ae1fb
--- /dev/null
+++ b/pages/me/index.vue
@@ -0,0 +1,160 @@
+
+
+
+
+
+
+ ID:984934
+ {{i18n.account}}:348798457498579
+
+
+
+
+
+
+ {{ i18n.Recharge }}
+
+
+
+ {{ i18n.Withdrawal }}
+
+
+
+ {{ i18n.Subcription }}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/pages/subscription/details.vue b/pages/subscription/details.vue
new file mode 100644
index 0000000..508503a
--- /dev/null
+++ b/pages/subscription/details.vue
@@ -0,0 +1,258 @@
+
+
+
+ {{ i18n.Subscription }}
+
+
+
+
+ {{ i18n.Days }}
+ 20
+
+
+ {{ i18n.Hours }}
+ 8
+
+
+ {{ i18n.Minutes }}
+ 47
+
+
+ {{ i18n.Seconds }}
+ 9
+
+
+
+
+
+
+
+ USDT
+
+
+
+
+
+
+ {{
+ i18n.SubscribeNow
+ }}
+
+
+
+
+ {{ i18n.ProjectDetails }}
+ {{ i18n.Video }}
+ {{ i18n.WhiteBook }}
+
+
+
+ Access to COVID-19 Tools Accelerator (ACTA) is a fully decentralized financial (DeFi)
+ ecosystem with blockchain as the underlying architecture, 100% decentralized exchange, 100% free
+ trading, 100% customized trading model, 100% cross-chain support. We have pre-customized two trading
+ models, ACTA/BTC and ACTA/USDT. ACTA/BTC is the mainstream currency with stable appreciation space;
+ ACTA/USDT is a stable settlement virtual currency which can be 1:1 freely convertible with US dollars.
+ ACTA is the leader of the global digital encryption currency decentralized market.
+
+ Full name of the token: Access to COVID-19 Tools Accelerator
+
+ ACTA total circulation: 1,200,000,000.00
+
+ ICO Price: 0.02 USDT
+
+ ICO Time: From December 12,2021 to March 12, 2022
+
+
+
+
+
+
+
+
diff --git a/pages/subscription/index.vue b/pages/subscription/index.vue
new file mode 100644
index 0000000..0bc8f2c
--- /dev/null
+++ b/pages/subscription/index.vue
@@ -0,0 +1,164 @@
+
+
+
+
+
+ {{ i18n.Product }}
+
+
+ {{ i18n.Pending }}
+
+
+ {{ i18n.Complete }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/readme.md b/readme.md
index cf8fc25..158e157 100644
--- a/readme.md
+++ b/readme.md
@@ -10,4 +10,10 @@ if (uni.$u.test.array(errors)) {
}
this.errorType === 'toast' ?uni.$u.toast(errors[0].message):
child.message =
- childErrors[0]?.message ?? null;
\ No newline at end of file
+ childErrors[0]?.message ?? null;
+
+
+u-transition中的view容器要增加@touchmove.prevent 避免弹窗组件的穿透性问题
+ @touchmove.prevent
+
+
diff --git a/static/charity/Ellipse 502.png b/static/charity/Ellipse 502.png
new file mode 100644
index 0000000..2392f13
Binary files /dev/null and b/static/charity/Ellipse 502.png differ
diff --git a/static/charity/Rectangle 2.png b/static/charity/Rectangle 2.png
new file mode 100644
index 0000000..1f0c80e
Binary files /dev/null and b/static/charity/Rectangle 2.png differ
diff --git a/static/charity/Turn.png b/static/charity/Turn.png
new file mode 100644
index 0000000..14294ab
Binary files /dev/null and b/static/charity/Turn.png differ
diff --git a/static/home/ic_ma_arrow_down.png b/static/charity/ic_ma_arrow_down.png
similarity index 100%
rename from static/home/ic_ma_arrow_down.png
rename to static/charity/ic_ma_arrow_down.png
diff --git a/static/tongyonh/Frame3299.png b/static/maskets/Frame3299.png
similarity index 100%
rename from static/tongyonh/Frame3299.png
rename to static/maskets/Frame3299.png
diff --git a/static/tongyonh/bye.png b/static/maskets/bye.png
similarity index 100%
rename from static/tongyonh/bye.png
rename to static/maskets/bye.png
diff --git a/static/home/ic_arrow_down.png b/static/maskets/ic_arrow_down.png
similarity index 100%
rename from static/home/ic_arrow_down.png
rename to static/maskets/ic_arrow_down.png
diff --git a/static/home/ic_arrow_up.png b/static/maskets/ic_arrow_up.png
similarity index 100%
rename from static/home/ic_arrow_up.png
rename to static/maskets/ic_arrow_up.png
diff --git a/static/me/Ellipse 85.png b/static/me/Ellipse 85.png
new file mode 100644
index 0000000..d8641f7
Binary files /dev/null and b/static/me/Ellipse 85.png differ
diff --git a/static/me/bg_QR_code.png b/static/me/bg_QR_code.png
new file mode 100644
index 0000000..0dc0fc0
Binary files /dev/null and b/static/me/bg_QR_code.png differ
diff --git a/static/me/ic_arrow_g.png b/static/me/ic_arrow_g.png
new file mode 100644
index 0000000..55d8fb3
Binary files /dev/null and b/static/me/ic_arrow_g.png differ
diff --git a/static/me/ic_logout.png b/static/me/ic_logout.png
new file mode 100644
index 0000000..5ab8221
Binary files /dev/null and b/static/me/ic_logout.png differ
diff --git a/static/me/ic_u_recharge.png b/static/me/ic_u_recharge.png
new file mode 100644
index 0000000..a0e0ff6
Binary files /dev/null and b/static/me/ic_u_recharge.png differ
diff --git a/static/me/ic_u_transfer.png b/static/me/ic_u_transfer.png
new file mode 100644
index 0000000..58fe36a
Binary files /dev/null and b/static/me/ic_u_transfer.png differ
diff --git a/static/me/ic_u_withdrawal.png b/static/me/ic_u_withdrawal.png
new file mode 100644
index 0000000..7f1c701
Binary files /dev/null and b/static/me/ic_u_withdrawal.png differ
diff --git a/static/me/ic_wallet_add.png b/static/me/ic_wallet_add.png
new file mode 100644
index 0000000..51a4c83
Binary files /dev/null and b/static/me/ic_wallet_add.png differ
diff --git a/static/me/ic_wallet_minus.png b/static/me/ic_wallet_minus.png
new file mode 100644
index 0000000..341fe0a
Binary files /dev/null and b/static/me/ic_wallet_minus.png differ
diff --git a/static/me/img_accountinfo01.png b/static/me/img_accountinfo01.png
new file mode 100644
index 0000000..a28707e
Binary files /dev/null and b/static/me/img_accountinfo01.png differ
diff --git a/static/me/img_accountinfo02.png b/static/me/img_accountinfo02.png
new file mode 100644
index 0000000..317d062
Binary files /dev/null and b/static/me/img_accountinfo02.png differ
diff --git a/static/me/img_accountinfo03.png b/static/me/img_accountinfo03.png
new file mode 100644
index 0000000..2ca113b
Binary files /dev/null and b/static/me/img_accountinfo03.png differ
diff --git a/static/me/img_accountinfo04.png b/static/me/img_accountinfo04.png
new file mode 100644
index 0000000..0d13774
Binary files /dev/null and b/static/me/img_accountinfo04.png differ
diff --git a/static/me/img_accountinfo05.png b/static/me/img_accountinfo05.png
new file mode 100644
index 0000000..17c7e54
Binary files /dev/null and b/static/me/img_accountinfo05.png differ
diff --git a/static/me/img_donate.png b/static/me/img_donate.png
new file mode 100644
index 0000000..34c8feb
Binary files /dev/null and b/static/me/img_donate.png differ
diff --git a/static/me/ranking.png b/static/me/ranking.png
new file mode 100644
index 0000000..4e8fd17
Binary files /dev/null and b/static/me/ranking.png differ
diff --git a/static/subscription/RoundedRectangle.png b/static/subscription/RoundedRectangle.png
new file mode 100644
index 0000000..98c50ce
Binary files /dev/null and b/static/subscription/RoundedRectangle.png differ
diff --git a/static/subscription/ic_play.png b/static/subscription/ic_play.png
new file mode 100644
index 0000000..fd3f2a7
Binary files /dev/null and b/static/subscription/ic_play.png differ
diff --git a/static/tabBar/ic_subcription_de.png b/static/tabBar/ic_subscription_de.png
similarity index 100%
rename from static/tabBar/ic_subcription_de.png
rename to static/tabBar/ic_subscription_de.png
diff --git a/static/tabBar/ic_subcription_pr.png b/static/tabBar/ic_subscription_pr.png
similarity index 100%
rename from static/tabBar/ic_subcription_pr.png
rename to static/tabBar/ic_subscription_pr.png
diff --git a/utils/language/en.js b/utils/language/en.js
index 3a22a2e..8f43ac4 100644
--- a/utils/language/en.js
+++ b/utils/language/en.js
@@ -1,12 +1,12 @@
// en.js
export default {
// tab bar 相关
- tabBar:{
- Home:'Home',
- Markets:'Markets',
- Charity:'Charity',
- Subscription:'Subscription',
- Me:'Me',
+ tabBar: {
+ Home: 'Home',
+ Markets: 'Markets',
+ Charity: 'Charity',
+ Subscription: 'Subscription',
+ Me: 'Me',
},
// 登陆相关页面
login: {
@@ -53,14 +53,82 @@ export default {
home: {
// 公共字段
HOME: 'HOME',
- // 首页
+ // home首页
customerService: 'Customer Service',
- homeMessage: `Please contact customer service on the top-left corner for identity verification on your first...
- Please contact customer service on the top-left corner for identity verification on your first...Please contact customer service on the top-left corner for identity verification on your first...`,
+ homeMessage: `Please contact customer service on the top-left corner for identity verification on your first Please contact customer service on the top-left corner for identity verification on your first...Please contact customer service on the top-left corner for identity verification on your first... `,
Recharge: 'Recharge',
Mine: 'Mine',
Subcription: 'Subcription',
- TodaySteps:"Today's steps",
- ReceiveEarnings:"Receive yesterday's earnings",
+ TodaySteps: "Today's steps",
+ ReceiveEarnings: "Receive yesterday's earnings",
+
+
+ },
+
+ // 合约页面相关
+ markets: {
+ // markets
+ TrandingPair: 'Tranding Pair',
+ LatestPrice: 'Latest Price',
+ RiseAndfall: '24H Rise and fall',
+ },
+
+ // 捐赠页面相关
+ charity: {
+ CharityDetails: 'Charity Details',
+ About: 'About',
+ Participants: 'Participants',
+ DonateNow: 'Donate Now',
+ PleaseChooseCoin: 'Please choose coin',
+ AvailableBlance: 'Available blance',
+ Quantity: 'Quantity',
+ WithdrawalPassword: 'Withdrawal Password',
+ },
+
+ // 申购页面相关 subscription
+
+ subscription: {
+ // 公共
+ Product: 'Product',
+ Pending: 'Pending',
+ Complete: 'Complete',
+ // Product
+ Subscribe: 'Subscribe',
+ Ended: 'Ended',
+ ComingSoon: 'Coming soon',
+ STLTotalCirculation: 'STL total circulation',
+ PrivateSalePrice: 'Private sale price',
+ ICOTime: 'ICO Time',
+ // Pending //Complete
+ HeaderPending: 'Pending',
+ HeaderComplete: 'Complete',
+ Price: 'Price',
+ Quantity: 'Quantity',
+ ConfirmAmount: 'Confirm amount',
+ USDT: 'USDT',
+ Time: 'Time',
+ CheckTheNumberoOfUSDT: 'Check the number of USDT',
+ // Subscription
+ Subscription: 'Subscription',
+ Days: 'Days',
+ Hours: 'Hours',
+ Minutes: 'Minutes',
+ Seconds: 'Seconds',
+ Total: 'Total',
+ SubscribeNow: 'Subscribe Now',
+ ProjectDetails: 'Project Details',
+ Video: 'Video',
+ WhiteBook: 'White Book',
+ },
+
+ //me
+ me: {
+ account: 'account',
+ Recharge: 'Recharge',
+ Withdrawal: 'Withdrawal',
+ Transfer: 'Transfer',
+ Balance: 'Balance(U)',
+ Pledge: 'Pledge(U)',
+ Contarct: 'Contarct(U)',
}
}
diff --git a/uview-ui/components/u-transition/u-transition.vue b/uview-ui/components/u-transition/u-transition.vue
index 22831dc..5aab389 100644
--- a/uview-ui/components/u-transition/u-transition.vue
+++ b/uview-ui/components/u-transition/u-transition.vue
@@ -7,6 +7,7 @@
:class="classes"
:style="[mergeStyle]"
@touchmove="noop"
+ @touchmove.prevent
>