Commit 46b647de by xiexiaoqin

style: 修改任务列表的样式

parent 1cb7a0a1
...@@ -61,3 +61,12 @@ view { ...@@ -61,3 +61,12 @@ view {
line-height: 48rpx; line-height: 48rpx;
margin-top: 10rpx; margin-top: 10rpx;
} }
.list-item {
border: none;
border-radius: 0;
border-bottom: 2rpx solid rgba(25, 31, 37, 0.12);
margin-top: 0;
padding-top: 24rpx;
padding-bottom: 24rpx;
}
\ No newline at end of file
<import src="../../template/avater/index.axml"/> <import src="../../template/avater/index.axml"/>
<import src="../../template/checkbox/index.axml"/> <import src="../../template/checkbox/index.axml"/>
<view class="task-list"> <view class="task-list {{customClass}}">
<view class="task-box"> <view class="task-box">
<template is="checkbox" data="{{ <template is="checkbox" data="{{
status: taskView.processState, status: taskView.processState,
......
<block a:for="{{tasks}}"> <block a:for="{{tasks}}">
<task-list onChangeTaskStatusOnList="changeTaskStatus" taskView="{{item.meetingTaskSimpleViewModel}}" commentId="{{item.commentId}}" isCanEdit="{{false}}"/> <task-list onChangeTaskStatusOnList="changeTaskStatus" taskView="{{item.meetingTaskSimpleViewModel}}" commentId="{{item.commentId}}" isCanEdit="{{false}}" customClass="list-item" />
</block> </block>
\ No newline at end of file
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