Commit 507a9388 authored by Damon's avatar Damon

Merge branch 'dev-v1.0.0' of git.banshouhui.com:wuzhenzhe/study into dev-v1.0.0

parents 69ab698e f7d2e739
...@@ -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]
}, },
......
...@@ -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) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment