Browse Source

init

master
[liang] 3 years ago
commit
04a10428e0
  1. 11
      .gitignore
  2. 69
      App.vue
  3. 94
      components/navigation/navigation.vue
  4. 195
      components/tabBar/tabBar.vue
  5. 20
      index.html
  6. 55
      main.js
  7. 72
      manifest.json
  8. 131
      package-lock.json
  9. 17
      package.json
  10. 31
      pages.json
  11. 51
      pages/index/index.vue
  12. 40
      pages/login/index.vue
  13. 0
      pages/register/index.vue
  14. BIN
      static/tabbar/dorder.png
  15. BIN
      static/tabbar/dorderS.png
  16. BIN
      static/tabbar/[email protected]
  17. BIN
      static/tabbar/[email protected]
  18. BIN
      static/tabbar/[email protected]
  19. BIN
      static/tabbar/[email protected]
  20. BIN
      static/tabbar/[email protected]
  21. BIN
      static/tabbar/[email protected]
  22. BIN
      static/tabbar/[email protected]
  23. BIN
      static/tabbar/[email protected]
  24. BIN
      static/tabbar/[email protected]
  25. BIN
      static/tabbar/[email protected]
  26. BIN
      static/tongyonh/America_icon.png
  27. BIN
      static/tongyonh/Belarus_icon.png
  28. BIN
      static/tongyonh/Bodyback.png
  29. BIN
      static/tongyonh/China_icon.png
  30. BIN
      static/tongyonh/Discover_icon.png
  31. BIN
      static/tongyonh/Discover_icona.png
  32. BIN
      static/tongyonh/ETH_icon.png
  33. BIN
      static/tongyonh/Ellipse45.png
  34. BIN
      static/tongyonh/Ellipse46.png
  35. BIN
      static/tongyonh/Ellipse47.png
  36. BIN
      static/tongyonh/Frame.png
  37. BIN
      static/tongyonh/Frame28.png
  38. BIN
      static/tongyonh/Frame300.png
  39. BIN
      static/tongyonh/Frame3299.png
  40. BIN
      static/tongyonh/Frame330.png
  41. BIN
      static/tongyonh/Frame58.png
  42. BIN
      static/tongyonh/Frame60.png
  43. BIN
      static/tongyonh/Frame669.png
  44. BIN
      static/tongyonh/Frame68p.png
  45. BIN
      static/tongyonh/Frame69.png
  46. BIN
      static/tongyonh/Frame70.png
  47. BIN
      static/tongyonh/Frame71.png
  48. BIN
      static/tongyonh/Frame72.png
  49. BIN
      static/tongyonh/Group285.png
  50. BIN
      static/tongyonh/Group304.png
  51. BIN
      static/tongyonh/Group8-1.png
  52. BIN
      static/tongyonh/Group8.png
  53. BIN
      static/tongyonh/Group80.png
  54. BIN
      static/tongyonh/Hongkong_icon.png
  55. BIN
      static/tongyonh/Icon.png
  56. BIN
      static/tongyonh/IconGroup.png
  57. BIN
      static/tongyonh/Illustration.png
  58. BIN
      static/tongyonh/Load_v3.png
  59. BIN
      static/tongyonh/MaskGroup.png
  60. BIN
      static/tongyonh/Nftimg.png
  61. BIN
      static/tongyonh/Polygon2.png
  62. BIN
      static/tongyonh/Polygon3.png
  63. BIN
      static/tongyonh/Profile_icon.png
  64. BIN
      static/tongyonh/Profile_icona.png
  65. BIN
      static/tongyonh/Rectangle550.png
  66. BIN
      static/tongyonh/Shape.png
  67. BIN
      static/tongyonh/Shield-protected.png
  68. BIN
      static/tongyonh/Subtract.png
  69. BIN
      static/tongyonh/Union.png
  70. BIN
      static/tongyonh/Uniona.png
  71. BIN
      static/tongyonh/Vector.png
  72. BIN
      static/tongyonh/account_circle_24px.png
  73. BIN
      static/tongyonh/alert-circle.png
  74. BIN
      static/tongyonh/arrow-down-left.png
  75. BIN
      static/tongyonh/arrow-down-left1.png
  76. BIN
      static/tongyonh/arrow-up-left.png
  77. BIN
      static/tongyonh/arrow-up-left_1.png
  78. BIN
      static/tongyonh/arrow-up-leftp.png
  79. BIN
      static/tongyonh/arrow-up-leftw.png
  80. BIN
      static/tongyonh/b_logo.png
  81. BIN
      static/tongyonh/backj.png
  82. BIN
      static/tongyonh/bit.png
  83. BIN
      static/tongyonh/btc_icon.png
  84. BIN
      static/tongyonh/bye.png
  85. BIN
      static/tongyonh/check-circle.png
  86. BIN
      static/tongyonh/chevron_right_24px.png
  87. BIN
      static/tongyonh/circle.png
  88. BIN
      static/tongyonh/codeci.png
  89. BIN
      static/tongyonh/coin.png
  90. BIN
      static/tongyonh/copy_24px.png
  91. BIN
      static/tongyonh/copy_24px_2.png
  92. 5
      static/tongyonh/copy_24px_outlined.svg
  93. BIN
      static/tongyonh/create_24px.png
  94. BIN
      static/tongyonh/create_wallet.png
  95. BIN
      static/tongyonh/cry.png
  96. BIN
      static/tongyonh/ellipsis.png
  97. BIN
      static/tongyonh/erwei.png
  98. BIN
      static/tongyonh/ethereum.png
  99. BIN
      static/tongyonh/eyeno.png
  100. BIN
      static/tongyonh/filter-left.png

