Browse Source

我的家庭

wangming 2 months ago
parent
commit
6a100d8dba
2 changed files with 14 additions and 3 deletions
  1. 9 1
      src/pages/home/home.vue
  2. 5 2
      src/pagesA/homeManage/homeManage.vue

+ 9 - 1
src/pages/home/home.vue

@@ -21,7 +21,10 @@
                         <view class="rightContent">暂无</view>
                     </view>
                 </view>
-                <view class="rightItem" @click="goNo()">
+                <view
+                    class="rightItem"
+                    @click="gotoPath('/pagesA/homeManage/homeManage')"
+                >
                     <view class="rightTitle">我的家庭</view>
                     <view class="rightContent"
                         ><text>{{ groupNum }}</text
@@ -102,6 +105,11 @@ export default {
                     url: path,
                 });
             } else {
+                uni.showToast({
+                    title: "暂未登录,请先登录",
+                    icon: "none",
+                    duration: 1500,
+                });
                 uni.reLaunch({
                     url: "/pagesA/loginNew/loginNew",
                 });

+ 5 - 2
src/pagesA/homeManage/homeManage.vue

@@ -22,7 +22,10 @@ export default {
 </script>
 
 <style scoped>
-.home-manage {
-    /* 样式 */
+.box {
+    height: 100vh;
+    background: linear-gradient(180deg, #faede2 0%, #f4f4f4 100%);
+    box-sizing: border-box;
+    padding-top: 20rpx;
 }
 </style>