Bläddra i källkod

客户动态优化

xhj 2 år sedan
förälder
incheckning
bbe5c57cc3

+ 1 - 1
mine/allDynamic/allDynamic.vue

@@ -182,7 +182,7 @@ import util from "../../utils/util.js";
 								item.year = t.year
 								item.month = t.month
 								item.day = t.day
-								item.time = t.hour+':'+t.minute
+								item.time = (t.hour<10?('0'+t.hour):t.hour)+':'+(t.minute<10?('0'+t.minute):t.minute)
 							})
 						}
 						this.isShow = true;

+ 2 - 2
mine/clientDetail/clientDetail.vue

@@ -105,7 +105,7 @@
 				</view>
 			</view>
 			<view v-if="!logsList || logsList.length == 0" class="nodata">
-				<image src="/mine/static/images/empty.png"></image>
+				<image src="/mine/static/images/empty.png" mode="aspectFit"></image>
 				<view>暂无记录~</view>
 			</view>
 		</view>
@@ -257,7 +257,7 @@
 						item.year = t.year
 						item.month = t.month
 						item.day = t.day
-						item.time = t.hour+':'+t.minute
+						item.time = (t.hour<10?('0'+t.hour):t.hour)+':'+(t.minute<10?('0'+t.minute):t.minute)
 					})
 				})
 			}

+ 1 - 1
mine/clientDynamic/clientDynamic.vue

@@ -165,7 +165,7 @@
 								item.year = t.year
 								item.month = t.month
 								item.day = t.day
-								item.time = t.hour+':'+t.minute
+								item.time = (t.hour<10?('0'+t.hour):t.hour)+':'+(t.minute<10?('0'+t.minute):t.minute)
 							})
 						}
 						this.isShow = true;

+ 2 - 0
mine/clientManage/clientManage.vue

@@ -7,6 +7,7 @@
 					<input @confirm="searchFn" confirm-type="search" @input="searchFn" v-model="searchVal" class="fflex"
 						placeholder="请输入客户昵称或真实姓名" />
 				</view>
+				<view style="margin: 0rpx 0rpx 0 20rpx;color: #2A82FD;text-align: right;font-size: 26rpx;" @click="jumpUrl('/mine/allDynamic/allDynamic')">客户动态></view>
 			</view>
 			<view class="filter ddflex">
 				<view :class="'filter-item fflex ddflex '+(filterType==2&&isShowPop?'f-active':'')" @click="changeFilterType(2)">
@@ -203,6 +204,7 @@
 				uni.navigateTo({
 					url: url
 				})
+				this.hidePop()
 			},
 			// 客户标签字典
 			getDict(){