11
.gitignore

@ -0,0 +1,11 @@
node_modules/**/*
unpackage/
unpackage/**/*
.idea
.idea/
.expo/*
npm-debug.*
*.orig.*
web-build/
apk/

69
App.vue

@ -0,0 +1,69 @@
<script>
export default {
// computed: {
// i18n() {
// return this.$t('index')
// },
// },
onLaunch: function () {
console.log('App Launch')
},
onShow: function () {
console.log('App Show')
},
onHide: function () {
console.log('App Hide')
}
}
</script>
<style lang="scss">
/*每个页面公共css */
/* #ifdef H5 */
body {
max-width: 828rpx; //
margin: auto !important;
}
/* #endif */
@import "uview-ui/index.scss";
page {
margin-top: 50rpx
}
button::after {
border: none;
}
uni-tabbar {
.uni-tabbar {
// tab
padding-top: 28rpx;
padding-bottom: 30rpx !important;
background-image: linear-gradient(to top, #FAF8F8, #FFFFFF) !important; // tab
.uni-tabbar-border {
// tabBar
background-color: #F7F4F4 !important; // tabBar
}
.uni-tabbar__bd {
// tabBar
.uni-tabbar__icon {
//
width: 48rpx !important;
height: 48rpx !important;
}
.uni-tabbar__label {
//
font-size: 20rpx !important;
}
}
}
}
</style>

94
components/navigation/navigation.vue

@ -0,0 +1,94 @@
<template>
<view class="nav-head">
<slot name="address"></slot>
<slot></slot>
<slot name="bread"></slot>
<slot name="logo"></slot>
<image src="../../static/tongyonh/Vector.png" mode="aspectFit" class="back" @tap="back()" v-if="showBack"></image>
</view>
</template>
<script>
const COMPONENT_NAME = 'navigation'
export default {
name: COMPONENT_NAME,
props:{
showBack: {
type: Boolean,
default () {
return true
}
},
bgnum: {
type: Boolean,
default () {
return false
}
},
},
data() {
return {
}
},
computed: {
},
mounted() {
},
methods: {
back(){
// #ifdef H5
history.back()
// #endif
// #ifdef APP-PLUS
uni.navigateBack()
// #endif
}
},
}
</script>
<style scoped lang="scss">
.item{
font-size: 28rpx;
text-align: center;
width: 234rpx;
line-height: 60rpx;
}
.nav-head{
height: 40rpx;
// background-color: #fafafa;
// background-color: #fff;
text-align: center;
font-weight: 700;
font-size: 36rpx;
color: #000;
padding: 40rpx 16rpx;
// margin-top: 50rpx;
display: flex;
justify-content: center;
flex-direction: row-reverse;
align-items: center;
margin-top: 80rpx;
position: relative;
top: 0rpx;
width: 100%;
z-index: 8;
}
.back{
width: 30rpx;
height: 30rpx;
position: absolute;
left:36rpx;
top: 50%;
transform: translateY(-50%);
}
</style>

195
components/tabBar/tabBar.vue

@ -0,0 +1,195 @@
<template>
<view class="index-header ">
<view class="con">
<view class="tabbar_item" @click="goToPage(1)">
<view class="uni-tabbar_bd">
<view class="uni-tabbar_icon">
<image :src="'/static/tongyonh/'+(selectActive==1?'Uniona':'Union')+'.png'" mode="aspectFit" class="img1"></image>
</view>
<view class="uni-tabbar_label" :class="['text', selectActive==1?'active':'']">
{{i18n.Wallet}}
</view>
</view>
</view>
<view class="tabbar_item" @click="goToPage(2)" v-if="showNft">
<view class="uni-tabbar_bd">
<view class="uni-tabbar_icon">
<image :src="'/static/tongyonh/'+(selectActive==2?'nft_icon2':'nft_icon')+'.png'" mode="aspectFit" class="img1"></image>
</view>
<view class="uni-tabbar_label" :class="['text', selectActive==2?'active':'']">
{{i18n.NFT}}
</view>
</view>
</view>
<view class="tabbar_item" @click="goToPage(3)">
<view class="uni-tabbar_bd">
<view class="uni-tabbar_icon">
<image :src="'/static/tongyonh/'+(selectActive==3?'market_icona':'market_icon')+'.png'" mode="aspectFit" class="img1"></image>
</view>
<view class="uni-tabbar_label" :class="['text', selectActive==3?'active':'']">
{{i18n.Market}}
</view>
</view>
</view>
<!-- <view class="tabbar_item" @click="goToPage(4)">
<view class="uni-tabbar_bd">
<view class="uni-tabbar_icon">
<image :src="'/static/tongyonh/'+(selectActive==4?'Discover_icona':'Discover_icon')+'.png'" mode="aspectFit" class="img1"></image>
</view>
<view class="uni-tabbar_label" :class="['text', selectActive==4?'active':'']">
{{i18n.Discover}}
</view>
</view>
</view> -->
<view class="tabbar_item" @click="goToPage(5)">
<view class="uni-tabbar_bd">
<view class="uni-tabbar_icon">
<image :src="'/static/tongyonh/'+(selectActive==5?'Profile_icon':'Profile_icona')+'.png'" mode="aspectFit" class="img1"></image>
</view>
<view class="uni-tabbar_label" :class="['text', selectActive==5?'active':'']">
{{i18n.Profile}}
</view>
</view>
</view>
</view>
</view>
</template>
<script>
const COMPONENT_NAME = 'tabBar'
export default {
name: COMPONENT_NAME,
props: {
selectActive: {
type: Number,
default () {
return 1
}
},
},
data() {
return {
showNft:null,
status:'',
address:'',
}
},
computed: {
},
mounted() {
this.showNft=uni.getStorageSync('showNft')
console.log(this.showNft,78787878787878787878787878787878)
},
methods: {
goToPage(num) {
if(num == 1) {
uni.reLaunch({
url: '/pages/menu/wallet/index'
})
} else if (num == 2) {
uni.reLaunch({
url: '/pages/menu/collection/index'
})
} else if (num == 3) {
uni.reLaunch({
url: '/pages/menu/market/index'
})
}else if (num == 4) {
uni.reLaunch({
url: '/pages/menu/discover/index'
})
}else if (num == 5) {
uni.reLaunch({
url: '/pages/menu/profile/index'
})
}
}
},
computed: {
i18n() {
return this.$t('index')
},
}
}
</script>
<style scoped lang="scss">
.active{
color: #5B53FF !important;
}
.uni-tabbar_label {
color: rgb(153, 153, 153);
font-size: 10px;
line-height: normal;
margin-top: 3px;
position: relative;
text-align: center;
font-size: 20rpx !important;
}
.uni-tabbar_icon{
width: 24px !important;
height: 24px !important;
position: relative;
display: inline-block;
margin-top: 5px;
}
.uni-tabbar_icon image {
width: 100%;
height: 100%;
}
.uni-tabbar_bd{
height: 100rpx;
position: relative;
-webkit-flex-direction: column;
flex-direction: column;
cursor: pointer;
}
.con{
width: 100%;
background-color: rgb(247, 247, 250);
position: fixed;
bottom: 0;
left: 0;
padding-top: 28rpx;
padding-bottom: 30rpx ;
background-image: -webkit-linear-gradient(bottom, #FAF8F8, #FFFFFF) !important;
background-image: linear-gradient(to top, #FAF8F8, #FFFFFF) !important;
border-top: 2rpx solid #F7F4F4;
display: flex;
z-index: 998;
box-sizing: border-box;
}
.tabbar_item{
display: -webkit-box;
width: 150rpx;
height: 100rpx;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-webkit-align-items: center;
align-items: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
webkit-flex-direction: column;
flex-direction: column;
-webkit-box-flex: 1;
-webkit-flex: 1;
flex: 1;
font-size: 0;
text-align: center;
-webkit-tap-highlight-color: rgba(0,0,0,0);
}
</style>

20
index.html

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') ||
CSS.supports('top: constant(a)'))
document.write(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' +
(coverSupport ? ', viewport-fit=cover' : '') + '" />')
</script>
<title></title>
<!--preload-links-->
<!--app-context-->
</head>
<body>
<div id="app"><!--app-html--></div>
<script type="module" src="/main.js"></script>
</body>
</html>

55
main.js

@ -0,0 +1,55 @@
import Vue from 'vue'
import App from './App'
import uView from 'uview-ui'
import VueI18n from 'vue-i18n'
import axios from './utils/axios.js'
import store from './store'
// 多国语言
import EN from './utils/language/en.js'
import ZH from './utils/language/zh.js'
// 自定义底部导航栏
// import tabBar from 'components/tabBar/tabBar.vue'
// Vue.component('tab-bar', tabBar)
Vue.use(uView)
Vue.use(VueI18n);
const i18n = new VueI18n({
// locale: store.state.language, // 默认选择的语言
locale: 'en', // 默认选择的语言
messages: {
'en': EN,
'zh': ZH,
}
})
Vue.prototype.$store = store
Vue.prototype.$axios = axios
Vue.prototype.$_i18n = i18n
// #ifndef VUE3
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
i18n,
store,
...App
})
app.$mount()
// #endif
// #ifdef VUE3
import { createSSRApp } from 'vue'
export function createApp() {
const app = createSSRApp(App)
return {
app
}
}
// #endif

