From 4e33ebb340e533723f4cdd4c402afb2bb5894343 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期四, 03 七月 2025 18:49:20 +0800 Subject: [PATCH] 我的-新增box --- pages/tabbar/user/my.vue | 46 +++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 43 insertions(+), 3 deletions(-) diff --git a/pages/tabbar/user/my.vue b/pages/tabbar/user/my.vue index a86a497..7d94e60 100644 --- a/pages/tabbar/user/my.vue +++ b/pages/tabbar/user/my.vue @@ -68,9 +68,43 @@ </view> </view> </div> + + <!-- 瑙嗛鐩稿叧锛� --> + <div class="pointBox box" style="margin-top: 20rpx;"> + <view class="order"> + <view class="order-item" @click="jumpToVideoHome()"> + <view> + <text class="iconfont"></text> + </view> + <view>瑙嗛涓婚〉</view> + </view> + <view class="order-item" @click="navigateTo('/pages/mine/myCollect')"> + <view> + <text class="iconfont"></text> + </view> + <view>鍏虫敞鍒楄〃</view> + </view> + <view class="order-item" @click="navigateTo('/pages/mine/myCollect/myCollect')"> + <view> + <text class="iconfont"></text> + </view> + <view>鏀惰棌鍒楄〃</view> + </view> + <view class="order-item" @click="navigateTo('/pages/mine/activity/myActivity')"> + <view> + <text class="iconfont"></text> + </view> + <view>鎴戠殑娲诲姩</view> + </view> + </view> + </div> + <!-- 甯哥敤宸ュ叿 --> - - <tool /> + <view class="pointBox box" style="margin-top: 20rpx;"> + <tool /> + </view> + + <custom-tabbar bgColor="#ffffff" selected="my"></custom-tabbar> </view> </template> @@ -80,6 +114,7 @@ import { getCouponsNum, getFootprintNum } from "@/api/members.js"; import { getUserWallet } from "@/api/members"; import configs from '@/config/config' +import storage from '@/utils/storage.js' export default { components: { tool @@ -123,6 +158,11 @@ mounted() { }, methods: { + jumpToVideoHome() { + uni.navigateTo({ + url: '/pages/video/home-page?authorId=' + storage.getUserInfo().id + }); + }, /** * 缁熶竴璺宠浆鎺ュ彛,鎷︽埅鏈櫥褰曡矾鐢� * navigator鏍囩鐜板湪榛樿娌℃湁杞満鍔ㄧ敾锛屾墍浠ョ敤view @@ -171,7 +211,7 @@ .header { max-width: 100%; padding: calc(50rpx + var(--status-bar-height)) 30rpx 0 6%; - height: calc(var(--status-bar-height) + 360rpx); + height: calc(360rpx); background-size: cover; border-bottom-left-radius: 30rpx; border-bottom-right-radius: 30rpx; -- Gitblit v1.8.0