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
4b439e0f
Commit
4b439e0f
authored
Nov 19, 2021
by
杨梦雪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
d8cc1979
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
18 deletions
+23
-18
src/components/index/SignUp/pass.vue
src/components/index/SignUp/pass.vue
+1
-1
src/components/index/SignUp/paying.vue
src/components/index/SignUp/paying.vue
+1
-1
src/components/index/SignUp/referInfo.vue
src/components/index/SignUp/referInfo.vue
+10
-12
src/views/index/camp/Index.vue
src/views/index/camp/Index.vue
+10
-3
src/views/index/camp/SignUp.vue
src/views/index/camp/SignUp.vue
+1
-1
No files found.
src/components/index/SignUp/pass.vue
View file @
4b439e0f
...
@@ -200,7 +200,7 @@ export default {
...
@@ -200,7 +200,7 @@ export default {
margin
:
24px
0
;
margin
:
24px
0
;
}
}
:nth-child
(
3
)
{
:nth-child
(
3
)
{
margin
:
0
0
1
50px
0
;
margin
:
0
0
50px
0
;
}
}
}
}
}
}
...
...
src/components/index/SignUp/paying.vue
View file @
4b439e0f
...
@@ -200,7 +200,7 @@ export default {
...
@@ -200,7 +200,7 @@ export default {
color
:
#12141c
;
color
:
#12141c
;
line-height
:
24px
;
line-height
:
24px
;
justify-content
:
space-between
;
justify-content
:
space-between
;
margin
:
43px
0
110px
0
;
margin
:
43px
0
0
0
;
span
{
span
{
color
:
#60194a
;
color
:
#60194a
;
}
}
...
...
src/components/index/SignUp/referInfo.vue
View file @
4b439e0f
...
@@ -909,23 +909,21 @@ export default {
...
@@ -909,23 +909,21 @@ export default {
},
},
//删除图片
//删除图片
handleRemove
(
file
)
{
handleRemove
(
file
)
{
console
.
log
(
file
,
"
1111
"
);
// console.log(file, "file");
let
getfile
=
file
.
url
;
// console.log(savefile.match(/^(?:[^\/]|\/\/)*/),'222222');//获取域名
const
str
=
getfile
.
split
(
"
https://yingdi-achievement.oss-cn-beijing.aliyuncs.com/
"
);
//https://yingdi-achievement.oss-cn-beijing.aliyuncs.com/进行分割,
// console.log(str, "str");
const
savefile
=
str
[
1
];
// console.log(savefile, "savefile");
// delete this.fileList[idx];
this
.
$confirm
(
"
此操作将永久删除该文件, 是否继续?
"
,
"
提示
"
,
{
this
.
$confirm
(
"
此操作将永久删除该文件, 是否继续?
"
,
"
提示
"
,
{
confirmButtonText
:
"
确定
"
,
confirmButtonText
:
"
确定
"
,
cancelButtonText
:
"
取消
"
,
cancelButtonText
:
"
取消
"
,
type
:
"
warning
"
,
type
:
"
warning
"
,
})
})
.
then
(()
=>
{
.
then
(()
=>
{
let
getfile
=
file
.
url
;
// console.log(savefile.match(/^(?:[^\/]|\/\/)*/),'222222');//获取域名
let
str
=
getfile
.
split
(
"
https://yingdi-achievement.oss-cn-beijing.aliyuncs.com/
"
);
//https://yingdi-achievement.oss-cn-beijing.aliyuncs.com/进行分割,
// console.log(str, "str");
let
savefile
=
str
[
1
];
// console.log(savefile, "savefile");
delPic
({
object
:
savefile
}).
then
((
res
)
=>
{
delPic
({
object
:
savefile
}).
then
((
res
)
=>
{
// console.log(res, "delpic");
// console.log(res, "delpic");
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
!=
200
)
{
...
@@ -935,7 +933,7 @@ export default {
...
@@ -935,7 +933,7 @@ export default {
// console.log(item.url == file.url);
// console.log(item.url == file.url);
if
(
item
.
url
==
file
.
url
)
{
if
(
item
.
url
==
file
.
url
)
{
this
.
fileList
.
splice
(
idx
,
1
);
this
.
fileList
.
splice
(
idx
,
1
);
cons
t
code
=
this
.
$store
.
state
.
indexIdentity
;
le
t
code
=
this
.
$store
.
state
.
indexIdentity
;
window
.
localStorage
.
setItem
(
window
.
localStorage
.
setItem
(
"
sign_up_file_
"
+
"
sign_up_file_
"
+
window
.
localStorage
.
getItem
(
"
phone
"
+
code
)
+
window
.
localStorage
.
getItem
(
"
phone
"
+
code
)
+
...
...
src/views/index/camp/Index.vue
View file @
4b439e0f
...
@@ -28,7 +28,13 @@
...
@@ -28,7 +28,13 @@
</div>
</div>
<div
class=
"camp_right"
ref=
"rightBox"
>
<div
class=
"camp_right"
ref=
"rightBox"
>
<router-view
@
getStatus=
"getStatus"
/>
<router-view
@
getStatus=
"getStatus"
/>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -51,6 +57,7 @@ export default {
...
@@ -51,6 +57,7 @@ export default {
Header
,
Header
,
Footer
,
Footer
,
},
},
// props:{}
data
()
{
data
()
{
return
{
return
{
index
:
0
,
index
:
0
,
...
@@ -91,7 +98,7 @@ export default {
...
@@ -91,7 +98,7 @@ export default {
created
()
{
created
()
{
// this.ToSignUp(this.index);
// this.ToSignUp(this.index);
this
.
getStatus
();
this
.
getStatus
();
// this.$refs.child.signUpInit();
},
},
mounted
()
{
mounted
()
{
window
.
addEventListener
(
"
scroll
"
,
this
.
handleScrollX
,
true
);
window
.
addEventListener
(
"
scroll
"
,
this
.
handleScrollX
,
true
);
...
@@ -103,7 +110,7 @@ export default {
...
@@ -103,7 +110,7 @@ export default {
},
},
methods
:
{
methods
:
{
getStatus
(
val
)
{
getStatus
(
val
)
{
//
console.log(val, "index_type");
console
.
log
(
val
,
"
index_type
"
);
this
.
index_status
=
val
;
this
.
index_status
=
val
;
this
.
ToSignUp
(
this
.
campindex_type
);
this
.
ToSignUp
(
this
.
campindex_type
);
},
},
...
...
src/views/index/camp/SignUp.vue
View file @
4b439e0f
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"content"
>
<div
class=
"content"
>
<div
class=
"signUp_titile"
>
营地报名
</div>
<div
class=
"signUp_titile"
>
营地报名
</div>
<div>
<div>
<Breadcrumb
:statusNum=
"status"
>
</Breadcrumb>
<Breadcrumb
:statusNum=
"status"
>
</Breadcrumb>
</div>
</div>
</div>
</div>
<Confirm
v-if=
"type == 'examInfo'"
@
getstatus=
"statuss"
></Confirm>
<Confirm
v-if=
"type == 'examInfo'"
@
getstatus=
"statuss"
></Confirm>
...
...
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