lilei %!s(int64=4) %!d(string=hai) anos
pai
achega
92f73b52f2
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      components/uni-check-list/uni-check-list.vue

+ 8 - 0
components/uni-check-list/uni-check-list.vue

@@ -12,6 +12,7 @@
 				</view>
 				<view class="details" @click="rightClick(item)">
 					<slot name="right"></slot>
+					<u-icon v-if="showArrow" name="icon-xian-11" custom-prefix="xd-icon" size="28" color="#888888"></u-icon>
 				</view>
 			</view>
 		</view>
@@ -39,6 +40,11 @@
 			titleKeys:{
 				type: String,
 				default: 'name'
+			},
+			// 是否显示右边箭头
+			showArrow:{
+				type: Boolean,
+				default: true
 			}
 		},
 		data() {
@@ -117,6 +123,8 @@
 		.details{
 			color: #007AFF;
 			padding-right: 20upx;
+			display: flex;
+			align-items: center;
 			&:active{
 				color: #D9363E;
 			}