hookehuyr

feat(Dashboard): 调整拍照按钮位置并优化相册间距

...@@ -35,6 +35,16 @@ ...@@ -35,6 +35,16 @@
35 <PointsCollector ref="pointsCollectorRef" height="30vh" /> 35 <PointsCollector ref="pointsCollectorRef" height="30vh" />
36 </view> 36 </view>
37 37
38 + <!-- Photo button -->
39 + <view class="px-5 mb-4">
40 + <view @tap="openCamera" class="w-full bg-blue-500 text-white py-3 rounded-lg flex flex-col items-center justify-center">
41 + <view class="flex items-center justify-center">
42 + <Photograph size="20" class="mr-2" />
43 + 拍照留念,奖励积分
44 + </view>
45 + </view>
46 + </view>
47 +
38 <!-- Family step ranking --> 48 <!-- Family step ranking -->
39 <view class="p-5 bg-white rounded-xl shadow-md mx-4"> 49 <view class="p-5 bg-white rounded-xl shadow-md mx-4">
40 <view class="flex justify-between items-center mb-4"> 50 <view class="flex justify-between items-center mb-4">
...@@ -53,18 +63,8 @@ ...@@ -53,18 +63,8 @@
53 </view> 63 </view>
54 </view> 64 </view>
55 65
56 - <!-- Photo button -->
57 - <view class="px-5 mt-6">
58 - <view @tap="openCamera" class="w-full bg-blue-500 text-white py-3 rounded-lg flex flex-col items-center justify-center">
59 - <view class="flex items-center justify-center">
60 - <Photograph size="20" class="mr-2" />
61 - 拍照留念,奖励积分
62 - </view>
63 - </view>
64 - </view>
65 -
66 <!-- Family album --> 66 <!-- Family album -->
67 - <view class="p-5 mt-6 mb-6 bg-white rounded-xl shadow-md mx-4"> 67 + <view class="p-5 mt-4 mb-6 bg-white rounded-xl shadow-md mx-4">
68 <view class="flex justify-between items-center mb-2"> 68 <view class="flex justify-between items-center mb-2">
69 <h2 class="font-medium text-lg">家庭相册</h2> 69 <h2 class="font-medium text-lg">家庭相册</h2>
70 <view class="text-blue-500 flex items-center" @click="openAlbumList"> 70 <view class="text-blue-500 flex items-center" @click="openAlbumList">
......