72
manifest.json

@ -0,0 +1,72 @@
{
"name" : "massfitnes",
"appid" : "__UNI__2B017B1",
"description" : "",
"versionName" : "1.0.0",
"versionCode" : "100",
"transformPx" : false,
/* 5+App */
"app-plus" : {
"usingComponents" : true,
"nvueStyleCompiler" : "uni-app",
"compilerVersion" : 3,
"splashscreen" : {
"alwaysShowBeforeRender" : true,
"waiting" : true,
"autoclose" : true,
"delay" : 0
},
/* */
"modules" : {},
/* */
"distribute" : {
/* android */
"android" : {
"permissions" : [
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>"
]
},
/* ios */
"ios" : {},
/* SDK */
"sdkConfigs" : {}
}
},
/* */
"quickapp" : {},
/* */
"mp-weixin" : {
"appid" : "",
"setting" : {
"urlCheck" : false
},
"usingComponents" : true
},
"mp-alipay" : {
"usingComponents" : true
},
"mp-baidu" : {
"usingComponents" : true
},
"mp-toutiao" : {
"usingComponents" : true
},
"uniStatistics" : {
"enable" : false
},
"vueVersion" : "2"
}

131
package-lock.json

@ -0,0 +1,131 @@
{
"name": "massfitnes",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@intlify/core-base": {
"version": "9.2.2",
"resolved": "https://registry.npmmirror.com/@intlify/core-base/-/core-base-9.2.2.tgz",
"integrity": "sha512-JjUpQtNfn+joMbrXvpR4hTF8iJQ2sEFzzK3KIESOx+f+uwIjgw20igOyaIdhfsVVBCds8ZM64MoeNSx+PHQMkA==",
"requires": {
"@intlify/devtools-if": "9.2.2",
"@intlify/message-compiler": "9.2.2",
"@intlify/shared": "9.2.2",
"@intlify/vue-devtools": "9.2.2"
}
},
"@intlify/devtools-if": {
"version": "9.2.2",
"resolved": "https://registry.npmmirror.com/@intlify/devtools-if/-/devtools-if-9.2.2.tgz",
"integrity": "sha512-4ttr/FNO29w+kBbU7HZ/U0Lzuh2cRDhP8UlWOtV9ERcjHzuyXVZmjyleESK6eVP60tGC9QtQW9yZE+JeRhDHkg==",
"requires": {
"@intlify/shared": "9.2.2"
}
},
"@intlify/message-compiler": {
"version": "9.2.2",
"resolved": "https://registry.npmmirror.com/@intlify/message-compiler/-/message-compiler-9.2.2.tgz",
"integrity": "sha512-IUrQW7byAKN2fMBe8z6sK6riG1pue95e5jfokn8hA5Q3Bqy4MBJ5lJAofUsawQJYHeoPJ7svMDyBaVJ4d0GTtA==",
"requires": {
"@intlify/shared": "9.2.2",
"source-map": "0.6.1"
}
},
"@intlify/shared": {
"version": "9.2.2",
"resolved": "https://registry.npmmirror.com/@intlify/shared/-/shared-9.2.2.tgz",
"integrity": "sha512-wRwTpsslgZS5HNyM7uDQYZtxnbI12aGiBZURX3BTR9RFIKKRWpllTsgzHWvj3HKm3Y2Sh5LPC1r0PDCKEhVn9Q=="
},
"@intlify/vue-devtools": {
"version": "9.2.2",
"resolved": "https://registry.npmmirror.com/@intlify/vue-devtools/-/vue-devtools-9.2.2.tgz",
"integrity": "sha512-+dUyqyCHWHb/UcvY1MlIpO87munedm3Gn6E9WWYdWrMuYLcoIoOEVDWSS8xSwtlPU+kA+MEQTP6Q1iI/ocusJg==",
"requires": {
"@intlify/core-base": "9.2.2",
"@intlify/shared": "9.2.2"
}
},
"@vue/devtools-api": {
"version": "6.2.1",
"resolved": "https://registry.npmmirror.com/@vue/devtools-api/-/devtools-api-6.2.1.tgz",
"integrity": "sha512-OEgAMeQXvCoJ+1x8WyQuVZzFo0wcyCmUR3baRVLmKBo1LmYZWMlRiXlux5jd0fqVJu6PfDbOrZItVqUEzLobeQ=="
},
"asynckit": {
"version": "0.4.0",
"resolved": "https://registry.npmmirror.com/asynckit/-/asynckit-0.4.0.tgz",
"integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
},
"axios": {
"version": "0.27.2",
"resolved": "https://registry.npmmirror.com/axios/-/axios-0.27.2.tgz",
"integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==",
"requires": {
"follow-redirects": "^1.14.9",
"form-data": "^4.0.0"
}
},
"combined-stream": {
"version": "1.0.8",
"resolved": "https://registry.npmmirror.com/combined-stream/-/combined-stream-1.0.8.tgz",
"integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
"requires": {
"delayed-stream": "~1.0.0"
}
},
"delayed-stream": {
"version": "1.0.0",
"resolved": "https://registry.npmmirror.com/delayed-stream/-/delayed-stream-1.0.0.tgz",
"integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ=="
},
"follow-redirects": {
"version": "1.15.1",
"resolved": "https://registry.npmmirror.com/follow-redirects/-/follow-redirects-1.15.1.tgz",
"integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA=="
},
"form-data": {
"version": "4.0.0",
"resolved": "https://registry.npmmirror.com/form-data/-/form-data-4.0.0.tgz",
"integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
"requires": {
"asynckit": "^0.4.0",
"combined-stream": "^1.0.8",
"mime-types": "^2.1.12"
}
},
"mime-db": {
"version": "1.52.0",
"resolved": "https://registry.npmmirror.com/mime-db/-/mime-db-1.52.0.tgz",
"integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="
},
"mime-types": {
"version": "2.1.35",
"resolved": "https://registry.npmmirror.com/mime-types/-/mime-types-2.1.35.tgz",
"integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
"requires": {
"mime-db": "1.52.0"
}
},
"source-map": {
"version": "0.6.1",
"resolved": "https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g=="
},
"uview-ui": {
"version": "2.0.31",
"resolved": "https://registry.npmmirror.com/uview-ui/-/uview-ui-2.0.31.tgz",
"integrity": "sha512-I/0fGuvtiKHH/mBb864SGYk+SJ7WaF32tsBgYgeBOsxlUp+Th+Ac2tgz2cTvsQJl6eZYWsKZ3ixiSXCAcxZ8Sw=="
},
"vue-i18n": {
"version": "9.2.2",
"resolved": "https://registry.npmmirror.com/vue-i18n/-/vue-i18n-9.2.2.tgz",
"integrity": "sha512-yswpwtj89rTBhegUAv9Mu37LNznyu3NpyLQmozF3i1hYOhwpG8RjcjIFIIfnu+2MDZJGSZPXaKWvnQA71Yv9TQ==",
"requires": {
"@intlify/core-base": "9.2.2",
"@intlify/shared": "9.2.2",
"@intlify/vue-devtools": "9.2.2",
"@vue/devtools-api": "^6.2.1"
}
}
}
}

