Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
study
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Damon
study
Commits
507a9388
Commit
507a9388
authored
Jul 26, 2021
by
Damon
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-v1.0.0' of git.banshouhui.com:wuzhenzhe/study into dev-v1.0.0
parents
69ab698e
f7d2e739
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
17 deletions
+1
-17
index.vue
src/components/notice-bar/index.vue
+1
-15
index.vue
src/pages/index/index.vue
+0
-2
No files found.
src/components/notice-bar/index.vue
View file @
507a9388
...
@@ -103,10 +103,6 @@ export default {
...
@@ -103,10 +103,6 @@ export default {
},
},
noticeText
()
{
noticeText
()
{
console
.
log
(
'-----noticeText-------'
,
Math
.
ceil
(
this
.
produceTime
/
1000
/
60
)
)
return
(
return
(
Math
.
ceil
(
this
.
produceTime
/
1000
/
60
)
+
Math
.
ceil
(
this
.
produceTime
/
1000
/
60
)
+
'分钟前 '
+
'分钟前 '
+
...
@@ -140,22 +136,14 @@ export default {
...
@@ -140,22 +136,14 @@ export default {
this
.
defaultUrl
+
(
a2
>
9
?
'a'
:
'a0'
)
+
String
(
a2
)
+
'.jpeg'
,
this
.
defaultUrl
+
(
a2
>
9
?
'a'
:
'a0'
)
+
String
(
a2
)
+
'.jpeg'
,
this
.
defaultUrl
+
(
a3
>
9
?
'a'
:
'a0'
)
+
String
(
a3
)
+
'.jpeg'
,
this
.
defaultUrl
+
(
a3
>
9
?
'a'
:
'a0'
)
+
String
(
a3
)
+
'.jpeg'
,
]
]
console
.
log
(
'----avatars------'
,
this
.
avatars
)
// this.avatars = [
// this.defaultUrl + 'xunzhang.jpeg',
// this.defaultUrl + 'xunzhang.jpeg',
// this.defaultUrl + 'xunzhang.jpeg',
// this.defaultUrl + 'xunzhang.jpeg',
// ]
this
.
list
=
[
this
.
noticeText
]
this
.
list
=
[
this
.
noticeText
]
setInterval
(()
=>
{
setInterval
(()
=>
{
this
.
produceTime
+=
this
.
duration
this
.
produceTime
+=
this
.
duration
console
.
log
(
'-----produceTime-------'
,
this
.
produceTime
)
},
this
.
duration
)
},
this
.
duration
)
},
},
beginNotic
()
{
beginNotic
()
{
var
after
=
this
.
$u
.
random
(
1
,
600
)
*
1000
var
after
=
this
.
$u
.
random
(
1
,
600
)
*
1000
console
.
log
(
'---after---'
,
after
)
this
.
produceTime
=
1000
this
.
produceTime
=
1000
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
@@ -175,8 +163,6 @@ export default {
...
@@ -175,8 +163,6 @@ export default {
}
}
}
}
this
.
avatars
=
[...
array
,
this
.
defaultUrl
+
str
]
this
.
avatars
=
[...
array
,
this
.
defaultUrl
+
str
]
// this.avatars = [...array, this.defaultUrl + 'xunzhang.jpeg']
console
.
log
(
this
.
avatars
.
length
)
this
.
list
=
[
this
.
noticeText
]
this
.
list
=
[
this
.
noticeText
]
},
},
...
...
src/pages/index/index.vue
View file @
507a9388
...
@@ -272,7 +272,6 @@ export default {
...
@@ -272,7 +272,6 @@ export default {
.
checkGetQuestion
(
id
)
.
checkGetQuestion
(
id
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
canExperience
=
res
<=
0
this
.
canExperience
=
res
<=
0
console
.
log
(
this
.
canExperience
)
})
})
.
catch
((
err
)
=>
{
.
catch
((
err
)
=>
{
console
.
log
(
err
)
console
.
log
(
err
)
...
@@ -492,7 +491,6 @@ export default {
...
@@ -492,7 +491,6 @@ export default {
this
.
$u
.
api
this
.
$u
.
api
.
getProvinceList
()
.
getProvinceList
()
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
console
.
log
(
'------------getProvinceList----------'
,
res
)
this
.
provinceList
=
res
||
[]
this
.
provinceList
=
res
||
[]
})
})
.
catch
((
err
)
=>
{
.
catch
((
err
)
=>
{
...
...
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