Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
campSite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨梦雪
campSite
Commits
13d8ff18
Commit
13d8ff18
authored
Jun 03, 2024
by
‘yangmengxue’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
银行卡图片转账回显
parent
8d42f7c6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
14 deletions
+14
-14
src/components/index/Header.vue
src/components/index/Header.vue
+1
-1
src/components/index/SignUp/paying.vue
src/components/index/SignUp/paying.vue
+11
-11
src/views/index/camp/SignUp.vue
src/views/index/camp/SignUp.vue
+2
-2
No files found.
src/components/index/Header.vue
View file @
13d8ff18
...
...
@@ -137,7 +137,7 @@
window
.
localStorage
.
removeItem
(
"
bank_first
"
+
code
);
window
.
localStorage
.
removeItem
(
"
bank_idcard
"
+
code
);
window
.
localStorage
.
removeItem
(
"
bank_info
"
+
window
.
localStorage
.
getItem
(
"
index-phone-all
"
)
+
code
"
sign_up_payfile_
"
+
window
.
localStorage
.
getItem
(
"
index-phone-all
"
)
+
code
);
this
.
isLogin
=
false
;
this
.
reload
()
...
...
src/components/index/SignUp/paying.vue
View file @
13d8ff18
...
...
@@ -295,17 +295,21 @@ export default {
};
},
created
()
{
this
.
getAccount
();
this
.
commonApi
(
33
);
const
code
=
this
.
$store
.
state
.
indexIdentity
;
this
.
has_amount
=
window
.
localStorage
.
getItem
(
"
has_amount
"
+
code
);
// 已上传的银行付款图片
let
bank_infoFile
=
window
.
localStorage
.
getItem
(
"
sign_up_payfile_
"
+
window
.
localStorage
.
getItem
(
"
index-phone-all
"
)
+
code
);
JSON
.
parse
(
bank_infoFile
).
map
((
i
)
=>
{
if
(
i
.
url
!=
""
)
{
this
.
isBank_infoFile
=
true
;
}
});
if
(
bank_infoFile
&&
JSON
.
parse
(
bank_infoFile
).
length
>
0
)
{
JSON
.
parse
(
bank_infoFile
).
map
((
i
)
=>
{
if
(
i
.
url
!=
""
)
{
this
.
isBank_infoFile
=
true
;
}
});
}
if
(
bank_infoFile
&&
this
.
isBank_infoFile
==
true
&&
...
...
@@ -314,8 +318,6 @@ export default {
console
.
log
(
JSON
.
parse
(
bank_infoFile
));
this
.
fileList
=
JSON
.
parse
(
bank_infoFile
);
}
this
.
getAccount
();
this
.
commonApi
(
33
);
},
methods
:
{
handleClose
(
done
)
{
...
...
@@ -459,11 +461,9 @@ export default {
// this.personalInfo.create_time = parseTime(res.data.info.create_time);
});
},
openBank
(){
},
openBank
()
{},
// 上传银行卡转账截图
// 图片上传成功前钩子
beforeAvatarUpload
(
file
)
{
// console.log(file, "beforeImage");
...
...
src/views/index/camp/SignUp.vue
View file @
13d8ff18
...
...
@@ -358,11 +358,11 @@
};
return
obj
;
});
window
.
localStorage
.
setItem
(
"
bank_info
"
+
window
.
localStorage
.
getItem
(
"
index-phone-all
"
)
+
code
,
window
.
localStorage
.
setItem
(
"
sign_up_payfile_
"
+
window
.
localStorage
.
getItem
(
"
index-phone-all
"
)
+
code
,
JSON
.
stringify
(
fileList
)
);
//上传的图片
}
else
{
window
.
localStorage
.
setItem
(
"
bank_info
"
+
window
.
localStorage
.
getItem
(
"
index-phone-all
"
)
+
code
,
window
.
localStorage
.
setItem
(
"
sign_up_payfile_
"
+
window
.
localStorage
.
getItem
(
"
index-phone-all
"
)
+
code
,
"
[]
"
);
}
...
...
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