From d87c256a957a6a5c3b40eaf9c52ec68f2fc22c97 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 12 九月 2025 16:23:42 +0800
Subject: [PATCH] test
---
pages/task/log-list.vue | 21 +++++++++++++++------
1 files changed, 15 insertions(+), 6 deletions(-)
diff --git a/pages/task/log-list.vue b/pages/task/log-list.vue
index 80acc20..7d2f6d4 100644
--- a/pages/task/log-list.vue
+++ b/pages/task/log-list.vue
@@ -20,7 +20,7 @@
<template v-for="(group) in fixedList" :key="group.date">
<view class="task-header">{{group.date}}</view>
<view class="task-list-view">
- <TaskLogItemView v-for="(item,index) in group.list" :key="index" :taskData="item">
+ <TaskLogItemView class="list-item" v-for="(item,index) in group.list" :key="index" :taskData="item">
</TaskLogItemView>
</view>
</template>
@@ -28,7 +28,7 @@
<template v-for="(group) in tempList" :key="group.date">
<view class="task-header">{{group.date}}</view>
<view class="task-list-view">
- <TaskLogItemView v-for="(item,index) in group.list" :key="index" :taskData="item">
+ <TaskLogItemView class="list-item" v-for="(item,index) in group.list" :key="index" :taskData="item">
</TaskLogItemView>
</view>
@@ -59,6 +59,7 @@
},
data() {
return {
+ ip:"",
sceneId: "",
list: [],
}
@@ -245,7 +246,7 @@
}]*/
this.list = await this.loadTaskLog()
} catch (ex) {
- show.showError(ex)
+ this.showError(ex)
}
},
async loadTaskLog() {
@@ -302,7 +303,7 @@
console.log(list)
return list
} catch (ex) {
- show.showError(ex)
+ this.showError(ex)
return []
}
},
@@ -317,7 +318,7 @@
if (exStr == "{}")
exStr = ex
let tip = typeof ex.msg == "string" ? ex.msg : exStr
- showModal(tip, "閿欒", false)
+ showModal(tip, "閿欒", false,"纭畾")
},
}
}
@@ -384,8 +385,16 @@
.task-list-view {
width: 100% ;
border-radius: 10rpx;
- padding: 0 10rpx;
+ // padding: 0 10rpx;
background-color: #fff;
+ .list-item {
+
+ border-bottom: 1px solid #ddd;
+ }
+ .list-item:last-child {
+ border-bottom: 0;
+ /* 鍙充笅瑙�*/
+ }
}
--
Gitblit v1.9.1