Commit 0aa8d595 by zhanxin liu

fix

parent ab377331
{ {
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{ {
"path": "pages/Security-Check/index", "path": "pages/Security-Check/security-task-list",
"style": { "style": {
"navigationBarTitleText": "安全检查" "navigationBarTitleText": "安全检查",
"app-plus" : {
"titleNView" : {
"buttons" : [
{
"text" : "消息",
"fontSize" : "14"
}
]
}
}
} }
}, },
{ {
"path": "pages/Security-Check/security-task-list", "path": "pages/Security-Check/index",
"style": { "style": {
"navigationBarTitleText": "安全检查" "navigationBarTitleText": "安全检查"
} }
}, },
{ {
"path": "pages/Switch-School/index", "path": "pages/Switch-School/index",
......
<template> <template>
<mescroll-body ref="mescrollRef" @init="mescrollInit" :down="downOption" :up="upOption" @down="downCallback" @up="upCallback"> <mescroll-body ref="mescrollRef" @init="mescrollInit" :down="downOption" :up="upOption" @down="downCallback" @up="upCallback">
<view class="news-li" v-for="news in dataList" :key="news.id"> <view class="news-li" v-for="news in dataList" :key="news.id">
<view>标题</view> <view class="top-container">
<view class="new-content">内容</view> <text>安全检查任务</text>
<view class="status">
<text class="status-text">未完成0/1</text>
</view>
</view>
<view><text>打我撒</text></view>
<view><image class="icon" src="../../static/security-check/safeTime.png"><text>2020-20123</text></view>
<view><image class="icon" src="../../static/security-check/safeSys.png"><text>城建楼宿舍</text></view>
<view><image class="icon" src="../../static/security-check/safePerson.png"><text>陆冬梅</text></view>
<view><text>自建任务</text></view>
</view> </view>
</mescroll-body> </mescroll-body>
</template> </template>
...@@ -54,5 +63,27 @@ ...@@ -54,5 +63,27 @@
margin-top: 10upx; margin-top: 10upx;
margin-left: 20upx; margin-left: 20upx;
color: #666; color: #666;
}
.icon {
width:20rpx;
height:20rpx;
}
.top-container {
display: flex;
flex-direction: row;
align-items: center;
}
.status {
width:140rpx;
height:50rpx;
background-color: pink;
border-radius: 50rpx;
display: flex;
justify-content: center;
align-items: center;
}
.status-text{
color: red;
font-size: 13px;
} }
</style> </style>
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