绿满眶商城微信小程序-uniapp
xiangpei
2025-07-03 4e33ebb340e533723f4cdd4c402afb2bb5894343
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">&#xe676;</text>
         </view>
         <view>视频主页</view>
       </view>
       <view class="order-item" @click="navigateTo('/pages/mine/myCollect')">
         <view>
           <text class="iconfont">&#xe66f;</text>
         </view>
         <view>关注列表</view>
       </view>
       <view class="order-item" @click="navigateTo('/pages/mine/myCollect/myCollect')">
         <view>
           <text class="iconfont">&#xe608;</text>
         </view>
         <view>收藏列表</view>
       </view>
      <view class="order-item" @click="navigateTo('/pages/mine/activity/myActivity')">
        <view>
          <text class="iconfont">&#xe635;</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;