Commit b9848e3b authored by 13841799530's avatar 13841799530

解润东

20220518
周期列表接口联调
parent fa0db1a5
Pipeline #8372 passed with stage
in 5 minutes and 3 seconds
......@@ -21,8 +21,15 @@
:src="item.imgUrl"
/>
</span>
{{ item.content }}
<div class="icon_wrap_text">
<div class="icon_wrap_text1">{{ item.content }}</div>
<span class="icon_wrap_text2" v-if="item.content=='日查清单'">{{util.timestampToTime(item.startTime,'DT7',true)}}</span>
<span class="icon_wrap_text2" v-else>{{util.timestampToTime(item.startTime,'DT7',true)}}{{util.timestampToTime(item.validityTime,'DT7',true)}}</span>
</div>
</div>
</van-cell-group>
</div>
</div>
......@@ -95,10 +102,20 @@ export default {
this.contentLists.forEach((x)=>{
res.data.forEach((y)=>{
if(x.title==y.cycle){
x.startTime=y.startTime
x.validityTime=y.validityTime
this.contentList.push(x)
}
})
})
console.log(this.contentList)
// this.contentList.forEach((x)=>{
// res.data.forEach((y)=>{
// if(x.title==y.cycle){
// x.start
// }
// })
// })
})
},
onClick(val) {
......@@ -132,6 +149,22 @@ export default {
margin-right: 0.533333rem;
display: inherit;
}
.icon_wrap_text{
width: 100%;
// padding-top: 0.3rem;
padding-bottom: 0.3rem;
position: relative;
.icon_wrap_text1{
margin-top: -0.3rem;
}
.icon_wrap_text2{
position: absolute;
left: 0%;
top: 15%;
font-size: 0.35rem;
color: #C1C1C1;
}
}
}
}
.title{
......
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