...
|
...
|
@@ -41,14 +41,28 @@ Page({ |
|
|
let index = e.currentTarget.dataset.id;
|
|
|
index=index+1
|
|
|
if(index==1||index==3||index==5||index==7||index==8||index==10||index==12){
|
|
|
if(index<10){
|
|
|
this.setData({
|
|
|
time:"("+"2019."+"0"+index+".01"+"-2019"+index+".31"+")"
|
|
|
time: "(" + "2019." + "0" + index + ".01" + "-2019." +'0'+ index + ".31" + ")"
|
|
|
})
|
|
|
}else{
|
|
|
this.setData({
|
|
|
time: "(" + "2019." + "0" + index + ".01" + "-2019" + index + ".30" + ")"
|
|
|
time: "(" + "2019." + index + ".01" + "-2019." + index + ".31" + ")"
|
|
|
})
|
|
|
}
|
|
|
|
|
|
}else{
|
|
|
if(index<10){
|
|
|
this.setData({
|
|
|
time: "(" + "2019." + "0" + index + ".01" + "-2019." + '0' + index + ".30" + ")"
|
|
|
})
|
|
|
}else{
|
|
|
this.setData({
|
|
|
time: "(" + "2019." + index + ".01" + "-2019." + index + ".30" + ")"
|
|
|
})
|
|
|
}
|
|
|
|
|
|
}
|
|
|
this.setData({
|
|
|
changeColor: index-1
|
|
|
})
|
...
|
...
|
|