From 60567b1b3fbb19334ee794b70e4794527a967d5d Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期五, 06 十月 2023 09:05:49 +0800 Subject: [PATCH] # --- components/z-data-list/z-data-list.vue | 23 +++++++++++++---------- 1 files changed, 13 insertions(+), 10 deletions(-) diff --git a/components/z-data-list/z-data-list.vue b/components/z-data-list/z-data-list.vue index b3ce570..7689e4a 100644 --- a/components/z-data-list/z-data-list.vue +++ b/components/z-data-list/z-data-list.vue @@ -9,8 +9,8 @@ </view> <view class="main-right"> <view class="list-options"> - <!-- <view class="list-number">1</view> --> - <view class="abdb"> > </view> + <view class="list-number">1</view> + <view class="abdb" @click="goDetail()"> > </view> </view> </view> </view> @@ -27,23 +27,25 @@ {}, {}, {}, - {}, - {}, - {}, - {} ] }; + }, + methods: { + goDetail() { + } } } </script> - +<!-- align-items: stretch --> +<!-- 鐗涢�硷紒锛侊紒 --> +<!-- 璁剧疆align-items涓簊tretch锛屼娇瀛愬厓绱犲~鍏呭瀭鐩存柟鍚戠殑鍙敤楂樺害锛屽疄鐜伴珮搴︾浉绛夌殑鏁堟灉銆� --> <style scoped> .main { position: relative; min-height: 70rpx; background-color: #fdadfc; display: flex; - align-items: center; + align-items: stretch; margin: 8px 8px 8px 8px; } .main-left { @@ -55,6 +57,7 @@ background-color: #cccccc; flex: 1; display: flex; + align-items: center; /* flex-direction: column; */ } .main-list { @@ -66,8 +69,8 @@ } .list-number { position: absolute; - right: 30px; - top: 20px; + right: 10px; + top: 5px; } .abdb { flex: 0; -- Gitblit v1.9.1