Kaynağa Gözat

Signed-off-by: 1004749546@qq.com <1004749546@qq.com>
bug修改

1004749546@qq.com 4 yıl önce
ebeveyn
işleme
0690f6ce67

+ 2 - 2
components/uni-steps/uni-steps.vue

@@ -115,10 +115,10 @@
 	}
 
 	.uni-steps__column-text {
-		padding: 6px 0px;
+		padding: 15px 0px;
 		border-bottom-style: solid;
 		border-bottom-width: 1px;
-		border-bottom-color: $uni-border-color;
+		border-bottom-color: #eee;
 		/* #ifndef APP-NVUE */
 		display: flex;
 		/* #endif */

+ 6 - 2
pages/toDoList/backlogDetail.vue

@@ -56,7 +56,7 @@
 				</view>
 			</view>
 			<view class="step-content">
-				<u-steps :list="numList" direction ="column" :current="0"></u-steps>
+				<uni-steps :active-color="'rgb(41, 121, 255)'" :options="numList" direction ="column" :active="0"></uni-steps>
 			</view>
 		</view>
 		<view class="footer">
@@ -81,9 +81,11 @@
 </template>
 
 <script>
+	import uniSteps from '@/components/uni-steps/uni-steps.vue'
 	import { getBackLogDetail, getBackLogRecord, handleBackLog } from '@/api/backLog.js'
 	export default {
 		components: {
+			uniSteps
 		}, 
 		data() {
 			return {
@@ -140,7 +142,8 @@
 						res.data.map(item=>{
 							const p = {}
 							const k = '\xa0\xa0\xa0\xa0\xa0\xa0'
-							p.name = item.handleTime + k + item.handleTypeDictValue + k + (item.handleDesc ? item.handleDesc : '')
+							p.title = item.handleTime + k + item.handleTypeDictValue 
+							p.desc = item.handleDesc ? item.handleDesc : ''
 							arr.push(p)
 						})
 						this.numList = arr
@@ -257,6 +260,7 @@
 			padding: 0 20upx;
 			background-color: #fff;
 		}
+		
 		// 底部按钮
 		.footer {
 			background-color: #fff;