...
|
...
|
@@ -41,13 +41,27 @@ 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){
|
|
|
this.setData({
|
|
|
time:"("+"2019."+"0"+index+".01"+"-2019"+index+".31"+")"
|
|
|
})
|
|
|
if(index<10){
|
|
|
this.setData({
|
|
|
time: "(" + "2019." + "0" + index + ".01" + "-2019." +'0'+ index + ".31" + ")"
|
|
|
})
|
|
|
}else{
|
|
|
this.setData({
|
|
|
time: "(" + "2019." + index + ".01" + "-2019." + index + ".31" + ")"
|
|
|
})
|
|
|
}
|
|
|
|
|
|
}else{
|
|
|
this.setData({
|
|
|
time: "(" + "2019." + "0" + index + ".01" + "-2019" + index + ".30" + ")"
|
|
|
})
|
|
|
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
|
...
|
...
|
|