17
package.json

@ -0,0 +1,17 @@
{
"name": "massfitnes",
"version": "1.0.0",
"description": "",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"axios": "^0.27.2",
"uview-ui": "^2.0.31",
"vue-i18n": "^9.2.2"
}
}

31
pages.json

@ -0,0 +1,31 @@
{
"easycom": {
"^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
},
"pages": [ //pages
{
"path": "pages/login/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/index/index",
"style": {
"navigationStyle": "custom"
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"style": {
"app-plus": {
"titleNView": false
}
}
},
"uniIdRouter": {}
}

51
pages/index/index.vue

@ -0,0 +1,51 @@
<template>
<view class="content">
<view class="text-area">
<text class="title">{{title}}</text>
</view>
</view>
</template>
<script>
export default {
data() {
return {
title: 'Hello'
}
},
onLoad() {
},
methods: {
}
}
</script>
<style lang="scss">
.content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.logo {
height: 200rpx;
width: 200rpx;
margin-top: 200rpx;
margin-left: auto;
margin-right: auto;
margin-bottom: 50rpx;
}
.text-area {
display: flex;
justify-content: center;
}
.title {
font-size: 36rpx;
color: #8f8f94;
}
</style>

40
pages/login/index.vue

@ -0,0 +1,40 @@
<template>
<view class="main">
111
<view class="welcomeText">{{ i18n.welcomeText }}</view>
<view class="signInText">{{ i18n.signInText }}</view>
<u-form labelPosition="left" :model="model1" :rules="rules" ref="form1">
<u-form-item prop="userInfo.name" borderBottom ref="item1">
<u-input v-model="model1.userInfo.name"></u-input>
</u-form-item>
</u-form>
</view>
</template>
<script>
export default {
name: 'login',
data() {
return {
}
},
computed: {
i18n() {
return this.$t('login')
},
},
onLoad() {
console.log(this.i18n);
},
onShow() { },
methods: {
},
}
</script>
<style lang="scss">
</style>

0
pages/register/index.vue

BIN
static/tabbar/dorder.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 847 B

BIN
static/tabbar/dorderS.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 834 B

BIN
static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

BIN
static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1011 B

BIN
static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 567 B

BIN
static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

BIN
static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

BIN
static/tabbar/[email protected]

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
static/tongyonh/America_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
static/tongyonh/Belarus_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

BIN
static/tongyonh/Bodyback.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

BIN
static/tongyonh/China_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
static/tongyonh/Discover_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

BIN
static/tongyonh/Discover_icona.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
static/tongyonh/ETH_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
static/tongyonh/Ellipse45.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
static/tongyonh/Ellipse46.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

BIN
static/tongyonh/Ellipse47.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
static/tongyonh/Frame.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

BIN
static/tongyonh/Frame28.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
static/tongyonh/Frame300.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 B

BIN
static/tongyonh/Frame3299.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
static/tongyonh/Frame330.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 914 B

BIN
static/tongyonh/Frame58.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 326 B

BIN
static/tongyonh/Frame60.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
static/tongyonh/Frame669.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 855 B

BIN
static/tongyonh/Frame68p.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

BIN
static/tongyonh/Frame69.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
static/tongyonh/Frame70.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

BIN
static/tongyonh/Frame71.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
static/tongyonh/Frame72.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
static/tongyonh/Group285.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
static/tongyonh/Group304.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
static/tongyonh/Group8-1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 706 KiB

BIN
static/tongyonh/Group8.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 KiB

BIN
static/tongyonh/Group80.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 KiB

BIN
static/tongyonh/Hongkong_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

BIN
static/tongyonh/Icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

BIN
static/tongyonh/IconGroup.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
static/tongyonh/Illustration.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

BIN
static/tongyonh/Load_v3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

BIN
static/tongyonh/MaskGroup.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

BIN
static/tongyonh/Nftimg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

BIN
static/tongyonh/Polygon2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 250 B

BIN
static/tongyonh/Polygon3.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

BIN
static/tongyonh/Profile_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
static/tongyonh/Profile_icona.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

BIN
static/tongyonh/Rectangle550.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

BIN
static/tongyonh/Shape.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

BIN
static/tongyonh/Shield-protected.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

BIN
static/tongyonh/Subtract.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

BIN
static/tongyonh/Union.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

BIN
static/tongyonh/Uniona.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
static/tongyonh/Vector.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 423 B

BIN
static/tongyonh/account_circle_24px.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 803 B

BIN
static/tongyonh/alert-circle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

BIN
static/tongyonh/arrow-down-left.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

BIN
static/tongyonh/arrow-down-left1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

BIN
static/tongyonh/arrow-up-left.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
static/tongyonh/arrow-up-left_1.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

BIN
static/tongyonh/arrow-up-leftp.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

BIN
static/tongyonh/arrow-up-leftw.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
static/tongyonh/b_logo.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

BIN
static/tongyonh/backj.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

BIN
static/tongyonh/bit.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

BIN
static/tongyonh/btc_icon.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

BIN
static/tongyonh/bye.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
static/tongyonh/check-circle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
static/tongyonh/chevron_right_24px.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 B

BIN
static/tongyonh/circle.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
static/tongyonh/codeci.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 914 B

BIN
static/tongyonh/coin.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

BIN
static/tongyonh/copy_24px.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 746 B

BIN
static/tongyonh/copy_24px_2.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 638 B

5
static/tongyonh/copy_24px_outlined.svg

@ -0,0 +1,5 @@
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<g id="icon/content/copy_24px">
<path id="icon/content/copy_24px_2" fill-rule="evenodd" clip-rule="evenodd" d="M15.7497 2.83301H5.74967C4.83301 2.83301 4.08301 3.58301 4.08301 4.49967V16.1663H5.74967V4.49967H15.7497V2.83301ZM18.2495 6.16667H9.08285C8.16618 6.16667 7.41618 6.91667 7.41618 7.83333V19.5C7.41618 20.4167 8.16618 21.1667 9.08285 21.1667H18.2495C19.1662 21.1667 19.9162 20.4167 19.9162 19.5V7.83333C19.9162 6.91667 19.1662 6.16667 18.2495 6.16667ZM9.08285 19.5H18.2495V7.83333H9.08285V19.5Z" fill="#0D1F3C"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 629 B

BIN
static/tongyonh/create_24px.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 849 B

BIN
static/tongyonh/create_wallet.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

BIN
static/tongyonh/cry.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
static/tongyonh/ellipsis.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

BIN
static/tongyonh/erwei.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 752 B

BIN
static/tongyonh/ethereum.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

BIN
static/tongyonh/eyeno.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

BIN
static/tongyonh/filter-left.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save