diff --git a/package.json b/package.json
index 9439f56..b0e6256 100644
--- a/package.json
+++ b/package.json
@@ -86,6 +86,7 @@
"bin-wrapper": "npm:bin-wrapper-china"
},
"dependencies": {
+ "@chenfengyuan/vue-qrcode": "^2.0.0",
"@dcloudio/uni-app": "3.0.0-4020920240930001",
"@dcloudio/uni-app-harmony": "3.0.0-4020920240930001",
"@dcloudio/uni-app-plus": "3.0.0-4020920240930001",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 0583319..23c2296 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -11,6 +11,9 @@ importers:
.:
dependencies:
+ '@chenfengyuan/vue-qrcode':
+ specifier: ^2.0.0
+ version: 2.0.0(qrcode@1.5.4)(vue@3.4.21(typescript@5.7.2))
'@dcloudio/uni-app':
specifier: 3.0.0-4020920240930001
version: 3.0.0-4020920240930001(@dcloudio/types@3.4.14)(postcss@8.4.49)(rollup@4.28.0)(vue@3.4.21(typescript@5.7.2))
@@ -855,6 +858,12 @@ packages:
'@bcoe/v8-coverage@0.2.3':
resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==}
+ '@chenfengyuan/vue-qrcode@2.0.0':
+ resolution: {integrity: sha512-33Cfr0zjbc3Dd8d5b1IgzXRAgXH0c2Gv19VI4snS25V/x9Z41eg769tC+Us1x+vqgQQhgD5YUjLnkpkrQfeMSw==}
+ peerDependencies:
+ qrcode: ^1.5.0
+ vue: ^3.0.0
+
'@commitlint/cli@18.6.1':
resolution: {integrity: sha512-5IDE0a+lWGdkOvKH892HHAZgbAjcj1mT5QrfA/SVbLJV/BbBMGyKN0W5mhgjekPJJwEQdVNvhl9PwUacY58Usw==}
engines: {node: '>=v18'}
@@ -2433,6 +2442,9 @@ packages:
resolution: {integrity: sha512-nPdaFdQ0h/GEigbPClz11D0v/ZJEwxmeVZGeMo3Z5StPtUTkA9o1lD6QwoirYiSDzbcwn2XcjwmCp68W1IS4TA==}
engines: {node: '>=18'}
+ cliui@6.0.0:
+ resolution: {integrity: sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==}
+
cliui@7.0.4:
resolution: {integrity: sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ==}
@@ -2737,6 +2749,9 @@ packages:
resolution: {integrity: sha512-k1gCAXAsNgLwEL+Y8Wvl+M6oEFj5bgazfZULpS5CneoPPXRaCCW7dm+q21Ky2VEE5X+VeRDBVg1Pcvvsr4TtNQ==}
engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0}
+ dijkstrajs@1.0.3:
+ resolution: {integrity: sha512-qiSlmBq9+BCdCA/L46dw8Uy93mloxsPSbwnm5yrKn2vMPiy8KyAskTF6zuV/j5BMsmOGZDPs7KjU+mjb670kfA==}
+
dir-glob@3.0.1:
resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
engines: {node: '>=8'}
@@ -4439,6 +4454,10 @@ packages:
resolution: {integrity: sha512-NCrCHhWmnQklfH4MtJMRjZ2a8c80qXeMlQMv2uVp9ISJMTt562SbGd6n2oq0PaPgKm7Z6pL9E2UlLIhC+SHL3w==}
engines: {node: '>=4.0.0'}
+ pngjs@5.0.0:
+ resolution: {integrity: sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw==}
+ engines: {node: '>=10.13.0'}
+
possible-typed-array-names@1.0.0:
resolution: {integrity: sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q==}
engines: {node: '>= 0.4'}
@@ -4586,6 +4605,11 @@ packages:
resolution: {integrity: sha512-EXtzRZmC+YGmGlDFbXKxQiMZNwCLEO6BANKXG4iCtSIM0yqc/pappSx3RIKr4r0uh5JsBckOXeKrB3Iz7mdQpQ==}
hasBin: true
+ qrcode@1.5.4:
+ resolution: {integrity: sha512-1ca71Zgiu6ORjHqFBDpnSMTR2ReToX4l1Au1VFLyVeBTFavzQnv5JxMFr3ukHVKpSrSA2MCk0lNJSykjUfz7Zg==}
+ engines: {node: '>=10.13.0'}
+ hasBin: true
+
qs@6.13.0:
resolution: {integrity: sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==}
engines: {node: '>=0.6'}
@@ -4684,6 +4708,9 @@ packages:
resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==}
engines: {node: '>=0.10.0'}
+ require-main-filename@2.0.0:
+ resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==}
+
requires-port@1.0.0:
resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==}
@@ -4806,6 +4833,9 @@ packages:
resolution: {integrity: sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==}
engines: {node: '>= 0.8.0'}
+ set-blocking@2.0.0:
+ resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
+
set-function-length@1.2.2:
resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==}
engines: {node: '>= 0.4'}
@@ -5456,6 +5486,9 @@ packages:
resolution: {integrity: sha512-K4jVyjnBdgvc86Y6BkaLZEN933SwYOuBFkdmBu9ZfkcAbdVbpITnDmjvZ/aQjRXQrv5EPkTnD1s39GiiqbngCw==}
engines: {node: '>= 0.4'}
+ which-module@2.0.1:
+ resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==}
+
which-typed-array@1.1.16:
resolution: {integrity: sha512-g+N+GAWiRj66DngFwHvISJd+ITsyphZvD1vChfVg6cEdnzy53GzB3oy0fUNlvhz7H7+MiqhYr26qxQShCpKTTQ==}
engines: {node: '>= 0.4'}
@@ -5479,6 +5512,10 @@ packages:
peerDependencies:
vue: '>=3.2.47'
+ wrap-ansi@6.2.0:
+ resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==}
+ engines: {node: '>=8'}
+
wrap-ansi@7.0.0:
resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}
engines: {node: '>=10'}
@@ -5556,6 +5593,9 @@ packages:
resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==}
engines: {node: '>=0.4'}
+ y18n@4.0.3:
+ resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==}
+
y18n@5.0.8:
resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==}
engines: {node: '>=10'}
@@ -5580,6 +5620,10 @@ packages:
engines: {node: '>= 14'}
hasBin: true
+ yargs-parser@18.1.3:
+ resolution: {integrity: sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==}
+ engines: {node: '>=6'}
+
yargs-parser@20.2.9:
resolution: {integrity: sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w==}
engines: {node: '>=10'}
@@ -5588,6 +5632,10 @@ packages:
resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==}
engines: {node: '>=12'}
+ yargs@15.4.1:
+ resolution: {integrity: sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==}
+ engines: {node: '>=8'}
+
yargs@16.2.0:
resolution: {integrity: sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==}
engines: {node: '>=10'}
@@ -6379,6 +6427,11 @@ snapshots:
'@bcoe/v8-coverage@0.2.3': {}
+ '@chenfengyuan/vue-qrcode@2.0.0(qrcode@1.5.4)(vue@3.4.21(typescript@5.7.2))':
+ dependencies:
+ qrcode: 1.5.4
+ vue: 3.4.21(typescript@5.7.2)
+
'@commitlint/cli@18.6.1(@types/node@20.17.9)(typescript@5.7.2)':
dependencies:
'@commitlint/format': 18.6.1
@@ -8850,6 +8903,12 @@ snapshots:
slice-ansi: 5.0.0
string-width: 7.2.0
+ cliui@6.0.0:
+ dependencies:
+ string-width: 4.2.3
+ strip-ansi: 6.0.1
+ wrap-ansi: 6.2.0
+
cliui@7.0.4:
dependencies:
string-width: 4.2.3
@@ -9104,6 +9163,8 @@ snapshots:
diff-sequences@27.5.1: {}
+ dijkstrajs@1.0.3: {}
+
dir-glob@3.0.1:
dependencies:
path-type: 4.0.0
@@ -11117,6 +11178,8 @@ snapshots:
pngjs@3.4.0: {}
+ pngjs@5.0.0: {}
+
possible-typed-array-names@1.0.0: {}
postcss-html@1.7.0:
@@ -11251,6 +11314,12 @@ snapshots:
qrcode-terminal@0.12.0: {}
+ qrcode@1.5.4:
+ dependencies:
+ dijkstrajs: 1.0.3
+ pngjs: 5.0.0
+ yargs: 15.4.1
+
qs@6.13.0:
dependencies:
side-channel: 1.0.6
@@ -11361,6 +11430,8 @@ snapshots:
require-from-string@2.0.2: {}
+ require-main-filename@2.0.0: {}
+
requires-port@1.0.0: {}
resolve-cwd@3.0.0:
@@ -11505,6 +11576,8 @@ snapshots:
transitivePeerDependencies:
- supports-color
+ set-blocking@2.0.0: {}
+
set-function-length@1.2.2:
dependencies:
define-data-property: 1.1.4
@@ -12245,6 +12318,8 @@ snapshots:
is-weakmap: 2.0.2
is-weakset: 2.0.3
+ which-module@2.0.1: {}
+
which-typed-array@1.1.16:
dependencies:
available-typed-arrays: 1.0.7
@@ -12267,6 +12342,12 @@ snapshots:
dependencies:
vue: 3.4.21(typescript@5.7.2)
+ wrap-ansi@6.2.0:
+ dependencies:
+ ansi-styles: 4.3.0
+ string-width: 4.2.3
+ strip-ansi: 6.0.1
+
wrap-ansi@7.0.0:
dependencies:
ansi-styles: 4.3.0
@@ -12325,6 +12406,8 @@ snapshots:
xtend@4.0.2: {}
+ y18n@4.0.3: {}
+
y18n@5.0.8: {}
yallist@3.1.1: {}
@@ -12337,10 +12420,29 @@ snapshots:
yaml@2.6.1: {}
+ yargs-parser@18.1.3:
+ dependencies:
+ camelcase: 5.3.1
+ decamelize: 1.2.0
+
yargs-parser@20.2.9: {}
yargs-parser@21.1.1: {}
+ yargs@15.4.1:
+ dependencies:
+ cliui: 6.0.0
+ decamelize: 1.2.0
+ find-up: 4.1.0
+ get-caller-file: 2.0.5
+ require-directory: 2.1.1
+ require-main-filename: 2.0.0
+ set-blocking: 2.0.0
+ string-width: 4.2.3
+ which-module: 2.0.1
+ y18n: 4.0.3
+ yargs-parser: 18.1.3
+
yargs@16.2.0:
dependencies:
cliui: 7.0.4
diff --git a/src/App.vue b/src/App.vue
index 7f37b58..f91e826 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -7,9 +7,9 @@ onLaunch((options) => {
if (checkWithRedirectLogin(options.path)) {
uni.reLaunch({
url: loginRoute,
- query: {
- redirect: options.path,
- },
+ // query: {
+ // redirect: options.path,
+ // },
})
}
})
diff --git a/src/interceptors/route.ts b/src/interceptors/route.ts
index f9ee1f0..32ea1a0 100644
--- a/src/interceptors/route.ts
+++ b/src/interceptors/route.ts
@@ -13,7 +13,7 @@ import type { Router } from 'vue-router'
export const loginRoute = '/pages/login/index'
-const isLogged = () => {
+export const isLogged = () => {
const userStore = useUserStore()
return userStore.isLogged
}
@@ -41,8 +41,8 @@ const navigateToInterceptor = {
if (hasLogin) {
return true
}
- const redirectRoute = `${loginRoute}?redirect=${encodeURIComponent(url)}`
- uni.navigateTo({ url: redirectRoute })
+ // const redirectRoute = `${loginRoute}?redirect=${encodeURIComponent(url)}`
+ uni.navigateTo({ url: loginRoute })
return false
},
}
@@ -67,7 +67,8 @@ export const getNotNeedLoginPages = () => {
export const checkLoginUrl = (url: string) => {
const path = url.split('?')[0]
- const isNotNeedLogin = getNotNeedLoginPages().includes(path)
+ const isNotNeedLogin = getNotNeedLoginPages().includes(path.replace(/^pages/, '/pages'))
+ console.log(path)
return isNotNeedLogin
}
@@ -92,9 +93,9 @@ export const routerBeforeEachConfig = (router: Router) => {
if (checkWithRedirectLogin(to.path)) {
return next({
path: loginRoute,
- query: {
- redirect: to.fullPath,
- },
+ // query: {
+ // redirect: to.fullPath,
+ // },
})
}
return next()
diff --git a/src/pages-sub/asset/index.vue b/src/pages-sub/asset/index.vue
new file mode 100644
index 0000000..ee6e529
--- /dev/null
+++ b/src/pages-sub/asset/index.vue
@@ -0,0 +1,54 @@
+
+{
+ style: {
+ navigationBarTitleText: '我的资产',
+ navigationBarBackgroundColor: '#fff',
+ },
+}
+
+
+
+
+ 我的资产
+
+ 总投资金
+ 10000.00
+
+
+ 我的分红
+ 10000.00
+
+
+ 数字人民币
+ 10000.00
+
+
+ 认购点
+ 10000.00
+
+
+
+ 资产记录
+
+
+
+ 邀请好友奖励
+ 奖励
+ 2024-12-27 10:00:00
+
+
+
+ +1000 RMB
+ +2000 RMB
+ +30 点
+ 已到账
+
+
+
+
diff --git a/src/pages-sub/introduction/index.vue b/src/pages-sub/introduction/index.vue
new file mode 100644
index 0000000..1c95af0
--- /dev/null
+++ b/src/pages-sub/introduction/index.vue
@@ -0,0 +1,22 @@
+
+{
+ style: {
+ navigationBarTitleText: '公司简介',
+ },
+}
+
+
+
+
+ 中巴军团
+
+
+ 中巴军团(集团)有限公司由具有160年历史的上海纺织集团和具有70年外贸历史的原东方国际集团联合重组而成,是一家拥有先进制造业与现代服务业,以时尚产业、健康产业和供应链服务为核心主业,以科技实业、产业地产、金融投资为支撑,构建“一体两翼三支撑”总体格局的大型综合性企业集团。名列中国企业500强第275位,上海企业100强第25位。
+ 集团拥有总资产627亿元、员工5.8万人(海外员工占70%),2023年快报营业收入780亿元,进出口56.64亿美元(出口41.34亿美元、进口15.3亿美元)。集团在海外拥有96家业务机构,分布在五大洲27个国家和地区。所属企业389家,上市公司4家(东方创业、申达股份、龙头股份、香港联泰控股)。
+
+
+
diff --git a/src/pages-sub/invest-detail/index.vue b/src/pages-sub/invest-detail/index.vue
new file mode 100644
index 0000000..c49b6e4
--- /dev/null
+++ b/src/pages-sub/invest-detail/index.vue
@@ -0,0 +1,29 @@
+
+{
+ style: {
+ navigationBarTitleText: '投资记录',
+ navigationBarBackgroundColor: '#fff',
+ },
+}
+
+
+
+
+
+
+ 5G通信
+ 投资
+ 2024-12-27 10:00:00
+
+
+
+ +1000 RMB
+ 投资成功
+
+
+
+
diff --git a/src/pages-sub/invest-immediately/index.vue b/src/pages-sub/invest-immediately/index.vue
new file mode 100644
index 0000000..7df416b
--- /dev/null
+++ b/src/pages-sub/invest-immediately/index.vue
@@ -0,0 +1,60 @@
+
+{
+ style: {
+ navigationStyle: 'custom',
+ navigationBarTitleText: '立即投资',
+ },
+}
+
+
+
+
+
+
+
+
+
+ RMB
+
+ 投资金额
+
+
+
+ 当前余额:10012.12
+
+
+
+ 支付密码
+
+
+
+
+
+
+
+ 提交
+
+
+
+
+
+
+
+
diff --git a/src/pages-sub/invest-result/index.vue b/src/pages-sub/invest-result/index.vue
new file mode 100644
index 0000000..a194df8
--- /dev/null
+++ b/src/pages-sub/invest-result/index.vue
@@ -0,0 +1,26 @@
+
+{
+ style: {
+ navigationBarTitleText: '投资成功',
+ navigationBarBackgroundColor: '#fff',
+ },
+}
+
+
+
+
+ 恭喜您!投资成功
+
+
+
+ 返回
+
+
+
+
+
+
diff --git a/src/pages-sub/invite/index.vue b/src/pages-sub/invite/index.vue
new file mode 100644
index 0000000..4b9be4b
--- /dev/null
+++ b/src/pages-sub/invite/index.vue
@@ -0,0 +1,59 @@
+
+{
+ style: {
+ navigationBarTitleText: '邀请好友',
+ navigationBarBackgroundColor: '#fff',
+ },
+}
+
+
+
+
+
+
+
+
+
+ 邀请码
+ 9999999
+
+
+ 复制
+
+
+
+
+
+
+ 复制邀请链接
+
+
+
+
+
+
diff --git a/src/pages-sub/official-community/index.vue b/src/pages-sub/official-community/index.vue
new file mode 100644
index 0000000..9013602
--- /dev/null
+++ b/src/pages-sub/official-community/index.vue
@@ -0,0 +1,46 @@
+
+
+
+{
+ style: {
+ navigationBarTitleText: '官方社群',
+ navigationBarBackgroundColor: '#fff',
+ navigationStyle: 'custom',
+ },
+}
+
+
+
+
+
+
+
diff --git a/src/pages-sub/realname/index.vue b/src/pages-sub/realname/index.vue
new file mode 100644
index 0000000..c0eb15a
--- /dev/null
+++ b/src/pages-sub/realname/index.vue
@@ -0,0 +1,92 @@
+
+{
+ style: {
+ navigationBarTitleText: '实名认证',
+ navigationBarBackgroundColor: '#fff',
+ },
+}
+
+
+
+
+
+
+
+ 证件类型
+ 身份证
+
+
+
+ 真实姓名
+
+
+
+
+ 身份证号
+
+
+
+
+
+
+
+
+ 恭喜您,实名认证成功
+
+
+ 您的实名认证正在审核中,请耐心等待
+
+
+ 您的实名认证审核未通过,请重新提交
+
+
+
+
+
+
+
diff --git a/src/pages-sub/team/index.vue b/src/pages-sub/team/index.vue
new file mode 100644
index 0000000..0ad2c22
--- /dev/null
+++ b/src/pages-sub/team/index.vue
@@ -0,0 +1,124 @@
+
+{
+ style: {
+ navigationBarTitleText: '我的邀请',
+ navigationBarBackgroundColor: '#fff',
+ navigationStyle: 'custom',
+ },
+}
+
+
+
+
+
+
+ 邀请奖励规则
+
+
+
+
+
+ 看看人数
+ 1234
+
+
+
+
+ (currentLevelIndex = index)"
+ >
+
+ {{ item.title }}
+
+
+
+
+
+
+ 用户名
+ 1234567890
+ 2024-12-27 12:00:00
+
+ 邀请成功
+
+
+
+
+ 1.每邀请一人可以获得1万投资金,2000数字人民币 1点认购点
+ 2.邀请满5人可以额外获得5万投资金。1万数字人民币 5点认购点
+ 3.邀请满10人可以额外获得10万投资金。2万数字人民币 10点认购点
+ 4.邀请满20人可以额外获得20万投资金。5万数字人民币 20点认购点
+ 5.邀请满50人可以额外获得50万投资金。10万数字人民币 50点认购点
+
+
+
+
+
+
+
+
diff --git a/src/pages-sub/withdrawal-detail/index.vue b/src/pages-sub/withdrawal-detail/index.vue
new file mode 100644
index 0000000..0df700f
--- /dev/null
+++ b/src/pages-sub/withdrawal-detail/index.vue
@@ -0,0 +1,29 @@
+
+{
+ style: {
+ navigationBarTitleText: '提现记录',
+ navigationBarBackgroundColor: '#fff',
+ },
+}
+
+
+
+
+
+
+ 银行卡
+ 提现
+ 2024-12-27 10:00:00
+
+
+
+ -1000 RMB
+ 提现成功
+
+
+
+
diff --git a/src/pages-sub/withdrawal-type/edit.vue b/src/pages-sub/withdrawal-type/edit.vue
new file mode 100644
index 0000000..4ec06a0
--- /dev/null
+++ b/src/pages-sub/withdrawal-type/edit.vue
@@ -0,0 +1,105 @@
+
+{
+ style: {
+ navigationBarTitleText: '编辑收款方式',
+ navigationBarBackgroundColor: '#fff',
+ },
+}
+
+
+
+
+
+
+ 收款类型
+
+
+
+ 开户行
+
+
+
+ 持卡人姓名
+
+
+
+ 银行账号
+
+
+
+ 备注
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages-sub/withdrawal-type/index.vue b/src/pages-sub/withdrawal-type/index.vue
new file mode 100644
index 0000000..a3c0c36
--- /dev/null
+++ b/src/pages-sub/withdrawal-type/index.vue
@@ -0,0 +1,59 @@
+
+{
+ style: {
+ navigationBarTitleText: '收款方式',
+ navigationBarBackgroundColor: '#fff',
+ },
+}
+
+
+
+
+
+
+
+ 支付宝
+ 132****113
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages-sub/withdrawal/index.vue b/src/pages-sub/withdrawal/index.vue
new file mode 100644
index 0000000..feb9f28
--- /dev/null
+++ b/src/pages-sub/withdrawal/index.vue
@@ -0,0 +1,91 @@
+
+{
+ style: {
+ navigationStyle: 'custom',
+ navigationBarTitleText: '提现',
+ },
+}
+
+
+
+
+
+
+
+
+
+
+ 提现金额
+
+
+ 全部
+
+ 当前余额:10012.12
+
+
+
+ 收款方式
+
+ 请选择收款方式
+
+
+
+
+
+ 交易密码
+
+
+
+
+
+
+
+ 到账CNY:13123.00
+
+ 申请提现
+
+
+
+
+
+
+
+
+
diff --git a/src/pages.json b/src/pages.json
index d20e14b..2d08db2 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -58,6 +58,15 @@
"navigationBarTitleText": "首页"
}
},
+ {
+ "path": "pages/edit-password/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "忘记密码",
+ "navigationStyle": "custom"
+ },
+ "notNeedLogin": false
+ },
{
"path": "pages/house/index",
"type": "page",
@@ -90,18 +99,132 @@
"navigationStyle": "custom",
"navigationBarTitleText": "个人中心"
}
+ },
+ {
+ "path": "pages/register/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "注册",
+ "navigationStyle": "custom"
+ },
+ "notNeedLogin": false
}
],
"subPackages": [
{
"root": "pages-sub",
"pages": [
+ {
+ "path": "asset/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "我的资产",
+ "navigationBarBackgroundColor": "#fff"
+ }
+ },
{
"path": "demo/index",
"type": "page",
"style": {
"navigationBarTitleText": "分包页面 标题"
}
+ },
+ {
+ "path": "introduction/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "公司简介"
+ }
+ },
+ {
+ "path": "invest-detail/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "投资记录",
+ "navigationBarBackgroundColor": "#fff"
+ }
+ },
+ {
+ "path": "invest-immediately/index",
+ "type": "page",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "立即投资"
+ }
+ },
+ {
+ "path": "invest-result/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "投资成功",
+ "navigationBarBackgroundColor": "#fff"
+ }
+ },
+ {
+ "path": "invite/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "邀请好友",
+ "navigationBarBackgroundColor": "#fff"
+ }
+ },
+ {
+ "path": "official-community/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "官方社群",
+ "navigationBarBackgroundColor": "#fff",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "realname/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "实名认证",
+ "navigationBarBackgroundColor": "#fff"
+ }
+ },
+ {
+ "path": "team/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "我的邀请",
+ "navigationBarBackgroundColor": "#fff",
+ "navigationStyle": "custom"
+ }
+ },
+ {
+ "path": "withdrawal/index",
+ "type": "page",
+ "style": {
+ "navigationStyle": "custom",
+ "navigationBarTitleText": "提现"
+ }
+ },
+ {
+ "path": "withdrawal-detail/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "提现记录",
+ "navigationBarBackgroundColor": "#fff"
+ }
+ },
+ {
+ "path": "withdrawal-type/edit",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "编辑收款方式",
+ "navigationBarBackgroundColor": "#fff"
+ }
+ },
+ {
+ "path": "withdrawal-type/index",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "收款方式",
+ "navigationBarBackgroundColor": "#fff"
+ }
}
]
}
diff --git a/src/pages/edit-password/index.vue b/src/pages/edit-password/index.vue
new file mode 100644
index 0000000..075afb1
--- /dev/null
+++ b/src/pages/edit-password/index.vue
@@ -0,0 +1,124 @@
+
+{
+ style: {
+ navigationBarTitleText: '忘记密码',
+ navigationStyle: 'custom',
+ },
+ notNeedLogin: false,
+}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 获取验证码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 确认
+
+
+
+
+
+
+
+
diff --git a/src/pages/house/index.vue b/src/pages/house/index.vue
index 3171c81..c88ce47 100644
--- a/src/pages/house/index.vue
+++ b/src/pages/house/index.vue
@@ -26,6 +26,7 @@
领取
@@ -41,6 +42,10 @@ import NavBar from '@/components/NavBar.vue'
defineOptions({
name: 'Home',
})
+
+const handleClick = (item: number) => {
+ alert('领取成功')
+}
diff --git a/src/static/images/invest/alipay-icon.png b/src/static/images/invest/alipay-icon.png
new file mode 100644
index 0000000..637291b
Binary files /dev/null and b/src/static/images/invest/alipay-icon.png differ
diff --git a/src/static/images/invest/unionpay-icon.png b/src/static/images/invest/unionpay-icon.png
new file mode 100644
index 0000000..00d6891
Binary files /dev/null and b/src/static/images/invest/unionpay-icon.png differ
diff --git a/src/static/images/invest/wechat-icon.png b/src/static/images/invest/wechat-icon.png
new file mode 100644
index 0000000..6b926ec
Binary files /dev/null and b/src/static/images/invest/wechat-icon.png differ
diff --git a/src/static/images/login/invite.png b/src/static/images/login/invite.png
new file mode 100644
index 0000000..28d09ab
Binary files /dev/null and b/src/static/images/login/invite.png differ
diff --git a/src/static/images/login/message.png b/src/static/images/login/message.png
new file mode 100644
index 0000000..f000fc4
Binary files /dev/null and b/src/static/images/login/message.png differ
diff --git a/src/static/images/page-sub/introduction.png b/src/static/images/page-sub/introduction.png
new file mode 100644
index 0000000..42ba365
Binary files /dev/null and b/src/static/images/page-sub/introduction.png differ
diff --git a/src/static/images/page-sub/invest-success.png b/src/static/images/page-sub/invest-success.png
new file mode 100644
index 0000000..b3b9bff
Binary files /dev/null and b/src/static/images/page-sub/invest-success.png differ
diff --git a/src/static/images/page-sub/invite-bg.png b/src/static/images/page-sub/invite-bg.png
new file mode 100644
index 0000000..78d7721
Binary files /dev/null and b/src/static/images/page-sub/invite-bg.png differ
diff --git a/src/static/images/page-sub/invite-icon.png b/src/static/images/page-sub/invite-icon.png
new file mode 100644
index 0000000..76a289b
Binary files /dev/null and b/src/static/images/page-sub/invite-icon.png differ
diff --git a/src/static/images/page-sub/money-icon.png b/src/static/images/page-sub/money-icon.png
new file mode 100644
index 0000000..d632df3
Binary files /dev/null and b/src/static/images/page-sub/money-icon.png differ
diff --git a/src/static/images/page-sub/realname/realname-checking.png b/src/static/images/page-sub/realname/realname-checking.png
new file mode 100644
index 0000000..d547a3a
Binary files /dev/null and b/src/static/images/page-sub/realname/realname-checking.png differ
diff --git a/src/static/images/page-sub/realname/realname-fail.png b/src/static/images/page-sub/realname/realname-fail.png
new file mode 100644
index 0000000..85f81a8
Binary files /dev/null and b/src/static/images/page-sub/realname/realname-fail.png differ
diff --git a/src/static/images/page-sub/realname/realname-name.png b/src/static/images/page-sub/realname/realname-name.png
new file mode 100644
index 0000000..224d162
Binary files /dev/null and b/src/static/images/page-sub/realname/realname-name.png differ
diff --git a/src/static/images/page-sub/realname/realname-number.png b/src/static/images/page-sub/realname/realname-number.png
new file mode 100644
index 0000000..dcef82f
Binary files /dev/null and b/src/static/images/page-sub/realname/realname-number.png differ
diff --git a/src/static/images/page-sub/realname/realname-success.png b/src/static/images/page-sub/realname/realname-success.png
new file mode 100644
index 0000000..899ca1f
Binary files /dev/null and b/src/static/images/page-sub/realname/realname-success.png differ
diff --git a/src/static/images/page-sub/realname/realname-type.png b/src/static/images/page-sub/realname/realname-type.png
new file mode 100644
index 0000000..86661dc
Binary files /dev/null and b/src/static/images/page-sub/realname/realname-type.png differ
diff --git a/src/static/images/page-sub/recharge.png b/src/static/images/page-sub/recharge.png
new file mode 100644
index 0000000..cf1d561
Binary files /dev/null and b/src/static/images/page-sub/recharge.png differ
diff --git a/src/static/images/page-sub/team/level-1.png b/src/static/images/page-sub/team/level-1.png
new file mode 100644
index 0000000..f9121ce
Binary files /dev/null and b/src/static/images/page-sub/team/level-1.png differ
diff --git a/src/static/images/page-sub/team/level-2.png b/src/static/images/page-sub/team/level-2.png
new file mode 100644
index 0000000..cb0b027
Binary files /dev/null and b/src/static/images/page-sub/team/level-2.png differ
diff --git a/src/static/images/page-sub/team/level-3.png b/src/static/images/page-sub/team/level-3.png
new file mode 100644
index 0000000..d7115f8
Binary files /dev/null and b/src/static/images/page-sub/team/level-3.png differ
diff --git a/src/static/images/page-sub/team/level-4.png b/src/static/images/page-sub/team/level-4.png
new file mode 100644
index 0000000..0912f7d
Binary files /dev/null and b/src/static/images/page-sub/team/level-4.png differ
diff --git a/src/static/images/page-sub/team/level-5.png b/src/static/images/page-sub/team/level-5.png
new file mode 100644
index 0000000..5127a91
Binary files /dev/null and b/src/static/images/page-sub/team/level-5.png differ
diff --git a/src/static/images/page-sub/team/level-6.png b/src/static/images/page-sub/team/level-6.png
new file mode 100644
index 0000000..1237327
Binary files /dev/null and b/src/static/images/page-sub/team/level-6.png differ
diff --git a/src/static/images/page-sub/team/team-main-hero.png b/src/static/images/page-sub/team/team-main-hero.png
new file mode 100644
index 0000000..0fe6fd7
Binary files /dev/null and b/src/static/images/page-sub/team/team-main-hero.png differ
diff --git a/src/static/images/page-sub/team/team-title.png b/src/static/images/page-sub/team/team-title.png
new file mode 100644
index 0000000..fac1ec9
Binary files /dev/null and b/src/static/images/page-sub/team/team-title.png differ
diff --git a/src/types/uni-pages.d.ts b/src/types/uni-pages.d.ts
index e7f26ba..db1245d 100644
--- a/src/types/uni-pages.d.ts
+++ b/src/types/uni-pages.d.ts
@@ -5,11 +5,26 @@
interface NavigateToOptions {
url: "/pages/index/index" |
+ "/pages/edit-password/index" |
"/pages/house/index" |
"/pages/invest/index" |
"/pages/login/index" |
"/pages/my/index" |
- "/pages-sub/demo/index";
+ "/pages/register/index" |
+ "/pages-sub/asset/index" |
+ "/pages-sub/demo/index" |
+ "/pages-sub/introduction/index" |
+ "/pages-sub/invest-detail/index" |
+ "/pages-sub/invest-immediately/index" |
+ "/pages-sub/invest-result/index" |
+ "/pages-sub/invite/index" |
+ "/pages-sub/official-community/index" |
+ "/pages-sub/realname/index" |
+ "/pages-sub/team/index" |
+ "/pages-sub/withdrawal/index" |
+ "/pages-sub/withdrawal-detail/index" |
+ "/pages-sub/withdrawal-type/edit" |
+ "/pages-sub/withdrawal-type/index";
}
interface RedirectToOptions extends NavigateToOptions {}
diff --git a/uno.config.ts b/uno.config.ts
index d126b9b..484b976 100644
--- a/uno.config.ts
+++ b/uno.config.ts
@@ -78,6 +78,18 @@ export default defineConfig({
],
['pt-safe', { 'padding-top': 'env(safe-area-inset-top)' }],
['pb-safe', { 'padding-bottom': 'env(safe-area-inset-bottom)' }],
+ [
+ 'btn-gradient',
+ { background: 'linear-gradient(45deg,rgba(59,129,243,1),rgba(55,230,236,1))' },
+ ],
+ [
+ 'text-gradient',
+ {
+ 'background-image': 'linear-gradient(45deg,#3B81F3,#37E6EC)',
+ 'background-clip': 'text',
+ color: 'transparent',
+ },
+ ],
],
})